|
1 | 1 | # @nylas/react |
2 | 2 |
|
| 3 | +## 3.0.0 |
| 4 | + |
| 5 | +### Major Changes |
| 6 | + |
| 7 | +- 0ba7885: Add `@nylas/react` to the monorepo with initial components, hooks, and build setup. |
| 8 | + - Introduces React utilities for integrating with the Nylas platform |
| 9 | + - Includes basic docs and distribution configuration |
| 10 | + |
| 11 | + Cosmetic updates to `@nylas/connect`. |
| 12 | + - Style and documentation polish; no functional changes |
| 13 | + |
| 14 | +### Patch Changes |
| 15 | + |
| 16 | +- Updated dependencies [0ba7885] |
| 17 | + - @nylas/connect@1.2.1 |
| 18 | + |
3 | 19 | ## 2.2.4 |
4 | 20 |
|
5 | 21 | ### Patch Changes |
|
129 | 145 | ## 🚨 BREAKING CHANGES 🚨 |
130 | 146 |
|
131 | 147 | ### Prop Changes/Additions |
132 | | - |
133 | 148 | - The `enableEventTypes` property controls which event types are enabled in the Scheduler editor. |
134 | 149 | - Default value: |
135 | 150 |
|
|
146 | 161 | ``` |
147 | 162 |
|
148 | 163 | ### UI Changes |
149 | | - |
150 | 164 | - The scheduler editor body height has increased from 610px to 900px to accommodate the calendar view for Group Events |
151 | 165 | - Clicking "Create new" now opens a type selection screen where users can choose the scheduling configuration they want to create |
152 | 166 |
|
153 | 167 | ### Configuration and Set-up Changes |
154 | | - |
155 | 168 | - The previous approach of hardcoding a single scheduling method using the availability_method (e.g., 'max-availability', 'collective', 'max-fairness') is no longer supported. |
156 | 169 |
|
157 | 170 | Before: |
|
186 | 199 | ``` |
187 | 200 |
|
188 | 201 | `enableEventTypes` controls which event types are enabled. |
189 | | - |
190 | 202 | - By default, all event types are enabled and users will see a selection screen when creating a new event. |
191 | 203 | - You can disable specific event types by setting them to `false`. |
192 | 204 | - At least one event type must remain enabled at all times. |
|
208 | 220 | ### New Event Types |
209 | 221 |
|
210 | 222 | The scheduler components now emit the following new events for group event operations: |
211 | | - |
212 | 223 | - `groupEventCreateTriggered` |
213 | 224 | - `groupEventUpdateTriggered` |
214 | 225 | - `groupEventDeleteTriggered` |
|
547 | 558 | ### Patch Changes |
548 | 559 |
|
549 | 560 | - [#367](https://github.com/nylas/nylas/pull/367) [`eed1e4c`](https://github.com/nylas/nylas/commit/eed1e4cc01c5d12b5c88e94d69d306d5119346f5) Thanks [@pooja169usp](https://github.com/pooja169usp)! |
550 | | - |
551 | 561 | - Fixed default selected calendar not selected when creating a config using MS account. |
552 | 562 | - Fixed the issue with booking an event where the default selected value in the dropdown was not sent until changed. |
553 | 563 |
|
554 | 564 | - [#368](https://github.com/nylas/nylas/pull/368) [`eed1e4c`](https://github.com/nylas/nylas/commit/eed1e4cc01c5d12b5c88e94d69d306d5119346f5) Thanks [@pooja169usp](https://github.com/pooja169usp)! |
555 | | - |
556 | 565 | - Updated the Scheduling component to fetch availability only if the ui settings request passes. This prevents the additional API request if the config is invalid. |
557 | 566 | - Appended the guest info, additional fields and timeslot to the bokedEventInfo event |
558 | 567 |
|
|
568 | 577 | - [#357](https://github.com/nylas/nylas/pull/357) [`ef9faff`](https://github.com/nylas/nylas/commit/ef9faffb27c33830ce4e59b7bbd324e73b913fef) Thanks [@pooja169usp](https://github.com/pooja169usp)! - Bundle a separate folder dist/cdn for CDN usage. This improves the loading time by including all the necessary dependencies required for a component to load (Each component is imported individually). |
569 | 578 |
|
570 | 579 | - [#364](https://github.com/nylas/nylas/pull/364) [`8f84ba8`](https://github.com/nylas/nylas/commit/8f84ba8d34513d4ccd0a9725913cbc356a765a02) Thanks [@pooja169usp](https://github.com/pooja169usp)! |
571 | | - |
572 | 580 | - Modified how the Editor manages manual confirmations: |
573 | 581 | - If `organizer_confirmation_url` is not set by developers, the `<nylas-booking-confirmation-type>` component will no longer appear in the editor |
574 | 582 | - Added validation for configuration creation to ensure that if developers override `booking_type` to "organizer-confirmation", they must also set `organizer_confirmation_url`, otherwise a validation error will be triggered. |
|
0 commit comments