Skip to content

Conversation

@sunnydanu
Copy link
Owner

@sunnydanu sunnydanu commented Oct 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
change-case (source) ^4.1.2 -> ^5.0.0 age adoption passing confidence

Release Notes

blakeembrey/change-case (change-case)

v5.4.4

Compare Source

v5.4.3: Fix recursive options in keys change case

Compare Source

Fixed

v5.4.2

Compare Source

v5.4.1: Remove regex lookbehind

Compare Source

Fixed

v5.4.0: Add split option to change-case

Compare Source

Added

  • Added a split option to the change-case transform functions to allow for customization on how words are extracted from input

Changed

  • The package exports are now default instead of import to fix some tooling that doesn't work properly with import
  • The exported split utility no longer accepts a second options argument

v5.3.0: Add suffixCharacters option

Compare Source

Added

v5.2.0: New delimiter and mergeAmbiguousCharacters options

Compare Source

Added

  • Add delimiter option for customizing join character in any change case method
  • Add mergeAmbiguousCharacters for camel and pascal case to avoid prefixing _ before numbers

v5.1.2

Compare Source

v5.1.1

Compare Source

v5.1.0: Add prefixCharacters option

Compare Source

Added

  • New prefixCharacters option to retain characters during case conversion. Useful for something like _$ to keep "private".

v5.0.2

Compare Source

v5.0.1

Compare Source

v5.0.0: Huge ESM rewrite

Compare Source

Changed:

  • The package is now only supported using ESM imports in node.js
  • Merged all core case changing libraries into change-case
  • Added support for internationalization using unicode regex features
  • Renamed paramCase to kebabCase

Removed:

  • Removed ability to specify word split and strip regexes

Added:

  • Exposed a new split function for accessing behavior of word splitting before case change
  • Added locale and separateNumbers options
  • Added pascalSnakeCase support
  • Added change-case/keys for transforming objects into the requested case

Deprecated packages:

  • camel-case (use change-case)
  • capital-case (use change-case)
  • constant-case (use change-case)
  • dot-case (use change-case)
  • header-case (use change-case -> trainCase)
  • is-lower-case (prefer manual: input.toLocaleLowerCase(locale) === input)
  • is-upper-case (prefer manual: input.toLocaleUpperCase(locale) === input)
  • lower-case-first (prefer manual: input.charAt(0).toLowerCase() + input.slice(1))
  • lower-case (prefer manual: input.toLowerCase() or input.toLocaleLowerCase(locale))
  • no-case (use change-case`)
  • param-case (use change-case -> kebabCase)
  • pascal-case (use change-case)
  • path-case (use change-case)
  • sentence-case (use change-case)
  • snake-case (use change-case)
  • upper-case-first (prefer manual: input.charAt(0).toLowerCase() + input.slice(1))
  • upper-case (prefer manual: input.toUpperCase() or input.toLocaleUpperCase(locale))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.



**Note**: This PR incorporates contributions from upstream [PR-#685](https://github.com/CorentinTh/it-tools/pull/685) of [CorentinTh/it-tools](https://github.com/CorentinTh/it-tools). All original commits and authorship are retained. Some adjustments may have been made for compatibility or bug fixes.

@vercel
Copy link

vercel bot commented Oct 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
godev-run ⬜️ Ignored (Inspect) Visit Preview Oct 27, 2024 7:36am

@sunnydanu sunnydanu added the P2 Priority 2 : tech debt label Nov 2, 2024
@sunnydanu sunnydanu enabled auto-merge November 2, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Priority 2 : tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants