Skip to content

Conversation

@hanspagel
Copy link
Collaborator

@hanspagel hanspagel commented Jul 2, 2025

We updated the Scalar HTML API recently, to address a few limitations the old one had.

I‘ve allowed myself to submit a PR to migrate to the new HTML API:

  • switched from @scalar/api-reference (super heavy dependencies) to @scalar/core (few dependencies)
  • delegated the HTML generation to @scalar/core, so you can update the package to get new features
  • the new HTML API supports JS functions in the configuration (e.g. to have a custom sort functions for tags or operations)

Wdyt? Any feedback is highly appreciated.

@codecov
Copy link

codecov bot commented Jul 2, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@pi0 pi0 changed the title feat: use new Scalar HTML API feat(scalar): use new API Jul 2, 2025
@hanspagel hanspagel requested a review from pi0 July 3, 2025 10:25
Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pi0 pi0 merged commit f56ec92 into main Jul 3, 2025
4 checks passed
@pi0 pi0 deleted the refactor/new-scalar-html-api branch July 3, 2025 10:46
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