Skip to content

next-intl@4.15.2

Choose a tag to compare

@github-actions github-actions released this 19 Nov 14:11
· 8 commits to main since this release
Immutable release. Only release title and notes can be modified.

Patch Changes

  • Extract messages from .mts, .cts, .mjs and .cjs files, and parse .ts files without JSX so type assertions like <string>value and generic arrow functions no longer fail. (#2487, 3be6ee1, @amannn)

  • Fail next build and unstable_extractMessages with the file name when a source file can't be parsed, instead of writing messages files without that file's messages. During next dev, messages files stay unchanged until the file parses again. (#2487, 3be6ee1, @amannn)

  • Move the message extraction internals into the new @eloqnt/messages and @eloqnt/extractor packages, so next-intl and the eloqnt CLI share one implementation. No change in behavior. (#2489, cb1b77e, @amannn)

  • Updated dependencies [3be6ee1, 3be6ee1, cb1b77e]:

    • @eloqnt/extractor@0.1.0
    • @eloqnt/messages@0.1.0