stow 0.6.0 copy "stow: ^0.6.0" to clipboard
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.volatileInTests to false.

0.5.1+1 #

  • DOCS: fill in base stow README.

0.5.1 #

  • TWEAK: Stow.readMutex and Stow.writeMutex are 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 autoRead with volatile, 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.
0
likes
160
points
353
downloads

Publisher

verified publisheradil.hanney.org

Weekly Downloads

An abstraction to allow synchronous access to persistent data.

Repository (GitHub)
View/report issues

Topics

#stow #storage #persistence

Documentation

API reference

License

MIT (license)

Dependencies

flutter, meta, mutex

More

Packages that depend on stow