ifl 0.0.5
ifl: ^0.0.5 copied to clipboard
Contract-first storage package for Flutter apps with Hive and secure key-value adapters.
0.0.5 #
- Preserve the string value
"null"when parsing JSON values.
0.0.4 #
- Consolidated public imports under
package:ifl/ifl.dart. - Removed separate root entrypoints
package:ifl/ifl_hive.dartandpackage:ifl/ifl_secure.dart. - Reorganized storage exports so
lib/src/storage/storage.dartis the storage module barrel file. - Moved storage interfaces into
lib/src/storage/interface/. - Added module barrel exports for foundation, storage, and util from
lib/ifl.dart. - Kept Hive and secure storage factory implementations under their respective
lib/src/storage/impl/...directories.
0.0.3 #
- Added
initHiveKvStorageinpackage:ifl/ifl_hive.dartso apps can create Hive-backedKvStoragewithout manually opening aBox. initHiveKvStorageinitializes Hive automatically on first use.- Added one-time init guard to prevent duplicate concurrent initialization.
- Added
subDirconsistency handling after first initialization (logs and ignores new value instead of throwing). - Added defaults in
initHiveKvStorage:boxName = '@ifl'subDir = 'kv_storage'
- Added
resetHiveKvStorageInitStateForTesting()for test-only state reset. - Removed public
createHiveKvStorage(Box<String> box)entrypoint.
0.0.2 #
- Initial release of contract-first storage foundation.
- Added public storage contracts:
Storage,KvStorage,DatabaseStorage. - Added stable entrypoints:
createHiveKvStorageinpackage:ifl/ifl_hive.dartcreateSecureKvStorageinpackage:ifl/ifl_secure.dart
- Added adapter-based implementations for Hive and flutter_secure_storage.
- Added unit tests for storage contracts and implementation behavior.
- Added contribution and architecture docs.
0.0.1 #
- Initial Flutter plugin template scaffold.