Skip to content

Commit

Permalink
Mark v1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruxelles committed Jan 13, 2024
1 parent 059eedb commit 5d92b3c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions src/si18n.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* @license si18n.js - v1.4.2
* @license si18n.js - v1.4.3
* Copyright (c) José dBruxelles <jd.bruxelles.dev/c>.
*
* This source code is licensed under the MIT license found in the
Expand All @@ -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 = {
Expand Down

0 comments on commit 5d92b3c

Please sign in to comment.