Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.04 KB

CHANGELOG.md

File metadata and controls

32 lines (21 loc) · 1.04 KB

2.0.2 (2024-08-30)

Bug Fixes

  • update cli and fix linting errors (0e0020a)

2.0.1 (2024-01-27)

Bug Fixes

v2.0.0-beta.6

  • Fix node position for "undo" method of removed node
  • Exposed add, getHistorySnapshot, getRecent and clear methods
  • Added history.separate() and support action.separated = true
  • Breaking changes:
    • Added presets
    import { Presets as HistoryPresets } from "rete-history-plugin";
    
    history.addPreset(HistoryPresets.classic.setup());
    • action types as second generic argument
    import { HistoryActions, HistoryPlugin } from "rete-history-plugin";
    
    const history = new HistoryPlugin<Schemes, HistoryActions<Schemes>>();