flatpickr breaking changes
flatpickr 4.0.0 (October 9, 2017) is its newest release with breaking changes, 2 of them. The first: The dist folder is no longer kept in the repository in flatpickr 4.0.0. Every breaking API change we have recorded in flatpickr on npm: 7 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.6.13, released April 14, 2022. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
flatpickr 4.0.0 breaking changes
- Removed
Bower users who loaded files from the repository's dist folder must switch to a CDN such as jsdelivr or to the npm package. github.com - Behavior changed
Locales and plugins in dist are ES6 modules, so users must use an ES import or adjust their require calls. github.com
flatpickr 3.0.0 breaking changes
- Signature changed
default.changeMonth
Was changeMonth(month: number, isOffset: boolean): void; now changeMonth(month: number, isOffset?: boolean): void. npmjs.com - Signature changed
default.constructor
Was constructor(element: string | Element, options?: Flatpickr.Options); now constructor(element: string | Element | HTMLElement, options?: Flatpickr.Options). npmjs.com - Signature changed
default.formatDate
Was formatDate(format: string, date: Date): string; now formatDate(date: Date, format: string): string. npmjs.com - Signature changed
default.parseDate
Was parseDate(date: string): Date; now parseDate(date: string, format: string): Date. npmjs.com - Signature changed
default.setDate
Was setDate(date: Flatpickr.DateString | Flatpickr.DateString[]): void; now setDate(date: Flatpickr.DateString | Flatpickr.DateString[], triggerChange?: boolean, dateFormat?: string): void. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.