sdksjavascript
- The scheduler now automatically detects the user’s browser language and displays localized content when a supported language is available. Previously, localization required explicitly setting the
?lang=URL parameter ordefaultLanguageprop. - The Page Styles section in the scheduler editor now renders translated labels by default. Labels for “Company logo URL”, “Primary color”, “Submit button label”, and “Thank you message” are available in all supported languages (en, es, fr, de, sv, zh, ja, nl, ko). The color picker placeholder is also translated.
Updated
Section titled “Updated”- Upgraded
@nylas/web-elementsto v2.5.3. - This entry also covers
@nylas/reactv3.2.2 (web-elements v2.5.2), released earlier the same day. The browser language detection and theschedulerApiUrlfix below first shipped in that release.
- Fixed
schedulerApiUrlnot being applied before the connector’s first API call when using React wrappers on a full page refresh. The connector now syncs the latestschedulerApiUrlprop value before every data fetch, ensuring EU and other non-US regions work correctly regardless of prop timing. - Fixed confirmation redirect URL incorrectly appending query parameters with
?instead of&when theconfirmationRedirectUrlalready contains existing query parameters. URLs with pre-existing parameters (e.g., JWT tokens) now correctly preserve all original query parameters. - Fixed deferred initialization when
rescheduleBookingReforcancelBookingRefis set via JavaScript after mount (CDN/vanilla HTML pattern). Watch handlers now emit thebookingRefExtractedevent, include error handling for malformed booking refs, and properly coordinate with the base provider during deferred init.