Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update npm (runtime) (major) #2457

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 10, 2024

This PR contains the following updates:

Package Change Age Confidence
date-fns 3.6.0 -> 4.1.0 age confidence
vue-i18n (source) 9.14.1 -> 10.0.4 age confidence

Release Notes

date-fns/date-fns (date-fns)

v4.1.0

Compare Source

This release adds time zone support to format functions (that I somehow missed when working on the feature) and fixes a few bugs.

Make sure also upgrade TZDate to v1.0.2 as it includes a bunch of critical bug fixes.

Fixed
  • Fixed internal constructFrom throwing an exception on null arguments. While null isn't allowed, the functions should rather return Invalid Date or NaN in such cases. See #​3885.
Added
  • Added missing time zone support to format, formatISO, formatISO9075, formatRelative and formatRFC3339. See #​3886.

v4.0.0

Compare Source

I have great news! First, ten years after its release, date-fns finally gets first-class time zone support.

Another great news is that there aren't many breaking changes in this release. All of them are type-related and will affect only those explicitly using internal date-fns types. Finally, it has been less than a year since the last major release, which is an improvement over the previous four years between v2 and v3. I plan on keeping the pace and minimizing breaking changes moving forward.

Read more about the release in the announcement blog post.

- Sasha @​kossnocorp

Added
  • Added time zones support via @date-fns/tz's TZDate class and tz helper function. See its README for the details about the API.

  • All relevant functions now accept the context in option, which allows to specify the time zone to make the calculations in. If the function also returns a date, it will be in the specified time zone:

    import { addDays, startOfDay } from "date-fns";
    import { tz } from "@​date-fns/tz";
    
    startOfDay(addDays(Date.now(), 5, { in: tz("Asia/Singapore") }));
    //=> "2024-09-16T00:00:00.000+08:00"

    In the example, addDays will get the current date and time in Singapore and add 5 days to it. startOfDay will inherit the date type and return the start of the day in Singapore.

Changed
  • The function arguments, as well as Interval's start and end, now can be of different types, allowing you to mix UTCDate, TZDate, Date, and other extensions, as well as primitives (strings and numbers).

    The functions will normalize these values, make calculations, and return the result in the same type, preventing any bugs caused by the discrepancy. If passed, the type will be inferred from the context in option or the first encountered argument object type. The Interval's start and end will be considered separately, starting from start.

    In the given example, the result will be in the TZDate as the first argument is a number, and the start takes precedence over the end.

    clamp(Date.now(), {
      start: new TZDate(start, "Asia/Singapore"),
      end: new UTCDate(),
    });
    //=> TZDate
  • BREAKING: This release contains a bunch of types changes that should not affect the library's expected usage. The changes are primarily internal and nuanced, so rather than listing them here, I recommend you running the type checker after the upgrade. If there are unfixable problems, please open an issue.

  • BREAKING: The package now is ESM-first. The CommonJS is still support and It should not affect most users, but it might break in certains environments. If you encounter any issues, please report them.

Fixed
  • Fixed CDN build compatibility with jQuery and other tools that expose $ by properly wrapping the code in an IIFE.
intlify/vue-i18n (vue-i18n)

v10.0.4

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes
📝️ Documentations

New Contributors

Full Changelog: intlify/vue-i18n@v10.0.3...v10.0.4

v10.0.3

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes
📝️ Documentations

Full Changelog: intlify/vue-i18n@v10.0.2...v10.0.3

v10.0.2

Compare Source

This changelog is generated by GitHub Releases

What's Changed

⚡ Improvement Features
📝️ Documentations

Full Changelog: intlify/vue-i18n@v10.0.1...v10.0.2

v10.0.1

Compare Source

This changelog is generated by GitHub Releases

What's Changed

🐛 Bug Fixes

New Contributors

Full Changelog: intlify/vue-i18n@v10.0.0...v10.0.1

v10.0.0

Compare Source

We are excited to announce the release of Vue I18n v10.
We had many contributors.

Thanks for your contributing ❤️


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 10, 2024
@jellyfin-bot
Copy link

jellyfin-bot commented Sep 10, 2024

Cloudflare Pages deployment

Latest commit 1deb705
Status ✅ Deployed!
Preview URL https://005072fe.jf-vue.pages.dev
Type 🔀 Preview

View build logs

@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from ef06455 to f0fa6a8 Compare September 10, 2024 07:05
@jellyfin-bot jellyfin-bot added the merge conflict Something has merge conflicts label Sep 10, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from f0fa6a8 to a5c3326 Compare September 10, 2024 19:18
@jellyfin-bot jellyfin-bot removed the merge conflict Something has merge conflicts label Sep 11, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from a5c3326 to ae3cbf9 Compare September 11, 2024 23:54
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from ae3cbf9 to f460837 Compare September 12, 2024 01:34
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from f460837 to d1be430 Compare September 12, 2024 01:55
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from d1be430 to 697387e Compare September 12, 2024 06:44
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from 697387e to 602a6bf Compare September 12, 2024 07:34
@jellyfin-bot jellyfin-bot added the merge conflict Something has merge conflicts label Sep 13, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from 602a6bf to bb8f9ff Compare September 13, 2024 16:26
@jellyfin-bot jellyfin-bot removed the merge conflict Something has merge conflicts label Sep 13, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from bb8f9ff to e62f990 Compare September 14, 2024 16:35
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from e62f990 to 2a0090f Compare September 15, 2024 19:11
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch 2 times, most recently from 34a160f to 664078b Compare October 6, 2024 10:04
@renovate renovate bot changed the title chore(deps): update dependency date-fns to v4 chore(deps): update npm (runtime) (major) Oct 6, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch 4 times, most recently from 08cb398 to 14103b2 Compare October 14, 2024 10:29
@jellyfin-bot jellyfin-bot added the merge conflict Something has merge conflicts label Oct 14, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from 14103b2 to 9dd2089 Compare October 14, 2024 10:39
@jellyfin-bot jellyfin-bot removed the merge conflict Something has merge conflicts label Oct 14, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch 2 times, most recently from 501f3d3 to 00d80e4 Compare October 14, 2024 11:08
@jellyfin-bot jellyfin-bot added the merge conflict Something has merge conflicts label Oct 14, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from 00d80e4 to f51df3f Compare October 14, 2024 11:27
@jellyfin-bot jellyfin-bot removed the merge conflict Something has merge conflicts label Oct 14, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from f51df3f to 0f6bdae Compare October 14, 2024 13:12
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from 0f6bdae to b49f0cd Compare October 14, 2024 14:04
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from b49f0cd to de9011f Compare October 16, 2024 10:30
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from de9011f to 1deb705 Compare October 19, 2024 18:32
Copy link

sonarcloud bot commented Oct 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

3 participants