Skip to content

Releases: WaleedAshraf/asyncapi-validator

v5.0.1

22 Aug 00:45
ce1fb58
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.0...v5.0.1

v5.0.0

21 Jul 04:44
bac4f20
Compare
Choose a tag to compare

Breaking:

  • Errors message format for the initial check on the AsyncApi document has been updated.
    • Note: No change in errors thrown from the validate() method.
  • Deprecate the validateByMessageId() method as messageId was removed in AsyncApi v3.0.0. More details here asyncapi/spec/issues/978

New / Improvements:

  • Support AsyncAPI schema v3.0.0
  • Start using @asyncapi/parser v3

v4.0.0

22 May 12:14
34ef690
Compare
Choose a tag to compare

Breaking:

  • "should" replaced with "must" in the error messages, as per in AJV

New / Improvements:

  • Support AsyncAPI schema v2.4.0
  • Added validateByMessageId() method, which only requires key and value. To use this method, your AsyncAPI schema should be >= 2.4.0. messageId should be defined in schema as per AsyncAPI 2.4.0 schema definition.
  • msgIdentifier option is only required if you use .validate() method.
  • You can use both validateByMessageId() and validate() methods if your AsyncAPI schema version is >= 2.4.0
  • Start using ajv-formats for custom formats.

v3.2.0

21 Mar 23:36
6c4e01c
Compare
Choose a tag to compare
  • Add an option to provide path parameter for relative ref.

v3.1.1

30 Sep 21:51
Compare
Choose a tag to compare
  • Add TS types
  • Fix JSDocs for fromSource()

v3.1.0

22 Aug 11:05
ba4b3b9
Compare
Choose a tag to compare
  • Add support for deserialized objects as a source
  • Update libs to the latest version

v3.0.0

21 Mar 01:10
ebe9bfc
Compare
Choose a tag to compare

Version 3.0.0 (2021-03-20)

Breaking:

  • Remove support for AsyncAPI Schema v1.2.0
  • Remove ._schema property from instance. Use .schema instead.

New / Improvements:

  • channel, operation and options.msgIdentifier are required for validation.
  • Add support for OpenAPI formats
  • Using @asyncapi/openapi-schema-parser and @asyncapi/parser

v2.5.0

03 Oct 15:54
13e7edb
Compare
Choose a tag to compare
  • Provide .schema property on the instance, to access ref resolved JSON schema.
  • Add deprecation message for AsyncAPI v1.

v2.4.5

16 Jul 01:37
Compare
Choose a tag to compare
  • remove Travis integration
  • use Github actions for testing and coverage report
  • add CodeQL check

v2.4.4

29 May 19:59
acb8513
Compare
Choose a tag to compare
  • Deprecate version < 2.4.2
  • Add missing tests
  • Update docs