unstale

npm / react-intl

react-intl

What changed in react-intl 3 to 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-26.

18 breaking1 security6 new APIs and options5 performance12 behavior and defaults8 tooling33 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

react-intl 1213 changes

Breaking changes 3

  • Typed descriptors now check values against message argument types; required arguments need values, and rich tags need callbacks.

    12.0.0upgrade guide

  • Simplifies typed helper calls and generated contracts; this is a breaking change.

    12.0.0release notes

  • Use TypeScript 5.4 or newer when upgrading to React Intl 12.

    12.0.0upgrade guide

New APIs and options 2

  • Adds opt-in support for branded message text.

    12.1.0release notes

  • Exports a shared text message formatter type for use by developers.

    12.0.0release notes

Behavior and default changes 4

  • Formatting now supports Temporal inputs.

    12.2.0release notes

  • Results are readonly in TypeScript; create a new descriptor instead of mutating the result. Objects are not frozen at runtime.

    12.0.0upgrade guide

  • Results are readonly in TypeScript; create a new catalog instead of mutating the result. Objects are not frozen at runtime.

    12.0.0upgrade guide

  • The first generic now describes ICU arguments; rich output moves to the second generic, which defaults to React.ReactNode.

    12.0.0upgrade guide

Tooling 1

  • Enable generateTypes to have the ESLint rule generate ICU argument types in message descriptors and update them when messages change.

    12.0.0upgrade guide

Fixes and other changes 3

  • The eslint-plugin-formatjs now generates lint-compatible empty message contracts.

    12.1.1release notes

  • Default message helpers now use empty ICU contracts, fixing their type behavior for messages without ICU arguments.

    12.0.2release notes

  • Fixes migration of existing message catalogs so they migrate cleanly.

    12.0.1release notes

react-intl 111 changes

Fixes and other changes 1

  • $t now aligns with the formatMessage overloads, improving its type behavior.

    11.0.1release notes

react-intl 1040 changes

Breaking changes 2

  • TypeScript peer dependencies were removed, changing the package's peer dependency requirements.

    10.1.1release notes

  • Major version bump; migration instructions are available in the upgrade guide.

    10.0.0release notes

Security 1

  • Verbatim text is restricted to domain sources.

    10.2.1release notes

New APIs and options 2

  • Adds duration components and bindings to react-intl.

    10.2.0release notes

  • A headless editor package is published, with a headless translation workflow.

    10.1.27release notes

Performance 3

  • Skipped message diagnostics run faster in formatjs_cli.

    10.1.12release notes

  • Catalog parsing is parallelized, improving CLI processing performance.

    10.1.10release notes

  • File processing is parallelized, improving CLI processing performance.

    10.1.10release notes

Behavior and default changes 4

  • formatjs_intl accepts inline named values.

    10.1.22release notes

  • CLDR was upgraded to 48.2.0, updating the locale data used for internationalization.

    10.1.19release notes

  • Applies defaults to Date methods in @formatjs/intl-datetimeformat.

    10.1.18release notes

  • The timezone database was updated to 2026c, which may affect timezone data used by date-time formatting.

    10.1.16release notes

Tooling 6

  • The CLI can extract Python format_message calls.

    10.1.26release notes

  • formatjs_cli can now extract messages from Python.

    10.1.24release notes

  • The FormatJS ESLint plugin allows conditional ICU element blocklists.

    10.1.23release notes

  • eslint-plugin-formatjs detects glued placeholders.

    10.1.22release notes

  • An Rsbuild adapter was added to @formatjs/unplugin.

    10.1.15release notes

  • formatjs_cli now supports id interpolation hash algorithms.

    10.1.12release notes

Fixes and other changes 22

  • Message extraction now handles tagged template literals.

    10.1.27release notes

  • Message IDs are preserved for empty descriptions.

    10.1.27release notes

  • The plugin supports transparent expression wrappers.

    10.1.26release notes

  • Message recognition is aligned across tools.

    10.1.26release notes

  • The Python runtime fallback is aligned.

    10.1.26release notes

  • The CLI library uses native extraction.

    10.1.23release notes

  • The FormatJS CLI now extracts messages that contain only an id.

    10.1.20release notes

  • Missing id errors now include context, helping identify which message caused the error.

    10.1.19release notes

  • The ICU message parser now preserves plural context in tags.

    10.1.19release notes

  • Structural variables are deduplicated in the ICU message format parser.

    10.1.17release notes

  • Weekday counts 4, 5, and 6 in e/c skeletons now map to long, narrow, and short, respectively.

    10.1.16release notes

  • The hour12 option is now honored when timeStyle is used.

    10.1.15release notes

  • Adjacent syntax characters are coalesced when escaping in the ICU message parser.

    10.1.15release notes

  • FormatJS CLI extraction now parses JSX in JavaScript inputs.

    10.1.15release notes

  • The numberingSystem option is now honored by @formatjs/intl-relativetimeformat.

    10.1.15release notes

  • Supports React 18 and React 18+ consumers, including the React 18 peer range.

    10.1.14release notes

  • Unicode whitespace is normalized when generating ids.

    10.1.13release notes

  • formatjs_cli supports loader-utils id templates.

    10.1.13release notes

  • Fixes decoding of the JSX bull entity.

    10.1.10release notes

  • The native extract binding is exposed by @formatjs/cli-lib.

    10.1.10release notes

  • Transform hook filters are exposed by @formatjs/unplugin.

    10.1.10release notes

  • Sets the displayName for FormattedListParts.

    10.1.8release notes

react-intl 811 changes

Breaking changes 5

  • formatTime and FormattedTimeParts use global time Formats for format config overrides instead of date Formats.

    8.0.0release notes

  • react-intl is converted to ESM, affecting how projects load and bundle the package.

    8.0.0release notes

  • Support for React 18 and below is dropped; projects using react-intl must use a later React version.

    8.0.0release notes

  • Rich text is wrapped with Fragment instead of clone, changing how rich-text output is produced.

    8.0.0release notes

  • @types/react is moved to a peer dependency, affecting dependency installation and package compatibility.

    8.0.0release notes

New APIs and options 1

Behavior and default changes 1

  • Improves Unicode 17.0 Format/Extend transparency in the segmenter.

    8.1.0release notes

Fixes and other changes 4

  • react-intl is modernized for React 19.

    8.2.0release notes

  • Fixes Vitest DOM tests failing in a Bazel sandbox.

    8.2.0release notes

  • Fixes the JSON ESM import in @formatjs/utils.

    8.0.6release notes

  • FormattedDate and FormattedTime receive strict typing for format overrides.

    8.0.0release notes

react-intl 72 changes

Breaking changes 2

  • This package is no longer a dependency of react-intl, reducing package size.

    7.0.0release notes

  • TypeScript 4 is no longer supported; TypeScript 5 or later is required for the native Intl API type definitions.

    7.0.0release notes

react-intl 53 changes

Breaking changes 2

  • The formatter callback now receives a single chunks argument instead of variadic chunks, making rich text callbacks more ergonomic and allowing additional parameters for metadata.

    5.0.0release notes

  • The library fails fast when the intl Provider is missing, rather than allowing the default English renderer to mask Provider setup issues during testing.

    5.0.0release notes

Fixes and other changes 1

  • Rich text formatting merges chunks in the callback, addressing the missing key issue and allowing identical React elements to be distinguished by their indices.

    5.0.0release notes

react-intl 45 changes

Breaking changes 4

  • All tags must have corresponding values; formatting throws an error when a tag value is missing.

    4.0.0release notes

  • Removed; FormattedMessage now supports embedded HTML tags.

    4.0.0release notes

  • Self-closing tags can no longer be formatted; use ICU {placeholder} syntax for that purpose.

    4.0.0release notes

  • XML/HTML tags are escaped using apostrophe like other ICU constructs; escaping opts in to rendering raw HTML tags.

    4.0.0release notes

Behavior and default changes 1

  • The DOMParser dependency and restrictions on void elements such as <link> are removed, so Node no longer needs a DOMParser polyfill.

    4.0.0release notes

react-intl 38 changes

New APIs and options 1

Performance 2

Behavior and default changes 2

Tooling 1

Fixes and other changes 2