-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v5.1.4
- Loading branch information
Showing
9 changed files
with
82 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### `verify` now lazily allocates on `throw`, not on call | ||
|
||
`ocean.core.Verify` | ||
|
||
`verify` used to lazily initialize a `static` exception on the first call. | ||
However, this means that `testNoAlloc(verify(true))` could randomly fail, | ||
depending on the order unittests are executed, | ||
and this transitively affected all users of `verify` (that is, everything). | ||
`verify` will now lazily allocates only on `throw`, | ||
so `testNoAlloc(verify(true))` will always pass, | ||
but `testNoAlloc(verify(false))` could still potentially fail. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Fix `-=` operator implementation in SuspendableThrottlerCount | ||
|
||
`ocean.io.model.SuspendableThrottlerCount` | ||
|
||
The `-=` operator overload (D1 `opSubAssign`) was inexplicably aliased | ||
to the `add` method rather than the correct `remove`. This probably | ||
means that no one was ever actually using the operator overload, but it | ||
seems a good idea to fix it in any case. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
### Template `Identifier.fieldIdentifier` is no longer deprecated | ||
|
||
`ocean.meta.codegen.Identifier.fieldIdentifier` | ||
|
||
This template was erroneously marked as deprecated in ocean v5.0.0, but | ||
it is still required. Using it will no longer generate a deprecation warning. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters