From 8fe3ad4090177e920067c22ad0a8d33345719718 Mon Sep 17 00:00:00 2001 From: Sergio Moya <1083296+smoya@users.noreply.github.com> Date: Tue, 15 Mar 2022 16:50:41 +0100 Subject: [PATCH 1/3] chore: add 2022-04-release branch in .releaserc --- .releaserc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.releaserc b/.releaserc index 73a7f236..80428b1a 100644 --- a/.releaserc +++ b/.releaserc @@ -1,7 +1,7 @@ --- branches: - master -- name: 2022-01-release +- name: 2022-04-release prerelease: true plugins: - - "@semantic-release/commit-analyzer" From 3e5debb8c643663a06455996755b95174360c80c Mon Sep 17 00:00:00 2001 From: Sergio Moya <1083296+smoya@users.noreply.github.com> Date: Tue, 15 Mar 2022 16:51:07 +0100 Subject: [PATCH 2/3] chore: replace 2.3.0 by 2.4.0 in spec --- spec/asyncapi.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/asyncapi.md b/spec/asyncapi.md index 8f04a83c..b4d2d171 100644 --- a/spec/asyncapi.md +++ b/spec/asyncapi.md @@ -4,7 +4,7 @@ Part of this content has been taken from the great work done by the folks at the [OpenAPI Initiative](https://openapis.org). Mainly because **it's a great work** and we want to keep as much compatibility as possible with the [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification). -#### Version 2.3.0 +#### Version 2.4.0 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119](https://www.ietf.org/rfc/rfc2119.txt). @@ -1086,7 +1086,7 @@ The following table contains a set of values that every implementation MUST supp Name | Allowed values | Notes ---|:---:|--- -[AsyncAPI 2.3.0 Schema Object](#schemaObject) | `application/vnd.aai.asyncapi;version=2.3.0`, `application/vnd.aai.asyncapi+json;version=2.3.0`, `application/vnd.aai.asyncapi+yaml;version=2.3.0` | This is the default when a `schemaFormat` is not provided. +[AsyncAPI 2.4.0 Schema Object](#schemaObject) | `application/vnd.aai.asyncapi;version=2.4.0`, `application/vnd.aai.asyncapi+json;version=2.4.0`, `application/vnd.aai.asyncapi+yaml;version=2.4.0` | This is the default when a `schemaFormat` is not provided. [JSON Schema Draft 07](https://json-schema.org/specification-links.html#draft-7) | `application/schema+json;version=draft-07`, `application/schema+yaml;version=draft-07` | The following table contains a set of values that every implementation is RECOMMENDED to support. From 5b5ce19276cdc2869f58c5632dc1e72ac0303b9f Mon Sep 17 00:00:00 2001 From: Sergio Moya <1083296+smoya@users.noreply.github.com> Date: Tue, 15 Mar 2022 16:51:17 +0100 Subject: [PATCH 3/3] chore: replace 2.3.0 by 2.4.0 in examples --- examples/anyof.yml | 2 +- examples/application-headers.yml | 2 +- examples/correlation-id.yml | 2 +- examples/gitter-streaming.yml | 2 +- examples/mercure.yml | 2 +- examples/not.yml | 2 +- examples/oneof.yml | 2 +- examples/rpc-client.yml | 2 +- examples/rpc-server.yml | 2 +- examples/simple.yml | 2 +- examples/slack-rtm.yml | 2 +- examples/streetlights-kafka.yml | 2 +- examples/streetlights-mqtt.yml | 2 +- examples/websocket-gemini.yml | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/examples/anyof.yml b/examples/anyof.yml index ca53798b..b1779975 100644 --- a/examples/anyof.yml +++ b/examples/anyof.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' info: title: AnyOf example version: '1.0.0' diff --git a/examples/application-headers.yml b/examples/application-headers.yml index a2909011..c66bcef3 100644 --- a/examples/application-headers.yml +++ b/examples/application-headers.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' info: title: Application Headers example version: '1.0.0' diff --git a/examples/correlation-id.yml b/examples/correlation-id.yml index 05273470..f501c59a 100644 --- a/examples/correlation-id.yml +++ b/examples/correlation-id.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' info: title: Correlation ID Example version: '1.0.0' diff --git a/examples/gitter-streaming.yml b/examples/gitter-streaming.yml index 07ed8a18..41e6e454 100644 --- a/examples/gitter-streaming.yml +++ b/examples/gitter-streaming.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' id: 'urn:com:gitter:streaming:api' info: title: Gitter Streaming API diff --git a/examples/mercure.yml b/examples/mercure.yml index 0384bf53..32f2a4ad 100644 --- a/examples/mercure.yml +++ b/examples/mercure.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' info: title: Mercure Hub Example version: '1.0.0' diff --git a/examples/not.yml b/examples/not.yml index 1ae16047..957add7d 100644 --- a/examples/not.yml +++ b/examples/not.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' info: title: Not example version: '1.0.0' diff --git a/examples/oneof.yml b/examples/oneof.yml index c35e9d01..d0697f49 100644 --- a/examples/oneof.yml +++ b/examples/oneof.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' info: title: OneOf example version: '1.0.0' diff --git a/examples/rpc-client.yml b/examples/rpc-client.yml index c0ab9fed..92b0938e 100644 --- a/examples/rpc-client.yml +++ b/examples/rpc-client.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' id: 'urn:rpc:example:client' defaultContentType: application/json diff --git a/examples/rpc-server.yml b/examples/rpc-server.yml index 1076dcc2..09db34fb 100644 --- a/examples/rpc-server.yml +++ b/examples/rpc-server.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' id: 'urn:rpc:example:server' defaultContentType: application/json diff --git a/examples/simple.yml b/examples/simple.yml index 48c005b5..cb852949 100644 --- a/examples/simple.yml +++ b/examples/simple.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' info: title: Account Service version: 1.0.0 diff --git a/examples/slack-rtm.yml b/examples/slack-rtm.yml index c1993cdb..5416c168 100644 --- a/examples/slack-rtm.yml +++ b/examples/slack-rtm.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' id: 'urn:com:slack:rtm:api' info: title: Slack Real Time Messaging API diff --git a/examples/streetlights-kafka.yml b/examples/streetlights-kafka.yml index a4108489..7bef1a59 100644 --- a/examples/streetlights-kafka.yml +++ b/examples/streetlights-kafka.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' info: title: Streetlights Kafka API version: '1.0.0' diff --git a/examples/streetlights-mqtt.yml b/examples/streetlights-mqtt.yml index a9deef82..5a000bd0 100644 --- a/examples/streetlights-mqtt.yml +++ b/examples/streetlights-mqtt.yml @@ -1,4 +1,4 @@ -asyncapi: '2.3.0' +asyncapi: '2.4.0' info: title: Streetlights MQTT API version: '1.0.0' diff --git a/examples/websocket-gemini.yml b/examples/websocket-gemini.yml index 71605bad..b4fc46df 100644 --- a/examples/websocket-gemini.yml +++ b/examples/websocket-gemini.yml @@ -12,7 +12,7 @@ # - Live stream about topics mentioned in part 1 and 2 articles: https://www.youtube.com/watch?v=8tFBcf31e_c # -asyncapi: '2.3.0' +asyncapi: '2.4.0' # # Overal information for users of the application