diff --git a/.changeset/upgrade-web-elements-2-5-5.md b/.changeset/upgrade-web-elements-2-5-5.md deleted file mode 100644 index bad1dac..0000000 --- a/.changeset/upgrade-web-elements-2-5-5.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@nylas/react": patch ---- - -Upgrade @nylas/web-elements dependency to 2.5.5: -- Fix time slot selection and date picker clicks being non-functional after upgrading to v2.5.0. When configurationId or other auth props were set post-mount (e.g. via React), the scheduler entered a deferred init path where click handlers on the date picker and timeslot picker were registered before the connector existed. Clicking a date or time slot appeared to do nothing. The connector reference is now resolved at click time rather than at registration time, so all interactions work correctly regardless of when auth props arrive. - -- [nylas-scheduling] Fix schedulerApiUrl prop being ignored on full page refresh when using React wrappers. The component now correctly waits for React's commit phase to apply props before reading schedulerApiUrl to create the scheduler connector, ensuring the correct API region is used on both client-side navigation and hard page refreshes. diff --git a/.changeset/upgrade-web-elements-2-5-6.md b/.changeset/upgrade-web-elements-2-5-6.md deleted file mode 100644 index 0ba3f68..0000000 --- a/.changeset/upgrade-web-elements-2-5-6.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@nylas/react": patch ---- - -Upgrade @nylas/web-elements dependency to 2.5.6 -- [nylas-scheduling] Improve localized scheduler copy so supported browser languages are reflected in the language dropdown, date labels, and empty states. diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index b322d17..7d8215d 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,16 @@ # @nylas/react +## 3.2.5 + +### Patch Changes + +- f78e65d: Upgrade @nylas/web-elements dependency to 2.5.5: + - Fix time slot selection and date picker clicks being non-functional after upgrading to v2.5.0. When configurationId or other auth props were set post-mount (e.g. via React), the scheduler entered a deferred init path where click handlers on the date picker and timeslot picker were registered before the connector existed. Clicking a date or time slot appeared to do nothing. The connector reference is now resolved at click time rather than at registration time, so all interactions work correctly regardless of when auth props arrive. + - [nylas-scheduling] Fix schedulerApiUrl prop being ignored on full page refresh when using React wrappers. The component now correctly waits for React's commit phase to apply props before reading schedulerApiUrl to create the scheduler connector, ensuring the correct API region is used on both client-side navigation and hard page refreshes. + +- f43d9c9: Upgrade @nylas/web-elements dependency to 2.5.6 + - [nylas-scheduling] Improve localized scheduler copy so supported browser languages are reflected in the language dropdown, date labels, and empty states. + ## 3.2.4 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index b96809f..03f4031 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@nylas/react", - "version": "3.2.4", + "version": "3.2.5", "description": "React components and hooks for Nylas API integration", "type": "module", "scripts": {