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

feat: removing v3 check for bundle command #1138

Merged
merged 9 commits into from
Mar 19, 2024

Conversation

Souvikns
Copy link
Member

@Souvikns Souvikns commented Feb 2, 2024

Description
V3 check was put on all commands in CLI to prevent compiling v3 spec if the tool didn't support it yet. Since bundler now supports spec V3 this PR is removing that check from the CLI.

Related issue(s)

Fixes #1137

test/integration/bundle/bundle.test.ts Outdated Show resolved Hide resolved
Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

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

I think it is feat as it is new feature

but also think you need update tests to make sure they run against v3, as we care the most about the latest version. Of course if you think we can still have separate test for v2.

@SnakeDoc
Copy link

SnakeDoc commented Mar 8, 2024

this was an unfortunate asyncapi/cli limitation to run into after converting my spec from 2.6.0 -> 3.0.0.

is there anything I can assist with to help land this feature soon? or are we just waiting on the maintainer code review?

@Souvikns Souvikns changed the title fix: removing v3 check for bundle command feat: removing v3 check for bundle command Mar 11, 2024
@Souvikns Souvikns requested a review from derberg March 11, 2024 06:17
Copy link
Member

@peter-rr peter-rr left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Collaborator

@Amzani Amzani left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

sonarcloud bot commented Mar 19, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Souvikns
Copy link
Member Author

/rtm

@asyncapi-bot asyncapi-bot merged commit 065a613 into asyncapi:master Mar 19, 2024
11 checks passed
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 1.7.0 🎉

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.

CLI is unable to bundle spec V3 documents using bundle command
7 participants