Releases: joanllenas/ngx-date-fns
Releases · joanllenas/ngx-date-fns
v11.0.0
v10.0.1
- Enable Ivy
v10.0.0
- Angular 14 support
v9.0.0
Changes
- Angular 13 support
- Removed conventional commit
Breaking changes
- This library is now compiled in Ivy partial compilation mode, which may not be compatible with older Angular versions.
v8.3.0
Added a bunch of new is*
pipes:
dfnsIsExists
dfnsIsFirstDayOfMonth
dfnsIsFriday
dfnsIsLastDayOfMonth
dfnsIsLeapYear
dfnsIsMatch
dfnsIsMatchPure
dfnsIsMonday
dfnsIsSameDay
dfnsIsSameHour
dfnsIsSameISOWeekYear
dfnsIsSameISOWeek
dfnsIsSameMinute
dfnsIsSameMonth
dfnsIsSameQuarter
dfnsIsSameSecond
dfnsIsSameWeek
dfnsIsSameWeekPure
dfnsIsSameYear
dfnsIsSaturday
dfnsIsSunday
dfnsIsThisHour
dfnsIsThisISOWeek
dfnsIsThisMinute
dfnsIsThisMonth
dfnsIsThisQuarter
dfnsIsThisSecond
dfnsIsThisWeek
dfnsIsThisWeekPure
dfnsIsThisYear
dfnsIsThursday
dfnsIsToday
dfnsIsTomorrow
dfnsIsTuesday
dfnsIsWednesday
dfnsIsWithinInterval
dfnsIsYesterday
🎉 Great contribution by @joarkm1 🎉
v8.2.0
v8.1.0
In this release
- Added four new pipes:
- dfnsFormatRelative (impure)
- dfnsFormatRelativePure
- dfnsFormatDistanceToNowStrict (impure)
- dfnsFormatDistanceToNowStrictPure
🎉 Contribution by @ChrisJohns-me
v8.0.0
In this release
- Added two new pipes:
- dfnsFormatDuration (impure)
- dfnsFormatDurationPure
- Improved docs.
BREAKING CHANGES:
This version requires date-fns >= v2.16.0
.
v7.0.2
v7.0.0
In this release
- Relaxed how invalid dates are treated in format pipes.
BREAKING CHANGES
The following pipes:
dfnsFormatDistanceStrict
dfnsFormatDistanceStrictPure
dfnsFormatDistanceToNow
dfnsFormatDistanceToNowPure
dfnsFormatDistance
dfnsFormatDistancePure
dfnsFormat
dfnsFormatPure
don't throw an exception anymore when an invalid date is provided, an empty string is returned instead.
TL;DR;
This change only affects you in case you were calling any of those pipes programmatically and using the exception via a try catch
statement. If this is the case, you can now safely remove the try catch
and check for an empty string
instead.