github ing-bank/lion @lion/localize@0.21.0

latest releases: @lion/ui@0.7.3, providence-analytics@0.16.4, @lion/nodejs-helpers@0.1.0...
2 years ago

Minor Changes

  • 9648d41: added a parseNumber function
  • 8a76664: Make ValidateMixin feedback message wait for localize loadingComplete, to ensure getting the right fieldName if this refers to a localized label.
  • c544af4: BREAKING: Fires localeChanged event (and as a result, invokes onLocaleChanged / onLocaleUpdated) after localize loading has completed. This means if the user switches the locale to a locale which has not loaded yet, it will load it first before sending the event. This will allow users to immediately call localize.msg and get the right output, without having to await localize.loadingComplete themselves. This is slightly breaking with regards to timing and might break tests in extensions. In that case, you probably need a await localize.loadingComplete statement in front of the failing assertion.

Patch Changes

  • 9b9d82f: Fix onLocaleChanged method missing param types
  • Updated dependencies [8c06302]
    • @lion/core@0.18.2

Don't miss a new lion release

NewReleases is sending notifications on new releases.