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.0 -> 10.0.3 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.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 965b89d
Status ✅ Deployed!
Preview URL https://6733a537.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 from 2a0090f to 6c6aac3 Compare September 16, 2024 03:49
@renovate renovate bot changed the title chore(deps): update dependency vue-i18n to v10 chore(deps): update npm (runtime) (major) Sep 16, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from 6c6aac3 to f629f71 Compare September 17, 2024 08:07
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from f629f71 to 1e90ce4 Compare September 18, 2024 08:45
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from 1e90ce4 to fade26c Compare September 18, 2024 09:32
@jellyfin-bot jellyfin-bot added the merge conflict Something has merge conflicts label Sep 18, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from fade26c to dfd4a46 Compare September 18, 2024 09:45
@jellyfin-bot jellyfin-bot removed the merge conflict Something has merge conflicts label Sep 18, 2024
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from dfd4a46 to e61fd7e Compare September 18, 2024 12:48
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from e61fd7e to 9f2db1d Compare September 19, 2024 17:17
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from 9f2db1d to f4a6208 Compare September 20, 2024 09:25
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from f4a6208 to 81a9124 Compare September 20, 2024 10:53
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from 81a9124 to cf684b3 Compare September 20, 2024 14:33
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from cf684b3 to 3fa69ba Compare September 21, 2024 22:15
@renovate renovate bot force-pushed the renovate/major-npm-(runtime) branch from 3fa69ba to 965b89d Compare September 22, 2024 13:16
Copy link

sonarcloud bot commented Sep 22, 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