ral-facilities / datagateway

DataGateway is a portal that supports discovery and access large science facilities data. It is developed as a plugin for SciGateway
Apache License 2.0
9 stars 5 forks source link

Update dependency @date-io/date-fns to v3 #1632

Open renovate[bot] opened 8 months ago

renovate[bot] commented 8 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@date-io/date-fns 2.17.0 -> 3.0.0 age adoption passing confidence

Release Notes

dmtrKovalenko/date-io (@​date-io/date-fns) ### [`v3.0.0`](https://togithub.com/dmtrKovalenko/date-io/releases/tag/v3.0.0) [Compare Source](https://togithub.com/dmtrKovalenko/date-io/compare/v2.17.0...v3.0.0) #### Breaking changes: - chore(deps): bump date-fns to v3 by [@​frsimond](https://togithub.com/frsimond) in [https://github.com/dmtrKovalenko/date-io/pull/656](https://togithub.com/dmtrKovalenko/date-io/pull/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](https://togithub.com/dmtrKovalenko) in [https://github.com/dmtrKovalenko/date-io/pull/657](https://togithub.com/dmtrKovalenko/date-io/pull/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](https://togithub.com/dmtrKovalenko) in [https://github.com/dmtrKovalenko/date-io/pull/658](https://togithub.com/dmtrKovalenko/date-io/pull/658) Changed signature of `Utils.date` and the underlying logic. Now if the value can't be parsed returns current date instead of `null`. #### Other changes - fix(js-jods): Proper support for date-only and time-only in mergeDateAndTime method by [@​joshkel](https://togithub.com/joshkel) in [https://github.com/dmtrKovalenko/date-io/pull/653](https://togithub.com/dmtrKovalenko/date-io/pull/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 - [@​frsimond](https://togithub.com/frsimond) made their first contribution in [https://github.com/dmtrKovalenko/date-io/pull/656](https://togithub.com/dmtrKovalenko/date-io/pull/656) - [@​joshkel](https://togithub.com/joshkel) made their first contribution in [https://github.com/dmtrKovalenko/date-io/pull/653](https://togithub.com/dmtrKovalenko/date-io/pull/653) **Full Changelog**: https://github.com/dmtrKovalenko/date-io/compare/v2.17.0...v3.0.0

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e4dd5bc) 96.16% compared to head (8e1a685) 96.16%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1632 +/- ## ======================================== Coverage 96.16% 96.16% ======================================== Files 170 170 Lines 7485 7485 Branches 2378 2378 ======================================== Hits 7198 7198 Misses 266 266 Partials 21 21 ``` | [Flag](https://app.codecov.io/gh/ral-facilities/datagateway/pull/1632/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ral-facilities) | Coverage Δ | | |---|---|---| | [common](https://app.codecov.io/gh/ral-facilities/datagateway/pull/1632/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ral-facilities) | `95.61% <ø> (ø)` | | | [dataview](https://app.codecov.io/gh/ral-facilities/datagateway/pull/1632/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ral-facilities) | `96.95% <ø> (ø)` | | | [download](https://app.codecov.io/gh/ral-facilities/datagateway/pull/1632/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ral-facilities) | `95.83% <ø> (ø)` | | | [search](https://app.codecov.io/gh/ral-facilities/datagateway/pull/1632/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ral-facilities) | `96.47% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ral-facilities#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

louise-davies commented 8 months ago

Should wait for date-fns v3 I think