- upd: minimum supported SDK version to Flutter 3.24.0/Dart 3.5.0
- 🛡️fix: Implement security advisories CWE-502
- new: now you can directly create an instance of the
Cardoteka
(#15) - new:
CardotekaAsync
for asynchronous data retrieval (works without cache) (#24) - 🧨upd: all declarations of own classes from
Cardoteka
andCardotekaAsync
must now necessarily be declared asfinal
orbase
orsealed
- 🧨upd:
AccessToSP
has been deleted. Useimport package:cardoteka/access_to_sp.dart
. - 🧨upd: changes in
Watcher.attach
:onRemove
parameter is now required and callback is now a namedonChange
parameter (#14 и #37) - add:
Detachability
andDetacherChangeNotifier
for easy dispose of linked resources in classes with business logic (#10 и #9) - add:
CRUD.readAsync
method for use withCardotekaAsync
- add:
notifyAll
method forWatcher
#17 - upd:
Converters.colorAsInt
is temporarily deprecated. See more details in #31 - add:
CardotekaMigrator.migrate
method for data migration (#33) - upd: all examples in
example
folder have been updated - upd: some internal methods have been hidden from the IDE prompts to make package easier to use
- doc: "Notifier (riverpod)", "Analogy in
SharedPreferencesWithCache
andSharedPreferencesAsync
", "Migration", "Sync or Async storage", "Detachability" sections were added to readme
You can see all closed issues in Milestone v2.0.0.
Also, read readme.md
section on data migration Cardoteka from v1 to v2.
- upd: minimum supported SDK version to Flutter 3.13.0/Dart 3.1.0
- fix: incorrect assert message about initialization, close #12
- 🧨upd: if you used
CollectionConverter
and its inheritors, you are now only allowed to use them by usingextends
and addingfinal
modifier to your class (orbase
|sealed
) - 🧨upd:
Cardoteka.setPrefix
now static. AddallowList
parameter. Theprefix
now named parameter. - 🧨add: use
CardotekaUtilsForTest.setMockInitialCards
method instead ofCardotekaUtilsForTest.setMockInitialValues
, which is now responsible for the originalSharedPreferences.setMockInitialValues
method. Close #16 - doc: "Obfuscate", "Materials", "Apps", "Saving null values" sections were added to readme
You can see all closed issues in Milestone v1.1.0
- fix: remove invalid example from
example
- upd: description
first public release 🎊
- fully documented code
- with examples of use in the
example/lib
folder - code is covered by tests (with a coverage percentage >80%)
- prepared readme.md with architecture overview
- 🍕 How about some pizza, pub.dev?