Releases: adonisjs/i18n
Releases · adonisjs/i18n
Fix for the formatMessage method
- fix: formatMessage to use empty string as fallback message 61e1cca
Full Changelog: v2.0.0-3...v2.0.0-4
New additions
- refactor: improve logic for finding the best matching fallback locale 23a252f
- refactor: update stubs d84d015
- feat: add support for loadersList and formattersList 70f8407
- feat: add formatDisplayNames and formatList methods 904a995
Full Changelog: v2.0.0-2...v2.0.0-3
Complete v6 migration
Breaking changes
- The package is now ESM only
- Removed
validatorMessages
method in favor of new VineJS message provider integration. - Renamed
i18nManager.getSupportedLocale
toi18nManager.getSupportedLocaleFor
- Renamed
i18nManager.getFallbackLocale
toi18nManager.getFallbackLocaleFor
Commits
- feat: add debug logs 99c02bb
- feat: hook into request.validateUsing and use i18n 8ab2fa3
- feat: add support for vinejs messages provider 118cfa6
Full Changelog: v2.0.0-1...v2.0.0-2
Add configure command
- feat: add configure command 29a7ebe
Full Changelog: v2.0.0-0...v2.0.0-1
Migrating to work with v6
This release is not complete. The upcoming releases will add missing stuff that was there in the older version. The changelog will be part of the upcoming releases as well.
Commits
- test: fix breaking tests on windows b7a2077
- test: fix breaking tests on windows 7ede4d1
- ci: fix failing test in Node 18 c66ae11
- docs: update badges url c97969f
- docs: update readme file 181f347
- feat: migrate to v6 07464cf
- chore: upgrade project structure 62e0f69
Full Changelog: 1.6.0...v2.0.0-0
Add short format method and fallBackIfNoIdentifier
What's Changed
- feat: add short method for formatMessage i18n.t() by @zzhenryquezz in #119
- fallBackIfNoIdentifier function (replaces PR #124) by @Barsnes in #125
New Contributors
- @zzhenryquezz made their first contribution in #119
- @Barsnes made their first contribution in #125
Full Changelog: v1.5.6...1.6.0
Update dependencies
- chore: update dependencies 2c32817
Full Changelog: v1.5.5...v1.5.6
Update dependencies
Update dependencies
- refactor: reorganize meta config 5e172c7
- chore: update dependencies 3adddac
- refactor: migrate to new japa (#111) 9d942d8
PRs
- refactor: migrate to new japa by @Julien-R44 in #111
New Contributors
- @Julien-R44 made their first contribution in #111
Full Changelog: v1.5.3...v1.5.4
Fix the way validator options are passed to the translations
Commits
- test: fix breaking tests 7a93c31
- chore: update dependencies ce08b4d
- test: add test for #90 f0198cd
- fix: pass a flat list of validator options to the formatMessage method 10bb365
PR's
- MALFORMED_ARGUMENT error when you try to display options ( with the validator ) by @Yoann-TYT in #90
New Contributors
- @Yoann-TYT made their first contribution in #90
Full Changelog: v1.5.2...v1.5.3