Releases: Workiva/w_common
1.11.2
Info
Shipyard Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
This patch release includes the following changes:
Miscellaneous
- #78 WP-5962 Fix outdated docs
- WP-5962 Fix outdated docs
- #81 WP-6173 Fixes for Dart2
- WP-6173 Fixes for Dart2
- #82 WP-5756 Release w_common 1.11.2
- WP-5756 RELEASE w_common 1.11.2
Notes created on Friday, March 09 10:20 PM UTC
1.11.1
Info
Shipyard Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
This patch release includes the following changes:
Miscellaneous
- #70 WP-5634 Add CODEOWNERS file
- WP-5634 Add CODEOWNERS file (w_common)
- #76 WP-5742 w_common should follow new logger name standard
- WP-5742 w_common should follow new logger name standard
- #77 WP-5668 Release w_common 1.11.1
- WP-5668 RELEASE w_common 1.11.1
Notes created on Wednesday, January 10 10:12 PM UTC
1.11.0
Info
Shipyard Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
This minor release includes the following changes:
New Features and Improvements
- #74 DOCPLAT-1525 Create least recently used caching strategy
- DOCPLAT-1525 create most recently used caching strategy
Miscellaneous
- #75 WP-5655 Release w_common 1.11.0
- WP-5655 RELEASE w_common 1.11.0
Notes created on Tuesday, January 02 11:23 PM UTC
1.10.0
Info
Shipyard Build: (waiting for build to complete)
Skynet Results: (waiting for Skynet results)
This minor release includes the following changes:
New Features and Improvements
- #71 DOCPLAT-1447 Move cache, a few modifications
- DOCPLAT-1447 Move cache implementation from datatables into w_common
Miscellaneous
- #69 WP-5487 Make manageAndReturnDisposable generic
- WP-5487 Make manageAndReturnDisposable generic
- #73 WP-5414 Release w_common 1.10.0
- WP-5414 RELEASE w_common 1.10.0
Notes created on Thursday, December 21 10:21 PM UTC
1.9.0
Changes
The Disposable.awaitBeforeDispose()
API was intended to provide consumers with a way to delay disposal such that certain tasks could be completed before managed instances/dependencies were torn down. The intention was that the Disposable
APIs themselves would remain usable, even after dispose()
was called, so long as disposal hadn't started. Unfortunately, Disposable.isDisposedOrDisposing
would begin returning true
as soon as dispose()
was called, and our Disposable
APIs would throw if called after that point.
To address this, we've done a few things:
-
Changed the logic behind
isDisposing
(and consequentlyisDisposedOrDisposing
) such that it only becomestrue
when disposal has actually started. Based on current usages of this API, we do not expect any breakages from this change. -
Added a
isOrWillBeDisposed
getter – this should be used by consumers to guard their own public APIs so as to prevent additional tasks from being started. It will betrue
as soon as disposal is requested (i.e. as soon asdispose()
is called). -
Deprecated
isDisposing
andisDisposedOrDisposing
– the newly added getter above should be sufficient for consumers to guard their own APIs. -
Added a
onWillDispose()
lifecycle hook that, likeonDispose()
, can be overridden by extenders ofDisposable
. This handler will be called as soon as disposal is requested (i.e.dispose()
is called) but before disposal has started. TheFuture
returned from this method will be awaited, then allFuture
s registered viaawaitBeforeDispose()
will be awaited, and only then when disposal actually begin.
The result of these changes are that you may now actually delay disposal via awaitBeforeDispose()
(as was originally intended) and via onWillDispose()
. All of the Disposable
APIs will remain usable up until disposal actually begins.
Deprecations
The following two getters on the Disposable
class have been deprecated:
isDisposing
isDisposedOrDisposing
Consumers should now use Disposable.isOrWillBeDisposed
– it will be true
as soon as disposal is requested (i.e. when dispose()
is called) and will remain true while the instance is disposing, and when it has completed disposal.
Pull Requests
Notes created on Thursday, October 26 11:21 PM UTC
1.8.2
This patch release includes the following changes:
Bug Fixes
- #62 RAP-2269 Un-manage managed stream subscriptions when the stream controller is closed
- RAP-2269 Managed subscriptions fail to un-manage when controller is closed
Miscellaneous
- #63 WP-5009 Add DDC Compliance
- WP-5009 Add DDC Compliance
- #64 WP-5032 Accept unary and binary onError callbacks
- WP-5032 Accept unary and binary on error callbacks
- #65 WP-4945 Release w_common 1.8.2
- WP-4945 RELEASE w_common 1.8.2
Notes created on Thursday, August 24 07:30 PM UTC
1.8.1
This patch release includes the following changes:
Bug Fixes
- #60 RAP-2264 Allow managed timers to be canceled inside their callbacks
- RAP-2264 Do not throw on extra managed timer cancellation
Miscellaneous
- #61 WP-4908 Release w_common 1.8.1
- WP-4908 RELEASE w_common 1.8.1
Notes created on Tuesday, August 15 02:58 PM UTC
1.8.0
This minor release includes the following changes:
Miscellaneous
- #55 WP-4861 Add manageAndReturnDisposable method
- WP-4861 Add manageAndReturnDisposable method
- #56 WP-4877 Update Disposable usage recommendation
- WP-4877 Update Disposable usage recommendation
- #58 WP-4904 Export DisposableManagerV6
- WP-4904 Export DisposableManagerV6
- #59 WP-4806 Release w_common 1.8.0
- WP-4806 RELEASE w_common 1.8.0
Notes created on Wednesday, August 09 06:06 PM UTC
1.7.2
This patch release includes the following changes:
Bug Fixes
- #52 RAP-2202 Return null when appropriate.
- RAP-2202 Test failures in w_table related to new APIs w_common 1.7.0
New Features and Improvements
- #53 RAP-2204 Cleanup.
- RAP-2204 Cleanup wording of tests
Miscellaneous
- #54 WP-4795 Release w_common 1.7.2
- WP-4795 RELEASE w_common 1.7.2
Notes created on Tuesday, July 25 03:23 PM UTC
1.7.1
This patch release includes the following changes:
Bug Fixes
- #50 RAP-2201 Return Future.value()
- RAP-2201 Test failures in w_table related to w_common 1.7.0
New Features and Improvements
- #49 RAP-2190 Add implicit logging dependency to pubspec
- RAP-2190 Implicit dependency on logging
Miscellaneous
- #51 WP-4778 Release w_common 1.7.1
- WP-4778 RELEASE w_common 1.7.1
Notes created on Monday, July 24 08:40 PM UTC