Changelog
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
[2.5.2] - 2025-04-01
- Add fallback to
en
if locale cannot be determined so it works in an RESTApp.
[2.5.1] - 2025-01-15
- Add fallback to locale if messages have no keys.
[2.5.0] - 2025-01-10
- Use
@sitevision/api/common/app
to determine locale. - Better fallback if messages for current locale is missing.
[2.4.1] - 2024-11-19
- Remove optional dependencies.
[2.4.0] - 2024-02-22
- Change recommended initialisation.
- Deprecate old initialisation.
[2.3.2] - 2021-09-02
- Remove optional chaining from
process.server
tenary.
[2.3.1] - 2021-08-27
- Use
Locale.getLanguage()
instead ofLocale.toString()
on the server.
[2.3.0] - 2021-08-27
- Added
createI18n
to create i18n instances. - Changed to typescript definitions for docs.
[2.2.2] - 2021-08-20
- Update docs.
[2.2.1] - 2021-01-08
- Added
messageExists
to Svelte store implementation and demos.
[2.2.0] - 2021-01-07
- Added
messageExists
to check if a translation of a message exist for the current locale.
[2.1.0] - 2020-12-15
- Added
getMessages
workaround for script modules.
[2.0.0] - 2020-12-15
- Refactored API more tailored for WebApps and both server and client rendering.
- Svelte support.