Skip to content

Releases: adonisjs/i18n

Fix for the formatMessage method

12 Sep 06:38
Compare
Choose a tag to compare
Pre-release
  • fix: formatMessage to use empty string as fallback message 61e1cca

v2.0.0-3...v2.0.0-4

Full Changelog: v2.0.0-3...v2.0.0-4

New additions

12 Sep 06:05
Compare
Choose a tag to compare
New additions Pre-release
Pre-release
  • 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

08 Sep 10:04
Compare
Choose a tag to compare
Complete v6 migration Pre-release
Pre-release

Breaking changes

  • The package is now ESM only
  • Removed validatorMessages method in favor of new VineJS message provider integration.
  • Renamed i18nManager.getSupportedLocale to i18nManager.getSupportedLocaleFor
  • Renamed i18nManager.getFallbackLocale to i18nManager.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

08 Sep 06:41
Compare
Choose a tag to compare
Add configure command Pre-release
Pre-release
  • feat: add configure command 29a7ebe

Full Changelog: v2.0.0-0...v2.0.0-1

Migrating to work with v6

08 Sep 06:19
Compare
Choose a tag to compare
Pre-release

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

12 Aug 10:58
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.6...1.6.0

Update dependencies

22 May 12:54
Compare
Choose a tag to compare
  • chore: update dependencies 2c32817

Full Changelog: v1.5.5...v1.5.6

Update dependencies

08 Apr 09:55
Compare
Choose a tag to compare

v1.5.4...v1.5.5

Update dependencies

28 Feb 01:25
Compare
Choose a tag to compare

PRs

New Contributors

Full Changelog: v1.5.3...v1.5.4

Fix the way validator options are passed to the translations

15 Jan 16:03
Compare
Choose a tag to compare

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

Full Changelog: v1.5.2...v1.5.3