Releases: nylas/javascript
Releases · nylas/javascript
@nylas/react@3.2.3
Patch Changes
- 5143c9f: - [nylas-scheduling] Fixed confirmation redirect URL incorrectly appending query parameters with ? instead of & when the confirmationRedirectUrl already contains existing query parameters. URLs with pre-existing parameters (e.g. JWT tokens) now correctly preserve all query parameters.
- Fix deferred initialization when rescheduleBookingRef or cancelBookingRef is set via JavaScript after mount (CDN / vanilla HTML pattern). Watch handlers now emit the bookingRefExtracted event, include error handling for malformed booking refs, and properly coordinate with the base provider during deferred init.
- [nylas-page-styling] The Page Styles section in the scheduler editor now renders translated labels by default when no custom slot content is provided. Labels for "Company logo URL", "Primary color", "Submit button label", and "Thank you message" are now available in all supported languages (en, es, fr, de, sv, zh, ja, nl, ko). The color picker's "Select a color" placeholder is also now translated.
@nylas/react@3.2.2
Patch Changes
- bab1dad: Upgrade @nylas/web-elements dependency to 2.5.2:
- Fix schedulerApiUrl not being applied before the connector's first API call when using React wrappers on a full page refresh. The connector now syncs the latest schedulerApiUrl prop value before every data fetch, ensuring EU and other non-US regions work correctly regardless of prop timing.
- [nylas-scheduling] The scheduler now automatically detects the user's browser language and displays localized content when a supported language is available. Previously, users always saw English unless the ?lang= URL parameter or defaultLanguage prop was explicitly set.
@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
nylasSchedulerEditorErrorevent is emitted withcategory: '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.
- 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
@nylas/react@3.2.0
Minor Changes
-
38e78e3: Upgrade @nylas/web-elements dependency to 2.5.0
Minor Changes
- Added
nylasSchedulerEditorErrorevent tonylas-scheduler-editorthat captures and re-emits errors from child components. In React, use theonNylasSchedulerEditorErrorprop to handle errors from the editor and its children in a single place.
Patch Changes
- Fixed
nylas-scheduler-editorshowing the configuration list in composable mode instead of rendering the slotted content - Fixed cancel and reschedule flows breaking when a booking ref was provided without a session ID by deferring scheduler initialization
- Fixed cancel after reschedule failing because stale booking IDs were retained. After rescheduling (which creates new booking IDs), the scheduler now correctly updates to the new IDs so subsequent cancel operations target the rescheduled booking.
- Fixed participant availability and booking calendars not populating when editing an existing configuration due to a prop ordering race condition. Also fixed round-robin participants incorrectly showing the organizer's calendars instead of their own.
- Fixed participant search in the scheduler editor: search results are now properly added to the participant options store, the dropdown no longer disappears prematurely when selecting a result, and the currently-edited participant row is excluded from duplicate filtering
- Fixed a bug where the organizer participant's grant_id was dropped when saving a scheduler configuration. The grant_id is now preserved for both organizer and non-organizer participants during edit and save operations. Additionally, async participants added via search or fetch callbacks can now optionally include a grant_id that flows through to the saved configuration.
- Fixed round-robin configurations not correctly identifying the organizer, which could cause calendar selection and booking calendar assignment to fail when editing an existing round-robin config
- Added
@nylas/react@3.1.5
Patch Changes
- 1a155ab: Upgrade @nylas/web-elements dependency to 2.4.1
@nylas/react@3.1.4
Patch Changes
- 59ecc1b: Upgrade @nylas/web-elements dependency to 2.4.0
@nylas/react@3.1.3
Patch Changes
- 4250a3c: Upgrade @nylas/web-elements dependency to 2.3.5
@nylas/react@3.1.2
Patch Changes
- a939cc3: Upgrade @nylas/web-elements dependency to 2.3.3
@nylas/react@3.1.1
Patch Changes
- f31895d: Update @nylas/web-elements dependency from 2.3.0 to 2.3.2
@nylas/connect@1.2.5
Patch Changes
- 93bc4db: Update release workflow to use npm trusted publishing with OIDC authentication