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

Update production-dependencies #859

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 20, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@reduxjs/toolkit (source) 2.3.0 -> 2.4.0 age adoption passing confidence
i18next-browser-languagedetector 8.0.0 -> 8.0.2 age adoption passing confidence
i18next-http-backend 2.6.2 -> 2.7.1 age adoption passing confidence

Release Notes

reduxjs/redux-toolkit (@​reduxjs/toolkit)

v2.4.0

Compare Source

This feature release includes multiple tweaks and fixes to RTK Query functionality, additional exported TS types, and drops support for TS versions earlier than 5.0.

Changelog

RTK Query Improvements

Lazy query hooks can now be reset.

retry.fail now accepts meta as a second argument.

Tag invalidation arrays now ignore nullish values.

We did some small internal refactoring around Maps and default values that shrank bundle size slightly.

Bugfixes

Passing skipToken to a query hook now bails out before running any other logic, which fixes cases where serializeQueryArgs previously threw an error because there were no args to process.

The autoBatchEnhancer now reads window.requestAnimationFrame later, which it to work properly with Jest fake timers.

We fixed cases where the hook result isSuccess flag would briefly flicker to false when switched to a different cache entry that was uninitialized, and would briefly flicker to true when refetching a query that previously errored.

The listener middleware previously had inconsistent logic checks for comparing against existing listener entries (effect + type, vs effect only). It now always checks both effect + type.

Additional TS Types

We now export Typed[Query|Mutation]OnQueryStarted helpers to let you define onQueryStarted callbacks outside of createApi if desired.

We also now export a CreateAsyncThunkFunction type that can be used to type userland wrappers around createAsyncThunk.

TS Support Matrix Updates

We've historically tried to maintain TS backwards compatibility as long as possible, and made occasional updates to our TS support matrix in minor versions over time. As of RTK 2.3.0, we officially supported back through TS 4.7.

As of this release, we're tweaking that support policy to match the policy used by DefinitelyTyped:

Definitely Typed only tests packages on versions of TypeScript that are less than 2 years old
image

Given that, we've dropped official support for TS versions earlier than 5.0. (RTK may work with those versions, but we no longer test against them and won't try to fix issues with those versions.)

We'll continue to update our TS support matrix over time based on that 2-year rolling window.

What's Changed

Full Changelog: reduxjs/redux-toolkit@v2.3.0...v2.4.0

i18next/i18next-browser-languageDetector (i18next-browser-languagedetector)

v8.0.2

Compare Source

  • fix for when passed services are null, should address 296

v8.0.1

Compare Source

  • some environments, throws when accessing document.cookie
i18next/i18next-http-backend (i18next-http-backend)

v2.7.1

Compare Source

  • same as 2.6.2

v2.7.0

Compare Source

  • deprecated, same as v3.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.


  • 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 requested a review from a team as a code owner November 20, 2024 13:52
Copy link

changeset-bot bot commented Nov 20, 2024

⚠️ No Changeset found

Latest commit: 3ed7364

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/production-dependencies branch from 0c2f1bd to b69d9d2 Compare November 21, 2024 11:29
@renovate renovate bot changed the title Update dependency i18next-http-backend to v2.7.0 Update dependency i18next-http-backend to v2.7.1 Nov 21, 2024
@renovate renovate bot force-pushed the renovate/production-dependencies branch 4 times, most recently from 96b930c to 99f5ba5 Compare November 28, 2024 12:20
@renovate renovate bot changed the title Update dependency i18next-http-backend to v2.7.1 Update production-dependencies Nov 28, 2024
@renovate renovate bot force-pushed the renovate/production-dependencies branch from 99f5ba5 to 724864d Compare November 28, 2024 22:17
@renovate renovate bot force-pushed the renovate/production-dependencies branch 9 times, most recently from db726a2 to f2dfcc6 Compare December 9, 2024 09:51
@renovate renovate bot force-pushed the renovate/production-dependencies branch from f2dfcc6 to 3ed7364 Compare December 9, 2024 09:53
Copy link
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with the example widget ✔️

@weeman1337 weeman1337 enabled auto-merge (rebase) December 9, 2024 09:54
@weeman1337 weeman1337 merged commit 9155a08 into main Dec 9, 2024
4 checks passed
@weeman1337 weeman1337 deleted the renovate/production-dependencies branch December 9, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant