You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: prepare release v2.2.4 and refactor ngOnChanges
- Bump version to 2.2.4 in package.json (root and library) and package-lock.json
- Update all documentation (README, CHANGELOG, MIGRATION, ROADMAP, SECURITY, PUBLISHING) to reflect v2.2.4
- Refactor ngOnChanges in ngxsmk-datepicker.ts to reduce cognitive complexity from 17 to under 15
- Extract focused private methods (handleChangesTimeAndMode, handleChangesDisabledStates, etc.) for better maintainability
- Update demo app versioning and translations across all supported languages
- Update docs/INSTALLATION.md with new version-specific CDN and download links
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,18 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
-
**Last updated:** March 9, 2026 · **Current stable:** v2.2.3
5
+
**Last updated:** March 10, 2026 · **Current stable:** v2.2.4
6
6
7
7
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
10
+
## [2.2.4] - 2026-03-10
11
+
12
+
### Fixed
13
+
-**Timezone Support**: Added full support for IANA timezones in "Today" calculation. The component now correctly identifies "Today" based on the configured `timezone` input.
14
+
-**Date Validation**: Fixed an issue where "Today" was incorrectly considered invalid if `minDate` was set to the current time. Validation now normalizes to the start of the day.
15
+
-**Keyboard Shortcuts**: Updated "Today" selection shortcut to be timezone-aware.
Copy file name to clipboardExpand all lines: MIGRATION.md
+19-3Lines changed: 19 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,11 @@
2
2
3
3
This document provides migration instructions for upgrading between major versions of ngxsmk-datepicker.
4
4
5
-
**Last updated:** March 9, 2026 · **Current stable:** v2.2.3
5
+
**Last updated:** March 10, 2026 · **Current stable:** v2.2.4
6
6
7
7
## Table of Contents
8
8
9
+
-[v2.2.3 → v2.2.4](#v223---v224)
9
10
-[v2.2.0 → v2.2.3](#v220---v223)
10
11
-[v2.1.8 → v2.2.0](#v218---v219)
11
12
-[v2.1.7 → v2.1.8](#v217---v218)
@@ -53,9 +54,24 @@ This document provides migration instructions for upgrading between major versio
53
54
-[v1.9.1 → v1.9.2](#v191---v192)
54
55
-[v1.9.0 → v1.9.1](#v190---v191)
55
56
-[v1.8.0 → v1.9.0](#v180---v190)
56
-
-[v1.9.0 → v2.0.0](#v190---v200) (Future)
57
57
-[v1.7.0 → v1.8.0](#v170---v180)
58
58
59
+
## v2.2.3 → v2.2.4
60
+
61
+
### Changes
62
+
63
+
-**Timezone Support**: Added full support for IANA timezones in "Today" calculation. The component now correctly identifies "Today" based on the configured `timezone` input rather than just browser local time.
64
+
-**Date Validation**: Fixed an issue where "Today" could become unselectable if `minDate` was set to the current time later in the day. `minDate` validation now correctly normalizes to the start of the day.
65
+
-**Keyboard Shortcuts**: Updated `selectToday` shortcut to use the timezone-aware `today` value.
Copy file name to clipboardExpand all lines: README.md
+16-12Lines changed: 16 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,15 +24,15 @@
24
24
25
25
---
26
26
27
-
**Last updated:** March 9, 2026 · **Current stable:** v2.2.3
27
+
**Last updated:** March 10, 2026 · **Current stable:** v2.2.4
28
28
29
29
### **Overview**
30
30
31
31
**ngxsmk-datepicker** is a high-performance, enterprise-ready date and range picker engineered for the modern Angular ecosystem (v17+). Built from the ground up with **Angular Signals**, it delivers a seamless, zoneless-ready experience for both desktop and mobile (Ionic) applications.
32
32
33
-
> **Stable Release**: `v2.2.3` is live! This release brings a**TypeScript Strictness Overhaul**(eliminating `any` types), **Cognitive Complexity & Linting Fixes**for Material integration, and improved **Test Coverage (~68.2%)**. It also fixes **appendToBody** popover positioning, datepicker-in-modal behavior, and touch interaction regressions. No breaking changes.
33
+
> **Stable Release**: `v2.2.4` is live! This release adds full**IANA Timezone Support** for "Today" calculation, resolves a critical bug where "Today" could become unselectable after late-day `minDate` initializations, and ensures high-performance date validation across all configurations.
34
34
>
35
-
> ⚠️ **Important**: Versions 2.0.10 and 2.0.11 are broken and have been unpublished. Please use v2.2.3 or later.
35
+
> ⚠️ **Important**: Versions 2.0.10 and 2.0.11 are broken and have been unpublished. Please use v2.2.4 or later.
36
36
37
37
---
38
38
@@ -139,7 +139,7 @@ For details, see [CONTRIBUTING.md](https://github.com/NGXSMK/ngxsmk-datepicker/b
139
139
## **📦 Installation**
140
140
141
141
```bash
142
-
npm install ngxsmk-datepicker@2.2.3
142
+
npm install ngxsmk-datepicker@2.2.4
143
143
```
144
144
145
145
### Alternative installation
@@ -148,12 +148,12 @@ You can install without npm using any of these methods (peer dependencies must s
148
148
149
149
| Method | Command |
150
150
|--------|--------|
151
-
|**Yarn**|`yarn add ngxsmk-datepicker@2.2.3`|
152
-
|**pnpm**|`pnpm add ngxsmk-datepicker@2.2.3`|
153
-
|**Bun**|`bun add ngxsmk-datepicker@2.2.3`|
154
-
|**From Git**|`npm install github:NGXSMK/ngxsmk-datepicker#v2.2.3` (requires the repo to have built output or you build from source) |
151
+
|**Yarn**|`yarn add ngxsmk-datepicker@2.2.4`|
152
+
|**pnpm**|`pnpm add ngxsmk-datepicker@2.2.4`|
153
+
|**Bun**|`bun add ngxsmk-datepicker@2.2.4`|
154
+
|**From Git**|`npm install github:NGXSMK/ngxsmk-datepicker#v2.2.4` (requires the repo to have built output or you build from source) |
155
155
|**Local path**| Build the library in the repo (`npx ng build ngxsmk-datepicker`), then `npm install /path/to/ngxsmk-datepicker/dist/ngxsmk-datepicker`|
156
-
|**CDN (ESM)**| Use [unpkg](https://unpkg.com/ngxsmk-datepicker@2.2.3/) or [jsDelivr](https://cdn.jsdelivr.net/npm/ngxsmk-datepicker@2.2.3/) in your bundler or import map; peer dependencies (Angular, etc.) must be installed in your app. |
156
+
|**CDN (ESM)**| Use [unpkg](https://unpkg.com/ngxsmk-datepicker@2.2.4/) or [jsDelivr](https://cdn.jsdelivr.net/npm/ngxsmk-datepicker@2.2.4/) in your bundler or import map; peer dependencies (Angular, etc.) must be installed in your app. |
157
157
158
158
For all options and caveats, see [docs/INSTALLATION.md](docs/INSTALLATION.md).
159
159
@@ -604,7 +604,7 @@ The `locale` input controls all internationalization. It automatically formats m
604
604
605
605
### **Global Language Support**
606
606
607
-
ngxsmk-datepicker v2.2.3 now features **full localization synchronization** for:
607
+
ngxsmk-datepicker v2.2.4 now features **full localization synchronization** for:
608
608
609
609
- �� English (`en`)
610
610
- �� German (`de`)
@@ -697,8 +697,12 @@ This library has been optimized for maximum performance:
697
697
698
698
## **🐛 Bug Fixes & Improvements**
699
699
700
-
### **Critical Bug Fixes in v1.4.15:**
700
+
### **Critical Updates in v2.2.4:**
701
701
702
+
- ✅ **Timezone Support**: Added full support for IANA timezones in "Today" calculation.
@@ -860,7 +864,7 @@ We welcome and appreciate contributions from the community! Whether it's reporti
860
864
861
865
## **📄 Changelog**
862
866
863
-
**Recent:** v2.2.3 — TypeScript strictness overhaul, appendToBody/popover fixes, loading and CSS cleanup. Versions 2.0.10 and 2.0.11 are unpublished; use v2.2.3 or later.
867
+
**Recent:** v2.2.4 — TypeScript strictness overhaul, appendToBody/popover fixes, loading and CSS cleanup. Versions 2.0.10 and 2.0.11 are unpublished; use v2.2.4 or later.
864
868
865
869
For the full list of changes, see [CHANGELOG.md](https://github.com/NGXSMK/ngxsmk-datepicker/blob/main/CHANGELOG.md).
0 commit comments