fix: more-link sometimes incorrectly positioned behind events (#5790)
bugfixes:
- error with stickyScrollings.updateSize in certain 3rd-party environments (#5601)
- rrule exclusion doesn't work while adding the 'Z' char for RRule datetimes (#5726)
- more links sometimes hidden behind events with dayMaxEventRows (#5771)
- wrong version text in dist js files (#5778)
bugfixes:
- timelineDay with maxTime after 24:00, drag-n-drop behavior (#3900)
- Resizing on touch devices loses selection (#5706)
- Alignment of events in dayGridWeek when weekNumbers:true (#5708)
- Events are not printed in order according to their start time (#5709)
- scrollTime does not always work on prev/next (#5351)
- render method not rerendering resourceLabelContent (#5586)
- timeGrid with dayMinWidth, weekNumber cell collapses (#5684)
- fix luxon connector browser-global JS file including actual luxon lib
Fixed misconfigured bundledDependencies. Only affected @fullcalendar/core NPM package.
features:
- provide browser-global JS file for all packages (#5617)
- indicate which row (or format) is being rendered in slotLabelContent (#5516)
- nepali locale (#5574)
bugfixes:
- compatible with server-side rendering (SSR) (#4784)
- background events don't fire eventClick in daygrid when clicked on day header (#5560)
- background events don't fire eventClick in timegrid (#5579)
- bigger touch hit area for selected list-item events in daygrid (#5635)
- CustomButtonInput click argument type is incorrect (#5432)
- parse rrule strings the same as objects (#5326)
- navLinks are not clickable if slotLabelFormat is a moment format (#5317)
- unswitch CSS variables in v-event.css (#5552)
- time slots not aligned to labels with dayMinWidth and Bootstrap theme (#5600)
- expandRows broken for time slat labels when horizontal scrolling (#5674)
- render method not rerendering resourceLabelContent (#5586)
- eventReceive/eventLeave is missing revert and relatedEvents (#5610)
- daygrid event changes between list-item and block, depending on start date (#5634)
- default scrollTime is not appropriate for month/year view (#5645)
- naturalBound is null with CSP (#5556)
- does not support Content Security Policy (CSP) nonce, only unsafe-inline css (#4317)
- RTL timeline scrolling messed up with nowIndicator (#5632)
- scrollTime does not always work when changing views (#5351)
- (p)react maximum recursion with specific resize/scrollbars (#5558, #5606)
- dayGridMonth overflows in Firefox (#5524)
- fix: css variables for default event border and bg color switched (#5551)
- fix: eventContent moves arrow event length indicators (#5547)
- fix: wrong ts types for bootstrapFontAwesome settings (#5548)
- fix: Dash between event start and end times is "undefined" with eventTimeFormat and moment plugin (#5493)
- fix: Events get displaced due to incorrect collisions detected depending on browser, zoom level (#5549)
- fix: Resource rows are initially squished in Chome in timeline view with contentHeight: "auto" and JSON resources (#5545)
- fix: unwanted text selection while dragging in Safari
- fix: reintroduce list-view color-change on event-row hover
- fix: give type attribute to buttons in header to prevent form submit (#5529)
- fix: time axis customization via slotLabelContent causes ugly spacing (#5526)
- fix: export EventSourceFunc in type definitions (#5530)
- fix: prevent timed background events from appearing in daygrid
- fix: change CSS for when 'today' background color is applied
- fixes bootstrap-themed popover incorrectly being colored semi-transparent
- removes yellow color from date headers in timegrid view, which looks better
Changes since RC:
- CSS fix for timegrid events. overflow hidden on time text
- fix where dayMaxEvents would not readjust when increasing height of calendar
- don't set custom text colors on list-view events or list-item events (#5518)
- fix event dot color not being customizable (#5522)
- fix for calendar updating when no options were reset (#5519)
- fix typescript def omission of eventSource 'method' prop (#5505)
- fix typescript def problem with schedulerLicenseKey again (#5462)
Changes since beta.4:
- breaking changes:
- renamed
datesDidUpdate
todatesSet
and added more props to the arg - for
eventResize
callback arg, renamedprevEvent
tooldEvent
- resources are ordered by ID by default. no longer sort by natural order
- renamed
- new features:
- system for overriding CSS variables
- timegrid event titles are sticky-positioned while scrolling
- eventDrop now receives relatedEvents prop
- eventResize now receives relatedEvents prop
- eventReceive now receives relatedEvents prop and a revert function
- eventLeave now receives relatedEvents prop and a revert function
- eventAdd
- eventChange
- eventRemove
- eventsSet
- initialEvents
- Event::toPlainObject, Event::toJSON
- Event::startStr, Event::endStr
- Calendar::addEvent accept
true
for source - resourceAdd
- resourceChange
- resourceRemove
- resourcesSet
- initialResources
- Resource::setProp
- Resource::setExtendedProp
- Resource::toPlainObject, Resource::toJSON
- View::calendar
- TypeScript definitions for Vue connector
- bugfixes:
- Event popover display issues with many events (#5471)
- Jest test runner cannot find fullcalendar modules (#5467)
- Incorrect version of tslib required (#5479)
- License key option unknown, error in console (#5462)
- @fullcalendar/common has no exported member ScrollGridChunkConfig (#5459)
- event title should display on same line as time for 30 minute events in grid views (#5447)
Changes since beta.3:
- features:
- improved printing for timeline view (#4813)
- fixes:
eventDisplay
not working (#5434)- typescript errors when compiling with tsc (#5446)
slotLabelFormat
as array not working (#5450)- more exports of typescript interfaces (#5452)
Changes since beta.2:
- features:
- the
@fullcalendar/react
plugin now uses React's real virtual DOM engine - typescript definitions for every part of the API. baked in, so won't fall out of date.
- console warnings when given unknown options/props/listeners
- the
- minor API changes:
windowResize
anddatesDidUpdate
now receive an arg with a ViewApi objecteventSourceSuccess
,eventSourceFailure
, andmoreLinkClick
can't be attached using .on()
- distribution:
- working sourcemaps in all packages (#4719)
- the
fullcalendar
andfullcalendar-scheduler
bundles- are published as browser-globals only. no longer published as UMDs
- now include the Google Calendar connector in their main files
- don't provide copies of the other non-bundled plugins anymore (like rrule, moment, moment-timezone)
- both receive locale/locale-all entrypoints that will be automatically connected when loaded
- fixes:
- Week numbers are not clickable as navLinks (#5427)
- Events of different heights in the same resource can be positioned incorrectly (#5413)
- Events displayed on wrong date when pushed down by previous events that span multiple days (#5408)
textColor
setting in Event Object not working anymore (#5355)resourceAreaWidth
is not updated when changed with setOption (#5368)- JS error when printing timeline view with expandRows (#5399)
- fixed Scheduler license keys not working with
fullcalendar-scheduler
bundle
Changes since beta.1:
- feature: sticky header dates and footer scrollbar
- feature: daygrid events with times render differently by default, with a dot
- feature: a
datesDidUpdate
callback - renamed options:
defaultView
->initialView
defaultDate
->initialDate
header
->headerToolbar
footer
->footerToolbar
allDayDefault
->defaultAllDay
eventRendering
->eventDisplay
(anddisplay
in event objects)dir
->direction
- fix: sometimes event dragging and selecting broken after switching views (#5346)
- fix: most likely fixed problem with infinite loop (#5352)
- fix: timeline scrolling sometimes gets out of sync when using a scroll wheel (#4889)
- fix: many other little bugfixes
View the full changelog
Read the blog post
- configurable
googleCalendarApiBase
(#4974) - fix: navigating prev/next quickly might miss an event-source fetch (#4975)
- new locales: ug (#180), uz (#3553)
- locale fixes: fr (#5236), az (#5185), th (#5069), el (#5010), pt-br (#3812)
FullCalendar.version
had incorrect text- scheduler's releaseDate not written correctly, resulting in license key warning always showing.
- HTML/CSS for timeline events has been refactored. BREAKING CHANGE if customized CSS.
- timeline event titles sometimes overflow outside of element when time (#4928)
- eventStartEditable false is not compatible with eventResourceEditable true (#4930)
- calling Calendar::render after initial render causes bad sizing (#4718, #4723)
- when list views destroyed, wouldn't call eventDestroy (#4727)
- solve JS errors when switching views and using showNonCurrentDates (#4677, #4767)
- prevent unnecessary scrollbars from appearing in daygrid views (4624, #4732)
- draggedEvent start time is null in eventAllow when switching resources (#4932)
- scrollToTime method honors a whole duration, not just a time (#4935)
- some background events wouldn't recieve eventClick or hovering (#3148, #4750)
- fix infinite recursion when custom view type is itself (#4198)
- respect firstDay setting when weekNumberCalculation set to ISO (#4734)
- fix typo in Danish (#4708)
- adjust typescript def for setExtendedProp (#4679)
- googleCalendarApiKey added to typescript options definition (#4772)
- moment/luxon formatting same-day range with dash (#4686)
- error importing moment plugin into typescript project (#4691, #4680, #4580)
- refs to sourcemaps removed from dist (accidentally included in previous version)
- distributing an ESM file, referenced by package.json's
module
- using a more portable SASS (#4626, #4651, #4671)
- fix recurring event expansion when event starts before view and has duration (#4617, #4635)
- simple event recurring now allows a duration property on the event object
- internal Calendar::setOptions method removed (never meant to be public)
- scrollToTime method (#467)
- ISO8601 datetime strings with no 'T' not parsed in Safari (#4610)
- all-day dropped events after third not being draggable (#4616)
- dateClick/selecting sometime report wrong dates after calendar resize (#4608)
- js error when using navLinks with header=false (#4619)
- js error when more+ link and multiple async event sources (#4585)
- timeGridEventMinHeight is not defined in OptionsInput interface (#4605)
- Interdependent package semvers with carrot, use tilde (#4620)
- dayRender now called for day columns in timeGrid views
Bugfixes:
- eventAllow and constraints not respected when dragging event between calendars
- viewSkeletonRender now in typedefs (#4589)
- invalid draggedEvent properties in eventAllow for external dnd (#4575)
- forceEventDuration not working with external dnd (#4597)
- rrule displaying time when allDay is true (#4576)
- rrule events not displaying at interval start (#4596)
- prev button not initially working when starting on 31st of a month (#4595)
- clicking X in popover generating a dayClick (#4584)
- locale file used as single script tag not affecting calendar locale (#4581)
- header "today" button not translated for pt and pt-br (#4591)
- fa locale typo (#4582)
Read about all the changes in v4: https://fullcalendar.io/docs/upgrading-from-v3
Obscure breaking changes from v3->v4 not mentioned elsewhere:
touchMouseIgnoreWait
moved to(packageRoot).config.touchMouseIgnoreWait
dataAttrPrefix
moved to(packageRoot).config.dataAttrPrefix
Advancements since latest prerelease:
- New styling for buttons and icons in header. New styling for events.
- Bugfixes: #4539, #4503, #4534, #4505, #4477, #4467, #4454, #4458, #4483, #4517, #4506, #4435, #4498, #4497, #4446, #4432, #4530
NOTE: version "4.0.0" was skipped because of an NPM publishing error
POTENTIALLY BREAKING CHANGE: The jquery and moment packages have been moved to peerDependencies. If you are using NPM to install fullcalendar, you'll need to explicitly add jquery and moment as dependencies of your project. NPM will not install them automatically. (#4136, #4233)
New Features:
- events from a Google Calendar event source will receive extended props (#4123)
- export more classes and util functions (#4124)
- new locales: zh-hk (#4266), be (#4274)
Bugfixes:
- not accepting dayClicks/selects because of overflow-x:hidden on html/body (#3615)
- event end time not displayed when duration is one slot, in agenda view (#3049)
- switching views before event fetch resolves, JS error (#3689)
- single-day allDay event not showing when time is specified (#3854)
- prev button doesn't work when previous days are hidden by hiddenDays and dayCount is greater than dateIncrement (#4202)
- calendar locale not used in all moments objects (#4174)
- background event background color does not completely fill cells in Chrome (#4145)
- provide a delta for eventResize when resizing from start (#4135)
- IE11 memory leak from not removing handler correctly (#4311)
- make touchstart handlers passive (#4087)
- fixed typescript definition for: eventAllow (#4243), selectAllow (#4319)
- fixed locales: de (#4197, #4371), hu (#4203), tr (#4312), ja (#4329)
- Bootstrap 4 support (#4032, #4065, thx @GeekJosh)
- add OptionsInput to the fullcalendar.d.ts exports (#4040, #4006)
- columnHeaderFormat/columnHeaderHtml/columnHeaderText in .d.ts file (#4061, #4085)
- list-view auto-height not working (#3346, #4071, thx @WhatTheBuild)
- bump momentjs minimum version to 2.20.1, for locale fixes (#4014)
- swedish week header translation fix (#4082)
- dutch year translation (#4069)
Bugfixes:
- Fix TypeScript definitions file with strictNullChecks (#4035)
Bugfixes:
- TypeScript definition file not compatible with noImplicitAny (#4017)
- ES6 classes are not supported for grid class (#3437)
- day numbers in month view should be localized (#3339)
- select helper is resizable, causes js error (#3764)
- selecting over existing select helper causes js error (#4031)
- eventOrder doesn't work on custom fields (#3950)
- aria label on button icons (#4023)
- dynamic option changes to select/overlap/allow doesn't cause rerender
Locales:
- added Georgian (#3994)
- added Bosnian (#4029)
- new settings for month/agenda/basic views (#3078):
columnHeaderFormat
(renamed fromcolumnFormat
)columnHeaderText
columnHeaderHtml
- TypeScript definition file (fullcalendar.d.ts) included in npm package (#3889)
- codebase using SASS, though not taking advantage of it yet (#3463)
- codebase fully ported to TypeScript / Webpack
- Afrikaans locale fix (#3862)
Bugfixes:
render
method does not re-adjust calendar dimension (#3893)- when custom view navigates completely into hidden weekends, JS error (scheduler-375)
Other:
- in themes.html demo, fixed broken Bootswatch themes (#3917)
- moved JavaScript codebase over to TypeScript (same external API; embedded typedefs coming soon)
Bugfixes:
- Google Calendar event sources not calling
loading
callback (#3884) eventDataTransform
w/ eventConstraint shouldn't be called during event resizing (#3859)navLinks
would go to the previously navigated date (#3869)nowIndicator
arrow would repeatedly render (#3872)- fc-content-skeleton DOM element would repeatedly render on navigation in agenda view
Bugfixes:
- JSON feed event sources always requesting current page (#3865)
- multi-day events appearing multiple times in more+ popover (#3856)
Features:
agendaEventMinHeight
for guaranteeing height (#961, #3788) thx @StafiecolumnHeader
can be set tofalse
to hide headings (#3438, #3787) thx @caseyjhol- export all View classes (#2851, #3831)
updateEvent
, update complex attributes (#2864)- Albanian locale (#3847) thx @alensaqe
Bugfixes:
- objects used as non-standard Event properties ignored by
updateEvent
(#3839) - listDay error if event goes over period (#3843)
validDays
withhiddenDays
, js error when no days active (#3846)- json feed Event Source object no longer has
url
property (#3845) updateEvent
, allDay to timed, when no end, wrong end date (#3144)removeEvents
by_id
stopped working (#3828)- correct
this
context in FuncEventSource (#3848) thx @declspec - js event not received in unselect callback when selecting another cell (#3832)
Incompatibilities:
- The
viewRender
callback might now be fired AFTER events have been rendered to the DOM. However, the eventRender/eventAfterRender/eventAfterAllRender callbacks will always be fired afterviewRender
, just as before. - The internal
Grid
class (accessed via$.fullCalendar.Grid
) has been removed. For monkeypatching, use DayGrid/TimeGrid directly.
- fixed loading trigger not firing (#3810)
- fixed overaggressively fetching events, on option changes (#3820)
- fixed event object
date
property being discarded (tho still parsed) (#3819) - fixed event object
_id
property being discarded (#3811)
Features:
- Bootstrap 3 theme support (#2334, #3566)
- via
themeSystem: 'bootstrap3'
(thetheme
option is deprecated) - new
bootstrapGlyphicons
option - jQuery UI "Cupertino" theme no longer included in zip archive
- improved theme switcher on demo page (#1436) (big thanks to @joankaradimov)
- via
- 25% event rendering performance improvement across the board (#2524)
- console message for unknown method/calendar (#3253)
- Serbian cyrilic/latin (#3656)
- available via Packagist (#2999, #3617)
Bugfixes:
- slot time label invisible when minTime starts out of alignment (#2786)
- bug with inverse-background event rendering when out of range (#3652)
- wrongly disabled prev/next when current date outside of validRange (#3686, #3651)
- updateEvent, error when changing allDay from false to true (#3518)
- updateEvent doesn't support ID changes (#2928)
- Promise then method doesn't forward result (#3744)
- Korean typo (#3693)
- fixed switching from any view to listview, eventAfterRender isn't called (#3751)
Incompatibilities:
- Event Objects obtained from clientEvents or various callbacks are no longer references to internally used objects. Rather, they are static object copies.
clientEvents
method no longer returns events in same order as received. Do not depend on order.
- composer.json for Composer (PHP package manager) (#3617)
- fix toISOString for locales with non-trivial postformatting (#3619)
- fix for nested inverse-background events (#3609)
- Estonian locale (#3600)
- fixed Latvian localization (#3525)
- internal refactor of async systems
Bugfixes:
- stale calendar title when navigate away from then back to the a view (#3604)
- js error when gotoDate immediately after calendar initialization (#3598)
- agenda view scrollbars causes misalignment in jquery 3.2.1 (#3612)
- navigation bug when trying to navigate to a day of another week (#3610)
- dateIncrement not working when duration and dateIncrement have different units
Features:
visibleRange
- complete control over view's date range (#2847, #3105, #3245)validRange
- restrict date range (#429)changeView
- pass in a date or visibleRange as second param (#3366)dateIncrement
- customize prev/next jump (#2710)dateAlignment
- custom view alignment, like start-of-week (#3113)dayCount
- force a fixed number-of-days, even with hiddenDays (#2753)showNonCurrentDates
- option to hide day cells for prev/next months (#437)- can define a defaultView with a duration/visibleRange/dayCount with needing
to create a custom view in the
views
object. Known as a "Generic View".
Behavior Changes:
- when custom view is specified with duration
{days:7}
, it will no longer align with the start of the week. (#2847) - when
gotoDate
is called on a custom view with a duration of multiple days, the view will always shift to begin with the given date. (#3515)
Bugfixes:
- event rendering when excessive
minTime
/maxTime
(#2530) - event dragging not shown when excessive
minTime
/maxTime
(#3055) - excessive
minTime
/maxTime
not reflected in event fetching (#3514)- when minTime is negative, or maxTime beyond 24 hours, when event data is requested via a function or a feed, the given data params will have time parts.
- external event dragging via touchpunch broken (#3544)
- can't make an immediate new selection after existing selection, with mouse. introduced in v3.2.0 (#3558)
Features:
selectMinDistance
, threshold before a mouse selection begins (#2428)
Bugfixes:
- iOS 10, unwanted scrolling while dragging events/selection (#3403)
- dayClick triggered when swiping on touch devices (#3332)
- dayClick not functioning on Firefix mobile (#3450)
- title computed incorrectly for views with no weekends (#2884)
- unwanted scrollbars in month-view when non-integer width (#3453, #3444)
- incorrect date formatting for locales with non-standlone month/day names (#3478)
- date formatting, incorrect omission of trailing period for certain locales (#2504, #3486)
- formatRange should collapse same week numbers (#3467)
- Taiwanese locale updated (#3426)
- Finnish noEventsMessage updated (#3476)
- Croatian (hr) buttonText is blank (#3270)
- JSON feed PHP example, date range math bug (#3485)
- experimental support for implicitly batched ("debounced") event rendering (#2938)
eventRenderWait
(off by default)
- new
footer
option, similar to header toolbar (#654, #3299) - event rendering batch methods (#3351):
renderEvents
updateEvents
- more granular touch settings (#3377):
eventLongPressDelay
selectLongPressDelay
- eventDestroy not called when removing the popover (#3416, #3419)
- print stylesheet and gcal extension now offered as minified (#3415)
- fc-today in agenda header cells (#3361, #3365)
- height-related options in tandem with other options (#3327, #3384)
- Kazakh locale (#3394)
- Afrikaans locale (#3390)
- internal refactor related to timing of rendering and firing handlers. calls to rerender the current date-range and events from within handlers might not execute immediately. instead, will execute after handler finishes.
Bugfixes:
- list view rendering event times incorrectly (#3334)
- list view rendering events/days out of order (#3347)
- events with no title rendering as "undefined"
- add .fc scope to table print styles (#3343)
- "display no events" text fix for German (#3354)
Features:
- List View (#560)
- new views:
listDay
,listWeek
,listMonth
,listYear
, and simplylist
listDayFormat
listDayAltFormat
noEventsMessage
- new views:
- Clickable day/week numbers for easier navigation (#424)
navLinks
navLinkDayClick
navLinkWeekClick
- Programmatically allow/disallow user interactions:
eventAllow
(#2740)selectAllow
(#2511)
- Option to display week numbers in cells (#3024)
weekNumbersWithinDays
(set totrue
to activate)
- When week calc is ISO, default first day-of-week to Monday (#3255)
- Macedonian locale (#2739)
- Malay locale
Breaking Changes:
- IE8 support dropped
- jQuery: minimum support raised to v2.0.0
- MomentJS: minimum support raised to v2.9.0
lang
option renamed tolocale
- dist files have been renamed to be more consistent with MomentJS:
lang/
->locale/
lang-all.js
->locale-all.js
- behavior of moment methods no longer affected by ambiguousness:
isSame
isBefore
isAfter
- View-Option-Hashes no longer supported (deprecated in 2.2.4)
- removed
weekMode
setting - removed
axisFormat
setting - DOM structure of month/basic-view day cell numbers changed
Bugfixes:
$.fullCalendar.version
incorrect (#3292)
Build System:
- using gulp instead of grunt (faster)
- using npm internally for dependencies instead of bower
- changed repo directory structure
- multiple definitions for businessHours (#2686)
- businessHours for single day doesn't display weekends (#2944)
- height/contentHeight can accept a function or 'parent' for dynamic value (#3271)
- fix +more popover clipped by overflow (#3232)
- fix +more popover positioned incorrectly when scrolled (#3137)
- Norwegian Nynorsk translation (#3246)
- fix isAnimating JS error (#3285)
- Setters for (almost) all options (#564). See docs for more info.
- Travis CI improvements (#3266)
- getEventSources method (#3103, #2433)
- getEventSourceById method (#3223)
- refetchEventSources method (#3103, #1328, #254)
- removeEventSources method (#3165, #948)
- prevent flicker when refetchEvents is called (#3123, #2558)
- fix for removing event sources that share same URL (#3209)
- jQuery 3 support (#3197, #3124)
- Travis CI integration (#3218)
- EditorConfig for promoting consistent code style (#141)
- use en dash when formatting ranges (#3077)
- height:auto always shows scrollbars in month view on FF (#3202)
- new languages:
- Basque (#2992)
- Galician (#194)
- Luxembourgish (#2979)
internal enhancements that plugins can benefit from:
- EventEmitter not correctly working with stopListeningTo
- normalizeEvent hook for manipulating event data
- fixed desktops/laptops with touch support not accepting mouse events for dayClick/dragging/resizing (#3154, #3149)
- fixed dayClick incorrectly triggered on touch scroll (#3152)
- fixed touch event dragging wrongfully beginning upon scrolling document (#3160)
- fixed minified JS still contained comments
- UI change: mouse users must hover over an event to reveal its resizers
- dayClick not firing on touch devices (#3138)
- icons for prev/next not working in MS Edge (#2852)
- fix bad languages troubles with firewalls (#3133, #3132)
- update all dev dependencies (#3145, #3010, #2901, #251)
- git-ignore npm debug logs (#3011)
- misc automated test updates (#3139, #3147)
- Google Calendar htmlLink not always defined (#2844)
touch device support (#994):
- smoother scrolling
- interactions initiated via "long press":
- event drag-n-drop
- event resize
- time-range selecting
- longPressDelay
- make
nowIndicator
positioning refresh on window resize
- current time indicator (#414)
- bundled with most recent version of moment (2.11.0)
- UMD wrapper around lang files now handles commonjs (#2918)
- fix bug where external event dragging would not respect eventOverlap
- fix bug where external event dropping would not render the whole-day highlight
- internal timezone refactor. fixes #2396, #2900, #2945, #2711
- internal "grid" system refactor. improved API for plugins.
- add new buttons to the header via
customButtons
(225) - control stacking order of events via
eventOrder
(364) - control frequency of slot text via
slotLabelInterval
(946) displayEventTime
(1904)on
andoff
methods (1910)- renamed
axisFormat
toslotLabelFormat
- minor code adjustment in preparation for plugins
- Fix week view column title for en-gb (PR220)
- Publish to NPM (2447)
- Detangle bower from npm package (PR179)
- internal refactoring in preparation for other views
- businessHours now renders on whole-days in addition to timed areas
- events in "more" popover not sorted by time (2385)
- avoid using moment's deprecated zone method (2443)
- destroying the calendar sometimes causes all window resize handlers to be unbound (2432)
- multiple calendars on one page, can't accept external elements after navigating (2433)
- accept external events from jqui sortable (1698)
- external jqui drop processed before reverting (1661)
- IE8 fix: month view renders incorrectly (2428)
- IE8 fix: eventLimit:true wouldn't activate "more" link (2330)
- IE8 fix: dragging an event with an href
- IE8 fix: invisible element while dragging agenda view events
- IE8 fix: erratic external element dragging
- view.title wasn't defined in viewRender callback (2407)
- FullCalendar versions >= 2.2.5 brokenness with Moment versions <= 2.8.3 (2417)
- Support Bokmal Norwegian language specifically (2427)
- Compatibility with Moment v2.9. Was breaking GCal plugin (2408)
- View object's
title
property mistakenly omitted (2407) - Single-day views with hiddens days could cause prev/next misbehavior (2406)
- Don't let the current date ever be a hidden day (solves 2395)
- Hebrew locale (2157)
buttonText
specified for custom views via theviews
option- bugfix: wrong default value, couldn't override default
- feature: default value taken from locale
- Arbitrary durations for basic/agenda views with the
views
option (692) - Specify view-specific options using the
views
option. fixes 2283 - Deprecate view-option-hashes
- Formalize and expose View API (1055)
- updateEvent method, more intuitive behavior. fixes 2194
- removeEventSource with Google Calendar object source, would not remove (2368)
- Events with invalid end dates are still accepted and rendered (2350, 2237, 2296)
- Bug when rendering business hours and navigating away from original view (2365)
- Links to Google Calendar events will use current timezone (2122)
- Google Calendar plugin works with timezone names that have spaces
- Google Calendar plugin accepts person email addresses as calendar IDs
- Internally use numeric sort instead of alphanumeric sort (2370)
- Fixes to Google Calendar API V3 code
- wouldn't recognize a lone-string Google Calendar ID if periods before the @ symbol
- removeEventSource wouldn't work when given a Google Calendar ID
- Migrate Google Calendar plugin to use V3 of the API (1526)
- Background events. Event object's
rendering
property (144, 1286) businessHours
option (144)- Controlling where events can be dragged/resized and selections can go (396, 1286, 2253)
eventOverlap
,selectOverlap
, and similareventConstraint
,selectConstraint
, and similar
- Improvements to dragging and dropping external events (2004)
- Associating with real event data. used with
eventReceive
- Associating a
duration
- Associating with real event data. used with
- Performance boost for moment creation
- Be aware, FullCalendar-specific methods now attached directly to global moment.fn
- Helps with issue 2259
- Reintroduced forgotten
dropAccept
option (2312)
- removeEventSource not working with array (2203)
- mouseout not triggered after mouseover+updateEvent (829)
- agenda event's render with no href, not clickable (2263)
Large code refactor with better OOP, better code reuse, and more comments. No more reliance on jQuery UI for event dragging, resizing, or anything else.
Significant changes to HTML/CSS skeleton:
- Leverages tables for liquid rendering of days and events. No costly manual repositioning (809)
- Backwards-incompatibilities:
- Many classNames have changed. Custom CSS will likely need to be adjusted.
- IE7 definitely not supported anymore
- In
eventRender
callback,element
will not be attached to DOM yet - Events are styled to be one line by default (1992). Can be undone through custom CSS, but not recommended (might get gaps like this in certain situations).
A "more..." link when there are too many events on a day (304). Works with month and basic views as well as the all-day section of the agenda views. New options:
eventLimit
. a number ortrue
eventLimitClick
. the"popover
" value will reveal all events in a raised panel (the default)moreLinkText
dayPopoverFormat
Changes related to height and scrollbars:
aspectRatio
/height
/contentHeight
values will be honored no matter what'auto'
value forheight
/contentHeight
options. If content is too tall, the view will vertically stretch to accomodate and no scrollbars will be used (521).- Tall weeks in month view will borrow height from other weeks (243)
- Automatically scroll the view then dragging/resizing an event (1025, 2078)
- New
fixedWeekCount
option to determines the number of weeks in month view- Supersedes
weekMode
(deprecated). Instead, use a combination offixedWeekCount
and one of the height options, possibly with an'auto'
value
- Supersedes
Much nicer, glitch-free rendering of calendar for printers (35). Things you might not expect:
- Buttons will become hidden
- Agenda views display a flat list of events where the time slots would be
Other issues resolved along the way:
- Space on right side of agenda events configurable through CSS (204)
- Problem with window resize (259)
- Events sorting stays consistent across weeks (510)
- Agenda's columns misaligned on wide screens (511)
- Run
selectHelper
througheventRender
callbacks (629) - Keyboard access, tabbing (637)
- Run resizing events through
eventRender
(714) - Resize an event to a different day in agenda views (736)
- Allow selection across days in agenda views (778)
- Mouseenter delegated event not working on event elements (936)
- Agenda event dragging, snapping to different columns is erratic (1101)
- Android browser cuts off Day view at 8 PM with no scroll bar (1203)
- Don't fire
eventMouseover
/eventMouseout
while dragging/resizing (1297) - Customize the resize handle text ("=") (1326)
- If agenda event is too short, don't overwrite
.fc-event-time
(1700) - Zooming calendar causes events to misalign (1996)
- Event destroy callback on event removal (2017)
- Agenda views, when RTL, should have axis on right (2132)
- Make header buttons more accessibile (2151)
- daySelectionMousedown should interpret OSX ctrl+click as a right mouse click (2169)
- Best way to display time text on multi-day events with times (2172)
- Eliminate table use for header layout (2186)
- Event delegation used for event-related callbacks (like
eventClick
). Speedier.
- moment-2.8.1 compatibility (2221)
- relative path in bower.json (PR 117)
- upgraded jquery-ui and misc dev dependencies
- bug with persisting addEventSource calls (2191)
- bug with persisting removeEvents calls with an array source (2187)
- bug with removeEvents method when called with 0 removes all events (2082)
delta
parameters reintroduced ineventDrop
andeventResize
handlers (2156)- Note: this changes the argument order for
revertFunc
- Note: this changes the argument order for
- wrongfully triggering a windowResize when resizing an agenda view event (1116)
this
values in event drag-n-drop/resize handlers consistently the DOM node (1177)displayEventEnd
- v2 workaround to force display of an end time (2090)- don't modify passed-in eventSource items (954)
- destroy method now removes fc-ltr class (2033)
- weeks of last/next month still visible when weekends are hidden (2095)
- fixed memory leak when destroying calendar with selectable/droppable (2137)
- Icelandic language (2180)
- Bahasa Indonesia language (PR 172)
Internationalization support, timezone support, and MomentJS integration. Extensive changes, many of which are backwards incompatible.
Full list of changes | Affected Issues
An automated testing framework has been set up (Karma + Jasmine) and tests have been written which cover about half of FullCalendar's functionality. Special thanks to @incre-d, @vidbina, and @sirrocco for the help.
In addition, the main development repo has been repurposed to also include the built distributable JS/CSS for the project and will serve as the new Bower endpoint.
- better algorithm for positioning timed agenda events (1115)
slotEventOverlap
option to tweak timed agenda event overlapping (218)- selection bug when slot height is customized (1035)
- supply view argument in
loading
callback (1018) - fixed week number not displaying in agenda views (1951)
- fixed fullCalendar not initializing with no options (1356)
- NPM's
package.json
, no more warnings or errors (1762) - building the bower component should output
bower.json
instead ofcomponent.json
(PR 125) - use bower internally for fetching new versions of jQuery and jQuery UI
viewRender
callback (PR 15)viewDestroy
callback (PR 15)eventDestroy
callback (PR 111)handleWindowResize
option (PR 54)eventStartEditable
/startEditable
options (PR 49)eventDurationEditable
/durationEditable
options (PR 49)- specify function for
$.ajax
data
parameter for JSON event sources (PR 59) - fixed bug with agenda event dropping in wrong column (PR 55)
- easier event element z-index customization (PR 58)
- classNames on past/future days (PR 88)
- allow
null
/undefined
event titles (PR 84) - small optimize for agenda event rendering (PR 56)
- deprecated:
viewDisplay
disableDragging
disableResizing
- bundled with latest jQuery (1.10.2) and jQuery UI (1.10.3)
hiddenDays
option (686)- bugfix: when
eventRender
returnsfalse
, incorrect stacking of events (762) - bugfix: couldn't change
event.backgroundImage
when callingupdateEvent
(thx @stephenharris)
- fixed event inner content overflow bug (1783)
- fixed table header className bug 1772
- removed text-shadow on events (better for general use, thx @tkrotoff)
- visual facelift, with bootstrap-inspired buttons and colors
- simplified HTML/CSS for events and buttons
dayRender
, for modifying a day cell (191, thx @althaus)- week numbers on side of calendar (295)
weekNumber
weekNumberCalculation
weekNumberTitle
W
formatting variable
- finer snapping granularity for agenda view events (495, thx @ms-doodle-com)
eventAfterAllRender
(753, thx @pdrakeweb)eventDataTransform
(thx @joeyspo)data-date
attributes on cells (thx @Jae)- expose
$.fullCalendar.dateFormatters
- when clicking fast on buttons, prevent text selection
- bundled with latest jQuery (1.9.1) and jQuery UI (1.10.2)
- Grunt/Lumbar build system for internal development
- build for Bower package manager
- build for jQuery plugin site
- made compatible with jQuery 1.8.* (thx @archaeron)
- bundled with jQuery 1.8.1 and jQuery UI 1.8.23
- fixed dragging issue with jQuery UI 1.8.16 (1168)
- bundled with jQuery 1.7.1 and jQuery UI 1.8.17
- correctly process UTC "Z" ISO8601 date strings (750)
- more flexible ISO8601 date parsing (814)
- more flexible parsing of UNIX timestamps (826)
- FullCalendar now buildable from source on a Mac (795)
- FullCalendar QA'd in FF4 (883)
- upgraded to jQuery 1.5.2 (which supports IE9) and jQuery UI 1.8.11
- slicker default styling for buttons
- reworked a lot of the calendar's HTML and accompanying CSS (solves 327 and 395)
- more printer-friendly (fullcalendar-print.css)
- fullcalendar now inherits styles from jquery-ui themes differently. styles for buttons are distinct from styles for calendar cells. (solves 299)
- can now color events through FullCalendar options and Event-Object properties (117)
THIS IS NOW THE PREFERRED METHOD OF COLORING EVENTS (as opposed to using className and CSS)
- FullCalendar options:
- eventColor (changes both background and border)
- eventBackgroundColor
- eventBorderColor
- eventTextColor
- Event-Object options:
- color (changes both background and border)
- backgroundColor
- borderColor
- textColor
- FullCalendar options:
- can now specify an event source as an object with a
url
property (json feed) or anevents
property (function or array) with additional properties that will be applied to the entire event source:- color (changes both background and border)
- backgroudColor
- borderColor
- textColor
- className
- editable
- allDayDefault
- ignoreTimezone
- startParam (for a feed)
- endParam (for a feed)
- ANY OF THE JQUERY $.ajax OPTIONS
allows for easily changing from GET to POST and sending additional parameters (386)
allows for easily attaching ajax handlers such as
error
(754) allows for turning caching on (355)
- Google Calendar feeds are now specified differently:
- specify a simple string of your feed's URL
- specify an object with a
url
property of your feed's URL. you can include any of the new Event-Source options in this object. - the old
$.fullCalendar.gcalFeed
method still works
- no more IE7 SSL popup (504)
- remove
cacheParam
- use json event sourcecache
option instead - latest jquery/jquery-ui
- fixed rerenderEvents bug (790)
- fixed bug with faulty dragging of events from all-day slot in agenda views
- bundled with jquery 1.5 and jquery-ui 1.8.9
- fixed bug with resizing event to different week in 5-day month view (740)
- fixed bug with events not sticking after a removeEvents call (757)
- fixed bug with underlying parseTime method, and other uses of parseInt (688)
- new algorithm for vertically stacking events (111)
- resizing an event to a different week (306)
- bug: some events not rendered with consecutive calls to addEventSource (679)
- ignoreTimezone option (set to
false
to process UTC offsets in ISO8601 dates) - bugfixes
- event refetching not being called under certain conditions (417, 554)
- event refetching being called multiple times under certain conditions (586, 616)
- selection cannot be triggered by right mouse button (558)
- agenda view left axis sized incorrectly (465)
- IE js error when calendar is too narrow (517)
- agenda view looks strange when no scrollbars (235)
- improved parsing of ISO8601 dates with UTC offsets
- $.fullCalendar.version
- an internal refactor of the code, for easier future development and modularity
- "dropping" external objects onto the calendar
- droppable (boolean, to turn on/off)
- dropAccept (to filter which events the calendar will accept)
- drop (trigger)
- selectable options can now be specified with a View Option Hash
- bugfixes
- support newlines in event titles
- select/unselect callbacks now passes native js event
- "selecting" days or timeslots
- options: selectable, selectHelper, unselectAuto, unselectCancel
- callbacks: select, unselect
- methods: select, unselect
- when dragging an event, the highlighting reflects the duration of the event
- code compressing by Google Closure Compiler
- bundled with jQuery 1.4.2 and jQuery UI 1.8.1
- lazyFetching option, which can force the calendar to fetch events on every view/date change
- scroll state of agenda views are preserved when switching back to view
- bugfixes
- optimized event rendering in all views (events render in 1/10 the time)
- gotoDate() does not force the calendar to unnecessarily rerender
- render() method now correctly readjusts height
- added destroy method
- Google Calendar event pages respect currentTimezone
- caching now handled by jQuery's ajax
- protection from setting aspectRatio to zero
- bugfixes
- parseISO8601 and DST caused certain events to display day before
- button positioning problem in IE6
- ajax event source removed after recently being added, events still displayed
- event not displayed when end is an empty string
- dynamically setting calendar height when no events have been fetched, throws error
- eventAfterRender trigger
- getDate & getView methods
- height & contentHeight options (explicitly sets the pixel height)
- minTime & maxTime options (restricts shown hours in agenda view)
- getters [for all options] and setters [for height, contentHeight, and aspectRatio ONLY! stay tuned..]
- render method now readjusts calendar's size
- bugfixes
- lightbox scripts that use iframes (like fancybox)
- day-of-week classNames were off when firstDay=1
- guaranteed space on right side of agenda events (even when stacked)
- accepts ISO8601 dates with a space (instead of 'T')
- can exclude weekends with new 'weekends' option
- gcal feed 'currentTimezone' option
- bugfixes
- year/month/date option sometimes wouldn't set correctly (depending on current date)
- daylight savings issue caused agenda views to start at 1am (for BST users)
- cleanup of gcal.js code
- agendaWeek and agendaDay views
- added some options for agenda views:
- allDaySlot
- allDayText
- firstHour
- slotMinutes
- defaultEventMinutes
- axisFormat
- modified some existing options/triggers to work with agenda views:
- dragOpacity and timeFormat can now accept a "View Hash" (a new concept)
- dayClick now has an allDay parameter
- eventDrop now has an an allDay parameter (this will affect those who use revertFunc, adjust parameter list)
- added 'prevYear' and 'nextYear' for buttons in header
- minor change for theme users, ui-state-hover not applied to active/inactive buttons
- added event-color-changing example in docs
- better defaults for right-to-left themed button icons
- Bugfixes (please upgrade from 1.3.1!)
- squashed potential infinite loop when addMonths and addDays is called with an invalid date
- $.fullCalendar.parseDate() now correctly parses IETF format
- when switching views, the 'today' button sticks inactive, fixed
- gotoDate now can accept a single Date argument
- documentation for changes in 1.3.1 and 1.3.2 now on website
- Important Bugfixes (please upgrade from 1.3!)
- When current date was late in the month, for long months, and prev/next buttons were clicked in month-view, some months would be skipped/repeated
- In certain time zones, daylight savings time would cause certain days to be misnumbered in month-view
- Subtle change in way week interval is chosen when switching from month to basicWeek/basicDay view
- Added 'allDayDefault' option
- Added 'changeView' and 'render' methods
- different 'views': month/basicWeek/basicDay
- more flexible 'header' system for buttons
- themable by jQuery UI themes
- resizable events (require jQuery UI resizable plugin)
- rescoped & rewritten CSS, enhanced default look
- cleaner css & rendering techniques for right-to-left
- reworked options & API to support multiple views / be consistent with jQuery UI
- refactoring of entire codebase
- broken into different JS & CSS files, assembled w/ build scripts
- new test suite for new features, uses firebug-lite
- refactored docs
- Options
-
- date
-
- defaultView
-
- aspectRatio
-
- disableResizing
-
- monthNames (use instead of $.fullCalendar.monthNames)
-
- monthNamesShort (use instead of $.fullCalendar.monthAbbrevs)
-
- dayNames (use instead of $.fullCalendar.dayNames)
-
- dayNamesShort (use instead of $.fullCalendar.dayAbbrevs)
-
- theme
-
- buttonText
-
- buttonIcons
- x draggable -> editable/disableDragging
- x fixedWeeks -> weekMode
- x abbrevDayHeadings -> columnFormat
- x buttons/title -> header
- x eventDragOpacity -> dragOpacity
- x eventRevertDuration -> dragRevertDuration
- x weekStart -> firstDay
- x rightToLeft -> isRTL
- x showTime (use 'allDay' CalEvent property instead)
-
- Triggered Actions
-
- eventResizeStart
-
- eventResizeStop
-
- eventResize
- x monthDisplay -> viewDisplay
- x resize -> windowResize
- 'eventDrop' params changed, can revert if ajax cuts out
-
- CalEvent Properties
- x showTime -> allDay
- x draggable -> editable
- 'end' is now INCLUSIVE when allDay=true
- 'url' now produces a real tag, more native clicking/tab behavior
- Methods:
-
- renderEvent
- x prevMonth -> prev
- x nextMonth -> next
- x prevYear/nextYear -> moveDate
- x refresh -> rerenderEvents/refetchEvents
- x removeEvent -> removeEvents
- x getEventsByID -> clientEvents
-
- Utilities:
- 'formatDate' format string completely changed (inspired by jQuery UI datepicker + datejs)
- 'formatDates' added to support date-ranges
- Google Calendar Options:
- x draggable -> editable
- Bugfixes
- gcal extension fetched 25 results max, now fetches all
- bugfixes
- allows and corrects invalid end dates for events
- doesn't throw an error in IE while rendering when display:none
- fixed 'loading' callback when used w/ multiple addEventSource calls
- gcal className can now be an array
- expanded API
- 'className' CalEvent attribute
- 'source' CalEvent attribute
- dynamically get/add/remove/update events of current month
- locale improvements: change month/day name text
- better date formatting ($.fullCalendar.formatDate)
- multiple 'event sources' allowed
- dynamically add/remove event sources
- options for prevYear and nextYear buttons
- docs have been reworked (include addition of Google Calendar docs)
- changed behavior of parseDate for number strings (now interpets as unix timestamp, not MS times)
- bugfixes
- rightToLeft month start bug
- off-by-one errors with month formatting commands
- events from previous months sticking when clicking prev/next quickly
- Google Calendar API changed to work w/ multiple event sources
- can also provide 'className' and 'draggable' options
- date utilties moved from $ to $.fullCalendar
- more documentation in source code
- minified version of fullcalendar.js
- test suit (available from svn)
- top buttons now use
<button>
w/ an inner<span>
for better css cusomization- thus CSS has changed. IF UPGRADING FROM PREVIOUS VERSIONS, UPGRADE YOUR FULLCALENDAR.CSS FILE
- Added the following options:
- weekStart
- rightToLeft
- titleFormat
- timeFormat
- cacheParam
- resize
- Fixed rendering bugs
- Opera 9.25 (events placement & window resizing)
- IE6 (window resizing)
- Optimized window resizing for ALL browsers
- Events on same day now sorted by start time (but first by timespan)
- Correct z-index when dragging
- Dragging contained in overflow DIV for IE6
- Modified fullcalendar.css
- for right-to-left support
- for variable start-of-week
- for IE6 resizing bug
- for THEAD and TBODY (in 1.0, just used TBODY, restructured in 1.1)
- IF UPGRADING FROM FULLCALENDAR 1.0, YOU MUST UPGRADE FULLCALENDAR.CSS