Asyncapi Validator Versions Save

Message validator for Kafka/RabbitMQ/Anything through AsyncAPI schema

v4.0.0

1 year ago

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

2 years ago
  • Add an option to provide path parameter for relative ref.

v3.1.1

2 years ago
  • Add TS types
  • Fix JSDocs for fromSource()

v3.1.0

2 years ago
  • Add support for deserialized objects as a source
  • Update libs to the latest version

v3.0.0

3 years ago

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

3 years ago
  • Provide .schema property on the instance, to access ref resolved JSON schema.
  • Add deprecation message for AsyncAPI v1.

v2.4.5

3 years ago
  • remove Travis integration
  • use Github actions for testing and coverage report
  • add CodeQL check

v2.4.4

3 years ago
  • Deprecate version < 2.4.2
  • Add missing tests
  • Update docs

v2.4.3

4 years ago
  • remove console logs
  • update eslint rules
  • remove watchify
  • update dependencies

v2.4.2

4 years ago

-Fixed validation for schema without components.

  • Added test cases.