stow 0.6.0
stow: ^0.6.0 copied to clipboard
An abstraction to allow synchronous access to persistent data.
0.6.0 #
Note: This release has breaking changes.
-
BREAKING FEAT: Disable read/write in tests by default.
In previous versions of stow, you needed to set volatile to false in tests to avoid platform channel errors.
This is now the default behaviour. If needed, you can override this behaviour by setting
Stow.volatileInTeststo false.
0.5.1+1 #
- DOCS: fill in base stow README.
0.5.1 #
- TWEAK:
Stow.readMutexandStow.writeMutexare now overridable in subclasses.
0.5.0 #
Note: This release has breaking changes.
- FIX: loading a stow shouldn't induce a write.
- BREAKING REF: protectedRead and protectedWrite are independent of codec.
0.4.0+1 #
- FIX: don't disregard singletons as being equal to default value.
0.4.0 #
Note: This release has breaking changes.
- BREAKING FEAT: replace
autoReadwithvolatile, which disables reads/writes.
0.3.1 #
- TWEAK: Stows will notify listeners when loaded
- TWEAK: Tests can now set
Stow.loaded
0.3.0 #
Note: This release has breaking changes.
- FEAT: add Stow.isReading and Stow.isWriting.
- FEAT: add Stow.loaded getter.
- BREAKING TWEAK: don't throw if value is unset, just return defaultValue.
0.2.0 #
Note: This release has breaking changes.
- BREAKING FEAT: add autoRead flag to disable read() on init, and make codec a named param.
0.1.2 #
- DOC: Fix missing example on pub.dev
0.1.1 #
- DOC: Added more documentation, comments, and instructions
0.1.0 #
- FEAT: add PlainStow for shared preferences.
- FEAT: add Stow, MemoryStow, and IdentityCodec.