Skip to content

Latest commit

 

History

History
122 lines (97 loc) · 3.85 KB

CHANGELOG.md

File metadata and controls

122 lines (97 loc) · 3.85 KB

Change Log

Version 5.0.1 (2024-08-22)

  • Fix issue when multiple operations use same channel.

Version 5.0.0 (2024-07-21)

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

Version 4.0.0 (2022-05-22)

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 the schema as per AsyncAPI 2.4.0 schema definition.
  • The msgIdentifier option is only required if you use the .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.

Version 3.2.0 (2022-03-22)

  • Option to provide path parameter for relative file ref.

Version 3.1.1 (2021-09-30)

  • Add TS types
  • Fix JSDocs for fromSource()

Version 3.1.0 (2021-08-22)

  • Add support for deserialized objects as source

Version 3.0.0 (2021-03-20)

Breaking:

  • Remove support for AsyncAPI Schema v1.2.0
  • Remove the ._schema property from the 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

Version 2.5.0 (2020-10-03)

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

Version 2.4.5 (2020-07-16)

  • Remove Travis integration
  • use GitHub actions for testing and coverage report

Version 2.4.4 (2020-05-29)

  • remove the dist folder

Version 2.4.3 (2020-05-09)

  • bump dependencies
  • remove watchify

Version 2.4.2 (2019-12-20)

  • Fixed validation for schema without components

Version 2.4.1 (2019-12-03)

  • Updated asyncapi to version 2.6.1 with fix for additionalProps

Version 2.4.0 (2019-12-01)

  • Support version 2 of AsyncAPI
  • Added support for Channel and Operation validation
  • Added support for custom message identifier.

Version 2.3.2 (2019-09-01)

  • Fixed tests lint

Version 2.3.1 (2019-09-01)

  • Updated dependencies

Version 2.3.0 (2019-07-24)

  • Custom error messages
  • Updated readme

Version 2.2.1 (2019-07-18)

  • Added support for options
  • Added support for if the payload is object and schema is an array

Version 2.2.0 (2019-07-15)

  • Removed parsers/loaders
  • Added dist for browsers

Version 2.1.0 (2019-07-07)

  • Added tests
  • Added codecov for coverage report

Version 2.0.1 (2019-07-06)

  • Better dir structure

Version 2.0.0 (2019-07-06)

  • Added eslint, travis, better linting