w_common 3.2.0 w_common: ^3.2.0 copied to clipboard
General utilities for Dart projects.
3.1.0 #
- Adds JsonMap and JsonMapObject typedefs
- Update SDK minimum to 2.19.0 to support the non-function typedef language feature.
- Raised package versions to their first nullsafe version.
3.0.0 #
- Migrate to null-safety.
2.1.1 #
- Implement
_ObservableTimer.tick
, which allows timers created viaDisposable.getManagedTimer
andDisposable.getManagedPeriodicTimer
to be controlled by thefake_async
package.
2.0.0 #
June 14, 2022
Breaking Changes:
- Removes sass compilation tool from w_common. Use w_common_tools instead.
- Removes
DisposableManager
,DisposableManagerV2
,DisposableManagerV3
,DisposableManagerV4
,DisposableManagerV5
, andDisposableManagerV6
. UseDisposableManagerV7
instead. - Removes
w_common.dart
entrypoint. Use the specific entrypoint related to the pieces of w_common you want to use instead. For example,package:w_common/disposable.dart
. - Changes to
Cache
:- Removes
keys
getter. UseliveKeys
andreleasedKeys
instead. - Removes
values
getter. UseliveValues
instead. - Removes
containsKey
method. Use.contains
onliveKeys
andreleasedKeys
instead.
- Removes
- Changes to
Disposable
:- Removes
isDisposedOrDisposing
. UseisOrWillBeDisposed
instead. This also returns true when theDisposable
instance is in the "awaiting disposal" state that is entered as soon as [dispose] is called. - Removes
isDisposing
. UseisOrWillBeDisposed
instead. - Removes
manageAndReturnDisposable
. UsemanageAndReturnTypedDisposable
instead. - Removes
manageDisposer
. UsegetManagedDisposer
instead. - Removes
manageStreamSubscription
. UselistenToStream
instead.
- Removes
1.21.8 #
June 2, 2022
- Added w_common_tools as a separate package.