Sourced from react-i18next's changelog.
18.0.0
Released together with i18next 27. The migration guide lists every change with what to do: https://react.i18next.com/latest/migrating-v17-to-v18
Breaking changes
- requires i18next 27 (peer
>= 27.0.0) and React 18 or later (peer>= 18.0.0). React 16 and 17 apps stay on react-i18next 17: on i18next 27, use react-i18next 17.1.13 or later (it brings the types of thereactinit options), or 18.useSyncExternalStorecomes from React itself, souse-sync-external-storeis no longer a dependency.Transoutput no longer depends oninterpolation.escapeValue: it always decodes HTML entities after parsing, asIcuTransdoes, in text and in attribute values, both withreact.unescape(attribute values used the built-in decoder before). With i18next's defaultescapeValue: true, a valueTom & Jerryrendered asTom & Jerryand a date17/12/2025as17/12/2025; both now render as written, and so do entities in the translation itself (&,<, , ...). Values still render as text, never as markup (since 17.1.10). TheshouldUnescapeprop andreact.transDefaultProps.shouldUnescapeare ignored and warn (DEPRECATED_OPTION, in development and withdebug: true); remove them. Snapshot tests that contain entities insideTransoutput need an update (#1903, #1893).TransandIcuTransre-render on language change by themselves: they subscribe to thereact.bindI18n(defaultlanguageChanged) andreact.bindI18nStoreevents, likeuseTranslation. Before, they only updated when a parent re-rendered (#1710). They still neither load translations nor suspend; with atprop, thattstill decides the language.TransWithoutContextandIcuTransWithoutContextstay hook-free.- the
reactoptions of an instance stay on that instance.initReactI18nextcopied them into module-wide defaults, so a second instance withoutreactoptions inherited, for example, the first one'suseSuspense: false. Set them on every instance, or callsetDefaults()once.- the
i18nreturned byuseTranslation(and passed bywithTranslationandTranslation) forwards reads and writes to the instance. It was a copy taken when the language changed, so afterawait i18n.changeLanguage('de')the copy still saiden, and properties set on it never reached the instance. It is still a new object whenever the language changes, for dependency arrays and the React Compiler. Because the old object now reads the current language too, a check likeprevProps.i18n.language !== this.props.i18n.language(or the language of ausePrevious(i18n)) no longer sees a change: compare the objects (prevProps.i18n !== this.props.i18n) or keep the previous language yourself.useSSRandwithSSRcall i18next'shydrate()instead of writingresourceStore.data,options.ns,initializedStoreOnce,isInitializedandinitializedLanguageOncethemselves. Same behavior with real instances, including the opt-out for cloned instances. Test mocks ofi18nused withuseSSR/withSSRnow need ahydratemethod, mocks that load beforeinit()needonce, and mocks used withTransorIcuTransneedonandoff, since both subscribe to events now (withbindI18nStoreset, alsostore.onandstore.off): a minimal mock like{ t, options, language }throwsi18n.on is not a function.- the
react-i18next/icu.macroBabel macro (deprecated since 17.0.21) is removed, with the placeholder exportsdate,time,number,select,pluralandselectOrdinal. WriteIcuTransdirectly.- types: the
HTMLAttributes['children']augmentation forallowObjectInHTMLChildrenmoved to the opt-inreact-i18next/augment-react. Default installs no longer change React's DOM types. WithallowObjectInHTMLChildren: true, addimport 'react-i18next/augment-react';next to yourCustomTypeOptions; with current@types/reactit needsskipLibCheck: true(#1928).- types:
I18nContextis typed{ i18n: i18n; defaultNS?: string | string[] } | undefined, as at runtime:useContext(I18nContext)isundefinedoutside anI18nextProvider.getI18n()keeps its type.- types: react-i18next now declares the
reactinit options. i18next 27 keeps an emptyReactOptionsinterface that react-i18next fills in, soimport type { ReactOptions } from 'i18next'keeps working, andReactOptionsis also exported fromreact-i18next. ThedefaultTransParentdocs no longer claim a'div'default.- the UMD build no longer bundles i18next: it uses the global
i18next(load i18next's UMD build first) and shrinks from 71.3 KB to 26.2 KB minified. The AMD build (dist/amd) is removed; AMD loaders can use the UMD file.engines.nodeis>=22, and the build targets ES2020 syntax with a fixed browser list instead of browserslistdefaults.Other changes
- feat: a
react-serverexport condition forreact-i18next. In a React Server Component,import { Trans } from 'react-i18next'failed withcreateContext is not a function; it now resolves to an entry withTransandIcuTrans(the variants without React context),TransWithoutContext,IcuTransWithoutContext,nodesToString,initReactI18next,setI18n/getI18nandsetDefaults/getDefaults. Hooks, HOCs,Translation,I18nextProviderand the SSR helpers stay client-only, so importing them there is a build error. Without ani18nprop, the serverTransandIcuTransuse the global instance (the oneinitReactI18nextregistered), which is the wrong one with an instance per request: pass that instance asi18n(tis optional). Atalone is not enough, because atfromgetFixedTcarries no instance. In development and withdebug: truethey warn about it (GLOBAL_INSTANCE_ON_SERVER) (#1759, #1840).- fix(Trans): a component given for a self-closing tag (
<0/>) with children of its own is no longer remounted on every render.Transcreated a new component type for it each time, so its state and effects were reset.- fix: warnings are deduplicated per i18next instance instead of once per process, so a second instance reports its own problems. Clones (
cloneInstance(), for example one per request in i18next-http-middleware) share their parent's, as they share its logger, so they do not repeat them.- fix: a translation load waiting for
init()usesi18n.once('initialized')instead of removing its listener with a delay.- fix(types): with
keySeparator: falseand a key prefix (useTranslation(ns, { keyPrefix }),getFixedT), thevaluesofTransandIcuTransare typed from the right key. The prefix and the key were joined with the textfalse(nestedfalsec), so no variables were checked; they are now joined with., asgetFixedTdoes.- fix(types):
useSSRtakes its third argument{ i18n }, and theuseTranslationoptions takebindI18nStore, as at runtime.ErrorCodelistsI18N_NOT_INITIALIZED,ICU_TRANS_RENDER_ERRORandGLOBAL_INSTANCE_ON_SERVER.- chore: a
fileswhitelist replaces.npmignore;@babel/runtimeis no longer a dependency.
6b76421
18.0.016c6116
changelog for 18.0.0209c4be
feat!: react-i18next 18, a major version for i18next 275ca8c86
buildSourced from react-resizable-panels's releases.
4.21.0
- Add
TabsetCollapseButtonandTabsetMaximizeButtoncomponents, which collapse (or expand) and maximize (or restore) the tabset they're rendered within, witharia-expanded/aria-controlsandaria-pressed. They render nothing when the action isn't available (e.g. maximizing the only tabset). - #805- The
children,className,style, andtitleprops ofTabCloseButton,TabsetDragHandle, and the new buttons can be functions of the component's state, e.g.{({ isCollapsed }) => (isCollapsed ? "▸" : "▾")}. - #805- Fix
groupResizeBehavior: "preserve-pixel-size"panels drifting by a fraction of a pixel when panels have fractional sizes (e.g. at 150% display scaling): aGroup's size was measured as the sum of its panels' rounded sizes, which could be off by a pixel and looked like theGroupbeing resized. - #8044.20.0
- Add floating tabsets to
Workspace: tabsets that float above the layout, listed in the model's newfloatingfield. Users move them by their headers, resize them by their edges, and drag tabs into and out of them. The newfloatTabandfloatTabsetmethods create them,collapseTabsetcollapses them to their headers, andmoveTabsetdocks them. - #799Workspacetabs (and tabsets) can be dropped at the edges of the workspace, beside all of the other tabsets (e.g. as a sidebar or bottom panel). These targets are on by default; turn them off withdisableDrop={({ target }) => "edge" in target}. - #800[!WARNING]
TabDropTargethas a new{ edge }variant without atabsetId, so check for it (e.g. with"tabsetId" in target) before readingtarget.tabsetId.
Sourced from react-resizable-panels's changelog.
4.21.0
- Add
TabsetCollapseButtonandTabsetMaximizeButtoncomponents, which collapse (or expand) and maximize (or restore) the tabset they're rendered within, witharia-expanded/aria-controlsandaria-pressed. They render nothing when the action isn't available (e.g. maximizing the only tabset). - #805- The
children,className,style, andtitleprops ofTabCloseButton,TabsetDragHandle, and the new buttons can be functions of the component's state, e.g.{({ isCollapsed }) => (isCollapsed ? "▸" : "▾")}. - #805- Fix
groupResizeBehavior: "preserve-pixel-size"panels drifting by a fraction of a pixel when panels have fractional sizes (e.g. at 150% display scaling): aGroup's size was measured as the sum of its panels' rounded sizes, which could be off by a pixel and looked like theGroupbeing resized. - #8044.20.0
- Add floating tabsets to
Workspace: tabsets that float above the layout, listed in the model's newfloatingfield. Users move them by their headers, resize them by their edges, and drag tabs into and out of them. The newfloatTabandfloatTabsetmethods create them,collapseTabsetcollapses them to their headers, andmoveTabsetdocks them. - #799Workspacetabs (and tabsets) can be dropped at the edges of the workspace, beside all of the other tabsets (e.g. as a sidebar or bottom panel). These targets are on by default; turn them off withdisableDrop={({ target }) => "edge" in target}. - #800[!WARNING]
TabDropTargethas a new{ edge }variant without atabsetId, so check for it (e.g. with"tabsetId" in target) before readingtarget.tabsetId.
0910b4f
4.20.0 -> 4.21.0897d1e5
Fix groupResizeBehavior "preserve-pixel-size" panels drift (#806)3a3282b
Add TabsetCollapseButton and
TabsetMaximizeButton components (#805)a918993
4.19.1 -> 4.20.023f79af
Floating tabsets can be collapsed (#803)96c0758
Support floating tabsets (#802)00df28c
Tabs (and tabsets) can be dropped at workspace edges (#801)c7a7200
4.19.0 -> 4.19.1db268f9
Pending 4.19.1 changes (#798)Sourced from @vitejs/plugin-react's releases.
plugin-react@6.3.0
Make
reactCompilerPresetwork with@rolldown/plugin-babel'sparalleloption (#1549)
reactCompilerPresetnow refers to its Babel preset by module path instead of by function, so it can be sent to worker threads.
Sourced from @vitejs/plugin-react's changelog.
6.3.0 (2026-11-09)
Make
reactCompilerPresetwork with@rolldown/plugin-babel'sparalleloption (#1549)
reactCompilerPresetnow refers to its Babel preset by module path instead of by function, so it can be sent to worker threads.
0e95069
release: plugin-react@6.3.0 (#1557)8a7d0d4
feat(plugin-react): make reactCompilerPreset work with
@rolldown/plugin-babel...