Skip to content

Releases: EtienneLem/commandz

v0.1.2

27 Sep 20:18
Compare
Choose a tag to compare
  • Capture keydown instead of keypress. [Fixes Chrome shortcut]

v0.1.1

27 Sep 20:18
Compare
Choose a tag to compare
  • Add CTRL+Z & CTRL+SHIFT+Z keyboard shortcuts

v0.1.0

27 Sep 20:18
Compare
Choose a tag to compare
  • Rename CommandZ.commands -> CommandZ.history
  • Rename CommandZ.onChange -> CommandZ.onStatusChange
  • Add storage with threshold support
  • Add CommandZ.reset()

v0.0.3

27 Sep 20:17
Compare
Choose a tag to compare
  • Fix a bug where handleChange wouldn’t be called after CommandZ.execute()

v0.0.2

27 Sep 20:15
Compare
Choose a tag to compare
  • Make CommandZ.status() return canUndo and canRedo states
  • Add CommandZ.onChange() status callback
  • Add CMD+Z & CMD+SHIFT+Z keyboard shortcuts

v0.0.1

27 Sep 20:16
Compare
Choose a tag to compare

Initial release