diff --git a/.changeset/upgrade-web-elements-2-5-1.md b/.changeset/upgrade-web-elements-2-5-1.md deleted file mode 100644 index b87cc57..0000000 --- a/.changeset/upgrade-web-elements-2-5-1.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@nylas/react": patch ---- - -Upgrade @nylas/web-elements dependency from 2.5.0 to 2.5.1 - -- Improve error handling for authentication failures in the scheduler editor. Auth errors now display a visible error banner on the login screen instead of failing silently. The `nylasSchedulerEditorError` event is emitted with `category: 'auth'` for programmatic error handling. Session expiry detection is also improved to catch additional error patterns. -- Fix scheduler date handling to normalize mixed date inputs (Date, ISO string, and unix timestamp values), preventing incorrect fallback dates like 1970 and ensuring timezone-aware selected-day comparisons remain stable across components. -- Fix deferred initialization for booking refs in private scheduler configurations. Booking ref props (reschedule, cancel, organizer confirmation) no longer prematurely trigger initialization without proper auth credentials. Organizer confirmation salt is now correctly persisted when the booking ref is set dynamically. diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index b1da6f1..a83da8b 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,14 @@ # @nylas/react +## 3.2.1 + +### Patch Changes + +- 777b798: Upgrade @nylas/web-elements dependency from 2.5.0 to 2.5.1 + - Improve error handling for authentication failures in the scheduler editor. Auth errors now display a visible error banner on the login screen instead of failing silently. The `nylasSchedulerEditorError` event is emitted with `category: 'auth'` for programmatic error handling. Session expiry detection is also improved to catch additional error patterns. + - Fix scheduler date handling to normalize mixed date inputs (Date, ISO string, and unix timestamp values), preventing incorrect fallback dates like 1970 and ensuring timezone-aware selected-day comparisons remain stable across components. + - Fix deferred initialization for booking refs in private scheduler configurations. Booking ref props (reschedule, cancel, organizer confirmation) no longer prematurely trigger initialization without proper auth credentials. Organizer confirmation salt is now correctly persisted when the booking ref is set dynamically. + ## 3.2.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 2eb396e..0523842 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@nylas/react", - "version": "3.2.0", + "version": "3.2.1", "description": "React components and hooks for Nylas API integration", "type": "module", "scripts": {