Changelog #020

Mar 15th, 2024 - AdonisJS Integration, x-tagGroups & OAuth 2.0 Implicit Flow

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 ✨

AdonisJS Integration

We shipped our AdonisJS Integration! AdonisJS is a TypeScript-first web framework for building web apps and API servers.

Try it out today :)

x-tagGroups

You can now group tags in the our sidebar just by adding the following code snippet to the OpenAPI/Swagger object.

...
"x-tagGroups": [
    {
      "name": "Tag Group",
      "tags": ["pet", "store"]
    },
    {
      "name": "User",
      "tags": ["user", "pet"]
    }
  ],
....

OAuth 2.0 Implicit Flow

An outstanding issue was not properly handling OAuth 2.0 Implicit flow, so now when a user goes through the flow we capture the token and use it for test requests.

We still need to handle Authorization Code grant (PKCE) Client credentials, resource/scope support and many more! You can follow the discussion as we make more progress

Fixes & Improvements

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

  • feat: allow oauth2 implicit flow, fix #604 (#1196)
  • chore: change ports again (#1199)
  • chore: remove body margin reset everywhere, fix #1172 (#1187)
  • chore: remove deprecated extension (#1193)
  • fix: add min height to classic layout (#1191)
  • chore: revert snapshot testing until we resolve the workflow issues (#1184)
  • docs: add next townhall event
  • feat: support global auth requirements (#1188)
  • feat: add x-tagGroups in sidebar (#1174)
  • docs(changeset): fix: example for array with anyOf, allOf, oneOf schemas doesn't have a value (#1185)
  • fix: add back sidebar item hover color (#1182)
  • fix: add trailing space to fix prettier fight (#1179)
  • fix: mobile backgrounds for mars and blueplanet (#1175)
  • fix: component cjs export (#1171)
  • test: playwright visual regression testing for cdn (#1151)
  • fix: cdn api reference testing (#1170)
  • fix: move errors into warning from new parser (#1168)
  • feat: export getting started (#1167)
  • fix: quick fix for supporting application/vnd.api+json (#1165)
  • feat: add scalar openapi parser 🥳 (#1131)
  • fix: add margin between markdown blocks (#1143)
  • feat: add custom CDN (#1105)
  • feat: Implement oas-utils (#1152)
  • chore: align node versions to basis 18 (#1159)
  • fix: reduce node version to 18 (#1158)
  • chore: add docusaurus image (#1157)
  • fix: render missing schema properties (minimum, maximum and default values) (#1153)
  • style: replace resize observer with container query (#1150)
  • feat: Add OAS utils package and package bootstrapping (#1140)
  • fix: only run cdn ci test on cron schedule (#1146)
  • fix(#1138): docusaurus plugin not loading (#1139)
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