Skip to content

chore: upgrade dinero.js to v2.0.0 stable#876

Merged
tudddorrr merged 1 commit intoTaloDev:developfrom
sarahdayan:chore/upgrade-dinero-v2
Mar 4, 2026
Merged

chore: upgrade dinero.js to v2.0.0 stable#876
tudddorrr merged 1 commit intoTaloDev:developfrom
sarahdayan:chore/upgrade-dinero-v2

Conversation

@sarahdayan
Copy link
Contributor

@sarahdayan sarahdayan commented Mar 3, 2026

Summary

Upgrades dinero.js from the v2 alpha (^2.0.0-alpha.14) to the stable release (^2.0.0).

The v2 stable consolidates all scoped alpha packages into a single dinero.js package:

  • dinero.js: ^2.0.0-alpha.14 -> ^2.0.0
  • @dinero.js/currencies -> dinero.js/currencies (now a subpath export)
  • Removes @dinero.js/currencies as a separate dependency

No API changes: dinero, toDecimal, and USD all work the same way.

Release blog post: https://www.sarahdayan.com/blog/dinerojs-v2-is-out
Migration guide: https://www.dinerojs.com/getting-started/upgrade-guide#migrating-from-v2-alpha

Migrate from the scoped alpha packages to the consolidated stable release:
- dinero.js: ^2.0.0-alpha.14 -> ^2.0.0
- @dinero.js/currencies -> dinero.js/currencies (subpath export)
- Remove @dinero.js/currencies as a separate dependency
@tudddorrr
Copy link
Collaborator

thanks @sarahdayan - congrats on the release :)

@tudddorrr tudddorrr merged commit e7f5dc4 into TaloDev:develop Mar 4, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants