Skip to content

Conversation

@nolannbiron
Copy link
Member

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Nov 13, 2025

🦋 Changeset detected

Latest commit: 732f42a

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

This PR includes changesets to release 3 packages
Name Type
@gitbook/openapi-parser Patch
@gitbook/react-openapi Patch
gitbook 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

@argos-ci
Copy link

argos-ci bot commented Nov 13, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) 👍 Changes approved 1 changed Nov 13, 2025, 2:01 PM
v2-cloudflare (Inspect) 👍 Changes approved 2 changed Nov 13, 2025, 2:05 PM
v2-vercel (Inspect) 👍 Changes approved 8 changed Nov 13, 2025, 2:05 PM

Copy link
Contributor

Copilot AI left a 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 connect method 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.

@nolannbiron nolannbiron merged commit df1966d into main Nov 13, 2025
15 of 16 checks passed
@nolannbiron nolannbiron deleted the nolann/bump-scalar branch November 13, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants