- Fix issue when multiple operations use same channel.
- Errors message format for the initial check on the AsyncApi document has been updated.
- Note: No change in errors thrown from the
validate()
method.
- Note: No change in errors thrown from the
- Deprecate the
validateByMessageId()
method asmessageId
was removed in AsyncApi v3.0.0. More details here asyncapi/spec/issues/978
- Support AsyncAPI schema v3.0.0
- Start using @asyncapi/parser v3
- "should" replaced with "must" in the error messages, as per in AJV
- Support AsyncAPI schema v2.4.0
- Added
validateByMessageId()
method, which only requireskey
andvalue
. 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()
andvalidate()
methods if your AsyncAPI schema version is >= 2.4.0 - Start using
ajv-formats
for custom formats.
- Option to provide
path
parameter for relative file ref.
- Add TS types
- Fix JSDocs for
fromSource()
- Add support for deserialized objects as source
- Remove support for AsyncAPI Schema v1.2.0
- Remove the
._schema
property from the instance. Use.schema
instead.
channel
,operation
, andoptions.msgIdentifier
are required for validation.- Add support for OpenAPI formats
- Using @asyncapi/openapi-schema-parser and @asyncapi/parser
- Provide
.schema
property on instance, to access ref resolved JSON schema. - Add deprecation message for AsyncAPI v1.
- Remove Travis integration
- use GitHub actions for testing and coverage report
- remove the dist folder
- bump dependencies
- remove watchify
- Fixed validation for schema without components
- Updated asyncapi to version 2.6.1 with fix for additionalProps
- Support version 2 of AsyncAPI
- Added support for
Channel
andOperation
validation - Added support for custom message identifier.
- Fixed tests lint
- Updated dependencies
- Custom error messages
- Updated readme
- Added support for options
- Added support for if the payload is object and schema is an array
- Removed parsers/loaders
- Added dist for browsers
- Added tests
- Added codecov for coverage report
- Better dir structure
- Added eslint, travis, better linting