Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge master into next-major-spec + adapt tests for v3 #824

Merged
merged 4 commits into from
Aug 1, 2023

Conversation

smoya
Copy link
Member

@smoya smoya commented Aug 1, 2023

Warning
This PR should be merged manually by using Merge with commit strategy. More info on asyncapi/community#641

@sonarcloud
Copy link

sonarcloud bot commented Aug 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

const { document, diagnostics } = await parser.parse(documentRaw);

expect(document).toBeInstanceOf(AsyncAPIDocumentV3);
expect(diagnostics.length === 0).toEqual(true); // Validation in v3 is still not enabled. This test will intentionally fail once that changes.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the important change.

{ formatVersion: '3.0.10', document: {asyncapi: '3.0.10'}, existsFormat: false, result: false },
{ formatVersion: '3.0.0', document: {openapi: '3.0.0'}, existsFormat: false, result: false },
{ formatVersion: '3.0.0', document: null, existsFormat: false, result: false },
{ formatVersion: '3.0.10', document: {asyncapi: '3.0.10'}, existsFormat: true, result: true },
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The format now exists since the schema is found in @asyncapi/specs :)

Copy link
Member

@jonaslagoni jonaslagoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jonaslagoni jonaslagoni merged commit 74ef1cf into asyncapi:next-major-spec Aug 1, 2023
19 checks passed
@smoya smoya deleted the next-major-spec branch August 1, 2023 10:33
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.0-next-major-spec.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 2.2.0-next-major-spec.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants