Changelog #014

Feb 2nd, 2024 - Scalar CLI

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 ✨

Scalar CLI

We released the first version of our command line interface to work with OpenAPI/Swagger files. You can install it with your favourite node package manager here .

npm install -g @scalar/cli
scalar --version

This version ships with the following features:

  • Format & validate OpenAPI files
  • Upload your OpenAPI files to Scalar
  • Get a fully mocked API for testing purposes
  • Preview your API reference
  • Bundle multiple OpenAPI files

and can be used with these commands

scalar init
scalar format openapi.json
scalar validate openapi.json
scalar bundle openapi.json --output bundle.json
scalar reference openapi.json --watch
scalar mock openapi.json --watch
scalar share openapi.json
            

This is the first step towards Scalar supporting more workflows, and we couldn't be more excited to have this released ✨.

Fixes & Improvements

So much work was put into smaller improvements + UX of our app, all the small details make the world of difference ✨

  • feat: collapse all subschemas by default (#922)
  • fix: next townhall
  • chore: add next townhall event
  • chore(fastifyApiReference): grammar fixes in warning message (#916)
  • fix: swagger 2.0 response body isn’t shown (#913)
  • feat: details and summary tags in markdown (#911)
  • feat: download of zip response from api client request (#883)
  • fix: don't scale codemirror text on mobile webkit (#903)
  • feat: improve custom example block, fix #899 (#900)
  • feat: add default state for api client collapsed panels (#890)
  • fix: response examples with a single value do not render, fix #894 (#895)
  • fix: autocomplete for search input, fix #885 (#892)
  • chore: add Relative CI to monitor the bundle size (#881)
  • feat: add rust documentation for aide with scalar (#891)
  • fix: add explicit table alignment rules (#887)
  • chore: clean up use CodeMirror (#880)
  • chore: fix README formatting
  • chore: ignore .next temp folder when formatting the code
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