Changelog #035

Jun 28th, 2024 - API Client 2.0

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 ✨

API Client 2.0

We are incredibly excited for the release of our new API Client for testing API Requests from your docs! This went live today in the latest release of the Scalar API References.

There are a ton of new features and improvements, here are some highlighted ones:

  • OAuth 2.0 Support
  • Dozens of body types supported, MultiPart Form-Data, JSON, YAML, XML, etc
  • Response Preview Images, HTML Files, and more
  • Enriched features from our new proxy
  • So many bug fixes

Upgrade your @scalar/api-reference today to get our new API Client 😎.

Fixes & Improvements

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

  • feat: hello @scalar/api-client v2 👋
  • chore: use new redirectToProxy helper (#2307)
  • fix(api-reference): servers are ignored (#2306)
  • fix(api-reference): sidebar font weight (#2305)
  • chore: remove old sendRequest helper (#2308)
  • feat: remove reliance on api-client helpers (#2301)
  • docs: add x-codeSamples example (#2294)
  • chore: do not expose useApiClientStore anymore (#2299)
  • chore: remove @scalar/api-client from web example (#2298)
  • refactor: new redirectToProxy helper (#2297)
  • refactor: move component to @scalar/api-reference (#2296)
  • fix: empty html response show theme background + color + app polish (#2291)
  • fix: add back missing nuxt theme (#2293)
  • fix: move css imports to style tags (#2292)
  • feat: update server url in client-app (#2269)
  • chore: Remove nuxt prepare from install script (#2290)
  • revert(use-tooltip): dependency update (#2279)
  • fix: request history routing for client app (#2287)
  • fix: remove hardcoded proxy url for new client (#2286)
  • feat(client-app): server variables (#2242)
  • style: no dropdown for a single server (#2285)
  • refactor(api-reference): servers (#2245)
  • chore: disable git-sync route (#2282)
  • feat(client-app): address bar request (#2280)
  • chore(client-app): merge modal package into client-app (#2273)
  • fix: remove testing false (#2277)
  • chore: remove random themeclasses object (#2275)
  • style: remove random firefox padding (#2276)
  • feat: added auth to sendRequest (#2274)
  • chore: upgrade typescript (#2255)
  • fix(client-app): cookies are not sent (partial fix) (#2267)
  • fix(client-app): request basic auth placeholder (#2263)
  • fix(client-app): address bar request history items (#2270)
  • fix(client-app): top nav item (#2271)
  • feat(client-app): send request error handling (#2262)
  • fix: URL is not encoded when sent to the proxy (#2261)
  • feat(client-app): address bar request history (#2266)
  • feat(client-app): address bar server component (#2264)
  • fix: cross-origin credentials are not allowed (#2265)
  • feat: pass auth into client modal (#2257)
  • feat: add oauth password flow (#2258)
  • fix: update storybook for new reset (#2252)
  • fix: auth selector (#2254)
  • fix: extract server variable inputs into components (#2253)
  • fix(api reference): server variables style (#2243)
  • style(client-app): new authentication UI (#2235)
  • fix: client app binary file and multipart ui (#2251)
  • feat: new @scalar/api-reference-editor package (#2091)
  • fix: handle no tags spec import (#2249)
  • fix: type modalstate (#2250)
  • chore: less linter warnings (#2237)
  • fix(components): scalar button loading state (#2239)
  • docs(changeset): feat: add void.scalar.com as an alternative server (#2240)
  • fix(client app): address bar server dropdown (#2241)
  • chore: add more eslint jsdoc rules (#2236)
  • refactor(themes): internalize tailwind pixel preset (#2231)
  • feat: client credentials flow (#2232)
  • fix: ensure trailing empty parameter item (#2234)
  • fix: add null check for schema type on request (#2233)
  • fix(client-app): data table input (#2228)
  • ci: lint all Markdown files (#2224)
  • chore: warn about missing comments for exported functions (#2222)
  • chore: fix linter warnings (#2221)
  • chore: add some missing comments (#2223)
  • fix: tsconfig does not include scripts (#2219)
  • fix: query params not added to request url (#2214)
  • fix(components): scalar icon info (#2220)
  • feat(cli): add more attributes to scalar init (#2225)
  • feat: fix spotify spec and change back to galaxy (#2229)
  • chore: add some missing changesets (#2227)
  • docs: update links to point to Markdown files (#2210)
  • feat(void): XML and HTML response (#2208)
  • feat(client-app): authorization code (#2215)
  • fix: update readme to be more compact (#2212)
  • docs(contributor): contrib-readme-action has updated readme (#2216)
  • feat(client-app): add scalar-client class to teleported dropdowns (#2209)
  • feat(client-app): add implicit flow to the client app (#2199)
  • fix: add custom header to readme (#2211)
  • feat: allow custom header & footers (#2198)
  • feat(components): scalar tooltip (#2205)
  • fix(api-reference): allof items merge objects (#2140)
  • chore: remove max-len for comments (#2203)
  • docs: trim down root README (#2202)
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