-
-
Notifications
You must be signed in to change notification settings - Fork 56
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!: introduce split definitions #184
Conversation
@jonaslagoni would you mind changing the PR title to what the main commit says:
|
@jonaslagoni I'm ok for 3.0 release. I assume it is about splitting definitions. Just please provide more accurate title that will be used in commit and then in release notes. Also make it clear in description, what change is released and what breaking changes are actually expected |
Will do that 👍 I am gonna resolve these conflicts as well, might require one additional PR to fix though. |
PR is up that updates next-major with master #187 |
Added a better description of the changes, let me know if anything else have to change 👍 |
@jonaslagoni looks perfect now, now you just need to solve conflicts also, can you specify what is next plan, do we just update new 3.0 in parser just like that? no chances are needed? Did you try it already with the release candidate? |
Changes are needed but they are simple 🙂 I will make sure to update this PR as soon as it's released: asyncapi/parser-js#423 |
@derberg I don't think I can solve those conflicts... I tried with #187 but it does not seem to apply them 🧐 And I do not have write access to the repo, so you will have to resolve them I think... |
Or are they 🧐 Thought i did try to use the change, but apparently I did not. Looking into it. |
you need to fork the repo, create a branch out from |
That's what I did in #187 |
please double-check, as the PR you link to doesn't show any changes to I recommend fresh fork, as something in your current fork might not be up to date with latest master, so you do not have last commit from Sergio from last week |
As mentioned by @derberg, the release is gonna happen this week, so you won't need to wait so much more for having this PR merged and released. Does it sounds reasonable? |
Sounds great, srsly! <3 |
Gonna go through the changes in 2.4 and create a pull request so we can finish this 🤞 |
PR is up: #212 |
The last conflict does not seem like I will be able to solve. But I dont think there is anything else that need to happen for this to be ready. |
Any help needed? what last conflict you have in mind that can't be solved. We won't be able to merge without solving conflicts 😄 |
I do yes, it's the same as last time, where my PRs dont solve the conflicts 🙃 It required codeowner to manually resolve the conflicts. |
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup 🚀
😮 Is it happening? 😆 |
Here goes nothing /rtm |
Damn, when targeted branches are removed, remaining PRs are closed as well with no way to retarget them... |
🎉 This PR is included in version 3.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@jonaslagoni oh, bot removes it by default. I restored it |
Description
This PR introduces split definitions and bundling behavior to provide better maintainability of the JSON Schema files.
Changes:
^x-[\\w\\d\\.\\-\\_]+$
is changed to^x-[\\w\\d.\\-_]+$
.^x-[\\w\\d\\.\\-\\_]+$
is changed to^x-[\\w\\d.\\-_]+$
^\\$message\\.(header|payload)\\#(\\/(([^\\/~])|(~[01]))*)*
is changed to^\\$message\\.(header|payload)#(\\/(([^\\/~])|(~[01]))*)*
$id
now followhttp://asyncapi.com/definitions/<version>/<name>.json
instead of<name>
. The reason for this change is to follow an accurate bundling behavior from JSON Schema.As this is a breaking change you can read the migration guide to get more information.
Related issue(s)
Fixes #120