From 4734cb2515ad2790b4a8fca14570a236eb358c59 Mon Sep 17 00:00:00 2001 From: Gilmore Davidson Date: Fri, 29 Dec 2023 22:00:41 +1100 Subject: [PATCH] Bump version to 0.5.44 --- changelog.md | 8 ++++++++ composer.json | 2 +- moment-timezone-utils.js | 2 +- moment-timezone.js | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/changelog.md b/changelog.md index dd25d7ee..e2fe4c27 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,11 @@ +### `0.5.44` _2023-12-29_ +* Updated data to IANA TZDB `2023d`. +* Fixed `.valueOf()` to return `NaN` for invalid zoned objects (matching default `moment`) [#1082](https://github.com/moment/moment-timezone/pull/1082). +* Performance improvements: + * Use binary search when looking up zone information [#720](https://github.com/moment/moment-timezone/pull/720). + * Avoid redundant checks in `tz.guess()`. + * Avoid redundant `getZone()` calls in `.tz()`. + ### `0.5.43` _2023-03-31_ * Updated data to IANA TZDB `2023c` diff --git a/composer.json b/composer.json index 672cd3be..3bab4906 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "moment/moment-timezone", "description": "Parse and display dates in any timezone", - "version": "0.5.43", + "version": "0.5.44", "keywords": [ "moment", "date", diff --git a/moment-timezone-utils.js b/moment-timezone-utils.js index 88bec231..871ffa4a 100644 --- a/moment-timezone-utils.js +++ b/moment-timezone-utils.js @@ -1,5 +1,5 @@ //! moment-timezone-utils.js -//! version : 0.5.43 +//! version : 0.5.44 //! Copyright (c) JS Foundation and other contributors //! license : MIT //! github.com/moment/moment-timezone diff --git a/moment-timezone.js b/moment-timezone.js index 6e568cd2..8123828d 100644 --- a/moment-timezone.js +++ b/moment-timezone.js @@ -1,5 +1,5 @@ //! moment-timezone.js -//! version : 0.5.43 +//! version : 0.5.44 //! Copyright (c) JS Foundation and other contributors //! license : MIT //! github.com/moment/moment-timezone @@ -29,7 +29,7 @@ // return moment; // } - var VERSION = "0.5.43", + var VERSION = "0.5.44", zones = {}, links = {}, countries = {}, diff --git a/package-lock.json b/package-lock.json index 05ac4841..93565bbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "moment-timezone", - "version": "0.5.43", + "version": "0.5.44", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "moment-timezone", - "version": "0.5.43", + "version": "0.5.44", "license": "MIT", "dependencies": { "moment": "^2.29.4" diff --git a/package.json b/package.json index 33dea835..c051a168 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moment-timezone", - "version": "0.5.43", + "version": "0.5.44", "description": "Parse and display moments in any timezone.", "homepage": "http://momentjs.com/timezone/", "author": "Tim Wood (http://timwoodcreates.com/)",