Skip to content

Releases: WaleedAshraf/asyncapi-validator

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

v2.4.3

09 May 06:11
Compare
Choose a tag to compare
  • remove console logs
  • update eslint rules
  • remove watchify
  • update dependencies

v2.4.2

20 Dec 09:03
18e1f99
Compare
Choose a tag to compare

-Fixed validation for schema without components.

  • Added test cases.