Releases: dmtrKovalenko/date-io
v3.1.0
Fixes
A lot of issues with moment-jalaali were resolved and does not need additional override anymore
-
fix(moment-jalaali): setMonth behavior by @SoheilHasankhani in #661
-
fix: update jalaali-utils getDaysInMonth and add missing overrides by @mrafei in #638
-
fix: adds tslib deps to fix the error of it not being found when impo… by @HeVictor in #643
-
chore(deps): Upgrade dependencies by @dmtrKovalenko in #665
New Contributors
- @SoheilHasankhani made their first contribution in #661
- @HeVictor made their first contribution in #643
- @mrafei made their first contribution in #638
Full Changelog: v3.0.0...v3.1.0
v3.0.0
Breaking changes:
- chore(deps): bump date-fns to v3 by @frsimond in #656
This involves peer lib version upgrade please make sure that some underlying localised formats might be changed as well - feat: Remove date-io/type definition by @dmtrKovalenko in #657
The type inference that doesn't work with modern typescript was removed. Please make sure to upgrade typescript to v5 - feat: Improve utils.date typescript typings by @dmtrKovalenko in #658
Changed signature ofUtils.date
and the underlying logic. Now if the value can't be parsed returns current date instead ofnull
.
Other changes
- fix(js-jods): Proper support for date-only and time-only in mergeDateAndTime method by @joshkel in #653
You can support the maintenance of this project by visiting https://github.com/sponsors/dmtrKovalenko. Your support will help us respond faster and deliver requested features. We extend our heartfelt thanks to our contributors and sponsors ❤️.
New Contributors
Full Changelog: v2.17.0...v3.0.0
v2.17.0
New features
- feat: isBeforeMonth and isAfterMonth by @dmtrKovalenko in #648
What's Changed
- chore(build): change build to target
ES6
by @LukasTy in #645 - fix(luxon): Use
DateTime.isDateTime
instead ofinstanceof
by @alex-kuck in #639 - Unfiy behavior across adapter in invalid scenarios @dmtrKovalenko in #650
- Improve typescript typing and support @dmtrKovalenko in #650
New Contributors
- @LukasTy made their first contribution in #645
- @alex-kuck made their first contribution in #639
Full Changelog: v2.16.1...v2.17.0
v2.16.1
Fixes
- Do not error when the second argument does not have a time part by @dspiteself in #628
- [moment] use this.locale when specified by @alexfauquette in #630
- [luxon] fix: use the day of the month instead of a day of week in keyboard format by @alexfauquette in #632
- Add peer dependency support for Luxon 3 by @trevorr in #629
New Contributors
Full Changelog: v2.16.0...v2.16.1
v2.16.0
What's Changed
- feat: new methods
setDate
/getDate
by @flaviendelangle in #625
Full Changelog: v2.15.0...v2.16.0
v2.15.0
What's Changed
- feat: New method
addYears
by @flaviendelangle in #623 - chore(deps-dev): bump moment from 2.29.1 to 2.29.4 by @dependabot in #622
Full Changelog: v2.14.0...v2.15.0
v2.14.0
What's Changed
- feat: New methods
startOfYear
andendOfYear
by @flaviendelangle in #614 - Remove useless date clone in dayjs adapter by @flaviendelangle in #615
New Collaborator
- Welcome @flaviendelangle as a collaborator on this project!
Full Changelog: v2.13.2...v2.14.0
v2.13.2
What's Changed
- Fix typo in doc by @alexfauquette in #612
- Fix incorrect date validation from dayjs by @RCout1nho in #608
New Contributors
- @alexfauquette made their first contribution in #612
- @RCout1nho made their first contribution in #608
Full Changelog: v2.13.1...v2.13.2
v2.13.0
Features
- Allow to extend on-the-flight
TDate
type by @selenehyun in #603
Fixes/Improvements
- chore(docs): Fix lerna bage URL by @t-knapp in #591
- fix: Typing when strictNullChecks: true by @megos in #600
- chore: Simplify Luxom adders by @clytras in #597
- chore: Update deps by @dmtrKovalenko in #604
New Contributors
- @t-knapp made their first contribution in #591
- @selenehyun made their first contribution in #603
- @megos made their first contribution in #600
- @clytras made their first contribution in #597
Full Changelog: v2.12.1...v2.13.0