GitPedia
cloudevents

cloudevents/sdk-java

Java SDK for CloudEvents

27 Releases
Latest: 2w ago
v4.1.1Latest
Cali0707Cali0707·2w ago·June 9, 2026
GitHub

📋 What's Changed

  • [Release] Bump to 4.1.1-SNAPSHOT by @github-actions[bot] in https://github.com/cloudevents/sdk-java/pull/734
  • Cleanups before Java 17 by @jacekbilski in https://github.com/cloudevents/sdk-java/pull/735
  • [Release] Bump to 4.1.1 by @github-actions[bot] in https://github.com/cloudevents/sdk-java/pull/737
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/v4.1.0...v4.1.1
v4.1.0
Cali0707Cali0707·1mo ago·May 27, 2026
GitHub

📋 What's Changed

  • [Release] Bump to 4.1.0-SNAPSHOT by @github-actions[bot] in https://github.com/cloudevents/sdk-java/pull/727
  • Deprecating to Jakarta EE 8 by @jacekbilski in https://github.com/cloudevents/sdk-java/pull/732
  • [Release] Bump to 4.1.0 by @github-actions[bot] in https://github.com/cloudevents/sdk-java/pull/733

New Contributors

  • @jacekbilski made their first contribution in https://github.com/cloudevents/sdk-java/pull/732
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/v4.0.2...v4.1.0
v4.0.2
duglinduglin·2mo ago·April 10, 2026
GitHub

📋 What's Changed

  • [Release] Bump to 4.1.0-SNAPSHOT by @github-actions[bot] in https://github.com/cloudevents/sdk-java/pull/645
  • Allow bumping versions in `/docs` only by @pierDipi in https://github.com/cloudevents/sdk-java/pull/648
  • [Release] Bump to 4.0.0 by @github-actions[bot] in https://github.com/cloudevents/sdk-java/pull/649
  • Make CloudEventValidatorProvider thread safe by @pierDipi in https://github.com/cloudevents/sdk-java/pull/650
  • Bump org.apache.rocketmq:rocketmq-client-java from 5.0.4 to 5.0.7 by @dependabot[bot] in https://github.com/cloudevents/sdk-java/pull/653
  • Fix cloudevents-sql artifactId in bom by @dsimansk in https://github.com/cloudevents/sdk-java/pull/669
  • Bump org.apache.maven.plugins:maven-install-plugin from 2.5.1 to 3.1.3 by @dependabot[bot] in https://github.com/cloudevents/sdk-java/pull/664
  • docs: correcting import to EventFormatProvider by @rohanrmallya in https://github.com/cloudevents/sdk-java/pull/658
  • + 31 more

New Contributors

  • @dsimansk made their first contribution in https://github.com/cloudevents/sdk-java/pull/669
  • @rohanrmallya made their first contribution in https://github.com/cloudevents/sdk-java/pull/658
  • @pnt made their first contribution in https://github.com/cloudevents/sdk-java/pull/679
  • @SleimanJneidi made their first contribution in https://github.com/cloudevents/sdk-java/pull/696
  • @akerekes made their first contribution in https://github.com/cloudevents/sdk-java/pull/712
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/v4.0.1...v4.0.2
v4.0.1
pierDipipierDipi·1y ago·July 3, 2024
GitHub

📋 What's Changed

  • [4.0] Make CloudEventValidatorProvider thread safe (#650) by @pierDipi in https://github.com/cloudevents/sdk-java/pull/651
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/v4.0.0...v4.0.1
v4.0.0
pierDipipierDipi·1y ago·July 1, 2024
GitHub

📋 What's Changed

  • Support CloudEvents SQL v1 (CE SQL) by @Cali0707 in https://github.com/cloudevents/sdk-java/pull/641
  • doc: update & uniformize package version by @BoboTiG in https://github.com/cloudevents/sdk-java/pull/640
  • fix: invalid automatic module name by @Jummartinezro in https://github.com/cloudevents/sdk-java/pull/639
  • Bump io.vertx:vertx-core from 4.3.7 to 4.5.3 in /http/vertx by @dependabot in https://github.com/cloudevents/sdk-java/pull/622
  • Bump nokogiri from 1.16.3 to 1.16.5 in /docs by @dependabot in https://github.com/cloudevents/sdk-java/pull/632
  • Bump org.xmlunit:xmlunit-core from 2.9.0 to 2.10.0 in /formats/xml by @dependabot in https://github.com/cloudevents/sdk-java/pull/631

New Contributors

  • @BoboTiG made their first contribution in https://github.com/cloudevents/sdk-java/pull/640
  • @Jummartinezro made their first contribution in https://github.com/cloudevents/sdk-java/pull/639
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/3.0.0...v4.0.0
Release 3.0.03.0.0
pierDipipierDipi·2y ago·March 26, 2024
GitHub

New features

  • Add support for restful-ws Jakarta EE9 namespace by @abutch3r in https://github.com/cloudevents/sdk-java/pull/469
  • Add RocketMQ protocol binding by @aaron-ai in https://github.com/cloudevents/sdk-java/pull/554
  • Add Avro compact event format implementation by @alexec in https://github.com/cloudevents/sdk-java/pull/578
  • Add XML event format implementation by @JemDay in https://github.com/cloudevents/sdk-java/pull/448
  • Add support for custom Cloudevents validation by @touchkey in https://github.com/cloudevents/sdk-java/pull/594
  • Refactor to facilitate decoupling from concrete implementations of EventFormat by @skepticoitusInteruptus in https://github.com/cloudevents/sdk-java/pull/539

💥 Breaking changes

  • Use UTF-8 when using getBytes by @duglin in https://github.com/cloudevents/sdk-java/pull/491
  • Make ProtoCloudEventData consistent with spec. by @JemDay in https://github.com/cloudevents/sdk-java/pull/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 https://github.com/cloudevents/sdk-java/pull/604

🐛 Bug Fixes

  • Fix Protobuf corruption issue by @JemDay in https://github.com/cloudevents/sdk-java/pull/524
  • Fix example in "Materialize an Extension" by @jolivaSan in https://github.com/cloudevents/sdk-java/pull/475
  • Set correct url to naming conventions by @gklijs in https://github.com/cloudevents/sdk-java/pull/477
  • Minor Cosmetic Change by @VikramVuppla in https://github.com/cloudevents/sdk-java/pull/480
  • Strip parameters from data content types to assess if it's JSON format by @fredoboulo in https://github.com/cloudevents/sdk-java/pull/484
  • Remove deprecated constructor usage for JsonCloudEventData by @pierDipi in https://github.com/cloudevents/sdk-java/pull/483

📦 Dependencies updates

  • Bump tzinfo from 1.2.8 to 1.2.10 in /docs by @dependabot in https://github.com/cloudevents/sdk-java/pull/467
  • Bump Protobuf, Kafka, and Vertx by @duglin in https://github.com/cloudevents/sdk-java/pull/492
  • Fix curl command by @averikitsch in https://github.com/cloudevents/sdk-java/pull/478
  • [Snyk] Security upgrade io.vertx:vertx-core from 4.3.6 to 4.3.7 by @fabiojose in https://github.com/cloudevents/sdk-java/pull/495
  • Bump nokogiri from 1.13.6 to 1.13.9 in /docs by @dependabot in https://github.com/cloudevents/sdk-java/pull/486* Initial
  • Bump reactor-core from 3.4.21 to 3.5.1 by @dependabot in https://github.com/cloudevents/sdk-java/pull/499
  • Bump nokogiri from 1.13.9 to 1.13.10 in /docs by @dependabot in https://github.com/cloudevents/sdk-java/pull/496
  • Bump activesupport from 6.0.6 to 6.0.6.1 in /docs by @dependabot in https://github.com/cloudevents/sdk-java/pull/517
  • + 10 more

📦 General improvements

  • Add governance docs per CE PR 1226 by @duglin in https://github.com/cloudevents/sdk-java/pull/590
  • Add link to our security mailing list by @duglin in https://github.com/cloudevents/sdk-java/pull/599
  • Upgrade Quarkus examples with binary and structured events by @ruromero in https://github.com/cloudevents/sdk-java/pull/515
  • Run tests before deploy on Java 17 by @pierDipi in https://github.com/cloudevents/sdk-java/pull/504
  • Remove unused import by @mxsm in https://github.com/cloudevents/sdk-java/pull/522
  • Fix javadoc build (#529) by @pierDipi in https://github.com/cloudevents/sdk-java/pull/534

New Contributors

  • @jolivaSan made their first contribution in https://github.com/cloudevents/sdk-java/pull/475
  • @gklijs made their first contribution in https://github.com/cloudevents/sdk-java/pull/477
  • @VikramVuppla made their first contribution in https://github.com/cloudevents/sdk-java/pull/480
  • @abutch3r made their first contribution in https://github.com/cloudevents/sdk-java/pull/469
  • @averikitsch made their first contribution in https://github.com/cloudevents/sdk-java/pull/478
  • @mxsm made their first contribution in https://github.com/cloudevents/sdk-java/pull/522
  • @skepticoitusInteruptus made their first contribution in https://github.com/cloudevents/sdk-java/pull/539
  • @aaron-ai made their first contribution in https://github.com/cloudevents/sdk-java/pull/554
  • + 5 more
Release 2.5.02.5.0
pierDipipierDipi·3y ago·May 15, 2023
GitHub

📋 What's Changed

  • Restful-ws Jakarta EE9 namespace support (#469) by @robp94 and @abutch3r in https://github.com/cloudevents/sdk-java/pull/557

New Contributors

  • @robp94 made their first contribution in https://github.com/cloudevents/sdk-java/pull/557
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/2.4.2...2.5.0
Release 2.4.22.4.2
pierDipipierDipi·3y ago·March 3, 2023
GitHub

📋 What's Changed

  • Fix Protobuf data corruption when CloudEvent serialized/deserialized several times by @JemDay in https://github.com/cloudevents/sdk-java/pull/524
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/2.4.1...2.4.2
Release 2.4.12.4.1
pierDipipierDipi·3y ago·January 12, 2023
GitHub

📋 What's Changed

  • Strip parameters from data content types to assess if it's JSON format (#484) by @fredoboulo in https://github.com/cloudevents/sdk-java/pull/485
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/2.4.0...2.4.1
Release 2.4.02.4.0
pierDipipierDipi·3y ago·September 6, 2022
GitHub

📋 What's Changed

  • Enhances detection of textual content types by @JemDay in https://github.com/cloudevents/sdk-java/pull/444
  • Fix structured event example by @mEstrazulas in https://github.com/cloudevents/sdk-java/pull/451
  • Security upgrade io.vertx:vertx-core from 4.0.0 to 4.2.5 by @snyk-bot in https://github.com/cloudevents/sdk-java/pull/455
  • Optimize `isCloudEventsHeader` check by @pierDipi in https://github.com/cloudevents/sdk-java/pull/445
  • CVE-2020-36518 - bump jackson from 2.11.2 to 2.13.3 by @gtedesc0 in https://github.com/cloudevents/sdk-java/pull/464
  • chore: update Quarkus example by @matejvasek in https://github.com/cloudevents/sdk-java/pull/466
  • Support dynamic data content type by @segator in https://github.com/cloudevents/sdk-java/pull/471

New Contributors

  • @mEstrazulas made their first contribution in https://github.com/cloudevents/sdk-java/pull/451
  • @gtedesc0 made their first contribution in https://github.com/cloudevents/sdk-java/pull/464
  • @segator made their first contribution in https://github.com/cloudevents/sdk-java/pull/471
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/2.3.0...2.4.0
Release 2.3.02.3.0
pierDipipierDipi·4y ago·December 21, 2021
GitHub

📋 What's Changed

  • Provide a Bill of Materials artifact for easier integration by @nvervelle in https://github.com/cloudevents/sdk-java/pull/405
  • Moved exception factory methods internally by @slinkydeveloper in https://github.com/cloudevents/sdk-java/pull/402
  • fix NPE in CloudEventDeserializer when deserializing with optional header with null value by @bdshadow in https://github.com/cloudevents/sdk-java/pull/415
  • Close input stream on CloudEventHttpMessageReader fix #420 by @joke in https://github.com/cloudevents/sdk-java/pull/421
  • Add example of WebClient usage by @dsyer in https://github.com/cloudevents/sdk-java/pull/418
  • Fix the Java Doc build by @pierDipi in https://github.com/cloudevents/sdk-java/pull/424
  • Run tests with Java 17 by @pierDipi in https://github.com/cloudevents/sdk-java/pull/426
  • Ignore not valid extension name in jackson CloudEventDeserializer by @mhyeon-lee in https://github.com/cloudevents/sdk-java/pull/429
  • + 1 more

📦 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 https://github.com/cloudevents/sdk-java/pull/382
  • Bump jetty-server from 9.4.38.v20210224 to 9.4.41.v20210516 in /examples/basic-http by @dependabot in https://github.com/cloudevents/sdk-java/pull/403
  • Bump nokogiri from 1.11.5 to 1.12.5 in /docs by @dependabot in https://github.com/cloudevents/sdk-java/pull/419
  • Bump addressable from 2.7.0 to 2.8.0 in /docs by @dependabot in https://github.com/cloudevents/sdk-java/pull/406
  • Bump spring-framework-bom from 5.2.8.RELEASE to 5.2.9.RELEASE in /examples/restful-ws-spring-boot by @dependabot in https://github.com/cloudevents/sdk-java/pull/423

New Contributors

  • @nvervelle made their first contribution in https://github.com/cloudevents/sdk-java/pull/405
  • @bdshadow made their first contribution in https://github.com/cloudevents/sdk-java/pull/415
  • @joke made their first contribution in https://github.com/cloudevents/sdk-java/pull/421
  • @mhyeon-lee made their first contribution in https://github.com/cloudevents/sdk-java/pull/429
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/2.2.0...2.3.0
Release 2.2.12.2.1
pierDipipierDipi·4y ago·December 21, 2021
GitHub

📋 What's Changed

  • [2.2] Handle NullNode for optional attributes in Jackson CloudEventDeserializer by @pierDipi in https://github.com/cloudevents/sdk-java/pull/433
  • [2.2] Close input stream on CloudEventHttpMessageReader (#421) by @pierDipi in https://github.com/cloudevents/sdk-java/pull/434
  • [2.2] Run tests with Java 17 (#426) by @pierDipi in https://github.com/cloudevents/sdk-java/pull/435
  • Full Changelog: https://github.com/cloudevents/sdk-java/compare/2.2.0...v2.2.1
2.2: CESQL enhancements2.2.0
slinkydeveloperslinkydeveloper·5y ago·June 17, 2021
GitHub

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 2.1.1
slinkydeveloperslinkydeveloper·5y ago·May 6, 2021
GitHub

Patch release for a bug in the CESQL implementation: https://github.com/cloudevents/sdk-java/pull/381

2.1: CESQL and Protobuf2.1.0
slinkydeveloperslinkydeveloper·5y ago·April 28, 2021
GitHub

New modules

  • We have two new modules:
  • `cloudevents-sql`: Implements the newborn [CloudEvents SQL Expression Language](https://github.com/cloudevents/spec/blob/master/expression-language.md)
  • `cloudevents-protobuf`: `EventFormat` implementation of [Protobuf event format](https://github.com/cloudevents/spec/blob/master/protobuf-format.md)

New features

  • Now the `io.cloudevents` APIs support handling of binary CloudEvent attributes: https://github.com/cloudevents/sdk-java/pull/353
  • Added some methods to the `CloudEventBuilder` to remove data, datacontenttype and dataschema: https://github.com/cloudevents/sdk-java/pull/374
  • Spring module now supports RSockets: https://github.com/cloudevents/sdk-java/pull/349
  • List available eventformat implementations: https://github.com/cloudevents/sdk-java/pull/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: https://github.com/cloudevents/sdk-java/pull/358

🐛 Fixes

  • Now parsing incoming cloudevents doesn't fail anymore if the attribute name is longer than 20 chars: https://github.com/cloudevents/sdk-java/pull/366
  • Fail parsing on bad cloudevents content type: https://github.com/cloudevents/sdk-java/pull/362
  • Don't print null for missing attributes when invoking `CloudEvent#toString()`: https://github.com/cloudevents/sdk-java/pull/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!
2.0 GA2.0.0
slinkydeveloperslinkydeveloper·5y ago·February 15, 2021
GitHub

📋 Changes

  • https://github.com/cloudevents/sdk-java/releases/tag/2.0.0-milestone1
  • https://github.com/cloudevents/sdk-java/releases/tag/2.0.0-milestone2
  • https://github.com/cloudevents/sdk-java/releases/tag/2.0.0-milestone3
  • https://github.com/cloudevents/sdk-java/releases/tag/2.0.0-milestone4
  • https://github.com/cloudevents/sdk-java/releases/tag/2.0.0.RC1
  • https://github.com/cloudevents/sdk-java/releases/tag/2.0.0.RC2
2.0.0 RC22.0.0.RC2Pre-release
slinkydeveloperslinkydeveloper·5y ago·December 11, 2020
GitHub

📋 Changes

  • Now we have a module that integrates with different Spring components, including WebFlux, MVC, Messaging. Thanks @dsyer for the contribution!
  • Now we have javadocs on all public interfaces
  • We improved the website including all the docs, check it out to start using the sdk: https://cloudevents.github.io/sdk-java/

📦 What's next

  • This is probably the last Release Candidate before the final release, so please check out for bugs and discussions!
  • If you want to contribute, feel free to pick any good first issue here: https://github.com/cloudevents/sdk-java/labels/good%20first%20issue
  • As always, we encourage you to give feedback about the current efforts in order to improve this project!
  • Happy hacking!
2.0.0 RC12.0.0.RC1Pre-release
slinkydeveloperslinkydeveloper·5y ago·November 26, 2020
GitHub

📋 Changes

  • We have a brand new AMQP protocol binding based on proton #270, huge shout-out to @Alfusainey!
  • We implemented the Kafka `partitionkey` extension, providing a `PartitionKeyInterceptor` that can be registered in producers to set up the record key from the input `CloudEvent`. To use it: https://github.com/cloudevents/sdk-java/tree/master/kafka#partition-key-extension
  • We have a new interface called `CloudEventContext` that wraps `CloudEventAttributes` and `CloudEventExtensions` https://github.com/cloudevents/sdk-java/pull/296, thanks to @dsyer!
  • We moved `CloudEventUtils` from `io.cloudevents.core.impl` to `io.cloudevents.core` and improved its documentation https://github.com/cloudevents/sdk-java/pull/261. This class will be used to collect methods that helps users deal with `CloudEventData`, `CloudEventReader`/`CloudEventWriter` abstractions.
  • We worked on improving the usability around `CloudEventData` interface, introducing a new implementation named `PojoCloudEventData` #289. Now you can easily go from your pojo to `CloudEvent` providing the mapper of your choice!
  • https://github.com/cloudevents/sdk-java/issues/285
  • https://github.com/cloudevents/sdk-java/issues/271
  • https://github.com/cloudevents/sdk-java/pull/306
  • + 1 more

📦 What's next

  • If you want to contribute, feel free to pick any good first issue here: https://github.com/cloudevents/sdk-java/labels/good%20first%20issue
  • As always, we encourage you to give feedback about the current efforts in order to improve this project!
  • Happy hacking!
2.0.0 Milestone 42.0.0-milestone4Pre-release
slinkydeveloperslinkydeveloper·5y ago·November 9, 2020
GitHub

📦 What's next

  • If you want to contribute, feel free to pick any good first issue here: https://github.com/cloudevents/sdk-java/labels/good%20first%20issue
  • As all milestones, this is a preview of the library for the community, nothing is written on the stone, so please give us feedback in order to improve this project!
  • Happy hacking!
2.0.0 Milestone 32.0.0-milestone3Pre-release
slinkydeveloperslinkydeveloper·5y ago·September 29, 2020
GitHub

📦 What's next

  • If you want to contribute, feel free to pick any good first issue here: https://github.com/cloudevents/sdk-java/labels/good%20first%20issue
  • As all milestones, this is a preview of the library for the community, nothing is written on the stone, so please give us feedback in order to improve this project!
  • Happy hacking!
2.0.0 Milestone 22.0.0-milestone2Pre-release
slinkydeveloperslinkydeveloper·5y ago·September 1, 2020
GitHub

📋 Timestamp type change https://github.com/cloudevents/sdk-java/pull/216

  • The method in `CloudEventAttributes`:
  • ```
  • ZonedDateTime getTime();
  • ```
  • Becomes:
  • ```
  • OffsetDateTime getTime();
  • ```
  • + 1 more

📦 Vert.x 4 https://github.com/cloudevents/sdk-java/pull/206

  • From this version onward, the `cloudevents-http-vertx` module uses Vert.x 4 and implements the client marshalling/unmarshalling using the `vertx-web-client`. Look at the PR for more info.

📦 Other

  • Added methods to remove extensions from a `CloudEventBuilder`: https://github.com/cloudevents/sdk-java/pull/218
  • Added more examples: https://github.com/cloudevents/sdk-java/pull/194 https://github.com/cloudevents/sdk-java/pull/195
  • You can check out all the changes here: https://github.com/cloudevents/sdk-java/milestone/2?closed=1
  • To start using it, look at the documentation on the official website: https://cloudevents.github.io/sdk-java/

📦 What's next

  • If you want to contribute, feel free to pick any good first issue here: https://github.com/cloudevents/sdk-java/labels/good%20first%20issue
  • As all milestones, this is a preview of the library for the community, nothing is written on the stone, so please give us feedback in order to improve this project!
  • Happy hacking!
First 2.0.0 milestone release!2.0.0-milestone1Pre-release
slinkydeveloperslinkydeveloper·6y ago·June 25, 2020
GitHub

📋 Changes

  • Re-structured the project separating the major interfaces from the implementations
  • Reworked and simplified the CloudEvent and CloudEventBuilder
  • Simplified the development of event formats and protocol bindings and the usage for end users
  • The base implementation is dependency free
v1.3.0
fabiojosefabiojose·6y ago·March 4, 2020
GitHub
v1.2.0
fabiojosefabiojose·6y ago·December 30, 2019
GitHub
v1.1.0
fabiojosefabiojose·6y ago·November 29, 2019
GitHub
v1.0.0
fabiojosefabiojose·6y ago·November 1, 2019
GitHub
v0.3.1
fabiojosefabiojose·6y ago·September 30, 2019
GitHub