Skip to content

Pending Releases#15

Open
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main
Open

Pending Releases#15
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 3, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

enhanced-ms@5.0.0

Major Changes

  • d57f030: Return null from ms(string) if no duration strings are found within input

  • 8d0b67c: Locales are now tree-shakeable, reducing bundle size for consumers
    who only need a single locale. Import your locale directly instead of
    passing a string.

    - ms({ language: 'de' })
    + import de from 'enhanced-ms/locales/de';
    + const ms = createMs({ language: de })
    + ms()

Minor Changes

  • 8d0b67c: Format throughput improved by up to 5x. The internal pipeline was reduced
    from four passes to one, with option presets cached at module load so
    common calls make zero allocations.

Patch Changes

  • 8d0b67c: Parse throughput improved by ~25% and GC pressure reduced at runtime.
    Language definitions are no longer mutated on compile, and memory usage
    per unit dropped from N allocations to one.

@github-actions github-actions bot requested a review from k0d13 as a code owner April 3, 2026 11:38
@github-actions github-actions bot force-pushed the changeset-release/main branch from ea1cc29 to 65be232 Compare April 3, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants