-
Notifications
You must be signed in to change notification settings - Fork 4k
Bump Scalar #3803
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
Bump Scalar #3803
Conversation
🦋 Changeset detectedLatest commit: 732f42a The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
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.
Pull Request Overview
This PR updates Scalar-related dependencies to their latest versions across the @gitbook/openapi-parser and @gitbook/react-openapi packages, along with necessary code adaptations to maintain compatibility with the updated APIs.
- Updated Scalar packages from 0.2.x/0.3.x to 0.6.x/0.8.x versions
- Removed legacy
connectmethod filtering in the Scalar API client integration - Adapted plugin return types to include both normalized and raw data
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/react-openapi/package.json | Bumped @scalar/oas-utils from ^0.2.130 to ^0.6.3 and @scalar/types from ^0.1.9 to ^0.4.0 |
| packages/openapi-parser/package.json | Bumped @scalar/json-magic from ^0.3.1 to ^0.8.1, @scalar/openapi-parser from ^0.20.1 to ^0.23.2, and @scalar/openapi-types from ^0.3.7 to ^0.5.1 |
| packages/react-openapi/src/ScalarApiButton.tsx | Removed conditional logic that excluded 'connect' method from initialRequest and openScalarClient calls |
| packages/react-openapi/src/OpenAPISpec.tsx | Changed array mutation to spread operator with type casting to address type compatibility issues |
| packages/openapi-parser/src/scalar-plugins/fetchURLs.ts | Updated to return normalized data instead of raw text, and added raw field to plugin response |
| packages/openapi-parser/src/scalar-plugins/fetchURL.ts | Added raw field to plugin response to align with new API requirements |
| bun.lock | Updated lockfile with new Scalar dependency versions and their transitive dependencies |
| .changeset/goofy-bats-chew.md | Added changeset documenting the Scalar version bump |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
35f4c97 to
732f42a
Compare
No description provided.