disposito 0.2.3 copy "disposito: ^0.2.3" to clipboard
disposito: ^0.2.3 copied to clipboard

Semi-automatic dispose holder that allows centralised disposal of objects

Changelog #

0.2.3 - 2025-05-18 #

Documentation #

  • add comprehensive doc comments for classes (#9) - (6960ec7)
  • README v2 - (a0b8747)

Ci #

  • trigger dry publish on edit and synchronized - (673d6ec)

0.2.2 - 2025-03-23 #

Documentation #

  • (README) misspelling and styling fixes - (070b570)
  • (dispose_holder_mixin) internal comment for debugName clarification - (8aa2613)

Miscellaneous Chores #

  • (example) oneline dispose in simple.dart - (0343a30)
  • (internal) more verbose internal class names - (e41fb98)

Refactoring #

  • (dispose_holder) migrate to asynchronous api under the hood - (c5892ec)
  • (dispose_registry) execute function in purgeAfter synchronously - (07a965f)
  • (extensions) asynchronous api without unawaited - (28a7d31)
  • (internal) Callable.call static for tear-off callback execution - (15324e6)

Ci #

  • (dry_publish) fix double dry-run - (6efd6c7)

0.2.1 - 2025-03-21 #

Documentation #

  • (README) fix typos and misspellings - (e149ae0)

Ci #

  • fix release condition - (2579ac4)

0.2.0 - 2025-03-21 #

Bug Fixes #

  • (dispose_holder) make dispose async - (4489a13)
  • (example) update to new syntax - (4f993ff)
  • (extensions) update extensions to new syntax - (11f03a4)
  • path to wrapper inside internal.dart - (f443f00)
  • remove createDisposable and DisposeWrapper - (a3fe6e4)

Documentation #

Features #

  • (disposable) static disposeObject proxies FutureOr<void> instead of void - (868ce56)
  • (dispose_holder) rethink of prioritization of dispose queue - (cbb0832)
  • (dispose_registry) rethink of prioritization of purge callback - (156dc4c)
  • (example) simple example - (ed12719)
  • (example) simple now have async callback and disposes - (a34805e)

Miscellaneous Chores #

  • (dispose_holder) update naming of methods - (0ae1aec)
  • (extensions) change variable input name - (b4c4247)
  • (internal) disposable wrapper implements disposable - (5443887)

Tests #

Ci #

  • missing PAT + change versions strategy - (7bc5260)

0.1.0 - 2025-03-19 #

Bug Fixes #

  • (extensions) change signatures to generics to allow subtypes - (2e2759c)

Features #

  • (dispose_tracker) dispose tracker as public global interactor - (2e03b79)
  • (dispose_tracker) purge on create/dispose each other holder - (f38e5c9)
  • [BREAKING CHANGE] disposito main logic - (ca1db16)

Miscellaneous Chores #

  • (disposable) static method for tear-off - (2ebea5b)
  • (pubspec) update description - (a200d5e)

Refactoring #

  • code style + lint matching - (bf533bb)

Tests #

Ci #

  • wrong step variable name - (d329299)
  • fix double slash on pr create - (322b10f)

0.0.1 #

  • Initial version.
4
likes
150
points
12
downloads

Publisher

verified publisherarxdeus.dev

Weekly Downloads

Semi-automatic dispose holder that allows centralised disposal of objects

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on disposito