Sourced from date-fns's releases.
v3.0.6
On this release worked
@imwh0im
,@jamcry
and@tyrw
.Fixed
v3.0.5
This release is brought to you by
@goku4199
.Fixed
v3.0.4
This release is brought to you by
@kossnocorp
.Fixed
- Fixed isWithinInterval bug caused by incorrectly sorting dates (#3623).
v3.0.3
Fixed
- Rolled back pointing ESM types to the same
d.ts
files. Instead, now it copies the content to avoid the Masquerading as CJS problem reported by "Are the types wrong?".v3.0.2
Fixed
Fixed yet another issue caused by ESM types by pointing to the same
d.ts
files.Added
package.json
to exports to provide access to tooling.Fixed TypeScript 5.4 build break by using the latest type names.
v3.0.1
Fixed
- Fixed an error in certain environments caused by
d.mts
files exporting only types.v3.0.0
Changed
BREAKING: date-fns is now a dual-package with the support of both ESM and CommonJS. The files exports are now explicitly in the
package.json
. The ESM files now have.mjs
extension.BREAKING: The package now has a flat structure, meaning functions are now named
node_modules/date-fns/add.mjs
, locales arenode_modules/date-fns/locale/enUS.mjs
, etc.BREAKING: Now all file content’s exported via named exports instead of
export default
, which will require change direct imports i.e.const addDays = require(‘date-fns/addDays’)
toconst { addDays } = require(‘date-fns/addDays’)
.BREAKING: TypeScript types are now completely rewritten, check out the
d.ts
files for more information.
... (truncated)
Sourced from date-fns's changelog.
v3.0.6 - 2023-12-22
On this release worked
@imwh0im
,@jamcry
and@tyrw
.Fixed
v3.0.5 - 2023-12-21
This release is brought to you by
@goku4199
.Fixed
v3.0.4 - 2023-12-21
This release is brought to you by
@kossnocorp
.Fixed
- Fixed isWithinInterval bug caused by incorrectly sorting dates (#3623).
v3.0.3 - 2023-12-21
Fixed
- Rolled back pointing ESM types to the same
d.ts
files. Instead now it copies the content to avoid the Masquerading as CJS problem reported by "Are the types wrong?".v3.0.2 - 2023-12-21
Fixed
Fixed yet another issue caused by ESM types by pointing to the same
d.ts
files.Added
package.json
to exports to provide access to tooling.Fixed TypeScript 5.4 build break by using the latest type names.
v3.0.1 - 2023-12-20
Fixed
- Fixed an error in certain environments caused by
d.mts
files exporting only types.v3.0.0 - 2023-12-18
Changed
... (truncated)
bc5b2f6
Promote to v3.0.69ac551c
Fix bug in areIntervalsOverlapping (#3628) (closes #3614)a49902e
Update formatRelative
docs (#3489)34c049b
Update wikipedia location (#3629)57a9b73
Promote to v3.0.5e2d52ce
Removed typo in toDate/index.ts (#3626)c15e891
Promote to v3.0.40d1a223
Fix isWithinInterval not sorting dates correctlyd1773c3
Promote to v3.0.3647334b
Copy d.mts files instead