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 react (major) #998

Merged
merged 4 commits into from
Jan 5, 2025
Merged

chore(deps): update react (major) #998

merged 4 commits into from
Jan 5, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 8, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/react-hooks ^4.0.1 -> ^8.0.0 age adoption passing confidence
@types/react (source) ^18.0.0 -> ^19.0.0 age adoption passing confidence
react (source) ^16.0.0 || ^17.0.0 || ^18.0.0 -> ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 age adoption passing confidence
react (source) ^18.0.0 -> ^19.0.0 age adoption passing confidence
react-test-renderer (source) ^18.0.0 -> ^19.0.0 age adoption passing confidence

Release Notes

testing-library/react-hooks-testing-library (@​testing-library/react-hooks)

v8.0.1

Compare Source

Bug Fixes
  • server: remove act around server renderer to fix support for older versions of react (e2461ca), closes #​607

v8.0.0

Compare Source

Bug Fixes
  • types: move types to optional peer dependencies (19ac8dd)
BREAKING CHANGES
  • types: type dependencies will not longer be automatically installed. If @types/react is not already listed in your package.json, please install it with npm install --save-dev @​types/react@^17.

v7.0.2

Compare Source

Bug Fixes
  • async-utils: prevent timeout and interval checks in wait from leaving open handles (#​682) (4a03704)

v7.0.1

Compare Source

Bug Fixes
  • types: fix cleanup return type to match async implementation (c7a2e97)

v7.0.0

Compare Source

Features
  • Remove node specific dependencies and code to better support testing in browser environments (e4b0aa3), closes #​624 #​617
BREAKING CHANGES
  • suppressErrorOutput will now work when explicitly called, even if the RHTL_DISABLE_ERROR_FILTERING env variable has been set

v6.0.0

Compare Source

chore
BREAKING CHANGES
  • Node 10 is no longer supported

v5.1.3

Compare Source

Bug Fixes
  • types: Correct overload order for act without strictNullChecks (#​622) (882bcfe)

v5.1.2

Compare Source

Bug Fixes

v5.1.1

Compare Source

Bug Fixes

v5.1.0

Compare Source

Features

v5.0.3

Compare Source

Bug Fixes
  • fixed potential error when hook suspends and error is accessed (1a0c4d3)

v5.0.2

Compare Source

Bug Fixes
Code Refactoring

Note: due to a technical glitch, there was no v5.0.1 release.

v5.0.0

Compare Source

Bug Fixes
  • constrain TOptions to be an object instead of an empty interface (3813b88)
  • display returned function names correctly in stack traces (#​528) (a82d5ef)
  • fixed potential error when hook suspends and current result is accessed (dc21e59)
  • include render utils in RenderHook type (ca32bce)
  • ReactHooksRenderer renderHook was not expecting arguments (bb870e0)
  • stop appending container elements to document body (bab38d9)
  • Type for options in autodetected renderer was incorrectly inferring any passed type (#​527) (4786242)
  • use actual line break in error message when auto-detect fails (a3fd0e2)
Code Refactoring
Features
BREAKING CHANGES
  • interval will now default to 50ms in async utils
  • timeout will now default to 1000ms in async utils
  • suppressErrors has been removed from async utils
  • Adjust types so that react renderer exports don't required extra generic parameter
  • Importing from renderHook and act from @testing-library/react-hooks will now auto-detect which renderer to used based on the project's dependencies
    • peerDependencies are now optional to support different dependencies being required
    • This means there will be no warning if the dependency is not installed at all, but it will still warn if an incompatible version is installed
    • Auto-detection won't work with bundlers (e.g. Webpack). Please use as specific renderer import instead
  • result.current and result.error will now return undefined instead of null when the hook call suspends and they are accessed prior to being set for the first time
    • Note: accessing these values in a suspending scenario has been broken since version 3.6.0
facebook/react (react)

v19.0.0

Compare Source

facebook/react (react-test-renderer)

v19.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 force-pushed the renovate/major-react branch 19 times, most recently from 6319b51 to a2754d3 Compare January 5, 2025 15:00
@stalniy stalniy force-pushed the renovate/major-react branch from a2754d3 to c8529e1 Compare January 5, 2025 17:31
@stalniy stalniy mentioned this pull request Jan 5, 2025
Copy link
Contributor Author

renovate bot commented Jan 5, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@stalniy

This comment was marked as outdated.

@stalniy stalniy force-pushed the renovate/major-react branch 3 times, most recently from 4482931 to 37f51f5 Compare January 5, 2025 18:40
@stalniy stalniy force-pushed the renovate/major-react branch from 37f51f5 to a110194 Compare January 5, 2025 18:56
@stalniy

This comment was marked as outdated.

@stalniy stalniy force-pushed the renovate/major-react branch from 25cadec to da98fe5 Compare January 5, 2025 19:06
@stalniy

This comment was marked as outdated.

BREAKING CHANGE: now support react ^17 and casl/ability ^4
@stalniy
Copy link
Owner

stalniy commented Jan 5, 2025

Release notes for packages that will be published after merge

packages/casl-react release: [7:10:18 PM] [semantic-release] › ℹ Release note for version 4.0.0:
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/changelog"
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/npm"
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "prepare" from "@semantic-release/git"
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/npm"
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "publish" from "@semantic-release/github"
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/npm"
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "addChannel" from "@semantic-release/github"
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "success" from "@semantic-release/github"
packages/casl-ability release: [7:10:19 PM] [semantic-release] › ✔ Loaded plugin "fail" from "@semantic-release/github"
packages/casl-react release: # 4.0.0 (https://github.com/stalniy/casl/compare/@casl/[email protected]...@casl/[email protected]) (2025-01-05)
packages/casl-react release: ### Bug Fixes
packages/casl-react release: * removes old react and casl/ability support (1a2bbc5 (1a2bbc5))
packages/casl-react release: ### BREAKING CHANGES
packages/casl-react release: * now support react ^17 and casl/ability ^4
packages/casl-react release: Done
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ⚠ Run automated release from branch renovate/major-react on repository https://github.com/stalniy/casl.git in dry-run mode
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ✔ Allowed to push to the Git repository
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ℹ Found git tag @casl/[email protected] associated with version 6.7.3 on branch renovate/major-react
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ℹ Found 3 commits since last release
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ℹ Start step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
packages/casl-ability release: [7:10:21 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ Analyzing commit: chore: updates gha pnpm version
packages/casl-ability release: [7:10:21 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ The commit should not trigger a release
packages/casl-ability release: [7:10:21 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ Analyzing commit: refactor: changes react tests to use testing-library
packages/casl-ability release: [7:10:21 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ The release type for the commit is patch
packages/casl-ability release: [7:10:21 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ Analyzing commit: chore: fixes eslint config/code after upgrade
packages/casl-ability release: [7:10:21 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ The commit should not trigger a release
packages/casl-ability release: [7:10:21 PM] [semantic-release] [@semantic-release/commit-analyzer] › ℹ Analysis of 3 commits complete: patch release
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ✔ Completed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ℹ The next release version is 6.7.4
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ⚠ Skip step "prepare" of plugin "@semantic-release/changelog" in dry-run mode
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ⚠ Skip step "prepare" of plugin "@semantic-release/npm" in dry-run mode
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ⚠ Skip step "prepare" of plugin "@semantic-release/git" in dry-run mode
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ⚠ Skip @casl/[email protected] tag creation in dry-run mode
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ⚠ Skip step "publish" of plugin "@semantic-release/npm" in dry-run mode
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ⚠ Skip step "publish" of plugin "@semantic-release/github" in dry-run mode
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ⚠ Skip step "success" of plugin "@semantic-release/github" in dry-run mode
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ✔ Published release 6.7.4 on renovate/major-react channel
packages/casl-ability release: [7:10:21 PM] [semantic-release] › ℹ Release note for version 6.7.4:
packages/casl-ability release: ## 6.7.4 (https://github.com/stalniy/casl/compare/@casl/[email protected]...@casl/[email protected]) (2025-01-05)
packages/casl-ability release: Done

@stalniy stalniy merged commit 44d3f40 into master Jan 5, 2025
6 checks passed
@stalniy stalniy deleted the renovate/major-react branch January 5, 2025 19:12
@stalniy
Copy link
Owner

stalniy commented Jan 5, 2025

🚀 This PR changes was released in @casl/[email protected] @casl/[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant