Releases: cloudevents/sdk-java
Release 3.0.0
New features
- Add support for restful-ws Jakarta EE9 namespace by @abutch3r in #469
- Add RocketMQ protocol binding by @aaron-ai in #554
- Add Avro compact event format implementation by @alexec in #578
- Add XML event format implementation by @JemDay in #448
- Add support for custom Cloudevents validation by @touchkey in #594
- Refactor to facilitate decoupling from concrete implementations of EventFormat by @skepticoitusInteruptus in #539
Breaking changes
- Use UTF-8 when using getBytes by @duglin in #491
- Make ProtoCloudEventData consistent with spec. by @JemDay in #535
Modified ProtoCloudEventData to always return a Protobuf Any object - this ensures it is coherent with the Protobuff CloudEvent format specification.
It remains possible to wrap any Protobuf 'Message' object directly (which includes an 'Any') as a convienience to reduce application code. - JSON format assumes JSON content-type where possible by @matejvasek in #604
Bug Fixes
- Fix Protobuf corruption issue by @JemDay in #524
- Fix example in "Materialize an Extension" by @jolivaSan in #475
- Set correct url to naming conventions by @gklijs in #477
- Minor Cosmetic Change by @VikramVuppla in #480
- Strip parameters from data content types to assess if it's JSON format by @fredoboulo in #484
- Remove deprecated constructor usage for JsonCloudEventData by @pierDipi in #483
Dependencies updates
- Bump tzinfo from 1.2.8 to 1.2.10 in /docs by @dependabot in #467
- Bump Protobuf, Kafka, and Vertx by @duglin in #492
- Fix curl command by @averikitsch in #478
- [Snyk] Security upgrade io.vertx:vertx-core from 4.3.6 to 4.3.7 by @fabiojose in #495
- Bump nokogiri from 1.13.6 to 1.13.9 in /docs by @dependabot in #486* Initial
- Bump reactor-core from 3.4.21 to 3.5.1 by @dependabot in #499
- Bump nokogiri from 1.13.9 to 1.13.10 in /docs by @dependabot in #496
- Bump activesupport from 6.0.6 to 6.0.6.1 in /docs by @dependabot in #517
- Bump maven-gpg-plugin from 1.6 to 3.1.0 by @dependabot in #564
- Bump truth-proto-extension from 1.1 to 1.1.5 by @dependabot in #580
- Bump io.openliberty.arquillian:arquillian-liberty-managed-jakarta-junit from 2.1.0 to 2.1.4 by @dependabot in #582
- Bump jetty-server from 9.4.41.v20210516 to 9.4.51.v20230217 in /examples/basic-http by @dependabot in #579
- Bump jackson-dataformat-yaml from 2.11.2 to 2.15.2 by @dependabot in #577
- Bump org.apache.avro:avro from 1.11.2 to 1.11.3 in /formats/avro-compact by @dependabot in #593
- #588 Update jackson to 2.15.2 by @stummb in #589
- Bump com.github.hanleyt:jersey-junit from 2.1.0 to 2.2.0 by @dependabot in #584
- Bump nokogiri from 1.13.10 to 1.16.3 in /docs by @dependabot in #609
- Bump org.apache.maven.plugins:maven-source-plugin from 2.2.1 to 3.3.0 by @dependabot in #608
General improvements
- Add governance docs per CE PR 1226 by @duglin in #590
- Add link to our security mailing list by @duglin in #599
- Upgrade Quarkus examples with binary and structured events by @ruromero in #515
- Run tests before deploy on Java 17 by @pierDipi in #504
- Remove unused import by @mxsm in #522
- Fix javadoc build (#529) by @pierDipi in #534
New Contributors
- @jolivaSan made their first contribution in #475
- @gklijs made their first contribution in #477
- @VikramVuppla made their first contribution in #480
- @abutch3r made their first contribution in #469
- @averikitsch made their first contribution in #478
- @mxsm made their first contribution in #522
- @skepticoitusInteruptus made their first contribution in #539
- @aaron-ai made their first contribution in #554
- @alexec made their first contribution in #578
- @stummb made their first contribution in #589
- @Cali0707 made their first contribution in #603
- @touchkey made their first contribution in #594
Full Changelog: 2.5.0...v3.0.0
Release 2.5.0
Release 2.4.2
What's Changed
- Fix Protobuf data corruption when CloudEvent serialized/deserialized several times by @JemDay in #524
Full Changelog: 2.4.1...2.4.2
Release 2.4.1
What's Changed
- Strip parameters from data content types to assess if it's JSON format (#484) by @fredoboulo in #485
Full Changelog: 2.4.0...2.4.1
Release 2.4.0
What's Changed
- Enhances detection of textual content types by @JemDay in #444
- Fix structured event example by @mEstrazulas in #451
- Security upgrade io.vertx:vertx-core from 4.0.0 to 4.2.5 by @snyk-bot in #455
- Optimize
isCloudEventsHeader
check by @pierDipi in #445 - CVE-2020-36518 - bump jackson from 2.11.2 to 2.13.3 by @gtedesc0 in #464
- chore: update Quarkus example by @matejvasek in #466
- Support dynamic data content type by @segator in #471
New Contributors
- @mEstrazulas made their first contribution in #451
- @gtedesc0 made their first contribution in #464
- @segator made their first contribution in #471
Full Changelog: 2.3.0...2.4.0
Release 2.3.0
What's Changed
- Provide a Bill of Materials artifact for easier integration by @nvervelle in #405
- Moved exception factory methods internally by @slinkydeveloper in #402
- fix NPE in CloudEventDeserializer when deserializing with optional header with null value by @bdshadow in #415
- Close input stream on CloudEventHttpMessageReader fix #420 by @joke in #421
- Add example of WebClient usage by @dsyer in #418
- Fix the Java Doc build by @pierDipi in #424
- Run tests with Java 17 by @pierDipi in #426
- Ignore not valid extension name in jackson CloudEventDeserializer by @mhyeon-lee in #429
- Handle NullNode for optional attributes in Jackson CloudEventDeserializer by @pierDipi in #432
Dependencies
- Bump spring-framework-bom from 5.2.8.RELEASE to 5.2.9.RELEASE in /http/restful-ws-integration-tests/restful-ws-spring by @dependabot in #382
- Bump jetty-server from 9.4.38.v20210224 to 9.4.41.v20210516 in /examples/basic-http by @dependabot in #403
- Bump nokogiri from 1.11.5 to 1.12.5 in /docs by @dependabot in #419
- Bump addressable from 2.7.0 to 2.8.0 in /docs by @dependabot in #406
- Bump spring-framework-bom from 5.2.8.RELEASE to 5.2.9.RELEASE in /examples/restful-ws-spring-boot by @dependabot in #423
New Contributors
- @nvervelle made their first contribution in #405
- @bdshadow made their first contribution in #415
- @joke made their first contribution in #421
- @mhyeon-lee made their first contribution in #429
Full Changelog: 2.2.0...2.3.0
Release 2.2.1
2.2: CESQL enhancements
It's a pleasure for me to announce the latest version of cloudevents/sdk-java
This release is all focused around CESQL improvements, including fixing some bugs, implement constant folding and general code reorganization. Be aware that the package is still unstable and might break anytime in the next releases.
For more details and a complete list of changes: https://github.com/cloudevents/sdk-java/milestone/10?closed=1
2.1.1: CESQL Bugfix
Patch release for a bug in the CESQL implementation: #381
2.1: CESQL and Protobuf
Hi everybody!
On the behalf of the CloudEvents community, I'm pleased to announce that we have a new release of CloudEvents SDK Java with some new shiny features!
New modules
We have two new modules:
cloudevents-sql
: Implements the newborn CloudEvents SQL Expression Languagecloudevents-protobuf
:EventFormat
implementation of Protobuf event format
Although these modules use the same semver of the rest of the sdk, they are to be considered unstable, and their APIs might change anytime. We'll work on stabilizing them in the next releases. Please reach us out with any feedback about them!
New features
- Now the
io.cloudevents
APIs support handling of binary CloudEvent attributes: #353 - Added some methods to the
CloudEventBuilder
to remove data, datacontenttype and dataschema: #374 - Spring module now supports RSockets: #349
- List available eventformat implementations: #350
Deprecations
io.cloudevents.rw.CloudEventContextWriter#withContextAttribute(String, Number)
is deprecated, you should use insteadio.cloudevents.rw.CloudEventContextWriter#withContextAttribute(String, Integer)
. This change was necessary in order to enforce to use onlyInteger
as numeric types of your CloudEvents attributes, which is the only numeric type supported by the CloudEvents spec type system. For more details: #358
Fixes
- Now parsing incoming cloudevents doesn't fail anymore if the attribute name is longer than 20 chars: #366
- Fail parsing on bad cloudevents content type: #362
- Don't print null for missing attributes when invoking
CloudEvent#toString()
: #376
You can check out all the changes here: https://github.com/cloudevents/sdk-java/milestone/8?closed=1
To start using the sdk, look at the documentation on the official website and check out the examples
Happy hacking!