diff --git a/CHANGELOG.md b/CHANGELOG.md index 9831c9f..2983d45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ > breaking changes and/or new features that you need to implement in your > project. +## 1.4.3 (January 13, 2024) + +- Fixed a bug where the name of the saved language (via `saveLang`, `saveAs`) would be corrupted on the user side and not available, causing the page to spit out. + ## 1.4.2 (January 11, 2024) - Fix fallback language selection logic. Before, when the `lang` option wasn't provided to the constructor, and there was no URL parameter, and the user hadn't yet selected/clicked (saved) a language, everything crashed. Now, the fallback language will be used in this case. diff --git a/package.json b/package.json index 824a6ee..a74b899 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "si18n.js", - "version": "1.4.2", + "version": "1.4.3", "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 f45eb43..05b2fe7 100644 --- a/src/si18n.js +++ b/src/si18n.js @@ -1,5 +1,5 @@ /*! - * @license si18n.js - v1.4.2 + * @license si18n.js - v1.4.3 * Copyright (c) José dBruxelles . * * This source code is licensed under the MIT license found in the @@ -9,7 +9,7 @@ * Make translation management easier and more efficient. */ export default class Si18n { - static version = "1.4.2"; + static version = "1.4.3"; #noop() {} // Empty function to avoid undefined paramaters. #isInitialized = false; #options = {