github amannn/next-intl next-intl@4.15.2

latest release: next-intl@4.15.3
2 hours ago

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

Don't miss a new next-intl release

NewReleases is sending notifications on new releases.