Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

feat!: change Parser-API version args to represent just the major #3

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

smoya
Copy link
Owner

@smoya smoya commented Oct 3, 2023

Description

After the changes introduced in asyncapi/parser-js#861, the value for the extension `` will always be just a number representing the major version.
This PR adapts the signature of some methods to that change. Additionally, there is no longer a need to extract the major from the semver.

@smoya
Copy link
Owner Author

smoya commented Oct 3, 2023

This PR should fail until the new pre-release version of the Parser-JS is out and gets updated in this PR. See asyncapi/parser-js#861

cc @jonaslagoni

@smoya
Copy link
Owner Author

smoya commented Oct 4, 2023

This PR should fail until the new pre-release version of the Parser-JS is out and gets updated in this PR. See asyncapi/parser-js#861

cc @jonaslagoni

After updating parser-js to 3.0.0-next-major-spec.3, tests got fixed as expected.

@smoya smoya merged commit ffae2b4 into main Oct 4, 2023
4 checks passed
@smoya smoya deleted the feat/majorVersion branch October 4, 2023 06:13
@smoya
Copy link
Owner Author

smoya commented Oct 4, 2023

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@smoya smoya added the released label Oct 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant