Skip to content

RapiDoc Portal 1.0 comes with RapiDoc 15: the portal, the CLI, the server, the mock and the integrations were reviewed end to end together with <rapi-doc>, and now share the same names, one sidebar and the same safer defaults. It marks a new start for the family, and with it the portal’s versions make a promise: a change that breaks your portal comes only in a new major version.

A minor version (1.1) adds features; a patch (1.0.1) fixes bugs. Neither asks you to change your project.

Package What it is
@rapidoc/cli The rapidoc command
@rapidoc/portal The portal engine
@rapidoc/server rapidoc serve: sign-in and access rules
@rapidoc/mock rapidoc mock: the mock server
@rapidoc/prerender The API pages’ pre-rendered sidebar and reference
@rapidoc/mcp MCP tools for your APIs and workflows
create-rapidoc npm create rapidoc

They are released together, always with the same version. The API reference pages use RapiDoc 15, released at the same time.

Update the two packages in your portal’s folder:

npm install @rapidoc/cli@1 @rapidoc/portal@1

If you use rapidoc serve or rapidoc mock, update @rapidoc/server or @rapidoc/mock too. New projects from npm create rapidoc start on 1.0.

Before making the promise, names that were wrong or unclear were corrected, and a few defaults were made safer. Upgrading from 0.2 to 1.0 lists every change with the old and new form. The ones most portals meet:

  • Two tag attributes were renamed: {% api-operation api="..." %} (was spec) and {% workflow document="..." %} (was file).
  • rapidoc serve with sign-in needs the portal’s address: set site.url in the config or RAPIDOC_PUBLIC_URL.
  • rapidoc mock and rapidoc dev listen on localhost. In a container or on a shared server, add --host 0.0.0.0.

1.0 also fixes security problems found in a review of all the code before the release, one of them in sign-in: update a portal that runs rapidoc serve.

The guides’ sidebar and the API pages’ sidebar now look the same, with three levels:

  • Section labels: a tab’s top-level groups are small upper-case labels that stay open. A group with collapsed: true gets an arrow. In an API’s sidebar the labels are Overview and its tag groups, or its tags when it has none.
  • Rows with icons: the items of those groups, with the icon you give them.
  • Compact rows under a guide line: deeper pages, and an API’s operations with the method first.

The current page is a filled block. A top-level group’s icon is no longer shown. See Navigation.