diff --git a/.changeset/dark-geckos-wink.md b/.changeset/dark-geckos-wink.md deleted file mode 100644 index 8e978c3057..0000000000 --- a/.changeset/dark-geckos-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@calcom/atoms": patch ---- - -test by updating changelog diff --git a/.changeset/polite-actors-go.md b/.changeset/polite-actors-go.md deleted file mode 100644 index 9adb60fb21..0000000000 --- a/.changeset/polite-actors-go.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@calcom/atoms": patch ---- - -fix saving event type settings diff --git a/packages/platform/atoms/CHANGELOG.md b/packages/platform/atoms/CHANGELOG.md index e9154df370..882fad3af2 100644 --- a/packages/platform/atoms/CHANGELOG.md +++ b/packages/platform/atoms/CHANGELOG.md @@ -1,6 +1,16 @@ ## 1.0.63 + +## 1.0.107 + +### Patch Changes + +- [#22095](https://github.com/calcom/cal.com/pull/22095) [`3c43ce4`](https://github.com/calcom/cal.com/commit/3c43ce4165bce1da29b203d5f2eb62090c5fddd2) Thanks [@supalarry](https://github.com/supalarry)! - test by updating changelog + +- [#21864](https://github.com/calcom/cal.com/pull/21864) [`540bf86`](https://github.com/calcom/cal.com/commit/540bf868b5b60a98d9d3aeb565e2089f15c3dfd3) Thanks [@supalarry](https://github.com/supalarry)! - fix saving event type settings + 1. 💥 BREAKING - `useGetBooking` hook has been renamed to `useBooking` hook and `useGetBookings` hook to `useBookings` and the data returned has different -structure. Here is example response from `useBooking`: + structure. Here is example response from `useBooking`: + ``` { "id": 73, @@ -47,9 +57,11 @@ structure. Here is example response from `useBooking`: } } ``` + It is important to note that `useBooking` can return one booking, one individual recurrence of recurring booking or if id of recurring booking is passed then array of all recurrences within recurring booking. Response schema can be viewed in api docs https://cal.com/docs/api-reference/v2/bookings/get-a-booking and switching between data response objects in the dropdown. This means that in your frontend you need to handle case if its an individual object or an array of bookings: + ``` const { isLoading, data: booking, refetch } = useBooking((router.query.bookingUid as string) ?? ""); @@ -63,5 +75,5 @@ if (!Array.isArray(booking)) { ``` 2. FIX - phone booking field not showing correctly https://linear.app/calcom/issue/CAL-4465/platform-fix-phone-booking-field -3. FEAT - ability to hide booker event type details sidebar https://linear.app/calcom/issue/CAL-4443/platform-feat-booker-hide-event-details -4. FEAT - make booker name and email booker properties read only if specified https://linear.app/calcom/issue/CAL-4441/platform-feat-make-name-and-email-fields-not-editable \ No newline at end of file +3. FEAT - ability to hide booker event type details sidebar https://linear.app/calcom/issue/CAL-4443/platform-feat-booker-hide-event-details +4. FEAT - make booker name and email booker properties read only if specified https://linear.app/calcom/issue/CAL-4441/platform-feat-make-name-and-email-fields-not-editable diff --git a/packages/platform/atoms/package.json b/packages/platform/atoms/package.json index 4f6c3b5406..3384bb9d0a 100644 --- a/packages/platform/atoms/package.json +++ b/packages/platform/atoms/package.json @@ -4,7 +4,7 @@ "type": "module", "description": "Customizable UI components to integrate scheduling into your product.", "authors": "Cal.com, Inc.", - "version": "1.0.106", + "version": "1.0.107", "scripts": { "dev": "yarn vite build --watch & npx tailwindcss -i ./globals.css -o ./globals.min.css --postcss --minify --watch", "build": "NODE_OPTIONS='--max_old_space_size=16384' rm -rf dist && yarn vite build && npx tailwindcss -i ./globals.css -o ./globals.min.css --postcss --minify && mkdir ./dist/packages/prisma-client && cp -rf ../../../node_modules/.prisma/client/*.d.ts ./dist/packages/prisma-client",