2.0.2 (2024-08-30)
- update cli and fix linting errors (0e0020a)
2.0.1 (2024-01-27)
- build: source maps (5e75f2f)
- Fix node position for "undo" method of removed node
- Exposed
add
,getHistorySnapshot
,getRecent
andclear
methods - Added
history.separate()
and supportaction.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>>();