jellyfin-vue
jellyfin-vue copied to clipboard
chore(deps): update npm (runtime) (major)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| date-fns | 3.6.0 -> 4.1.0 |
||
| vue-i18n (source) | 9.14.1 -> 10.0.4 |
Release Notes
date-fns/date-fns (date-fns)
v4.1.0
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
constructFromthrowing an exception onnullarguments. Whilenullisn't allowed, the functions should rather returnInvalid DateorNaNin such cases. See #3885.
Added
- Added missing time zone support to
format,formatISO,formatISO9075,formatRelativeandformatRFC3339. See #3886.
v4.0.0
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.
Added
-
Added time zones support via
@date-fns/tz'sTZDateclass andtzhelper function. See its README for the details about the API. -
All relevant functions now accept the context
inoption, 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,
addDayswill get the current date and time in Singapore and add 5 days to it.startOfDaywill inherit the date type and return the start of the day in Singapore.
Changed
-
The function arguments, as well as
Interval'sstartandend, now can be of different types, allowing you to mixUTCDate,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
inoption or the first encountered argument object type. TheInterval'sstartandendwill be considered separately, starting fromstart.In the given example, the result will be in the
TZDateas the first argument is a number, and thestarttakes precedence over theend.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
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: cannot resolve empty string on plural by @kazupon in https://github.com/intlify/vue-i18n/pull/1985
📝️ Documentations
- Add petite-vue-i18n package to README by @vikingair in https://github.com/intlify/vue-i18n/pull/1971
New Contributors
- @vikingair made their first contribution in https://github.com/intlify/vue-i18n/pull/1971
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.3...v10.0.4
v10.0.3
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix(petite-vue-i18n): cannot register correctly message resolver and locale fallbacker by @kazupon in https://github.com/intlify/vue-i18n/pull/1967
📝️ Documentations
- docs: add unplugin-vue-i18n setting for petite-vue-i18n by @kazupon in https://github.com/intlify/vue-i18n/pull/1968
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.2...v10.0.3
v10.0.2
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- fix: revert #1379 by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1953
- fix: messages
deepCopymutatessrcarguments by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1947
📝️ Documentations
- docs: add team members by @kazupon in https://github.com/intlify/vue-i18n/pull/1951
- docs: add how to use shared locale messages on composition api by @kazupon in https://github.com/intlify/vue-i18n/pull/1964
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.1...v10.0.2
v10.0.1
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: petite-vue-i18n type errors by @TPORL in https://github.com/intlify/vue-i18n/pull/1945
New Contributors
- @TPORL made their first contribution in https://github.com/intlify/vue-i18n/pull/1945
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0...v10.0.1
v10.0.0
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.
Cloudflare Pages deployment
| Latest commit | c64c657 |
|---|---|
| Status | ✅ Deployed! |
| Preview URL | https://5835dea9.jf-vue.pages.dev |
| Preview alias | https://renovate-major-npm--runtime.jf-vue.pages.dev |
| Type | 🔀 Preview |
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code