Skip to content

v1.4.0

Compare
Choose a tag to compare
@timonback timonback released this 29 Jun 11:17
· 285 commits to master since this release

Springwolf 1.4.0 is out! Thanks to all our contributors!

Migration notes

If you are using the Springwolf binding annotations, the import path has changed.
In case of Kafka, that is changing io.github.springwolf.plugins.kafka.asyncapi.annotations.KafkaAsyncOperationBinding
to io.github.springwolf.bindings.kafka.annotations.KafkaAsyncOperationBinding

If you are using the actuator, the endpoint was updated and is only available in json to match how actuators in Spring Boot should behave.

Highlights

Again, a lot of changes and improvements are shipped.

STOMP (WebSocket) plugin

After the upgrade to AsyncAPI 3.0 and many refactorings, we finally added support for the much wished STOMP protocol used in Spring WebSocket.
This is an initial version, which currently generates the documentation but lacks publishing support and showing reply in springwolf-ui.

AsyncAPI Studio compatibility mode

Springwolf generates AsyncAPI compliant documentation, but there may be cases where AsyncAPI Studio displays them as invalid.
By tweaking the documentation, we try to provide a good out-of-the-box experience without validation errors when using AsyncAPI Studio.
Therefore, this is enabled by default.

Spring @Header support

Springwolf now auto-detects headers as part of the method signature.
Again, these can be overwritten by using the Springwolf @AsyncOperation.Headers annotation.

Other noteworthy changes

  • Springwolf now supports primitive types (e.g., byte) as payload
  • The document now contains the channel#address & schema#title attribute

What's Changed

  • chore(deps): configure dependabot to group angular updates by @sam0r040 in #783
  • chore(deps): Bump jakarta.validation:jakarta.validation-api from 3.0.2 to 3.1.0 by @dependabot in #784
  • chore(deps): Bump org.owasp.dependencycheck from 9.1.0 to 9.2.0 by @dependabot in #785
  • chore(deps): Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 by @dependabot in #789
  • Feat/replace plugin bindings with artifact bindings by @timonback in #728
  • feat(core): make springwolf ui path configurable by @sam0r040 in #786
  • docs: Add alten italia as springwolf user by @timonback in #793
  • feat(core): Make @AsyncOperation.Headers.Header#value optional by @ccudennec-otto in #798
  • chore(deps): Bump protobufJavaVersion from 4.27.0 to 4.27.1 by @dependabot in #802
  • chore(deps): Bump org.jetbrains.kotlinx:kotlinx-serialization-core-jvm from 1.6.3 to 1.7.0 by @dependabot in #803
  • chore(deps): Bump zone.js from 0.14.6 to 0.14.7 in /springwolf-ui by @dependabot in #801
  • chore(deps-dev): Bump @asyncapi/parser from 3.0.14 to 3.0.16 in /springwolf-ui by @dependabot in #800
  • chore(deps-dev): Bump ws from 8.17.0 to 8.17.1 in /springwolf-ui in the npm_and_yarn group by @dependabot in #809
  • chore(deps-dev): Bump @asyncapi/parser from 3.0.16 to 3.1.0 in /springwolf-ui by @dependabot in #808
  • chore(deps): Bump org.springframework.boot from 3.2.5 to 3.3.0 by @dependabot in #804
  • Read spring header annotation by @timonback in #787
  • fix(core): handle nullable schema in NamedSchemaObject by @timonback in #794
  • fix: Handle class types with extends and primitive types like byte[] by @timonback in #795
  • refactor(core): split payload service by @timonback in #796
  • feat(core): add ChannelObject#channelId and populate ChannelObject#address by @timonback in #797
  • feat(stomp): add stomp plugin by @timonback in #369
  • fix(core): handle recursion in allOf schema by @timonback in #810
  • Chore/trigger pipeline by @timonback in #811
  • chore(deps): Bump com.networknt:json-schema-validator from 1.4.0 to 1.4.2 by @dependabot in #817
  • chore(deps): Bump org.springdoc.openapi-gradle-plugin from 1.8.0 to 1.9.0 by @dependabot in #819
  • chore(deps): Bump org.springframework.boot from 3.3.0 to 3.3.1 by @dependabot in #818
  • chore(deps-dev): Bump jest-preset-angular from 14.1.0 to 14.1.1 in /springwolf-ui by @dependabot in #815
  • chore(deps): Bump the dependencies-angular group across 1 directory with 10 updates by @dependabot in #806
  • chore: publish stomp artifacts by @timonback in #821
  • chore(deps): replace findbugs jsr305 by @timonback in #812
  • chore: align bean with actual class names by @timonback in #813
  • chore(deps): Bump jacksonVersion from 2.16.2 to 2.17.1 by @dependabot in #748
  • feat(core): add configuration property to toggle workarounds for Asyn… by @sam0r040 in #822

New Contributors

Full Changelog: v1.3.0...v1.4.0