Repository navigation
Releases
Releases · fullcalendar/fullcalendar
v7.1.5
React
- FIX:
<Activity>(React 19.2+, which Next.js uses to keep recent pages alive) (#8112):- A hidden calendar restarted its timers when re-rendered. Once removed, those timers kept running and kept the whole calendar in memory
- TimeGrid and DayGrid views shown again jumped back to
scrollTimeor today's row, losing the user's scroll position
- FIX: A function event source (
events: (info) => …) under a suspended<Suspense>boundary warned "Can't perform a React state update on a component that hasn't mounted yet" when its fetch resolved, and left a timer running (#8092) - FIX: Strict Mode, in development: the now indicator and today's highlight stopped updating after Strict Mode's simulated remount
Event Rendering
- FIX: DayGrid with
dayMaxEventsordayMaxEventRows:- Events hidden behind "+N more" in the last week could hang invisibly past the bottom of the grid, so the month scrolled into empty space (#7581)
- When
true, a day could hide an event behind "+N more" even when the event and the link both fit, such as showing "+2 more" alone where the first event had room - When
true, an event that didn't fit at first could only come back cut into pieces around other events, or not at all witheventSlicing: false. It can now come back whole, so some days show events they used to hide. Rarely, a day shows a later event where it used to show part of an earlier one
Headers and Titles
- FIX: DayGrid (month, multi-month): day headers that name only the weekday gave
dayHeaderContentand the other day header hooks a January 1970 date at midnight UTC, which read as the day before west of UTC.dateis now a day in view, at midnight in the calendar's time zone. Code that read it in UTC (such asgetUTCDay()) should usedowinstead (#7468, #5854) - FIX: TimeGrid: slot headers in the time axis were only as tall as their labels, so a background, border or hover style from
slotHeaderClasscovered just the top of the slot - FIX: List view:
listDayFormat: falseandlistDayAltFormat: falserendered their day headings in the default format instead of turning them off - FEATURE:
view.titleParts: the title'sIntlrange parts (type,value, andsourceofstartRange,endRangeorshared), so a custom toolbar can style parts of the title, such as a lighter year, in every locale and for ranges. Typed asDateTimeRangeFormatPartWithWeek - FEATURE:
slotHeaderContentand the other slot header hooks gettextPartsand theweekdayText,dayNumberTextandmonthTextgetters that day cells have (empty strings in the time grid's axis).dayHeaderContentandlistDayHeaderContentgetmonthTexttoo - TimeGrid: slot headers between labels have
data-timetoo, like the labeled ones
Event Settings
- FIX: Dragging an event previewed it differently from how it's handled once dropped:
- To another resource: its source's
constraint,overlapandallowwere ignored, so it could be dropped where they forbid, and the preview lost its source's colors and classes - An all-day event into TimeGrid's timed area: the preview lost its source's colors and classes
- Back into the calendar it came from: its source's settings, such as
allow, were ignored until dropped - In from outside with a
resourceId, in views without resources: it didn't take its resource's colors and classes until dropped
- To another resource: its source's
- FIX: Views without resources, such as
timeGridWeekwith resources loaded: an event added withcalendar.addEvent()and no event source didn't get its resource'seventColor,eventClassor other event settings
Resource Views
- FIX:
event.getResources()returnednullfor each resource that doesn't exist or hasn't been fetched yet. It now leaves them out (#7300) - FIX: Resource Timeline: a
resourceColumnsWidthother than a number,pxor%, such as'9.5rem', threw an error, so the view didn't render. It now warns and uses the default, 30%. A resource column'swidthin another unit warns too, and the column still grows to fill the space - FIX: Resource Timeline with
virtualization: scrolling to a resource added withcalendar.addResource(resource, true)could stop a few rows short of it. A regression in v7.1.4 - FIX:
resource.toPlainObject()left out the resource'seventColor
Accessibility
- FIX: Prev, next, today and custom toolbar buttons had
aria-pressed="false", so screen readers announced them as toggle buttons. Only view buttons have it now (#8042) - FIX: A view button alone in its toolbar group had
role="tab"with no tablist around it. It's now a toggle button witharia-pressed, like grouped view buttons
Misc
- FIX: Skeleton CSS: some structural rules, including the z-index ones that set the stacking order, weren't
!important, so without cascade layers an app's CSS could override them (though not in a Tailwind app). All are now, so the stacking order is the same in every setup, and az-*class on an element from a hook, such astableHeaderClass, has no effect - FIX: An event at a wall-clock time skipped by a daylight-saving change (given without an offset) resolves to the time after the change, but
startStr/endStrnamed the skipped time, an hour beforestart/end. Fed back intoaddEvent, the string moved the event - FIX: TypeScript:
calendar.off()required a handler, though calling it without one removes all of that name's handlers added withcalendar.on() - INTERNAL: every calendar option has a description and a link to its docs page in the source code, for AI agents and other tools that read it
- INTERNAL: a new, faster test suite on Vitest, replacing Karma
v7.1.4
- FIX: Resource Timeline with
virtualization:- Stacked events overflowed onto the rows below when some of the row's events were scrolled out of view. Row heights now fit the events on screen, changing during horizontal scrolling (#8127)
- Scrollbar jumped back after fast vertical scrolling and lagged behind the pointer during a drag (#8135)
- Possible repeated rerendering when the widest slot label fell out of view
- FIX: TimeGrid's
aria-colcountwas one too low, leaving out the time-axis column (#8124), thx @ac1982
v7.1.3
Bugfixes
- FIX: Unable to drag events in DayGrid views when using React 18 Strict Mode (#8119)
- FIX:
event.setProp('resourceEditable', ...)was ignored with a warning (#5166) - FIX: React "Maximum update depth exceeded" when
validRange,visibleRangeorhiddenDaysis given as a new-but-equal value each render anddatesSetsets state (#7069) - FIX: When
slotMaxTimeis beyond 24h, the now-indicator disappears after midnight in Timeline views, and its arrow disappears in TimeGrid views (#6394) - FIX:
eventDropreportsoldResource/newResourcewhen an event that isn't resource-editable is dragged over another resource, even though its resource doesn't change (#4943)
Locales
- FEATURE: Tajik locale, available as
tg(#8066) - FEATURE: Belarusian locale, available as
be(#7839) - FIX: Bulgarian accessibility hints for navigation, more-links, and closing popovers (#7494)
- FIX: German and Austrian German list-view hint read "Terminübersichtesansicht" (#7788)
- FIX: Czech today button said "now" instead of "today" (#7674)
- FIX: Korean navigation, year, list-view, and more-link translations (#8037)
- FIX: Farsi empty-calendar and more-link text, year navigation, and accessibility hints (#8033, #7546)
- FIX: Norwegian Nynorsk empty-calendar text and accessibility hints (#8083, #6050)
v6.1.22
v6-only bugfixes
- fix: non-string toolbar button text, like JSX, crashes rendering (#7120)
(now warns and falls back to the button name. use v7'siconContentfor custom button content) - fix: style injection crashes when calendar is mounted in an iframe (#7301)
- fix: crash when inline styles are blocked by a Content Security Policy (#7353)
(now warns instead. styles must be provided another way, or upgrade to v7, which distributes plain CSS files) - fix: crash in Salesforce LWC with Lightning Web Security when querying CSP nonce (#7439)
- fix: in list view, clicking event with url and custom eventContent crashes instead of navigating (#6133)
- fix:
batchRenderingmissing fromCalendarApitype, e.g. for React'sgetApi()(#7227)
Bugfixes backported from v7
- fix:
event.setProp('resourceEditable', ...)ignored with a warning (#5166) - fix: React "Maximum update depth exceeded" when
validRange,visibleRangeorhiddenDaysis a new-but-equal value each render anddatesSetsets state (#7069) - fix: when
slotMaxTimeis beyond 24h, now-indicator disappears after midnight in timeline views, and its arrow disappears in timegrid views (#6394) - fix:
eventDropreportsoldResource/newResourcewhen an event that isn't resource-editable is dragged over another resource, even though its resource doesn't change (#4943) - fix: event time cut off by long title with eventDisplay:'block' (#6457)
v7 upgrade guidance
- feature: passing a v6 plugin to FullCalendar v7 now fails with a clear message naming the v7 import
(v6 plugins carry amajorVersionErrorproperty. in TypeScript, the error replaces a cryptic one aboutpremiumReleaseDate) - docs: READMEs and npm descriptions of the v6-only packages, like
@fullcalendar/daygrid, now say they're for v6 and name their v7 replacement
v7.1.2
Accessibility Fixes
- FIX: Events in DayGrid cells, TimeGrid columns, Timeline lanes and +more popovers are enclosed in a list (
role="list", each event in arole="listitem"wrapper), so screen readers can step through them one at a time instead of reading a day or lane as one block - FIX: List view, events with a
urllost their link semantics, because thelistitemrole was on the event itself. Events are now wrapped in list items (#7567) - FIX: Day headers (without
navLinks), TimeGrid's week-number header and "Timed" row header were read as empty and flagged by axe, because their text was only anaria-label. The text is now visually-hidden content (#7566, #6641) - FIX: DayGrid day cells'
aria-labelwas ignored or read as blank. The full date is now visually-hidden content, only in cells showing a day number (otherwise the column header already reads the date) (#7566, #6637, #6641, #7502) - FIX: Column-header nav links were labeled "Go to …", which was repeated as the column name for every cell. They're now labeled with just the date (
navLinkHintis still used for other nav links) - FIX: JAWS switched to forms mode when Tab landed on an event, so the arrow keys did nothing. DayGrid, TimeGrid, MultiMonth and Resource Timeline are now a
table(cellsrole="cell") rather than agrid. Resource Timeline with nested resources or row groups remains atreegrid(#6641) - FIX: Screen readers announced empty "group"s within day cells. Empty wrappers are now
role="presentation", and background events, non-business hours and selection highlights arearia-hidden - FIX: Resource TimeGrid/DayGrid with
filterResourcesWithEventsanddatesAboveResources, the blank resource header was an emptycolumnheader, flagged by axe. It's now an emptycell - FIX: Hidden elements used for measurement (+more link, Resource Timeline expander and column divider) use
visibility: hiddeninstead ofinert, so none can be focused or read by screen readers
v7.1.1
- FEATURE:
@fullcalendar/muisupports MUI v9 (in addition to v7). MUI skipped v8 - FEATURE: Resource views, render hooks receive
info.resource, the resource of the column/lane being rendered into (#4926)- Event hooks:
eventContent,eventClass,eventDidMount, etc, including the*EventTimeClass/*EventTitleClassvariants andbackgroundEvent*hooks. An event with multiple resources renders once per resource, each with its owninfo.resource. A dragged event's mirror receives the resource it's being dragged over - +more link hooks:
moreLinkContent,moreLinkClass,moreLinkDidMount, etc - +more popover hooks: the popover's events, as well as
dayHeader*anddayCell*hooks whereinfo.inPopover - Not populated in non-resource views. Compare
info.resource.id, not the object itself, which is not guaranteed to be the same reference across columns - New
EventTextInfotype, for the arg of*EventTimeClass/*EventTitleClasshooks, which now also receivetimeText
- Event hooks:
- FIX: Resource TimeGrid/DayGrid, preserve dates with no resources when
filterResourcesWithEventsis enabled (#8099)- With
datesAboveResources, such a date renders a single non-interactive column with no resource. Day cell/lane hooks for it receive noinfo.resource, so guard for it:dayLaneClass: (info) => info.resource ? `lane-${info.resource.id}` : ''
- With
- FIX: React 19, "Received an empty string for a boolean attribute
inert" warning withdayMaxEvents/eventMaxStack. The offscreen +more link used for measurement also wasn't made inert, so it could receive keyboard focus (#8114) - FIX: Resource TimeGrid/DayGrid, spanning header cells sometimes misaligned with body columns by 1px
- FIX: Resource Timeline view, with
virtualization, leading header cells and slots missing when the timeline is wide enough to not need horizontal scrolling (#8093) - FIX: Resource Timeline view, with
virtualization, rows blank until scrolled after removing and re-adding resources withinbatchRendering, such as for a filter - FIX: Resource Timeline view, with
virtualization, first resource row hidden or clipped under the header after removing and re-adding resources, such as for a filter, while scrolled at or near the top - FIX: Timeline views, printing a timeline that's wide enough to not need horizontal scrolling clips the leading slots, as if scrolled to
scrollTime
v7.1.0
🎨 Event Rendering
- PERF: DayGrid with large number of events, when
dayMaxEvents:true(limited by natural row height), only a necessary subset of events will be DOM-inserted, not all- BREAKING: As a result, a subset of events will be run through event render hooks like
eventContent
- BREAKING: As a result, a subset of events will be run through event render hooks like
- DayGrid event slicing
- FEATURE: Better event packing, including smarter positioning decisions for fewer slices
- FEATURE: Related slices have more similar y-coordinates
- FIX: Events unnecessarily going to +more link when higher-level slot would accommodate
- TimeGrid event positioning
- FIX: In Timeline and TimeGrid, when custom
eventOrder, DOM order respects start-time first, theneventOrder. Better for a11y and tabbing through events sequentially - FIX: React StrictMode: DayGrid events permanently invisible (#8088)
👥 Resource Views
- FIX: Timeline view, smoother virtualized fast scrolling, especially with trackpad and especially while scrolling up with irregular height resource rows
- FIX: Timeline view, account for DST in timeslots (#7620)
- FIX: Resource TimeGrid/DayGrid,
filterResourcesWithEventsshould exclude columns (#6149)
🖨 Print Rendering
- FEATURE: Print renders business-hours for print-previews that enable it
- FIX: Better page-wrapping of tall DayGrid rows with many events
- FIX: Better page-wrapping of tall Resource-Timeline rows with many events
- FIX: Events are not visible when we print using
window.print()(#8097)
🧹 Misc
- PERF: General improvements with option-changes. Users of
@fullcalendar/preactmust upgrade theirpreactpeer dependency to >=10.29.8 - FIX: Screen-reader improvement for Resource-Timeline timeline header text
v7.0.2
v7.0.1
v7.0.0
V7 is finally released! 🎉
Note
v7 is the current latest release on npm. For React: npm install @fullcalendar/react temporal-polyfill, with plugins imported from the framework package (e.g. @fullcalendar/react/daygrid). The separate @fullcalendar/daygrid, @fullcalendar/interaction etc. packages are v6 only. See the docs and upgrading from v6.
Changes since v7 pre-releases
- FEATURE: Angular 22 support (#8074)
- FIX: Resource timeline rows keep a stale height after their events are removed (#8078)
- FIX: With showNonCurrentDates, events on first or last week of month disappear upon navigation (#8077)
- FIX: With virtualization, resource invisible after adding resource manually (#8072)
- BREAKING: Need
temporal-polyfill@^1.0.1aspeerDependency - BREAKING: Some CDN URLs changed:
- /all.global.js -> /all/global.js
- /locales-all.global.js -> /locales-all/global.js
- /locales/es.global.js -> /locales/es/global.js (and other locales)