---
title: "flatpickr 4.0.0 Breaking Changes on npm | Since.dev"
description: "What each flatpickr release removed, renamed or changed: 7 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/flatpickr
last_updated: 2026-12-04
---

# 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

Latest version `4.6.13`, released April 14, 2022. [Source repository](https://github.com/chmln/flatpickr)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 2 breaking changes in 1 version.

## flatpickr 4.0.0 breaking changes

flatpickr 4.0.0, released October 9, 2017: 2 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](https://github.com/flatpickr/flatpickr/releases/tag/v4.0.0)
- **Behavior changed**  

Locales and plugins in dist are ES6 modules, so users must use an ES import or adjust their require calls. [github.com](https://github.com/flatpickr/flatpickr/releases/tag/v4.0.0)

## flatpickr 3.0.0 breaking changes

flatpickr 3.0.0, released June 3, 2017: 5 breaking changes.

- **Signature changed** `default.changeMonth`  

Was changeMonth(month: number, isOffset: boolean): void; now changeMonth(month: number, isOffset?: boolean): void. [npmjs.com](https://www.npmjs.com/package/flatpickr/v/3.0.0)
- **Signature changed** `default.constructor`  

Was constructor(element: string | Element, options?: Flatpickr.Options); now constructor(element: string | Element | HTMLElement, options?: Flatpickr.Options). [npmjs.com](https://www.npmjs.com/package/flatpickr/v/3.0.0)
- **Signature changed** `default.formatDate`  

Was formatDate(format: string, date: Date): string; now formatDate(date: Date, format: string): string. [npmjs.com](https://www.npmjs.com/package/flatpickr/v/3.0.0)
- **Signature changed** `default.parseDate`  

Was parseDate(date: string): Date; now parseDate(date: string, format: string): Date. [npmjs.com](https://www.npmjs.com/package/flatpickr/v/3.0.0)
- **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](https://www.npmjs.com/package/flatpickr/v/3.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
