Skip to content

Releases: cloudevents/sdk-java

Release 3.0.0

26 Mar 09:37
c018f95
Compare
Choose a tag to compare

New features

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

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

New Contributors

Full Changelog: 2.5.0...v3.0.0

Release 2.5.0

15 May 15:30
ba222d8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.4.2...2.5.0

Release 2.4.2

03 Mar 17:10
90c8541
Compare
Choose a tag to compare

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

12 Jan 17:02
572eb97
Compare
Choose a tag to compare

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

06 Sep 14:02
830760a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.0...2.4.0

Release 2.3.0

21 Dec 12:15
ace6859
Compare
Choose a tag to compare

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

Full Changelog: 2.2.0...2.3.0

Release 2.2.1

21 Dec 12:12
8587e8c
Compare
Choose a tag to compare

What's Changed

  • [2.2] Handle NullNode for optional attributes in Jackson CloudEventDeserializer by @pierDipi in #433
  • [2.2] Close input stream on CloudEventHttpMessageReader (#421) by @pierDipi in #434
  • [2.2] Run tests with Java 17 (#426) by @pierDipi in #435

Full Changelog: 2.2.0...v2.2.1

2.2: CESQL enhancements

17 Jun 10:18
8ad857d
Compare
Choose a tag to compare

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

06 May 12:37
b9de5f7
Compare
Choose a tag to compare

Patch release for a bug in the CESQL implementation: #381

2.1: CESQL and Protobuf

28 Apr 13:44
ba9ccad
Compare
Choose a tag to compare

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:

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 instead io.cloudevents.rw.CloudEventContextWriter#withContextAttribute(String, Integer). This change was necessary in order to enforce to use only Integer 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!