fix(deps): update date-io monorepo to v3 (major) #1164
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.3.13
->^3.0.0
1.x
->3.x
^1.3.13
->^3.0.0
Release Notes
dmtrKovalenko/date-io (@date-io/core)
v3.0.0
Compare Source
Breaking changes:
This involves peer lib version upgrade please make sure that some underlying localised formats might be changed as well
The type inference that doesn't work with modern typescript was removed. Please make sure to upgrade typescript to v5
Changed signature of
Utils.date
and the underlying logic. Now if the value can't be parsed returns current date instead ofnull
.Other changes
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: dmtrKovalenko/date-io@v2.17.0...v3.0.0
v2.17.0
Compare Source
New features
What's Changed
ES6
by @LukasTy in https://github.com/dmtrKovalenko/date-io/pull/645DateTime.isDateTime
instead ofinstanceof
by @alex-kuck in https://github.com/dmtrKovalenko/date-io/pull/639New Contributors
Full Changelog: dmtrKovalenko/date-io@v2.16.1...v2.17.0
v2.16.0
Compare Source
What's Changed
setDate
/getDate
by @flaviendelangle in https://github.com/dmtrKovalenko/date-io/pull/625Full Changelog: dmtrKovalenko/date-io@v2.15.0...v2.16.0
v2.15.0
Compare Source
What's Changed
addYears
by @flaviendelangle in https://github.com/dmtrKovalenko/date-io/pull/623Full Changelog: dmtrKovalenko/date-io@v2.14.0...v2.15.0
v2.14.0
Compare Source
What's Changed
startOfYear
andendOfYear
by @flaviendelangle in https://github.com/dmtrKovalenko/date-io/pull/614New Collaborator
Full Changelog: dmtrKovalenko/date-io@v2.13.2...v2.14.0
v2.13.2
Compare Source
What's Changed
New Contributors
Full Changelog: dmtrKovalenko/date-io@v2.13.1...v2.13.2
v2.13.1
Compare Source
v2.11.0
Compare Source
Features
parseISO
– will parse date using library method to avoid inconsistencies between browserstoISO
– will format date to iso string using libraryFixes/Enhancements
dayjs
v2.10.11
Compare Source
Changelog
DayJsAdapter<Dayjs>
v2.10.7
Compare Source
Changelog
Some bugfixes and dependency updates:
v2.10.6
Compare Source
This release is finally fixing the problem of outdated builds of published
date-io/*
releases.From now on versions of
@date-io/*
will always be synchronized with@date-io/core
package and will never cause version conflict or be outdated.v2.10.5
Compare Source
v2.10.4
Compare Source
v2.10.2
Compare Source
v2.10.1
Compare Source
v2.10.0
Compare Source
Features
v2.9.2
Compare Source
v2.9.0
: 2.9.0Compare Source
Features
getDaysInMonth
methodv2.8.1
Compare Source
Features
lib
name to the adapter interfaceFixes
v2.8.0
Compare Source
v2.7.0
Compare Source
Features 🎉
Fixes 🐛 | Enhancements 🧇
v2.6.0
Compare Source
Breaking changes
N/A
Features
Fixes
v2.5.0
Compare Source
Breaking changes
N/A
Features
New functions:
isWithinRange: (date: TDate, range: [TDate, TDate]) => boolean
addMonths: (date: TDate, monthCount: number) => TDate
v2.4.0
Compare Source
Add 2 new functions:
startOfWeek(date: TDate): TDate
- returns start of weekendOfWeek(date: TDate): TDate
- returns end of weekv2.3.0
Compare Source
Changes
toJsDate
function converting lib object to native js datev2.2.0
Compare Source
Localization improvements release
We have changed the formats tokens to use localized formats tokens everywhere possible. Also introduced several new methods and formats
List of new methods added:
v2.1.0
Compare Source
v2.0.0
Compare Source
Major upgrade
Do not update if you are using @material-ui/pickers v3
Breaking changes
dateTimeFormat
formats
prop and provides easy localization formattingformat
method now has signature(date: TDate, formatKey: keyof IDateIOFormat) => string
in order to simplify formatting using new format keysformatByString
allowes to use custom (mostly user-provided) format stringsformatByString(value: TDate, formatString: string): string;
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.