jellyfin / jellyfin-expo

Jellyfin Mobile for iOS
https://jellyfin.org
Mozilla Public License 2.0
288 stars 64 forks source link

Update React (major) #456

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 10 months ago

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-i18next 11.18.6 -> 13.3.2 age adoption passing confidence
react-native-url-polyfill 1.3.0 -> 2.0.0 age adoption passing confidence

Release Notes

i18next/react-i18next (react-i18next) ### [`v13.3.2`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1332) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.3.1...v13.3.2) - types: fix consider importing '\*.js' ### [`v13.3.1`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1331) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.3.0...v13.3.1) - optimize defaultVariables feature introduced in last release ### [`v13.3.0`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1330) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.2.2...v13.3.0) - Respect defaultVariables in the interpolation options [1685](https://togithub.com/i18next/react-i18next/issues/1685) ### [`v13.2.2`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1322) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.2.1...v13.2.2) - Fix missing TransWithoutContext type [1672](https://togithub.com/i18next/react-i18next/pull/1672) ### [`v13.2.1`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1321) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.2.0...v13.2.1) - types: Allow iterable ReactI18NextChildren as children [1669](https://togithub.com/i18next/react-i18next/pull/1669) ### [`v13.2.0`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1320) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.1.2...v13.2.0) - Don't use defaults prop as default key [1664](https://togithub.com/i18next/react-i18next/pull/1664) ### [`v13.1.2`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1312) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.1.1...v13.1.2) - postpone usage of newer ES syntax ### [`v13.1.1`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1311) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.1.0...v13.1.1) - Render all children regardless of type when using i18nIsDynamicList prop [1661](https://togithub.com/i18next/react-i18next/pull/1661) ### [`v13.1.0`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1310) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.0.3...v13.1.0) - Fix non-list dynamic content in Trans component [1660](https://togithub.com/i18next/react-i18next/pull/1660) ### [`v13.0.3`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1303) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.0.2...v13.0.3) - fix unescape is not consistently called for all values [1657](https://togithub.com/i18next/react-i18next/issues/1657) ### [`v13.0.2`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1302) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.0.1...v13.0.2) - export icu.macro [1652](https://togithub.com/i18next/react-i18next/issues/1652) ### [`v13.0.1`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1301) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v13.0.0...v13.0.1) - types: Fix performance issue in Trans component [1646](https://togithub.com/i18next/react-i18next/pull/1646) ### [`v13.0.0`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1300) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.3.1...v13.0.0) - Update types to support t function redesign [1615](https://togithub.com/i18next/react-i18next/pull/1615) - requires i18next >= v23.0.1 ### [`v12.3.1`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1231) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.3.0...v12.3.1) - optimization for optional lng prop for useTranslation, should now prevent missings when lazy loading translations [1637](https://togithub.com/i18next/react-i18next/issues/1637) ### [`v12.3.0`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1230) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.2.2...v12.3.0) - optional lng prop for useTranslation (helping on server side [1637](https://togithub.com/i18next/react-i18next/issues/1637)) ### [`v12.2.2`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1222) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.2.1...v12.2.2) - try to fix conditional exports in package.json ### [`v12.2.1`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1221) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.2.0...v12.2.1) - type fix: the type of defaultNS in I18nextProvider should support string\[] [1633](https://togithub.com/i18next/react-i18next/pull/1633) ### [`v12.2.0`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1220) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.1.5...v12.2.0) - if defaultValue is passed in not ready t functio (via useTranslation) return that instead of the key, even though the user-land could should be fixed [1618](https://togithub.com/i18next/react-i18next/issues/1618) ### [`v12.1.5`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1215) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.1.4...v12.1.5) - fix react merged types [1606](https://togithub.com/i18next/react-i18next/pull/1606) originally introduced with [#​1531](https://togithub.com/i18next/react-i18next/issues/1531) to address [#​1506](https://togithub.com/i18next/react-i18next/issues/1506) ### [`v12.1.4`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1214) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.1.3...v12.1.4) - fix crash in gatsby [1594](https://togithub.com/i18next/react-i18next/issues/1594) ### [`v12.1.3`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1213) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.1.2...v12.1.3) - fix fallback of t function in Trans component ### [`v12.1.2`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1212) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.1.1...v12.1.2) - fix crash in gatsby [1594](https://togithub.com/i18next/react-i18next/issues/1594) ### [`v12.1.1`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1211) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.1.0...v12.1.1) - fix for node resolution [1589](https://togithub.com/i18next/react-i18next/issues/1589) ### [`v12.1.0`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1210) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v12.0.0...v12.1.0) - context-less version of Trans component to be used for environments without react context [1588](https://togithub.com/i18next/react-i18next/pull/1588) ### [`v12.0.0`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1200) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v11.18.6...v12.0.0) - Update t function types to rely on types coming from i18next [1501](https://togithub.com/i18next/react-i18next/pull/1501)
charpeni/react-native-url-polyfill (react-native-url-polyfill) ### [`v2.0.0`](https://togithub.com/charpeni/react-native-url-polyfill/releases/tag/v2.0.0) [Compare Source](https://togithub.com/charpeni/react-native-url-polyfill/compare/v1.3.0...v2.0.0) #### Highlights > ⚠️ It was released as a major version because it contains significant changes, but we don't expect any breaking changes. The upgrade should be seamless. ##### Official support for Expo & web. We're now testing `react-native-url-polyfill` against latest versions of Expo to prevent any issues. Also, previously, relying on `react-native-url-polyfill/auto` would also apply the polyfill if executed on the web (e.g., via `react-native-web`). Starting from now, `react-native-url-polyfill/auto` won't apply on the web platform and will be a no-op. If you would like to still apply it on web, you'll need to rely on `setupPolyfill` directly as such: ```js import { setupURLPolyfill } from 'react-native-url-polyfill'; setupURLPolyfill(); ``` ##### Moving away from React Native's internals To better support different versions of React Native and web usages, we moved away from using `polyfillGlobal`, which is part of React Native's internals. Instead, we use `globalThis`. See [https://github.com/charpeni/react-native-url-polyfill/pull/373](https://togithub.com/charpeni/react-native-url-polyfill/pull/373) and [https://github.com/charpeni/react-native-url-polyfill/pull/413](https://togithub.com/charpeni/react-native-url-polyfill/pull/413). #### What's Changed - Remove usage of RN's polyfillGlobal by [@​charpeni](https://togithub.com/charpeni) in [https://github.com/charpeni/react-native-url-polyfill/pull/373](https://togithub.com/charpeni/react-native-url-polyfill/pull/373) - Fix a phrasing issue in README by [@​plbrault](https://togithub.com/plbrault) in [https://github.com/charpeni/react-native-url-polyfill/pull/442](https://togithub.com/charpeni/react-native-url-polyfill/pull/442) - Add test for Expo 48 by [@​charpeni](https://togithub.com/charpeni) in [https://github.com/charpeni/react-native-url-polyfill/pull/453](https://togithub.com/charpeni/react-native-url-polyfill/pull/453) - Use globalThis instead of global in auto.js by [@​staltz](https://togithub.com/staltz) in [https://github.com/charpeni/react-native-url-polyfill/pull/413](https://togithub.com/charpeni/react-native-url-polyfill/pull/413) - Fix Typescript error by [@​raykle](https://togithub.com/raykle) in [https://github.com/charpeni/react-native-url-polyfill/pull/444](https://togithub.com/charpeni/react-native-url-polyfill/pull/444) - Add `bundle-size` script by [@​charpeni](https://togithub.com/charpeni) in [https://github.com/charpeni/react-native-url-polyfill/pull/455](https://togithub.com/charpeni/react-native-url-polyfill/pull/455) - Don't auto polyfill on web by [@​charpeni](https://togithub.com/charpeni) in [https://github.com/charpeni/react-native-url-polyfill/pull/456](https://togithub.com/charpeni/react-native-url-polyfill/pull/456) - Only default export is available soon by [@​charpeni](https://togithub.com/charpeni) in [https://github.com/charpeni/react-native-url-polyfill/pull/458](https://togithub.com/charpeni/react-native-url-polyfill/pull/458) #### New Contributors - [@​plbrault](https://togithub.com/plbrault) made their first contribution in [https://github.com/charpeni/react-native-url-polyfill/pull/442](https://togithub.com/charpeni/react-native-url-polyfill/pull/442) - [@​staltz](https://togithub.com/staltz) made their first contribution in [https://github.com/charpeni/react-native-url-polyfill/pull/413](https://togithub.com/charpeni/react-native-url-polyfill/pull/413) - [@​raykle](https://togithub.com/raykle) made their first contribution in [https://github.com/charpeni/react-native-url-polyfill/pull/444](https://togithub.com/charpeni/react-native-url-polyfill/pull/444) **Full Changelog**: https://github.com/charpeni/react-native-url-polyfill/compare/v1.3.0...v2.0.0

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 becomes conflicted, or you tick the rebase/retry checkbox.

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



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

renovate[bot] commented 10 months ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package-lock.json
npm WARN cli npm v10.2.4 does not support Node.js v16.20.2. This version of npm supports the following node versions: `^18.17.0 || >=20.5.0`. You can find the latest version at https://nodejs.org/.
npm WARN cli npm v10.2.4 does not support Node.js v16.20.2. This version of npm supports the following node versions: `^18.17.0 || >=20.5.0`. You can find the latest version at https://nodejs.org/.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: i18next@21.10.0
npm ERR! node_modules/i18next
npm ERR!   i18next@"21.10.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer i18next@">= 23.2.3" from react-i18next@13.3.2
npm ERR! node_modules/react-i18next
npm ERR!   react-i18next@"13.3.2" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /tmp/worker/806588/1b8f24/cache/others/npm/_logs/2023-11-17T16_34_59_123Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/worker/806588/1b8f24/cache/others/npm/_logs/2023-11-17T16_34_59_123Z-debug-0.log
sonarcloud[bot] commented 10 months ago

Kudos, SonarCloud Quality Gate passed!    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
0.0% 0.0% Duplication

sonarcloud[bot] commented 7 months ago

Kudos, SonarCloud Quality Gate passed!    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
0.0% 0.0% Duplication