Changelog #005

November 17th, 2023 - Fastify Integration

Follow us on twitter for realtime updates or read our previous changelog here

Community Contributors ✨

We wanted to give a shoutout to the open-source contributors who shipped some great work on the Open-Source repository:

Stoked to see this in production and bettering the Scalar API References ✨

Fastify + Scalar Integration

Fastify is a fast and low overhead web framework, for Node.js. We use it in production for Scalar & I highly recommend checking it out here.

If you're building APIs with Fastify and want beautiful API Documentation, now you can quickly get started with npm install @scalar/fastify-api-reference

We also made a custom Fastify theme you can check out here .

New Getting Started Page

Our Swagger Editor got a fresh getting started page 💅 A huge improvement from our last iteration.

Publishing Improvements

A lot of work this week went into improving the publishing flow of OpenAPI + Swagger Spec validation & parsing. More of a behind the scenes change, but it fixed a lot of blocking issues with publishing sites that we are happy to have resolved!

Fixes & Improvements

  • fix: mobile margins and padding
  • chore: store api reference demo editor content in local storage
  • chore: make imports relative
  • feat: add support for oneOf and allOf in the response schema
  • fix: landing page improvements
  • fix: use flatted to handle circular references in swagger spec
  • fix: allow yaml for publish deploy service
  • fix: use proper swagger parser for validator on publish
  • fix: landing page loading youtube video, and poorly optimized images
  • fix: cname table host gets proper subdomain value from custom domain
  • fix: mobile padding
  • fix: rollback page title to state based vs attribute based loading
  • fix: alternate and default theme
  • feat: reorganize css variables for theme editor
  • feat: make landing page ctas more clear
  • feat: swagger 2.0 host and schemes
  • style: no text transform for model name
  • feat: fallback for http auth
  • chore: auth credentials in a form
  • chore: add quickstart example
  • chore: add screenshot
  • chore: add links to packages
  • chore: add jsdelivr hits badge
  • fix: deep linking anchor tags doesnt work in references
  • refactor: bring back the footer slot
  • fix: word breaks in .markdown
  • refactor: add slots to references layout
  • fix: cards overlapping header
  • feat: support more mime types for request bodies
  • fix: improve getting started page
  • fix: add fallback to name for models if no xml attribute passed
  • fix: show non 200 responses when not using the proxy
  • fix: ignore proxy when swagger spec is a path
We are incredibly grateful for the Scalar community, all the feedback has been truly inspiring, helps guide us to prioritize fixes and we are looking forward to releasing more features and fixes for the next changelog ✨

Join us:

Marc

CEO & Co-Founder, Scalar