Skip to content

Conversation

@hanspagel
Copy link
Member

@hanspagel hanspagel commented Nov 3, 2025

We use the /latest Scalar Registry URL for Scalar Galaxy everywhere, this is always the newest upload (even if it’s just a preview). We actually want to use the "current" version, which we can control manually.

This PR omits the /latest suffix to use the "current" version instead.


Note

Replaces /latest Scalar Registry URLs with @scalar/apis/galaxy?format=... across documentation, examples, tests, and default configs; updates Java Spring Boot defaults; adds patch changesets for multiple packages.

  • Docs & Guides:
    • Replace https://registry.scalar.com/@scalar/apis/galaxy/latest?format=… with https://registry.scalar.com/@scalar/apis/galaxy?format=… in README.md and all documentation/integrations/* and guides.
  • Examples & Playgrounds:
    • Update URLs in examples/* and packages/*/playground/* to the new registry URL.
  • Tests:
    • Adjust expected URL strings in Express, Hono, NestJS, API Reference SSR/HTML tests, utils, and oas-utils fetch tests.
  • Java/Spring Boot (WebJar):
    • Update default scalar.url in ScalarProperties.java, test expectations, application.properties, and Spring Boot docs table to the new URL.
  • Core & Utils:
    • Update default/example configs (e.g., getHtmlDocument usage, serve-example.ts, sources lists) to the new URL.
  • Changeset:
    • Patch version bumps for multiple packages (@scalar/*, scalar_api_reference).

Written by Cursor Bugbot for commit bd991f1. This will update automatically on new commits. Configure here.

@scalar-docs
Copy link

scalar-docs bot commented Nov 3, 2025

Scalar Docs Preview

Project
guides.scalar.com

Commit
bd991f1

Status
✅ Ready

Preview
Open Preview


Updated (UTC): Nov 3, 2025, 9:35 AM

To edit notification comments on pull requests, go to your Scalar project settings

@changeset-bot
Copy link

changeset-bot bot commented Nov 3, 2025

🦋 Changeset detected

Latest commit: bd991f1

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

This PR includes changesets to release 30 packages
Name Type
@scalar/api-reference-react Patch
@scalar/api-client-react Patch
@scalar/webjar Patch
@scalar/openapi-parser Patch
@scalar/api-reference Patch
@scalar/express-api-reference Patch
@scalar/nestjs-api-reference Patch
@scalar/api-client Patch
@scalar/oas-utils Patch
@scalar/hono-api-reference Patch
scalar_api_reference Patch
@scalar/galaxy Patch
@scalar/core Patch
@scalar/fastify-api-reference Patch
@scalar/import Patch
@scalar/mock-server Patch
@scalar/openapi-to-markdown Patch
@scalarapi/docker-api-reference Patch
@scalar/aspire Patch
@scalar/aspnetcore Patch
@scalar/nextjs-api-reference Patch
@scalar/nuxt Patch
scalar-app Patch
@scalar/components Patch
@scalar/postman-to-openapi Patch
@scalar/pre-post-request-scripts Patch
@scalar/sveltekit Patch
@scalar/sidebar Patch
@scalar/use-codemirror Patch
@scalar/nextjs-openapi 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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Cloudflare Preview for the API Client

https://4e1e0501.client-staging-7m0.pages.dev

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Scalar References End to End Test Results

passed  66 passed

Details

report  Open report ↗︎
stats  66 tests across 30 suites
duration  21.5 seconds
commit  bd991f1

Important

These tests include snapshots that may need to be updated if there are intentional changes to the UI components. To update the snapshots run pnpm test:e2e:update in packages/api-reference and commit the changes.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Scalar Components Snapshot Test Results

passed  152 passed

Details

report  Open report ↗︎
stats  152 tests across 19 suites
duration  45.2 seconds
commit  bd991f1

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Scalar CDN Snapshot Diff Results

failed  19 failed
passed  1 passed

Details

report  Open report ↗︎
stats  20 tests across 1 suite
duration  52.5 seconds
commit  bd991f1
info  These tests are non-blocking and will not prevent merging of your PR.

Failed tests

test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Scalar Galaxy
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Scalar Galaxy Registry
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Scalar Galaxy (Classic Layout)
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Stripe
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Relative URL Example
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Long Strings Example
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Swagger Petstore 2.0
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Swagger Petstore 3.0
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Swagger Petstore 3.1
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Hello World (string)
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Valtown
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Zoom
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Cloudinary
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Tailscale
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Maersk
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Bolt
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - OpenStatus
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Spotify
test/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Circular

Important

These tests detect visual differences between the current PR and the latest CDN build which means they may be affected by other changes in main that haven't been released yet.

They can help determine if the changes in the PR are causing any unexpected visual regressions but may be less helpful in isolating the exact cause. For more details see the readme.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

@xC0dex xC0dex self-requested a review November 3, 2025 14:33
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.

4 participants