## 2.1.0

## 2.2.0

### Minor Changes

- [#25819](https://github.com/calcom/cal.diy/pull/25819) [`b4e773d`](https://github.com/calcom/cal.diy/commit/b4e773da69ee2ad57d8fa22e780232af8e1c7637) Thanks [@supalarry](https://github.com/supalarry)! - feat: Booker accepts rrHostSubsetIds to specify round robin hosts

### Minor Changes

- feat: Booker accepts rrHostSubsetIds to specify round robin hosts

## 2.0.0

⚠️ This version contains a breaking change ⚠️. Specifically, the tailwind upgrade under major changes. Atoms now use tailwind at version 4, which means that you have to upgrade your project to use tailwind at version 4.

### Major Changes

- [#25577](https://github.com/calcom/cal.diy/pull/25577) [`a1e1bf8`](https://github.com/calcom/cal.diy/commit/a1e1bf8b76da5489f91895c3a776c38dea346cee) Thanks [@supalarry](https://github.com/supalarry)! - feat: use tailwind v4 (breaking change).

### Minor Changes

- [#24857](https://github.com/calcom/cal.diy/pull/24857) [`c6daa61`](https://github.com/calcom/cal.diy/commit/c6daa61e5efe24665f3d3dd0bea33c79dda6f797) Thanks [@ibex088](https://github.com/ibex088)! - Fix Booker atom verify email dialog infinite re-render when entering verification code

- [#24896](https://github.com/calcom/cal.diy/pull/24896) [`957d197`](https://github.com/calcom/cal.diy/commit/957d19740ed31834e8346d3fa309605a6d657c11) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This PR introduces two variants for the calendar view atom, a generic calendar view and an event type specific view containing bookings data and busy times from connected calendars.

- [#25093](https://github.com/calcom/cal.diy/pull/25093) [`3e7a848`](https://github.com/calcom/cal.diy/commit/3e7a848769d49295ee6e4251cf4afd2390793ae2) Thanks [@ibex088](https://github.com/ibex088)! - Refactor SettingsHeader to accept onBackButtonClick callback instead of using useRouter directly.

- [#25204](https://github.com/calcom/cal.diy/pull/25204) [`037cb8e`](https://github.com/calcom/cal.diy/commit/037cb8ee2a83c1d725d5d913d47911a5997bee01) Thanks [@ThyMinimalDev](https://github.com/ThyMinimalDev)! - Add defaultPhoneCountry prop to BookerPlatformWrapper with ISO 3166-1 alpha-2 type safety

### Patch Changes

- [#25418](https://github.com/calcom/cal.diy/pull/25418) [`8fcbf2c`](https://github.com/calcom/cal.diy/commit/8fcbf2c167ce747e302c0c03095ddcdbebc728a3) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This PR fixes the issue of connect atoms not working inside iframes. It also updates the atoms exports to include the `useAvailableSlots` hook.

## 1.12.1

### Patch Changes

- [#24786](https://github.com/calcom/cal.diy/pull/24786) [`e47ddf9`](https://github.com/calcom/cal.diy/commit/e47ddf983559816ab7ce9789eee97254124b1a4c) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This PR updates Booker atom to have a new prop called handleCreateRecurringBooking for handling recurring events.

## 1.12.0

### Minor Changes

- [#24709](https://github.com/calcom/cal.diy/pull/24709) [`c0530cc`](https://github.com/calcom/cal.diy/commit/c0530cc91c145dd2d56d32ff981c8fa49ee382fa) Thanks [@ibex088](https://github.com/ibex088)! - Fix Vite “process is undefined” error by defining process.env in atoms build.

## 1.11.0

### Minor Changes

- [#24010](https://github.com/calcom/cal.diy/pull/24010) [`09ee39a`](https://github.com/calcom/cal.diy/commit/09ee39a3d8602e2c1000b5bb12f64d843c77e97a) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This PR adds ability to display bookings of a user event for calendar view atom

- [#24205](https://github.com/calcom/cal.diy/pull/24205) [`0757b00`](https://github.com/calcom/cal.diy/commit/0757b00db754814a8c1017bc9cf83064bb6bbe45) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This PR adds an atom to list a user's schedule. Furthermore, there was also another atom introduced which can be used to create a new schedule for a user.

### Patch Changes

- [#24464](https://github.com/calcom/cal.diy/pull/24464) [`ec3656e`](https://github.com/calcom/cal.diy/commit/ec3656e646dd0fde90e4e604b3c87c23b01402a9) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This PR adds dry run behaviour for date overrides in the `AvailabilitySettings` atom

## 1.10.0

### Minor Changes

- [#24001](https://github.com/calcom/cal.diy/pull/24001) [`752cfa6`](https://github.com/calcom/cal.diy/commit/752cfa6bf98a826e8f49a590c8b0e70c9007ebfc) Thanks [@ThyMinimalDev](https://github.com/ThyMinimalDev)! - Reduced bundle size by removing unnecessary types

## 1.9.0

### Minor Changes

- [#23840](https://github.com/calcom/cal.diy/pull/23840) [`63740c0`](https://github.com/calcom/cal.diy/commit/63740c02c752f89a90d8373fb19c09e3f0da935f) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This PR adds a new atom called `CalendarView` which is a read only calendar view component for a user.

### Patch Changes

- [#23891](https://github.com/calcom/cal.diy/pull/23891) [`4f114ef`](https://github.com/calcom/cal.diy/commit/4f114ef8d3b241394976ed930be70197eff6431d) Thanks [@supalarry](https://github.com/supalarry)! - fix: EventTypeSettings Checkbox booking field label

## 1.8.0

### Minor Changes

- [#23686](https://github.com/calcom/cal.diy/pull/23686) [`cfd1992`](https://github.com/calcom/cal.diy/commit/cfd1992733ff8c4db3e5795e421aef957fad43a4) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This PR adds customReplyEmailTo feature for EventTypeSettings atom

## 1.7.1

### Patch Changes

- [#23490](https://github.com/calcom/cal.diy/pull/23490) [`de98578`](https://github.com/calcom/cal.diy/commit/de98578fdd751887800216f24274578272d5c91d) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This PR fixes the prop `disableToasts` not working

## 1.7.0

### Minor Changes

- [#23445](https://github.com/calcom/cal.diy/pull/23445) [`9724bc0`](https://github.com/calcom/cal.diy/commit/9724bc07a6d9bfe3ff32fa4e5657de2da3068d85) Thanks [@supalarry](https://github.com/supalarry)! - feat: italian language support

## 1.6.0

### Minor Changes

- [#23074](https://github.com/calcom/cal.diy/pull/23074) [`09cf888`](https://github.com/calcom/cal.diy/commit/09cf8885cf5e88fc0911edaf7e43f5c1c2d64923) Thanks [@SomayChauhan](https://github.com/SomayChauhan)! - feat: add send & verify code flow to booker atom when email verification is turned on

- [#23211](https://github.com/calcom/cal.diy/pull/23211) [`89a3b77`](https://github.com/calcom/cal.diy/commit/89a3b77a1dd0773e6b746b14e72f9a792ac1c43a) Thanks [@SomayChauhan](https://github.com/SomayChauhan)! - feat: added hideEventMetadata prop to the booker atom that controls the visibility of the event metadata sidebar. When `true`, hides the left sidebar containing event details like title, description, duration, and host information.

### Patch Changes

- [#23213](https://github.com/calcom/cal.diy/pull/23213) [`40caa82`](https://github.com/calcom/cal.diy/commit/40caa82e5592cc17d84dd5e73531d1b376ce187c) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This PR fixes `onBookerStateChange` prop not working

## 1.5.0

### Minor Changes

- [#23174](https://github.com/calcom/cal.diy/pull/23174) [`618ef63`](https://github.com/calcom/cal.diy/commit/618ef630170eb1c05b4a131a01d0c2316b3d1880) Thanks [@SomayChauhan](https://github.com/SomayChauhan)! - fix: Availability atom handleFormSubmit callbacks not triggering

## 1.4.0

### Minor Changes

- [#23119](https://github.com/calcom/cal.diy/pull/23119) [`eb1ed10`](https://github.com/calcom/cal.diy/commit/eb1ed107ba54a4ae99d0b3aa741ae3076d0ec629) Thanks [@ThyMinimalDev](https://github.com/ThyMinimalDev)! - Added Booker atom prop silentlyHandleCalendarFailures, which ensure the booker still displays slots when the third party calendars credentials are invalid or expired

## 1.3.1

### Patch Changes

- [#22925](https://github.com/calcom/cal.diy/pull/22925) [`4c01f17`](https://github.com/calcom/cal.diy/commit/4c01f171aebcc5a64453c27e950303902cc15309) Thanks [@sean-brydon](https://github.com/sean-brydon)! - Fixes an issues for the Booker atom wherein when multiple widgets were being placed on the same page, changes made in one widget would also get reflected in the others.

## 1.3.0

### Minor Changes

- [#23060](https://github.com/calcom/cal.diy/pull/23060) [`293dd1a`](https://github.com/calcom/cal.diy/commit/293dd1a1402fbc0748dffd5619a1b1aacaea9d60) Thanks [@SomayChauhan](https://github.com/SomayChauhan)! - fix: EventTypeSettings Atom crashes on enabling `Lock timezone on booking` in advanced tab

- [#22911](https://github.com/calcom/cal.diy/pull/22911) [`d3fbc73`](https://github.com/calcom/cal.diy/commit/d3fbc73a3962a9bcca6a95870b146a97f4c7d996) Thanks [@SomayChauhan](https://github.com/SomayChauhan)! - Added new callback functions to the handleFormSubmit method in the EventTypeSettings and AvailabilitySettings atoms. The handleFormSubmit method now accepts an optional callbacks object with the following properties:

  - **onSuccess**: Called when the form submission is successful, allowing additional logic to be executed after the update.

  - **onError**: Called when an error occurs during form submission, providing details about the error to handle specific cases or display custom messages.

- [#23052](https://github.com/calcom/cal.diy/pull/23052) [`fc2e81e`](https://github.com/calcom/cal.diy/commit/fc2e81e89a6e320c7346dad3259dd51ed700fb30) Thanks [@SomayChauhan](https://github.com/SomayChauhan)! - Added showNoAvailabilityDialog prop to the Booker atom – a Boolean that controls whether the 'no availability' dialog is displayed

- [#22976](https://github.com/calcom/cal.diy/pull/22976) [`abe92cd`](https://github.com/calcom/cal.diy/commit/abe92cd693f33d20113f5357a960baec042e5256) Thanks [@supalarry](https://github.com/supalarry)! - feat: style calendar settings and availability overrides

- [#22956](https://github.com/calcom/cal.diy/pull/22956) [`d18e233`](https://github.com/calcom/cal.diy/commit/d18e23378b699e734e9dbbdf93225b02a9059ff4) Thanks [@supalarry](https://github.com/supalarry)! - booker atom: allow toggling org and team info when booking round robin

## 1.2.0

### Minor Changes

- [#22886](https://github.com/calcom/cal.diy/pull/22886) [`fb36497`](https://github.com/calcom/cal.diy/commit/fb364971fadc1a6796e739956200f12af74e565c) Thanks [@supalarry](https://github.com/supalarry)! - bundle fonts to fix atoms in non-next apps

### Patch Changes

- [#22731](https://github.com/calcom/cal.diy/pull/22731) [`ef66187`](https://github.com/calcom/cal.diy/commit/ef6618743d5c1367fadf7b98cf15f7ba829535e3) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - Added new startTime prop to the Booker component that allows users to decide the first available date when the booker loads

- [#22815](https://github.com/calcom/cal.diy/pull/22815) [`dc967cf`](https://github.com/calcom/cal.diy/commit/dc967cffbecdf573aa48777ca7a245a6e633356c) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This change fixes an issue in the CalendarSettings atom where the redirect urls were getting only one search param

- [#22701](https://github.com/calcom/cal.diy/pull/22701) [`babd514`](https://github.com/calcom/cal.diy/commit/babd514c64d0a4b8e05a46619808f201d3e8b0a5) Thanks [@Ryukemeister](https://github.com/Ryukemeister)! - This change fixes date overrides breaking for availability settings atom

## 1.1.0

### Minor Changes

- [#22246](https://github.com/calcom/cal.diy/pull/22246) [`d2bbbf3`](https://github.com/calcom/cal.diy/commit/d2bbbf3f45c6d1617e244516b2ebbfd717c6db51) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - This change updates the atoms export file to include type for Schedule in Availability Settings atom

### Patch Changes

- [#22182](https://github.com/calcom/cal.diy/pull/22182) [`8b3ff0b`](https://github.com/calcom/cal.diy/commit/8b3ff0b789b1cb9417a154dcdb0edd448b2847bb) Thanks [@devin-ai-integration](https://github.com/apps/devin-ai-integration)! - This change ensures that the booking dry run flow never reserves an actual booking slot.

### Patch Changes

- [#22148](https://github.com/calcom/cal.diy/pull/22148) [`d27490e`](https://github.com/calcom/cal.diy/commit/d27490e6f2438d353dfcf3e793c8886e723307f3) Thanks [@supalarry](https://github.com/supalarry)! - test release

## 1.0.63

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`:

```
{
  "id": 73,
  "uid": "wPnPGRQCnEi8nij7eaQ5E1",
  "title": "with confirmation and limit between Jane Doe and dojgqhylze-clxyyy21o0003sbk7yw5z6tzg-example",
  "description": "",
  "hosts": [
    {
      "id": 95,
      "name": "Jane Doe",
      "timeZone": "Europe/Madrid"
    }
  ],
  "status": "accepted",
  "start": "2024-10-07T08:00:00.000Z",
  "end": "2024-10-07T09:00:00.000Z",
  "duration": 60,
  "eventTypeId": 1207,
  "eventType": {
    "id": 1207,
    "slug": "with-confirmation-and-limit"
  },
  "attendees": [
    {
      "name": "dojgqhylze-clxyyy21o0003sbk7yw5z6tzg-example",
      "timeZone": "Europe/Madrid",
      "language": "en",
      "absent": false
    }
  ],
  "guests": [],
  "meetingUrl": "integrations:daily",
  "location": "integrations:daily",
  "absentHost": false,
  "bookingFieldsResponses": {
    "email": "dojgqhylze@example.com",
    "name": "dojgqhylze-clxyyy21o0003sbk7yw5z6tzg-example",
    "guests": [],
    "phone": "+37128224288",
    "location": {
      "value": "integrations:daily",
      "optionValue": ""
    }
  }
}
```

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) ?? "");

if (!Array.isArray(booking)) {
  ...
  return abc
} else {
  ...
  return xyz
}
```

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
