Skip to content

fix: update @asyncapi/specs to 4.2.0 version - #730

Closed
asyncapi-bot wants to merge 4 commits into
masterfrom
bot/bump-@asyncapi/specs-4.2.0
Closed

asyncapi-bot wants to merge 4 commits into
masterfrom
bot/bump-@asyncapi/specs-4.2.0

Conversation

@asyncapi-bot

Copy link
Copy Markdown
Contributor

No description provided.

@jonaslagoni

jonaslagoni commented Mar 15, 2023 •

Copy link
Copy Markdown
Member

We do explicit validation of payloads, but now they are starting to be validated by our JSON Schema files, so we can start to phase them out. Thats why the tests fails because it expects our own validators to throw the error, now the core validation step.

@derberg

derberg commented Mar 15, 2023

Copy link
Copy Markdown
Member

@jonaslagoni but if we change the error type that we throw, it is a breaking change

@jonaslagoni

jonaslagoni commented Mar 15, 2023 •

Copy link
Copy Markdown
Member

Yea was going to ask that next 😆

Now sure which approach to take to update the dependency.

@derberg

derberg commented Mar 15, 2023

Copy link
Copy Markdown
Member

well, parser needs new major, of course we can just resign from bumping to latest specs package in master, and do bump only in 2.0 release candidate

IMHO 2.0-only is best approach. Especially that it is already integrated in some tools I think.

@fmvilas @magicmatatjahu @smoya share your thoughts please

@derberg

derberg commented Mar 27, 2023

Copy link
Copy Markdown
Member

@fmvilas @magicmatatjahu @smoya share your thoughts please

@smoya

smoya commented Mar 27, 2023 •

Copy link
Copy Markdown
Member

@fmvilas @magicmatatjahu @smoya share your thoughts please

Merging this in master should be considered a breaking change: some valid payloads will become invalid.
I suggest we skip this update for Parser-JS v1.x in favour of targeting v2 (next-major branch). Basically, +1 to @derberg suggestion.

Additionally, to create a new PR freezing@asyncapi/specs package for 1.x so no more @asyncapi-bot updates happen.

EDIT: Issue created #736

@smoya smoya left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

target next-major branch

@fmvilas

fmvilas commented Mar 27, 2023

Copy link
Copy Markdown
Contributor

Yeah, I think it’s a breaking change too.

@sonarqubecloud

Copy link
Copy Markdown

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
0.0% 0.0% Duplication

@derberg

derberg commented Apr 4, 2023

Copy link
Copy Markdown
Member

@smoya we're closing this one, right? you freezed the version?

@smoya

smoya commented Apr 4, 2023

Copy link
Copy Markdown
Member

@smoya we're closing this one, right? you freezed the version?

Yup, can be closed now. For the reference #737

@derberg derberg closed this Apr 4, 2023
@derberg
derberg deleted the bot/bump-@asyncapi/specs-4.2.0 branch April 26, 2023 06:30
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.

6 participants