Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 3.38 KB

CHANGELOG.md

File metadata and controls

50 lines (37 loc) · 3.38 KB

[2.0.0] - 10-02-2025

  • 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 and CardotekaAsync must now necessarily be declared as final or base or sealed
  • 🧨upd: AccessToSP has been deleted. Use import package:cardoteka/access_to_sp.dart.
  • 🧨upd: changes in Watcher.attach: onRemove parameter is now required and callback is now a named onChange parameter (#14 и #37)
  • add: Detachability and DetacherChangeNotifierfor easy dispose of linked resources in classes with business logic (#10 и #9)
  • add: CRUD.readAsync method for use with CardotekaAsync
  • add: notifyAll method for Watcher #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 and SharedPreferencesAsync", "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.

[1.1.0] - 02-10-2024

  • 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 using extends and adding final modifier to your class (or base|sealed)
  • 🧨upd: Cardoteka.setPrefix now static. Add allowList parameter. The prefix now named parameter.
  • 🧨add: use CardotekaUtilsForTest.setMockInitialCards method instead of CardotekaUtilsForTest.setMockInitialValues, which is now responsible for the original SharedPreferences.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

[1.0.1] - 22-12-2023

  • fix: remove invalid example from example
  • upd: description

[1.0.0] - 22-12-2023

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

[0.0.1] - 04-11-2022

  • 🍕 How about some pizza, pub.dev?