Skip to content
This repository was archived by the owner on Sep 29, 2021. It is now read-only.

Update dependency @date-io/date-fns to v2#33

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-date-io-monorepo
Closed

Update dependency @date-io/date-fns to v2#33
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-date-io-monorepo

Conversation

@renovate
Copy link

@renovate renovate bot commented Apr 6, 2021

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

dmtrKovalenko/date-io

v2.10.8

Compare Source

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.

We apologize 🙏 for this publishing issues causing 2.10.0-2.10.5 releases. If you installed any of these versions please update to the latest, those builds are broken and deprecated on npm.

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.0

Compare Source

Features

v2.9.2

Compare Source

v2.9.1

Compare Source

v2.8.1

Compare Source

Features

  • Add lib name to the adapter interface

Fixes

  • Remove prettier import, closes #​442
  • [Luxon] Properly apply locale for parsed and created date (#​443)
  • A lot of dependency updates

v2.8.0

Compare Source

v2.6.2

Compare Source

v2.6.1

Compare Source

Breaking changes

N/A

Fixes

v2.6.0

Compare Source

Breaking changes

N/A

Features

  • Introduce new getFormatHelperText method (#​340)

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 week
  • endOfWeek(date: TDate): TDate - returns end of week

v2.3.0

Compare Source

Changes

  • Add new toJsDate function converting lib object to native js date

v2.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:

  • is12HourCycleInCurrentLocale(): boolean - determine is 12 hours cycle and ampm used in current locale
  • getCurrentLocaleCode - get locale code

v2.1.0

Compare Source

v2.0.1

Compare Source

v2.0.0

Compare Source

Major upgrade

Do not update if you are using @​material-ui/pickers v3

Breaking changes
  • Remove all static format fields like dateTimeFormat
  • Introduce new object for cross utils formatting. It is overridable via constructor formats prop and provides easy localization formatting
export interface DateIOFormats {
  /** Full date, useful for accessibility @​example "2019, January 1st" */
  fullDate: string;
  /** Day format string extremely required to localize @​example "Wed, Jan 1st" for US, "January 1st" for Europe */
  normalDate: string;
  /** Shorter day format @​example "Jan 1st" */
  shortDate: string;
  /** Year format string @​example "2019" */
  year: string;
  /** Month format string @​example "January" */
  month: string;
  /** Short month format string @​example "Jan" */
  monthShort: string;
  /** Short month format string @​example "January 2018" */
  monthAndYear: string;
  /** Month with date format string @​example "January 1st" */
  monthAndDate: string;
  /** Day format string @​example "12" */
  dayOfMonth: string;
  /** Full time format string @​example "11:44 PM" */
  fullTime12h: string;
  /** Full time format string @​example "23:59" */
  fullTime24h: string;
  /** Hours format string @​example "11" */
  hours12h: string;
  /** Hours format string @​example "23" */
  hours24h: string;
  /** Minutes format string @​example "59" */
  minutes: string;
  /** Seconds format string @​example "59" */
  seconds: string;
  /** Date & Time format string @​example "2018, Jan 1st 11:44 PM" */
  fullDateTime12h: string;
  /** Date & Time format string @​example "2018, Jan 1st 23:44" */
  fullDateTime24h: string;
  /** Keyboard input friendly date format @​example "2019/01/01" */
  keyboardDate: string;
  /** Keyboard input friendly date/time 12h format @​example "2019/01/01 23:44" */
  keyboardDateTime12h: string;
  /** Keyboard input friendly date/time 24h format @​example "2019/01/01 11:44 PM" */
  keyboardDateTime24h: string;
}
  • format method now has signature (date: TDate, formatKey: keyof IDateIOFormat) => string in order to simplify formatting using new format keys
  • formatByString allowes to use custom (mostly user-provided) format strings formatByString(value: TDate, formatString: string): string;

Configuration

📅 Schedule: 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 this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the renovate label Apr 6, 2021
@vercel
Copy link

vercel bot commented Apr 6, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/echokarriere/frontend/EFaebrkQ3rvUuMXdUPW8w8UQi2mT
✅ Preview: https://frontend-git-renovate-major-date-io-monorepo-echokarriere.vercel.app

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 6, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sondr3 sondr3 closed this Apr 6, 2021
@sondr3 sondr3 deleted the renovate/major-date-io-monorepo branch April 6, 2021 19:10
@renovate
Copy link
Author

renovate bot commented Apr 6, 2021

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 2.x releases. However, if you upgrade to 2.x manually then Renovate will then reenable updates for minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants