mayr_storage 1.0.0 copy "mayr_storage: ^1.0.0" to clipboard
mayr_storage: ^1.0.0 copied to clipboard

Simple and unified storage solution for Flutter apps. Easily manage SharedPreferences, EncryptedSharedPreferences, and GetStorage with a clean, consistent API.

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.


1.0.0 - 2025-10-07 #

Added #

  • Automatic publishing workflow to pub.flutter-io.cn via GitHub Actions
  • Comprehensive documentation comments for all public APIs
  • Better error messages with UnsupportedError instead of generic Exception

Changed #

  • Fixed bug where write(null) was calling clear() instead of remove() in SharedPreferences
  • Fixed bug where write(null) was calling clear() instead of remove() in EncryptedSharedPreferences
  • Improved code organization and readability
  • Enhanced documentation with detailed examples and use cases
  • Made storage operations more explicit with better type safety
  • Updated all class and method documentation following Dart documentation conventions

Fixed #

  • SharedPreferences now properly uses remove() for deleting specific keys instead of clear()
  • EncryptedSharedPreferences now properly uses remove() for deleting specific keys instead of clear()

0.1.1 Documentation update #

Added #

  • Documented methods
  • .pubignore to certain parts

0.1.0 Initial Release #

Added #

  • Initial release of mayr_storage 🎉
  • Introduced .storage() extension for using SharedPreferences easily.
  • Introduced .secureStorage() extension for using EncryptedSharedPreferences for sensitive data.
  • Introduced .boxStorage() extension for using GetStorage for lightweight storage.
  • Provided easy-to-use API:
    • .read()
    • .write()
    • .delete()
  • Added support for both synchronous and asynchronous operations after initialisation.
  • Created MayrStorage.initialize() for safe storage setup at app startup.

2
likes
150
points
7
downloads

Publisher

verified publishermayrlabs.com

Weekly Downloads

Simple and unified storage solution for Flutter apps. Easily manage SharedPreferences, EncryptedSharedPreferences, and GetStorage with a clean, consistent API.

Topics

#storage #utilities #flutter #productivity #toolkit

Documentation

API reference

License

MIT (license)

Dependencies

encrypt_shared_preferences, flutter, get_storage, shared_preferences

More

Packages that depend on mayr_storage