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

Bump @preact/signals-react from 1.3.4 to 2.1.0 #170

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 8, 2024

Bumps @preact/signals-react from 1.3.4 to 2.1.0.

Release notes

Sourced from @​preact/signals-react's releases.

@​preact/signals-react@​2.1.0

Minor Changes

  • #578 931404e Thanks @​JoviDeCroock! - Allow for passing no argument to the signal and the type to be automatically inferred as T | undefined

Patch Changes

@​preact/signals-react@​2.0.2

Patch Changes

@​preact/signals-react@​2.0.1

Patch Changes

@​preact/signals-react@​2.0.0

2.0.0

Major Changes

  • #467 d7f43ef Thanks @​andrewiggins! - Remove auto tracking using React internals from signals-react package

    Before this change, importing @preact/signals-react would invoke side effects that hook into React internals to automatically track signals. This change removes those side effects and requires consumers to update their code to continue using signals in React.

    We made this breaking change because the mechanism we were using to automatically track signals was fragile and not reliable. We've had multiple issues reported where signals were not being tracked correctly. It would also lead to unexpected errors that were hard to debug.

    For some consumers and apps though, the current mechanism does work. If you'd like to continue using this mechanism, simply add import "@preact/signals/auto"; to the root of your app where you call ReactDOM.render. For our newly supported ways of using signals in React, check out the new Readme for @preact/signals-react.

@​preact/signals-react@​1.3.8

1.3.8

Patch Changes

@​preact/signals-react@​1.3.7

1.3.7

... (truncated)

Changelog

Sourced from @​preact/signals-react's changelog.

2.1.0

Minor Changes

  • #578 931404e Thanks @​JoviDeCroock! - Allow for passing no argument to the signal and the type to be automatically inferred as T | undefined

Patch Changes

2.0.2

Patch Changes

2.0.1

Patch Changes

2.0.0

Major Changes

  • #467 d7f43ef Thanks @​andrewiggins! - Remove auto tracking using React internals from signals-react package

    Before this change, importing @preact/signals-react would invoke side effects that hook into React internals to automatically track signals. This change removes those side effects and requires consumers to update their code to continue using signals in React.

    We made this breaking change because the mechanism we were using to automatically track signals was fragile and not reliable. We've had multiple issues reported where signals were not being tracked correctly. It would also lead to unexpected errors that were hard to debug.

    For some consumers and apps though, the current mechanism does work. If you'd like to continue using this mechanism, simply add import "@preact/signals/auto"; to the root of your app where you call ReactDOM.render. For our newly supported ways of using signals in React, check out the new Readme for @preact/signals-react.

1.3.8

Patch Changes

... (truncated)

Commits
  • 26d49bf Version Packages (#579)
  • 931404e chore(signals): add default undefined type (#578)
  • 5a02bfa chore(signals-react): throw error when auto-tracking with React 19 (#577)
  • 95b3747 Version Packages
  • 6d049c1 fix suspense tests in react 16
  • 1203c32 silence act() warnings in react 16
  • 7a399a6 fix prod test act timing
  • 9073ef4 remove describe.only
  • d4bab22 chore(react): add suspense test
  • 0bed42d fix(react): ensure tracking context is closed prior to effects running via a ...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@preact/signals-react](https://github.com/preactjs/signals/tree/HEAD/packages/react) from 1.3.4 to 2.1.0.
- [Release notes](https://github.com/preactjs/signals/releases)
- [Changelog](https://github.com/preactjs/signals/blob/main/packages/react/CHANGELOG.md)
- [Commits](https://github.com/preactjs/signals/commits/@preact/signals-react@2.1.0/packages/react)

---
updated-dependencies:
- dependency-name: "@preact/signals-react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 8, 2024
Copy link

changeset-bot bot commented Jul 8, 2024

⚠️ No Changeset found

Latest commit: ebbab44

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

Copy link

netlify bot commented Jul 8, 2024

Deploy Preview for preact-signals failed.

Name Link
🔨 Latest commit ebbab44
🔍 Latest deploy log https://app.netlify.com/sites/preact-signals/deploys/668bad9e7193d9000895af5f

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 12, 2024

Superseded by #180.

@dependabot dependabot bot closed this Aug 12, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/preact/signals-react-2.1.0 branch August 12, 2024 09:31
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
None yet
Development

Successfully merging this pull request may close these issues.

0 participants