ProSchedulerSign in

Releases

Changelog

Every ProScheduler release, newest first. One licence covers all of them — there is nothing to renew to receive the next version.

Unreleased

  • Add opt-in `dragSelectedEvents`, ordered `ExternalDraggable.events` / `makeDraggable` batches and `ExternalDropZone.onEventsDrop`. Groups pack back-to-back with complete-batch validation, merged recurrence exceptions, controlled transaction delivery and atomic transfers/copies. Add the bulk placement example to the moving-events documentation.

0.3.0

Minor Changes

  • Stage 02: Add shared validation/rules, explicit snapping, resource-only movement, anchored/excluded recurrence, immutable shorthand/inclusive conversion, event presentation/timezones and occurrence queries. Controlled persistence, callback arguments, renderer Dates, token themes and existing defaults remain. Optional APIs are documented in feature-completion examples and bundled guidance.
  • Stage 03: Complete lifecycle/resource hooks and cancellation, interaction metadata, full/content renderer contexts, popup containers, buffer visibility and migration aliases. Controlled persistence, callback arguments, renderer Dates, token themes and existing defaults remain. Optional APIs are documented in feature-completion examples and bundled guidance.
  • Stage 04: Add year/multi-period calendars, labels/marks, editing opt-in, touch creation, accessible navigation picker, container breakpoints and combined views. Controlled persistence, callback arguments, renderer Dates, token themes and existing defaults remain. Optional APIs are documented in feature-completion examples and bundled guidance.
  • Stage 05: Add filtering, daily listings/vertical days/slots, fixed resources, tree reorder/transfers, named zoom, viewport-bounded resource/time virtualization and complete printing. Controlled persistence, callback arguments, renderer Dates, token themes and existing defaults remain. Optional APIs are documented in feature-completion examples and bundled guidance.
  • Stage 06: Add optional locale formats/names/plurals/direction, system theme, isolated Jalali/Hijri imports, server declarations, consumer smoke and scheduler bundle audit. Controlled persistence, callback arguments, renderer Dates, token themes and existing defaults remain. Optional APIs are documented in feature-completion examples and bundled guidance.
  • Reduce matrix scroll, interval packing, timezone, recurrence and event-rendering work. Repair date input, editor rejection/cancellation, source-view snapping and ID generation. Add opt-in dense defaults, finite validation coverage, transaction-only delivery and an agenda-only package entry with host-owned editing. Preserve the existing rendering and per-event notification defaults.
  • Time grid: `view.scheduler.periods` lays the day out on fixed periods — a school bell, clinic slots. Time labels and lines follow the periods, the gaps between them are shaded, and moves, external drops, resizes and new events snap to them instead of `dragTimeStep`; an event longer than one period only starts where back-to-back periods hold it. `styleConfig.minColumnWidth` (default 90) sets the narrowest a time-grid column gets before the grid scrolls sideways.

Patch Changes

  • Stage 01: Repair calendar periods/page bounds, cell/event gestures, focused deletion, selected-time/reveal navigation, independent headers and measured timeline heights. Controlled persistence, callback arguments, renderer Dates, token themes and existing defaults remain. Optional APIs are documented in feature-completion examples and bundled guidance.

Unreleased — performance remediation

  • Reuse prepared events and resource/interval indexes; eliminate matrix geometry rebuilds during scrolling, isolate card subscriptions, and batch/evict measurements.
  • Use heap packing for chronological intervals, lazy locale tokens, bounded timezone conversion caches and arithmetic daily/weekly counted recurrence fast-forwarding.
  • Keep calendar-only dates local, reject invalid dates/reversed ranges/buffers, retain rejected or canceled editor values, preserve the interaction's view and generate unique IDs.
  • Add optional `eventDensity="dense"`, finite `validationHorizon` and coverage reporting, transaction-only event delivery, and complex recurrence limit diagnostics.
  • Add `/agenda` with `ProAgenda` and host-owned editing, excluding other views and built-in editors. Verify packed types and SSR on React 18 and 19.
  • Existing uncapped rendering and ordered per-event callbacks remain defaults. Recurrence candidate validation excludes timezone padding outside the reported horizon; off-page inputs still get an additional first-day window.

Unreleased — six-stage completion

0.2.0

Minor Changes

  • Navigation you can steer, and a round of interaction fixes across the views. - **`onPageChange` reports the visible range.** `{ firstDay, lastDay }` is now the range on screen (`lastDay` exclusive; with calendar + agenda, the union of both), and it fires on mount and whenever that range moves — navigation, a view switch or a length change — so loading on demand needs nothing else. Previously both fields carried the navigated date and it did not fire on mount. - **`refDate` and `selectedDate` are controlled.** Changing either prop after mount moves the view; pair `selectedDate` with `onSelectedDateChange` to keep your state in step. - **Paging honours `size`.** The header's prev/next step by the whole page (three days for `type: "day", size: 3`), as the swipe navigation already did. - **Time grid** - Lane widths are per overlap group: an event that overlaps nothing keeps the full column width. - Grids that run past midnight (`endTime: "30:00"`) draw an overnight event down to its real end, and show the next day's early events in that band. - Moving across hidden days (`startDay`/`endDay`) lands on the right day, and day arithmetic is DST-safe. - `clickToCreate` creates a one-hour event on a single click; without it a click only fires `onCellClick`. - **Timeline** - `editable: false` locks an event, as in the time grid. - `onEventDoubleClick` fires, a drop no longer also opens the editor, touch drags no longer scroll, and point-in-time events are not resizable. - A click on empty space creates only with `clickToCreate` (it used to create whenever `dragToCreate` was on), and fires `onCellClick` either way. - Hour labels thin out (every 2, 3, 4, 6 or 12 hours) when columns are too narrow for them. - **Agenda** no longer scrolls back to the selected day after every edit. - **`eventDelete`** now hides Delete in the built-in editor. - Events without an `id` get distinct internal keys, fixing drag and render collisions between id-less events (and between the two halves of an overnight event).
  • Rules and backgrounds: blocked times, availability shading, double-booking prevention, buffers and per-event restrictions — plus custom tooltips, cell content and cell hover. - **`invalid`** blocks spans of time. A range is absolute (`start`/`end`, either may be open: `{ end: new Date() }` blocks the past), whole days (`allDay`), or a daily/weekly clock-time window (`recurring`, `startTime`, `endTime`, `weekDays`), optionally per `resource`. Nothing can be created, moved, resized or saved from the editor into one. Blocked ranges draw hatched in the time grid, the timeline and (whole days) the calendar. - **`colors`** shades ranges of the same shape with `background`, `cssClass`, `textColor` and a `title` — visual only. - **`eventOverlap={false}`** refuses changes that overlap another event of the same resource; **`event.overlap: false`** makes one event exclusive regardless. - **Buffers.** `bufferBefore` / `bufferAfter` (minutes) reserve time around an event: drawn hatched, kept in their own lane, and counted as busy when overlaps are refused. - **Per-event restrictions.** `resize: false` (fixed length), `dragInTime: false` (time fixed; timeline events can still change resource), `resourceEditable: false` (resource fixed). The drag itself is constrained to the allowed axis. - **Refusals are reported and previewed.** `onEventCreateFailed` / `onEventUpdateFailed` receive `{ event, reason: "invalid" | "overlap", invalid?, overlapping? }` before `onEventCreate` / `onEventUpdate`, and the event snaps back. Drags, resizes and drawn selections turn red while they would be refused; the built-in editor stays open with a message (new locale strings `invalidText` and `overlapText` in all six locales). - **`renderEventTooltip`** replaces the event hover card (return null for none); **`showEventTooltip={false}`** turns tooltips off. - **`renderCell`** draws content in every empty cell under the events. - **`onCellHoverIn` / `onCellHoverOut`** report the cell under the pointer, once per cell. - New exported types: `PschTimeRange`, `PschInvalid`, `PschColor`, `PschValidationFailure`, `PschCellData`.
  • Resources everywhere: time-grid resource columns, resource groups, shared events, stacking limits, calendar labels, and timeline sidebars and footers. - **Time grid resource columns.** `view.scheduler.resources: true` splits each day into a column per resource, with a second header row; `groupBy: "resource"` puts the days under each resource instead. Columns show their resource's events, drawing books that resource, and dragging across columns reassigns — respecting `dragBetweenResources`, `resourceEditable` and `eventCreation`. Resource-scoped `invalid`/`colors` ranges now show in their columns. `renderDay` receives `{ date, resource }`. - **Shared events.** `event.resource` may be an array. The event shows in each resource's row or column, conflicts with any of them when overlaps are refused, and a drag swaps only the copy you moved. - **Resource groups.** Resources with `children` become collapsible groups in the timeline (`collapsed` to start closed, `onResourceCollapse` to hear about it). `view.timeline.groupSummary` shows a group's descendants' events on its row, faded. The built-in editor lists only leaf resources. - **Per-resource fields.** `eventCreation: false` keeps a row or column free of new and moved-in events; `background` and `cssClass` style it. - **`maxEventStack`** now works: per overlap group in the time grid, per row in the timeline, with a "+N more" chip that lists the hidden events. - **`view.timeline.rowHeight: "equal"`** makes every row as tall as the tallest. - **Calendar labels.** `view.calendar.labels: true | number` shows events as bars across the days they cover, with "+N more" per day; `renderEvent` applies to them. Day cells are now `role="gridcell"` elements rather than buttons. - **Timeline sidebars and footers.** `renderSidebar` and `renderSidebarHeader` add a right-hand column; `renderDayFooter({ date, events })` a cell under each column; `renderResourceFooter` now takes no arguments and fills the bottom-left corner. New `styleConfig.sidebarWidth` and `footerHeight`. - New locale string `moreEventsText` ("+{count} more") in all six locales. - **Breaking (types only):** `renderResourceFooter` changed from `(resource) => ReactNode` to `() => ReactNode` — it was accepted but unused before. `PschCalendarEventData.resource` may now be an array.
  • Scales, custom ranges and zoom: every timeline column unit, hidden hours and days, custom windows in the timeline and time grid, zoom, week numbers, a mobile day view and virtualized timeline columns. - **Column units.** `view.timeline.resolutionHorizontal` now draws real week, quarter and year columns (before, "week" drew days and "quarter"/"year" drew months), with `timeCellStep` for sub-hour or multi-hour columns and `unitWidthPx` per view. - **Hidden time.** Timeline `startDay`/`endDay` and `startTime`/`endTime` now work: hidden hours and weekdays get no column, day columns cover only the visible hours, and positions, drags, resizes and drawing all go through the columns, so they skip the gaps. - **Custom ranges.** `type: "custom"` with `range: { start, end }` on the timeline and time grid shows exactly that window (shifted by whole lengths to hold the current date); the header arrows and swipe page by its length. The length selector hides for custom views. - **Zoom.** `view.timeline.zoomLevels` (`PschZoomLevel[]`) and `zoomLevel`; the new `ZoomControl` header block (in the default header) and instance methods `zoomIn`, `zoomOut`, `setZoom` and `getZoom`. Zooming keeps the date in the middle of the view in place. - **Week numbers.** `weekNumbers` on the timeline (a header tier), time grid (the corner) and calendar (a column); ISO weeks for Monday-first locales. New locale strings `weekNumberText`, `zoomInText` and `zoomOutText` in all six locales. - **Mobile day view.** `view.scheduler.weekStrip` puts a week strip above the grid for picking the day. - **Timeline current-time line**, on by default (`currentTimeIndicator: false` turns it off). - **Column virtualization.** The timeline header, grid, events and `renderCell` render only the columns in view, so long hour-resolution axes stay fast. - Clicking an empty timeline cell now drafts that whole cell; dragging over hour columns snaps to `dragTimeStep`. - New exported types `PschZoomLevel`, `PschCustomRange`, `HorizontalResolution` and `TimelineType`.
  • Recurring events, time zones, event order and agenda templates. - **Recurring events.** `event.recurring` takes a rule object (`{ repeat, interval, count, until, weekDays, day, month, pos }`) or an RRULE string (FREQ, INTERVAL, COUNT, UNTIL, BYDAY with ordinals, BYMONTHDAY, BYMONTH, BYSETPOS); `recurringException` leaves days out. Occurrences keep their wall-clock time over DST, show a repeat icon, and carry `recurringEventId`. - **Editing occurrences.** A drag, resize, edit or delete of an occurrence asks "this event / this and following / all" (`recurringEditMode`, default `"ask"`). Handlers receive plain changes to your own events — the series updated with an exception or a new end, a new single event or series created — plus an `info` argument `{ mode, occurrence, originEvent }`. The built-in editor has a repeat field. - **Time zones.** `displayTimezone` shows every view in an IANA zone (today and the current-time line included); `dataTimezone` reads floating strings in `data` as wall-clock time there. Changes are written back in the data's own format. `view.scheduler.timezones` adds time columns for other zones. Conversion uses `Intl`; no dependency. - **Event order.** `eventOrder(a, b)` orders overlapping events: top lanes in the timeline, left in the time grid, first in calendar and agenda days. The agenda also lists all-day events first by default. - **Agenda.** `renderAgendaDay({ date, events, isToday })`, `renderAgendaEmpty()`, and `view.agenda.scrollable: false` for a list that grows to fit. - `getEvents(start, end)` on the instance now includes occurrences. - New exports `getOccurrences`, `toZonedTime` and `fromZonedTime` (also from `/server`), and types `PschRecurrence`, `PschRecurringEditMode`, `PschChangeInfo`, `PschTimezoneColumn`, `PschAgendaDayData`. The `/server` entry now also exports the M3 types. - New locale strings for the repeat field and the recurring prompt in all six locales; `LocaleFormatters` gained `now()`.
  • Multi-select, external drag and drop, moving events between schedulers, resource reordering and dependency arrows. - **Multi-select.** `selectMultipleEvents` makes clicks select (a double click opens the editor); Delete removes the selection (`onEventsDelete`, then `onEventDeleted` per event; occurrences become one exception update per series), Escape clears it. Controlled with `selectedEvents` / `onSelectedEventsChange`. Selected events are outlined in every view. - **Dragging in.** New `ExternalDraggable` component and `makeDraggable(element, event)` helper; `externalDrop` accepts them with a live preview, validity checks and the usual create path (`draft.external` tells you what was dropped). `onExternalDropOnEvent` handles drops onto an existing event. - **Dragging out and between schedulers.** `externalDrag` lets an event leave the scheduler (it follows the pointer), onto the new `ExternalDropZone` or another scheduler with `externalDrop`; an accepted drop removes it from the source. `onEventDragLeave` / `onEventDragEnter` report crossing the edge. - **Resource reorder.** Timeline `resourceReorder` adds a grip per row; `onResourceOrderChange` returns the reordered tree (siblings only). - **Dependencies.** Timeline `links` draws finish-start / start-start / finish-finish / start-finish arrows between events, following drags; `onLinkClick`. - New types `PschExternalEvent`, `PschLink`, `PschResourceOrderChange` and `SchedulerEventFields` (a `SchedulerEvent` without `start`).
  • Right-to-left, printing, virtual loading, theme presets, date limits and iCalendar import. - **Right-to-left.** New `dir` prop (`"ltr" | "rtl" | "auto"`, default `"auto"`, following the page). RTL mirrors every view — the timeline runs right to left, the time grid's days too, the resource column and gutter move to the right — and dragging, resizing and drawing follow the pointer. - **Printing.** New instance method `print()`: prints the scheduler alone, with every row and column rendered at full height and the header's buttons hidden. - **Virtual loading.** Timeline `onVirtualLoading({ startIndex, endIndex, resources, firstDay, lastDay })` reports the rendered rows and dates as they change — to fetch only those events, or to load more resources on scroll. - **Theme presets.** `@andreisaac/pro-scheduler/themes/{slate,rose,emerald,amber}.css`, each a `psch-theme-*` class overriding the shadcn/ui tokens in light and dark. - **Date limits.** `min` and `max` now work: navigation stops at them (the header arrows disable) and the time outside is blocked like an `invalid` range. `max` is inclusive. - **iCalendar import.** New `parseIcs(text)` (main and `/server` entries): VEVENTs with all-day, UTC and TZID times, DURATION, RRULE and EXDATE. - New types `PschVirtualLoading`; `ProSchedulerInstance.print()`.

0.1.0

Minor Changes

  • First release of ProScheduler: a controlled React scheduler with four views that share one dataset and one navigation. - **Views.** A resource timeline (day, week, month or year, with hour-to-year resolutions), a vertical time grid for day, week and month, a virtualized agenda list, and a month or week calendar that can carry the agenda beneath it. Several views in one `view` prop get a built-in switcher. - **Interaction.** Drag to move, drag between resources, resize from either edge, drag or click to create, all snapped to `dragTimeStep`. Every change goes through a before-callback that can return `false` to cancel, then an after-callback that hands you the new event. - **Built-in editor.** A create/edit dialog with title, resource, start and end, or turn it off and bring your own. - **Rendering.** `renderHeader`, `renderResource`, `renderDay`, `renderEvent`, `renderEventContent` and per-view variants, plus header building blocks to compose your own toolbar. - **Localization.** English, Spanish, French, German and Portuguese (Brazil, Portugal) locales, with Intl date formatting and first day of the week; any other language is one object. - **`defaultView`.** Choose which configured view opens first. - **Imperative handle.** `navigate`, `setView`, `navigateToEvent`, `addEvent`, `updateEvent`, `removeEvent` and more through a ref.

Install the current version from the private registry — see installation — or read what a licence covers on the pricing page.