asyncapi / studio

Visually design your AsyncAPI files and event-driven architecture.
https://studio.asyncapi.com
Apache License 2.0
171 stars 98 forks source link

fix: report correct `range` values in error diagnostics for YAML files #1126

Closed aeworxet closed 3 months ago

aeworxet commented 3 months ago

This PR updates @asyncapi/parser to version 3.2.2 in which forceful normalization of YAML files to JSON format is removed. That change allows Parser not to be misled anymore into thinking it's dealing with a JSON file instead of a YAML one, therefore paving the way for Studio to report correct range values in error diagnostics for YAML files.

Related to https://github.com/asyncapi/parser-js/issues/936, https://github.com/asyncapi/parser-js/issues/1012

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 416e9d92d73a2e3603dfcad2a70925d931778a71

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ---------------- | ----- | | studio-next | Patch | | @asyncapi/studio | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 3 months ago

Deploy Preview for studio-next ready!

Name Link
Latest commit 416e9d92d73a2e3603dfcad2a70925d931778a71
Latest deploy log https://app.netlify.com/sites/studio-next/deploys/66b033d90502b80008d84ef4
Deploy Preview https://deploy-preview-1126--studio-next.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 3 months ago

Deploy Preview for modest-rosalind-098b67 ready!

Name Link
Latest commit 416e9d92d73a2e3603dfcad2a70925d931778a71
Latest deploy log https://app.netlify.com/sites/modest-rosalind-098b67/deploys/66b033d9086eb50008670bfe
Deploy Preview https://deploy-preview-1126--modest-rosalind-098b67.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 3 months ago

Deploy Preview for asyncapi-studio-design-system ready!

Name Link
Latest commit 416e9d92d73a2e3603dfcad2a70925d931778a71
Latest deploy log https://app.netlify.com/sites/asyncapi-studio-design-system/deploys/66b033d9438b64000885cdaf
Deploy Preview https://deploy-preview-1126--asyncapi-studio-design-system.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

aeworxet commented 3 months ago

@asyncapi/bounty_team

aeworxet commented 3 months ago

/ptal

asyncapi-bot commented 3 months ago

@Amzani @magicmatatjahu @KhudaDad414 Please take a look at this PR. Thanks! :wave:

aeworxet commented 3 months ago

/rtm