Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Releases: Minemetero/flashback-stack

v1.1.2

Choose a tag to compare

@Minemetero Minemetero released this 25 Apr 07:27

[v1.1.2] – 2025-04-25

🛠️ Added

  • Project-level .npmrc
    A new .npmrc file with git-checks=false to disable Git branch validation during npm publish.

v1.1.1

Choose a tag to compare

@Minemetero Minemetero released this 25 Apr 00:44

[v1.1.1] – 2025-04-25

📚 Documentation

  • API.md and README.md updated to document:
    • The new options.maxHistory parameter
    • The Promise<this> return types for save()/change()
    • The optimized prune() behavior
    • The compression hook error-handling behavior

🛠️ CI / Publishing

  • Publish workflow now triggers on release events (not just tag pushes), ensuring clean, one-off npm publishes and eliminating E409 Conflict errors.

v1.1.0

Choose a tag to compare

@Minemetero Minemetero released this 23 Apr 09:06

[v1.1.0] – 2025-04-25

🛠️ Added

  • Deep-freeze snapshots
    Introduced a deepFreeze() helper that recursively freezes every nested object in your undo/redo history, guaranteeing full immutability of saved snapshots.
  • Immutable state getter
    The timeline.state getter now returns a deep-frozen clone of the current state, so external code cannot accidentally mutate your internal data.

🚀 Improved

  • Performance optimizations
    Refined the deep-freezing algorithm for better throughput on large or deeply-nested state trees.

🐞 Fixed

  • Nested mutation edge-cases
    Closed loopholes where inner properties of a saved snapshot could still be modified. Now all parts of your history are fully protected.

v1.0.0

Choose a tag to compare

@Minemetero Minemetero released this 23 Apr 02:10

Project Initialization with basic functions