This repository was archived by the owner on Sep 12, 2025. It is now read-only.
Releases: Minemetero/flashback-stack
Releases · Minemetero/flashback-stack
Release list
v1.1.2
v1.1.1
[v1.1.1] – 2025-04-25
📚 Documentation
- API.md and README.md updated to document:
- The new
options.maxHistoryparameter - The
Promise<this>return types forsave()/change() - The optimized
prune()behavior - The compression hook error-handling behavior
- The new
🛠️ CI / Publishing
- Publish workflow now triggers on release events (not just tag pushes), ensuring clean, one-off npm publishes and eliminating
E409 Conflicterrors.
v1.1.0
[v1.1.0] – 2025-04-25
🛠️ Added
- Deep-freeze snapshots
Introduced adeepFreeze()helper that recursively freezes every nested object in your undo/redo history, guaranteeing full immutability of saved snapshots. - Immutable state getter
Thetimeline.stategetter 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
Project Initialization with basic functions