npm / react-currency-input-field
react-currency-input-field
What changed in react-currency-input-field 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-23.
1 breaking1 tooling8 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-currency-input-field 410 changes
Breaking changes 1
The package no longer exports a UMD build; only CJS and ESM versions are exported.
Tooling 1
Test files and examples are excluded from the published package, reducing unnecessary files for consumers.
Fixes and other changes 8
Keeps the sign when fixed decimal length moves the decimal point.
Stepping now keeps the decimals when using a comma decimal separator.
The ESM build and its types load correctly on every Node version.
Corrects abbreviations, stepping, and other input edge cases.
Long integers are formatted exactly.
Negative values using U+2212 are kept.
Trailing zero decimals are kept when the prefix contains the decimal separator.
Corrects the package entries for CJS and ESM.