v0.4.0
Changed
- A range drawn across reserved days now splits around them instead of covering them. Dragging from the 11th to the 19th over bookings on the 12th, 13th and 17th yields three ranges — 11th, 14th–16th and 18th–19th — so an already-booked day is never selected again, and the hover preview shows the same gaps while dragging.
- In
rangemode, where a single range cannot hold a gap, the selection stops at the booking and keeps the run of free days touching the day it started from. unavailableDates()andweekEndDays()are still spanned: those describe rules about the calendar rather than days someone else already holds.
The server-side guard added in 0.3.0 stays as a backstop, so a crafted payload still cannot double-book, and rows saved before this rule are still caught at submit.
Full changelog: v0.3.1...v0.4.0