Skip to content

Latest commit

 

History

History
97 lines (57 loc) · 2.05 KB

File metadata and controls

97 lines (57 loc) · 2.05 KB

@solid-primitives/history

0.3.0

Minor Changes

  • Migrate to Solid.js v2.0 (beta.10)

Breaking Changes

  • Peer dependency: solid-js@^2.0.0-beta.10 and @solidjs/web@^2.0.0-beta.10 are now required.
  • isServer import moved from solid-js/web to @solidjs/web.
  • batch() removed from undo() and redo() — Solid 2.0 batches signal updates automatically. Call flush() before reading canUndo()/canRedo() in tests or non-reactive contexts.
  • Internal count signal uses { pureWrite: true } for Solid 2.0 signal semantics.
  • createMemo initial value handled via an explicit initialState reference to accommodate Solid 2.0's undefined-prev first-call behavior.

0.2.3

Patch Changes

  • Updated dependencies [6680ab9]
    • @solid-primitives/utils@6.4.0

0.2.2

Patch Changes

  • 396812d: Enable verbatimModuleSyntax -> add type keyword to all type imports.
  • Updated dependencies [396812d]
    • @solid-primitives/utils@6.3.2

0.2.1

Patch Changes

  • 53f08cc: fix: Move "@solid-primitives/source" export condition under import in package.json (Fixes #774, Fixes #749)
  • Updated dependencies [53f08cc]
    • @solid-primitives/utils@6.3.1

0.2.0

Minor Changes

  • ea09f71: Remove CJS support. The package is ESM only now.

Patch Changes

  • Updated dependencies [ea09f71]
    • @solid-primitives/utils@6.3.0

0.1.5

Patch Changes

  • 74db287: Correct the "homepage" field in package.json

0.1.4

Patch Changes

  • Updated dependencies [48d44c0]
    • @solid-primitives/utils@6.2.3

0.1.3

Patch Changes

  • d23dd74: Add type exports for cjs
  • Updated dependencies [d23dd74]
    • @solid-primitives/utils@6.2.2

0.1.2

Patch Changes

  • Updated dependencies [92c1e5c4]
    • @solid-primitives/utils@6.2.1

0.1.1

Patch Changes

  • 2c9d3238: Add void as a possible return type.

0.1.0

Minor Changes

  • 2157af7d: Allow falsy values to be returned from the source function to not create a point in history.

0.0.2

Patch Changes

  • Updated dependencies [3c007b92]
    • @solid-primitives/utils@6.2.0