From df47bdee9a1b893c2919b9867c865544863f596b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 9 Apr 2026 17:12:15 +0000 Subject: [PATCH 1/3] chore(@nylas/react): upgrade @nylas/web-elements to 2.5.1 --- .changeset/upgrade-web-elements-2-5-1.md | 5 +++++ packages/react/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/upgrade-web-elements-2-5-1.md diff --git a/.changeset/upgrade-web-elements-2-5-1.md b/.changeset/upgrade-web-elements-2-5-1.md new file mode 100644 index 0000000..2ca3bba --- /dev/null +++ b/.changeset/upgrade-web-elements-2-5-1.md @@ -0,0 +1,5 @@ +--- +"@nylas/react": patch +--- + +Upgrade @nylas/web-elements dependency to 2.5.1 diff --git a/packages/react/package.json b/packages/react/package.json index a49ed9c..2eb396e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -78,7 +78,7 @@ "dependencies": { "@nylas/connect": "workspace:^", "@nylas/core": "^1.2.0", - "@nylas/web-elements": "2.5.0", + "@nylas/web-elements": "2.5.1", "@stencil/react-output-target": "^1.2.0", "axios": "^1.7.7", "dayjs": "1.11.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 277d244..7517d3f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,8 +61,8 @@ importers: specifier: ^1.2.0 version: 1.2.0(@stencil/core@4.36.3) '@nylas/web-elements': - specifier: 2.5.0 - version: 2.5.0(rollup@4.50.1) + specifier: 2.5.1 + version: 2.5.1(rollup@4.50.1) '@stencil/react-output-target': specifier: ^1.2.0 version: 1.2.0(@stencil/core@4.36.3)(@types/react@19.2.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) @@ -676,8 +676,8 @@ packages: '@nylas/identity@3.1.0': resolution: {integrity: sha512-EBW17UBAvsj1cT+BEbawdce9Uy04IsElr8hJJRB3lf8Aod/icdn0mxWdWCyCNrjW6fhRwz0Cv3Sh88DbTbC7yA==} - '@nylas/web-elements@2.5.0': - resolution: {integrity: sha512-NILpDdwUgYorLrMcr8z9wnkJ2RzSTfZ5+5Z5YZqBhcNL0oM/Kddro5ItdlwUDsZks+nw287pxHtCUF7ChJcwXQ==} + '@nylas/web-elements@2.5.1': + resolution: {integrity: sha512-3OKe6aiX3Hy1JIj98SKYHKLG0eZK4gLhQ354CcZ8L4EoNI5Ew+zWlLBDz0O/brfNqM+34tKx6+GyocPru713RQ==} '@oxlint/darwin-arm64@1.16.0': resolution: {integrity: sha512-t9sBjbcG15Jgwgw2wY+rtfKEazdkKM/YhcdyjmGYeSjBXaczLfp/gZe03taC2qUHK+t6cxSYNkOLXRLWxaf3tw==} @@ -3731,7 +3731,7 @@ snapshots: react: 18.2.0 uuid: 8.3.2 - '@nylas/web-elements@2.5.0(rollup@4.50.1)': + '@nylas/web-elements@2.5.1(rollup@4.50.1)': dependencies: '@fullcalendar/core': 6.1.8 '@fullcalendar/daygrid': 6.1.8(@fullcalendar/core@6.1.8) From c59824479ed27164a546193849e21a48454aa662 Mon Sep 17 00:00:00 2001 From: Aaron de Mello Date: Thu, 9 Apr 2026 13:19:44 -0400 Subject: [PATCH 2/3] chore(@nylas/react): update changeset description for web-elements 2.5.1 upgrade Co-Authored-By: Claude Opus 4.6 (1M context) --- .changeset/upgrade-web-elements-2-5-1.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.changeset/upgrade-web-elements-2-5-1.md b/.changeset/upgrade-web-elements-2-5-1.md index 2ca3bba..5998b4d 100644 --- a/.changeset/upgrade-web-elements-2-5-1.md +++ b/.changeset/upgrade-web-elements-2-5-1.md @@ -2,4 +2,8 @@ "@nylas/react": patch --- -Upgrade @nylas/web-elements dependency to 2.5.1 +Upgrade @nylas/web-elements dependency from ^2.2.4 to 2.5.1 + +- Add new `NylasNotetakerConfig` component with `onValueChanged` and `onNotetakerError` events +- Re-enable `NylasOnlySpecificTimeAvailability` component (previously commented out as unavailable) +- No breaking changes to existing component types or interfaces From 29f5e24f886113e26aa9ac6aa2e4e4daa4c3204b Mon Sep 17 00:00:00 2001 From: Aaron de Mello Date: Thu, 9 Apr 2026 13:23:16 -0400 Subject: [PATCH 3/3] chore(@nylas/react): add web-elements 2.5.1 changelog details to changeset Co-Authored-By: Claude Opus 4.6 (1M context) --- .changeset/upgrade-web-elements-2-5-1.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.changeset/upgrade-web-elements-2-5-1.md b/.changeset/upgrade-web-elements-2-5-1.md index 5998b4d..b87cc57 100644 --- a/.changeset/upgrade-web-elements-2-5-1.md +++ b/.changeset/upgrade-web-elements-2-5-1.md @@ -2,8 +2,8 @@ "@nylas/react": patch --- -Upgrade @nylas/web-elements dependency from ^2.2.4 to 2.5.1 +Upgrade @nylas/web-elements dependency from 2.5.0 to 2.5.1 -- Add new `NylasNotetakerConfig` component with `onValueChanged` and `onNotetakerError` events -- Re-enable `NylasOnlySpecificTimeAvailability` component (previously commented out as unavailable) -- No breaking changes to existing component types or interfaces +- 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.