Changelog #008

December 8th, 2023 - Classic Layout Groundwork & Fastify Integration Improvements

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 ✨

Classic Layout Groundwork

We've been listening to community feedback, and one common piece is a layout that better handles:

  • single tags
  • operations without that don't necessarily have descriptions

This layout is better suited for both those use cases, and we couldn't be more excited that we are nearing completion of this layout that will hopefully be shipped this month ✨.

Fastify Integration Improvements

We've been hard at work to make our Fastify Integration next level, these are the improvements we've shipped

  • Remove All Console Logs
  • Download Button for
  • use of return html or return reply.send(html)
  • remove node-fetch and use fetch
  • dependency cleanup
  • relative url vs fixed url for loading of scalar browser.js

We still have lot's of improvements to make around our http snippet examples, and our parameter generation in our API Client. Which should be captured in our next changelog ✨

Fixes & Improvements

  • docs: Fix some backlinks in readme files
  • fix: handle root path in request generation
  • feat: add buttons to header for classic layout
  • docs(changeset): chore: remove unirest and node-fetch from the client
  • chore: remove node fetch and unirest
  • chore: remove console log in fastify package
  • feat: swagger UI style content
  • chore: prefix fastify assets, make routePrefix optional
  • chore: add @scalar/fastify-api-reference CommonJS build again
  • ci: remove packing build step
  • feat: pass path and operation query parameters to the api client
  • chore: change download spec button text
  • feat: show references sidebar slot content in api client sidebar
  • chore: add postcss to the examples again
  • refactor: extract layout type into component
  • chore: use fastify-html to send HTML
  • chore(fastify-api-reference): move terser and @scalar/api-reference
  • chore: use fastify logging facilities
  • fix: prevent css leakage from references reset
  • style: visualize deprecated operations
  • fix: oneOf rule in arrays is ignored,
  • chore: update README
  • Added configuration summary to main README
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