From 1f80f47480553b38d2825ef839ed5275b22ed955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20dBruxelles?= <18559798+jdbruxelles@users.noreply.github.com> Date: Wed, 19 Oct 2022 16:53:23 +0200 Subject: [PATCH] Mark v1.3.0 --- CHANGELOG.md | 14 ++++++++++++++ package.json | 2 +- src/si18n.js | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 410915a..356e683 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,20 @@ > breaking changes and/or new features that you need to implement in your > project. +## 1.3.0 (latest - Octobre 19, 2022) + +- Introduce CHANGELOG. +- feat: Allow automatic loading of the translations files using the new `path` + and `availableLocales` options. **Now, just give a path and it's done!** +- feat: Improve errors triggers and robustness. +- The `translate` option is no longer required. +- The `onChange` option is renamed to `onLocaleChanged` for better clarity. +- Add [Crowdin](https://crowdin.com/) support to manage documentation + translations with ease. +- doc: Remove the `select` demo from the demo page. +- doc: Updated the documentation. +- Fix some typos in the code documentation + ## 1.2.0 (July 31, 2022) - feat: Allow replacements in strings. diff --git a/package.json b/package.json index fea8977..0c01607 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "si18n.js", - "version": "1.2.0", + "version": "1.3.0", "description": "A simple and lightweight way to integrate internationalization on a small web site project.", "main": "./si18n.js", "directories": { diff --git a/src/si18n.js b/src/si18n.js index 03c0193..67603ac 100644 --- a/src/si18n.js +++ b/src/si18n.js @@ -1,5 +1,5 @@ /*! - * @license si18n.js - v1.2.0 + * @license si18n.js - v1.3.0 * Copyright (c) José dBruxelles . * * This source code is licensed under the MIT license found in the