redux_undo 1.0.0+1
redux_undo: ^1.0.0+1 copied to clipboard
Make your redux store undo- and redoable. Inspired by the JS redux_undo package.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased] #
support for string-based actions- possibility to only make a part of the state undoable
- more examples and documentation
[0.1.1+4] - 2020-02-26 #
Added #
- added abstract class
UndoableAction
which every pre-built action fromredux_undo
extends - added the
getSize
getter toUndoableState
- added tests for complete code coverage
Changed #
- updated README
Removed #
- removed
UndoableInitAction
since the use-case does not exist anymore - removed the
size
member fromUndoableState
[0.1.1+3] - 2020-01-29 #
[0.1.1+1] - 2019-12-02 #
[0.1.0+3] - 2019-12-02 #
Added #
- added a new helper function
UndoableState createUndoableState(dynamic state)
to initiate the UndoableState on init
Changed #
- renamed
undoableReducer
toReducer<UndoableState> createUndoableReducer(dynamic reducer, { UndoConfig config })
to keep naming consistent - reformatted some files with dartfrmt