Skip to content

Releases: preactjs/signals

@preact/signals@1.2.3

19 Mar 17:48
d3935e8
Compare
Choose a tag to compare

Patch Changes

@preact/signals-react@2.0.1

19 Mar 17:48
d3935e8
Compare
Choose a tag to compare

Patch Changes

@preact/signals-react-transform@0.3.1

19 Mar 17:48
d3935e8
Compare
Choose a tag to compare

Patch Changes

  • #535 58befba Thanks @jviide! - Publish packages with provenance statements

  • Updated dependencies [d846def]:

    • @preact/signals-react@2.0.1

@preact/signals-core@1.6.0

19 Mar 17:48
d3935e8
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@preact/signals-react@2.0.0

08 Jan 01:57
09c4d63
Compare
Choose a tag to compare

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-transform@0.3.0

08 Jan 01:58
09c4d63
Compare
Choose a tag to compare

0.3.0

Minor Changes

  • #467 d7f43ef Thanks @andrewiggins! - Change opt-in/opt-out comment to @useSignals and @noUseSignals. Previous comments (@trackSignals & @noTrackSignals) still supported but deprecated.

@preact/signals-react@1.3.8

08 Jan 01:56
4dbf4fb
Compare
Choose a tag to compare

1.3.8

Patch Changes

@preact/signals-react-transform@0.2.0

08 Jan 01:55
4dbf4fb
Compare
Choose a tag to compare

0.2.0

Minor Changes

  • #458 0c0d89f Thanks @andrewiggins! - Only prepend useSignals call if we can't determine whether a function is a component or hook
  • #446 09f3ed7 Thanks @andrewiggins! - Use function expression name to determine if it is a Component and should be transformed.

@preact/signals-core@1.5.1

08 Jan 01:55
4dbf4fb
Compare
Choose a tag to compare

1.5.1

Patch Changes

@preact/signals@1.2.2

08 Jan 01:43
dca5f2a
Compare
Choose a tag to compare

1.2.2

Patch Changes

  • #415 79efe32 Thanks @prinsss! - Fix error when using useSignal with UMD builds of @preact/signals.