Skip to content

Release 8.4.9

Compare
Choose a tag to compare
@mrin9 mrin9 released this 14 Mar 04:20
· 579 commits to master since this release

Support for Open API 3.1.0 has landed

  • Support for Webhook has been added - Example
  • OpenAPI 3.1.0 supports Standard JSON Schema, which allows to have multiple data-types for each field - RapiDoc is now fully compliant with this - Example
  • Works with swagger 2.0 OpenAPI 3.0.x and OpenAPI 3.1.0

New Features

  • New SOLTS have been added for HTML injection. This allows you to plugin custom functionalities or features from other libraries - Example
  • Markdown headings for Tag Descriptions can now also appear on the Navbar - Example
  • Prettify xml responses
  • #383 added option to deal with read-only and write-only properties, you may selectivly hide them in schema based on request, response or API method - Thanks @sneakyvv for adding in this feature
  • OAuth authentication can now use relative URLs: Thanks @WouterSioen for adding in this feature

Performance

  • Bundle size in this release got a massive reduction of about ~28%. Resulting in faster download and parsing of our JavaScript
  • The size reduction is achieved by removing our dependency on swagger2openapi and instead using @apitools/openapi-parser which also helps in a faster conversion
  • DOM nodes creation have been reduced
  • Upgraded our bundler from webpack-4 to webpack-5 and updated its config, this too reduces bundle size and uses a mordern syntax that do not need any transpilation

Fixes

  • #421 Schema Expansion restriction was not respected in certain edge cases
  • #425 Nav bar search input in safari was having an height issue
  • #433 Character descenders are cut off for schema table heading
  • #434, #438 better handling of empty responses- Thanks @sneakyvv for the PR
  • #430 too many combinations of one-of and any-of results into generation of many examples that can make browser crash
  • #432 - documentation fixes - Thanks @JonasPardon