-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v1.7.0 #1344
Release v1.7.0 #1344
Conversation
@yuri-sergiichuk There is a typo here:
Should be |
@yuri-sergiichuk Can we please change
to
This is going to be more inline with how we tell about things throughout this text. |
Codecov Report
@@ Coverage Diff @@
## master #1344 +/- ##
============================================
- Coverage 91.02% 90.98% -0.04%
Complexity 4764 4764
============================================
Files 614 614
Lines 15135 15135
Branches 858 858
============================================
- Hits 13776 13771 -5
- Misses 1086 1090 +4
- Partials 273 274 +1 |
@yuri-sergiichuk I also think you may easily drop all "PR"s when referencing a pull request. Just "see #4211" works fine, with less letters to read :) |
@yuri-sergiichuk There is a typo here: routing..route(FlightScheduled.class, (e, ctx)-> EventRoute.withId(e.getAirport())); Let's remove the range operator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yuri-sergiichuk LGTM except for my comments to the PR description.
Please see them posted.
This PR does the release of the library version
1.7.0
.This release brings numerous API improvements, as well as fixes and infrastructure updates to the framework.
As part of the PR, I have also updated the copyright disclaimer as per the SpineEventEngine/config#155.
Breaking Changes
The
BlackBoxContext
-based tests now fail if a runtime exception was thrown within the signal handlers.In order to address Fail tests if runtime exceptions are thrown in BBC #1314, we've decided to enforce the fail-fast approach within the BBC tests done in Fail tests on runtime exceptions #1322. From now on, if a test case had any runtime exceptions thrown from signal handlers the test is failed by the BBC. While it may be a breaking change for some, we believe it worth fixing such issues right away than hiding them under the carpet.
If one requires to fall back to the previous behavior, the BBC instance can be configured using the newly introduced
tolerateFailures
method.The
grand_origin
field is no longer set to a default instance for the signalOrigin
if no grand origin is present (see Remove emptygrand_origin
#1341 for details).The
ServerEnvironment
API is improved and changed as a result of the API improvements forServerEnvironment
#1315 and related discussions in a series of PRs (ImproveServerEnviornment
configuration #1327, More improvements toServerEnvironment
configuration #1331,ServerEnvironment
improvements #1336).The previously deprecated
configure...()
API is removed in favor of the new fluentwhen().use()
API.So now, instead of smth like this:
One should use the following snippet:
API Changes
Change
type validation requirements are relaxed for primitive type changes.The
new_value
field is no longer a required one forStringChange
andBytesChange
types. See Relax changes #1307 for details.Introduced simplified
unicast()
methods in theEventRouting
.The new
unicast()
API allows simplifying and prettifying the even routing for the cases where a singular ID is used.Now, instead of smth like this:
One can use the following API:
To find out more details on the new API please check Simplify unicast event routing #1317.
Added
localDate
andlocalDateTime
helpers to theWithTime
interface.This feature allows accessing
localDate
andlocalDateTime
methods from within all the signals. From now on, if one requires a JavaLocalDate
orLocalDateTime
instances over the ProtobufTimestamp
or JavaInstant
that were previously available for signals, they may use the new API to simplify such a conversion and access to the signalstimestamp
field.See Improve
MethodSignature
andWithTime
#1319 for additional details.Fixes
Improved multitenant delivery support by ensuring the tenant is properly propagated within the delivery (see Improve multitenancy support #1308).
Fixed a typo in the
io.spine.client.Client
shutdownTimeout
method (see Fix a typo #1339).Fixed dispatching of rejections caused by a particular command (see
@Subscribe
-r of the rejection caused by a particular command causes the dispatching failure in some cases #1318 and Improve signals dispatching #1343).Infrastructure
implementation
for compile-only annotations likeerrorprone
annotations but use the newly introducedcompileOnlyApi
configuration for such dependencies (see Improve dependencies management #1340).