kolibri
kolibri copied to clipboard
Bump date-fns from 1.30.1 to 3.3.1
Bumps date-fns from 1.30.1 to 3.3.1.
Release notes
Sourced from date-fns's releases.
v3.3.1
Kudos to
@kossnocorpand@fturmelfor working on the release.Fixed
Fixed DST issue in
getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.Fixed functions incorrectly using
truncinstead ofround. The bug was introduced in v3.3.0. The affected functions:differenceInCalendarDays,differenceInCalendarISOWeeks,differenceInCalendarWeeks,getISOWeek,getWeek, andgetISOWeeksInYear.v3.3.0
On this release worked
@kossnocorp,@TheKvikk,@fturmeland@ckcherry23.Fixed
Fixed the bug in
getOverlappingDaysInIntervalscaused by incorrect sorting of interval components that led to 0 for timestamps of different lengths.Fixed bugs when working with negative numbers caused by using
Math.floor(-1.1→-2) instead ofMath.trunc(-1.1→-1). Most of the conversion functions (i.e.,hoursToMinutes) were affected when passing some negative fractional input. Also, some other functions that could be possibly affected by unfortunate timezone/date combinations were fixed.The functions that were affected:
format,parse,getUnixTime,daysToWeeks,hoursToMilliseconds,hoursToMinutes,hoursToSeconds,milliseconds,minutesToMilliseconds,millisecondsToMinutes,monthsToYears,millisecondsToHours,millisecondsToSeconds,minutesToHours,minutesToSeconds,yearsToQuarters,yearsToMonths,yearsToDays,weeksToDays,secondsToMinutes,secondsToHours,quartersToYears,quartersToMonthsandmonthsToQuarters.Fixed the Czech locale's
formatDistanceto include1informatDistance.Fixed
differenceInSecondsand other functions relying on rounding options that can produce a negative 0.Added a preprocessor to the locales API, enabling fixing a long-standing bug in the French locale. (#1391)
Added missing
yearsToDaysto the FP submodule.Made functions using rounding methods always return
0instead of-0.Added
v3.2.0
This release is brought to you by
@kossnocorp,@fturmel,@grossbart,@MelvinVermeer, and@jcarstairs-scottlogic.Fixed
Fixed types compatibility with Lodash's
flowand fp-ts'spipe. (#3641)Added
- Added exports of
format,lightFormat, andparseinternals that enable 3rd-parties to consume those.v3.1.0
This release is brought to you by
@kossnocorp,@makstyle119and@dmgawel.
... (truncated)
Changelog
Sourced from date-fns's changelog.
v3.3.1 - 2024-01-22
Kudos to
@kossnocorpand@fturmelfor working on the release.Fixed
Fixed DST issue in
getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.Fixed functions incorrectly using
truncinstead ofround. The bug was introduced in v3.3.0. The affected functions:differenceInCalendarDays,differenceInCalendarISOWeeks,differenceInCalendarWeeks,getISOWeek,getWeek, andgetISOWeeksInYear.v3.3.0 - 2024-01-20
On this release worked
@kossnocorp,@TheKvikk,@fturmeland@ckcherry23.Fixed
Fixed the bug in
getOverlappingDaysInIntervalscaused by incorrect sorting of interval components that led to 0 for timestamps of different lengths.Fixed bugs when working with negative numbers caused by using
Math.floor(-1.1→-2) instead ofMath.trunc(-1.1→-1). Most of the conversion functions (i.e.,hoursToMinutes) were affected when passing some negative fractional input. Also, some other functions that could be possibly affected by unfortunate timezone/date combinations were fixed.The functions that were affected:
format,parse,getUnixTime,daysToWeeks,hoursToMilliseconds,hoursToMinutes,hoursToSeconds,milliseconds,minutesToMilliseconds,millisecondsToMinutes,monthsToYears,millisecondsToHours,millisecondsToSeconds,minutesToHours,minutesToSeconds,yearsToQuarters,yearsToMonths,yearsToDays,weeksToDays,secondsToMinutes,secondsToHours,quartersToYears,quartersToMonthsandmonthsToQuarters.Fixed the Czech locale's
formatDistanceto include1informatDistance.Fixed
differenceInSecondsand other functions relying on rounding options that can produce a negative 0.Added a preprocessor to the locales API, enabling fixing a long-standing bug in the French locale. (#1391)
Added missing
yearsToDaysto the FP submodule.Made functions using rounding methods always return
0instead of-0.Added
v3.2.0 - 2024-01-09
This release is brought to you by
@kossnocorp,@fturmel,@grossbart,@MelvinVermeer, and@jcarstairs-scottlogic.Fixed
Fixed types compatability with Lodash's
flowand fp-ts'spipe. (#3641)Added
- Added exports of
format,lightFormat, andparseinternals that enable 3rd-parties to consume those.
... (truncated)
Commits
35c1858Upgrade Vitestaa264e3Fix DST issue in getOverlappingDaysInIntervalsa960fc2Enable extended timezone tests on main2939472Fix incorrect rounding introduced in v3.3.0ff60d48Fix browser tests (#3677)659ad02Update v3.3.0 changelog3e4af15What's wrong with you, Lodash?3707906Prepare v3.3.0fadd58bAdd missingyearsToDaysto FPad2c654Fix bug in getOverlappingDaysInIntervals- Additional commits viewable in compare view
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
|---|---|
| date-fns | [>= 2.a, < 3] |
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
This will need updates to the imports correlated to the breaking changes.
Superseded by #11980.