Skip to content

Changes in AMF 5.5.0

Compare
Choose a tag to compare
@arielmirra arielmirra released this 12 Apr 19:58
· 281 commits to develop since this release
5cab5ba

What's changed

Added parsing, transformation, validation and emission support for Async 2.1 to 2.6

We've added support for Async 2.1, 2.2, 2.3, 2.4, 2.5, and 2.6 versions.

The new bindings are:

  • Async 2.1 onwards:
    • Mercure and IBMMQ bindings support
  • Async 2.2 onwards:
    • AypointMQ binding support
  • Async 2.3 onwards:
    • Solace binding support
  • Async 2.5 onwards:
    • GoglePubSub binding support
  • Async 2.6 onwards:
    • Pulsar binding support

For more information about each binding check out the asyncapi bindings repository.

New AsyncApi transformation steps

We've added transformation steps that add more metadata to async APIs. While this features were added in specific async versions, we're running these steps to all Async APIs (2.x.x)

  • ChannelServersResolutionStage
    • Specifies which servers apply to each channels (all servers by default unless specified)
  • OperationsSecurityResolutionStage
    • Specifies which security schemes apply to each operation (all by default unless specified)

Async bindings versions limitations

At the moment of this release, for bindings that already existed with Async 2.0 (Kafka, Amqp091, HTTP, MQTT, WebSocket): we made no changes there, the code is the same that existed for Async 2.0, so the supported version is the 1.0.0 of each binding.

For new bindings added between Async 2.1 and Async 2.6 (Solace, Pulsar, AnypointMQ, IBMMQ, Googlepubsub): the supported version is the immediate previous to the Async 3.0 commit (feat!: release v3 compatible bindings).

We know this is not exactly the correct behavior, but we didn't detected this until some weeks ago (the spec is not very clear about it).
We'll be adding support for all the bindings versions to allow you to choose the desired version using the bindingVersion field. This is coming in a future release.

Commits

New Contributors

Full Changelog: 5.4.9...5.5.0