Skip to content

Latest commit

 

History

History
190 lines (112 loc) · 9.95 KB

CHANGELOG.md

File metadata and controls

190 lines (112 loc) · 9.95 KB

@preact/signals

1.3.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

  • Updated dependencies [931404e]:
    • @preact/signals-core@1.7.0

1.2.3

Patch Changes

1.2.2

Patch Changes

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

1.2.1

Patch Changes

1.2.0

Minor Changes

  • #387 6e4dab4 Thanks @XantreGodlike! - Removed difference in behaviour between adapters, signals that use a JSX value will correctly re-render the whole component rather than attempting the JSX-Text optimization.

Patch Changes

  • Updated dependencies [256a331]:
    • @preact/signals-core@1.4.0

1.1.5

Patch Changes

1.1.4

Patch Changes

  • #373 8c12a0d Thanks @rschristian! - Removes package.json#exports.umd, which had invalid paths if they were ever to be consumed

  • Updated dependencies [8c12a0d, 26f6526]:

    • @preact/signals-core@1.3.1

1.1.3

Patch Changes

  • df813ad Thanks @developit! - Fix rendering of Signals as text in preact-render-to-string (#268)
  • #282 cafbdaa Thanks @developit! - Fix a bug that caused cleanup functions returned from a useSignalEffect() callback not to be called.

  • Updated dependencies [7e15d3c]:

    • @preact/signals-core@1.2.3

1.1.2

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

  • #183 79ff1e7 Thanks @jviide! - Add ability to run custom cleanup logic when an effect is disposed.

    effect(() => {
      console.log("This runs whenever a dependency changes");
      return () => {
        console.log("This runs when the effect is disposed");
      });
    });

Patch Changes

  • #161 6ac6923 Thanks @jviide! - Remove all usages of Set, Map and other allocation heavy objects in signals-core. This substaintially increases performance across all measurements.

1.0.4

Patch Changes

  • #148 b948745 Thanks @marvinhagemeister! - Move types field in package.json to the top of the entry list to ensure that TypeScript always finds it.

1.0.3

Patch Changes

  • ab5bd99: Fix swapping and HMR for signals when used as text

1.0.2

Patch Changes

  • 2383684: Correctly replace props-value with peeked value
  • Updated dependencies [5644c1f]
    • @preact/signals-core@1.0.1

1.0.1

Patch Changes

  • c7c0d91: Add marker for devtools to Text that is created when a signal is passed into JSX

1.0.0

Major Changes

  • 2ee8489: The v1 release for the signals package, we'd to see the uses you all come up with and are eager to see performance improvements in your applications.

Patch Changes

  • Updated dependencies [ab22ec7]
  • Updated dependencies [2ee8489]
  • Updated dependencies [b56abf3]
    • @preact/signals-core@1.0.0

0.0.4

Patch Changes

  • 702a9c5: Update TypeScript types to mark computed signals as readonly
  • 5f8be64: Optimize size of CJS & UMD bundles.
  • Updated dependencies [702a9c5]
    • @preact/signals-core@0.0.5

0.0.3

Patch Changes

  • 812e7b5: Fix batch() not re-exported from preact adapter
  • 8e9bf67: Fix incorrect TypeScript paths
  • f71ea95: Avoid incrementing Preact adapter when core changes
  • Updated dependencies [4123d60]
    • @preact/signals-core@0.0.4

0.0.2

Patch Changes

  • 1e4dac5: Add prepublishOnly scripts to ensure we're publishing fresh packages
  • 9ccf359: Align signal rendering in Text positions with VDOM text rendering - skip rendering of null, undefined and boolean values.
  • 1171338: Fix wrong path for TypeScript definitions in package.json
  • Updated dependencies [1e4dac5]
    • @preact/signals-core@0.0.3