Help

Changelog

What changed in each OrbitDocs release, for the npm packages and the self-hosted platform.

The npm packages (@vitra-ai/orbitdocs and @vitra-ai/orbitdocs-*) are released together and share one version: install the same version of each. The self-hosted platform has its own versions.

npm packages

0.2.3

Fixes

  • Move to esbuild 0.28, which fixes GHSA-g7r4-m6w7-qqqr (a Windows-only path traversal in (@vitra-ai/orbitdocs) esbuild's development server). OrbitDocs only uses esbuild's build(), so it was not exposed, but projects that install OrbitDocs no longer get a flagged esbuild.

0.2.2

Fixes

  • Fix orbitdocs extract / orbitdocs build failing with "Unterminated string in JSON" when the extraction result is large (many APIs, many documentation gaps). The extractor child now exits only after its result has been flushed to stdout, and the CLI parses the result on the child's close event, after stdout has been read to the end, instead of on exit. (@vitra-ai/orbitdocs, @vitra-ai/orbitdocs-nestjs)

0.2.1

Fixes

  • react is now a peer dependency (^18.0.0 || ^19.0.0) instead of a hard ^19.3.0 dependency. The hard dependency could lift a host app's react above its react-dom, and react-dom/server refuses to run when the two differ. (@vitra-ai/orbitdocs-auth)

0.2.0

Features

  • New orbitdocs start command: it serves the last build so you can check the production site before you deploy it, out/ for a static build (under output.basePath, with _redirects and 404.html) or next start for a server build. New docs apps get a matching npm start script. (@vitra-ai/orbitdocs)
  • The API client's collections panel can be resized: drag its edge (or focus it and press ← or →) between 200 and 560 px, and double-click to reset. The client remembers the width. Its empty response pane also looks cleaner, with a send icon and the keyboard shortcuts as keys. (@vitra-ai/orbitdocs-ui)

Fixes

  • orbitdocs init now pins new docs apps to the CLI's own version (it always wrote ^0.1.0), and orbitdocs --version prints the real version. (@vitra-ai/orbitdocs)
  • The landing page terminal no longer shows a scrollbar under long commands. They still scroll sideways, and keyboard users can focus the terminal to scroll it with the arrow keys. (@vitra-ai/orbitdocs-next, @vitra-ai/orbitdocs-ui)
  • File fields in form bodies work again: the API client shows them as file fields (one per file for a list of files) instead of a text field holding [null], code samples attach a file instead of sending files=[null], and the reference shows their type as string · binary instead of any. Lists in form bodies are now sent as one field per item. (@vitra-ai/orbitdocs-openapi, @vitra-ai/orbitdocs-ui)

0.1.0

Initial release

@vitra-ai/orbitdocs-ai

  • Ask AI: streamed, cited answers from the docs with OpenAI, Anthropic, Google or any OpenAI-compatible provider; only pages the reader may open are used.
  • Docs MCP server (/mcp) and one MCP server per API (/mcp/<api>) whose tools call the API with the client's credentials.
  • A provider failure is reported to the reader as an error with its HTTP status, never as an empty answer.

@vitra-ai/orbitdocs-auth

  • Private docs: sign-in with Google, Microsoft Entra ID, Okta, Auth0, Clerk or Keycloak (OpenID Connect), or reuse of the product's own Supabase, Clerk, Firebase or Appwrite session.
  • Groups from emails, domains and IdP groups; path rules plus page and API constraints, where the stricter rule always wins.
  • Personalization hook, audit trail (file or webhook), and handlers for Express, Nest, Next and edge runtimes.
  • A fetch option that every outbound request uses, so a host can restrict where requests go.

@vitra-ai/orbitdocs

  • orbitdocs init, dev, build, extract, check and publish.
  • orbitdocs sdk (TypeScript with Hey API; Python, Go, Java, C# and PHP with OpenAPI Generator), sdk test, and CI workflows for GitHub and GitLab.
  • orbitdocs mock (a mock server from the spec) and orbitdocs lint (Spectral).
  • One Nest app can feed several API references: @DocsOperation({ api: 'payments' }) puts a route in that API only (routes without api stay in every API). New omitParameters on an API removes parameters its callers never send, such as a tenant header that an API key makes unnecessary. standardErrors also takes { extra, descriptions } in the config, e.g. extra: ['429'] to document a rate limit on every operation.
  • Several APIs from one Nest app are extracted together: the app is compiled once per project and booted once, and each API is filtered from that one document (extractMany in @vitra-ai/orbitdocs-nestjs). A site with many APIs builds much faster.
  • New apis[].groups option: the order of an API's groups in the sidebar and reference. Groups not listed follow in the order their first operation appears.

@vitra-ai/orbitdocs-core

  • One Nest app can feed several API references: @DocsOperation({ api: 'payments' }) puts a route in that API only (routes without api stay in every API). New omitParameters on an API removes parameters its callers never send, such as a tenant header that an API key makes unnecessary. standardErrors also takes { extra, descriptions } in the config, e.g. extra: ['429'] to document a rate limit on every operation.
  • New apis[].groups option: the order of an API's groups in the sidebar and reference. Groups not listed follow in the order their first operation appears.
  • defineConfig() and the orbitdocs.config.ts schema (zod) with defaults: site, navigation (header links, footer columns and a "Built by" credit), layout, theme, banner, search, code blocks, API sources, private docs, Ask AI, SDKs and mock settings.
  • API sources from a NestJS app (routes: 'opt-in' with @DocsOperation, or 'all' for every @nestjs/swagger route), an OpenAPI file or a URL.
  • Config warnings for options a layout ignores.
  • New send option on each API (apis[].send, default true): set it to false to stop readers from sending that API's requests from the docs, for example for a demo API with no live server. Test Request and Send are disabled with a short reason (sendDisabledMessage), while code samples and Copy as cURL keep working.
    • New navigation.apiSwitcher option (default sidebar): with several APIs, the reference sidebar's title is a select of the APIs, and "API Reference" in the top bar links to the first API. menu keeps the top-bar menu of every API. - The API client's collections are a tree: each collection and folder opens and closes, shows its number of requests, and remembers its state in the browser. Only the open request's folder is expanded at first; a search expands every match, and one button collapses or expands every folder. - Browsers and password managers no longer autofill the reference filter or the API client's search fields. API keys and other secrets are masked with CSS instead of password fields, which made browsers treat the page as a login form. - The API client seeds one environment per server, shared by every API on it, instead of one copy per API. Copies saved by earlier versions fold into it, keeping the values the reader typed. - Long examples and inline code (tokens, keys, URLs) wrap in the reference instead of making the page scroll sideways.

@vitra-ai/orbitdocs-nestjs

  • One Nest app can feed several API references: @DocsOperation({ api: 'payments' }) puts a route in that API only (routes without api stay in every API). New omitParameters on an API removes parameters its callers never send, such as a tenant header that an API key makes unnecessary. standardErrors also takes { extra, descriptions } in the config, e.g. extra: ['429'] to document a rate limit on every operation.
  • Several APIs from one Nest app are extracted together: the app is compiled once per project and booted once, and each API is filtered from that one document (extractMany in @vitra-ai/orbitdocs-nestjs). A site with many APIs builds much faster.
  • @DocsOperation and @DocsContent decorators, and spec extraction from a Nest app (preview mode, no database needed).
  • mountOrbitDocs() serves the docs site from the Nest app, with private docs and Ask AI on the same server.
  • Extraction sets ORBITDOCS_EXTRACT=1 while it loads your Nest module, so the app can skip startup-only checks such as config validation that needs real secrets.

@vitra-ai/orbitdocs-next

  • New send option on each API (apis[].send, default true): set it to false to stop readers from sending that API's requests from the docs, for example for a demo API with no live server. Test Request and Send are disabled with a short reason (sendDisabledMessage), while code samples and Copy as cURL keep working.
    • New navigation.apiSwitcher option (default sidebar): with several APIs, the reference sidebar's title is a select of the APIs, and "API Reference" in the top bar links to the first API. menu keeps the top-bar menu of every API. - The API client's collections are a tree: each collection and folder opens and closes, shows its number of requests, and remembers its state in the browser. Only the open request's folder is expanded at first; a search expands every match, and one button collapses or expands every folder. - Browsers and password managers no longer autofill the reference filter or the API client's search fields. API keys and other secrets are masked with CSS instead of password fields, which made browsers treat the page as a login form. - The API client seeds one environment per server, shared by every API on it, instead of one copy per API. Copies saved by earlier versions fold into it, keeping the values the reader typed. - Long examples and inline code (tokens, keys, URLs) wrap in the reference instead of making the page scroll sideways.
  • withOrbitDocs() Next.js plugin and the docs app's routes: guides (MDX), API reference, API client, llms.txt, Markdown twins of every page; static export, server mode (proxy.ts) or served by Nest.
  • Fumadocs layouts (docs, notebook, flux, glass, home) driven by the config, and lib/overrides.tsx (OrbitOverrides) for React-only options.
  • Animated landing-page components: Hero (with logo and footnote), Section, Features, Bento, CodeShowcase, Terminal, Flow, Stats, Logos, Showcase, BrowserFrame, Comparison, CallToAction and SiteFooter (columns, social links and a "Built by" credit).
  • Reference pages render one operation and load the rest by group, so large APIs stay small per page.
  • Private docs in static builds: reader variants of the sidebar, search index, API menu and specs.
  • GitHub-style alerts and extra content per API operation (content/reference/<api>/<op>.mdx).

@vitra-ai/orbitdocs-openapi

  • One Nest app can feed several API references: @DocsOperation({ api: 'payments' }) puts a route in that API only (routes without api stay in every API). New omitParameters on an API removes parameters its callers never send, such as a tenant header that an API key makes unnecessary. standardErrors also takes { extra, descriptions } in the config, e.g. extra: ['429'] to document a rate limit on every operation.
  • New apis[].groups option: the order of an API's groups in the sidebar and reference. Groups not listed follow in the order their first operation appears.
  • Loads, upgrades and bundles OpenAPI 3.0/3.1 (and Swagger 2.0) documents into the reference model the UI renders: groups, operations, parameters, bodies, responses, examples and models.
  • Stable slugs and stableStringify() for reproducible specs; operation pages as Markdown for search, llms.txt and Ask AI.
  • Per-status example bodies, including NestJS's default error bodies.
  • Documentation gaps no longer report file downloads (a non-JSON response with a schema, such as a PDF or CSV) as missing a response schema, or binary file fields as missing an example. A DELETE with an empty body is not reported either.

@vitra-ai/orbitdocs-ui

  • New send option on each API (apis[].send, default true): set it to false to stop readers from sending that API's requests from the docs, for example for a demo API with no live server. Test Request and Send are disabled with a short reason (sendDisabledMessage), while code samples and Copy as cURL keep working.
    • New navigation.apiSwitcher option (default sidebar): with several APIs, the reference sidebar's title is a select of the APIs, and "API Reference" in the top bar links to the first API. menu keeps the top-bar menu of every API. - The API client's collections are a tree: each collection and folder opens and closes, shows its number of requests, and remembers its state in the browser. Only the open request's folder is expanded at first; a search expands every match, and one button collapses or expands every folder. - Browsers and password managers no longer autofill the reference filter or the API client's search fields. API keys and other secrets are masked with CSS instead of password fields, which made browsers treat the page as a login form. - The API client seeds one environment per server, shared by every API on it, instead of one copy per API. Copies saved by earlier versions fold into it, keeping the values the reader typed. - Long examples and inline code (tokens, keys, URLs) wrap in the reference instead of making the page scroll sideways.
  • API reference UI: operations, schemas, examples, code samples in many languages, and "Test Request".
  • API client built on HeroUI: collections, request tabs, environments, history, scripts, code generation, a collection runner, a command palette, right-click menus, and settings for layout, density, font and accent.
  • Ask AI panel and the shared theme (styles.css).
  • Markdown tables in operation descriptions and @DocsContent are styled like the guides' tables: bordered, compact, and scrolling sideways on narrow screens.

Self-hosted platform

0.1.0

Initial release

  • Self-hosted platform: a dashboard with projects, production and preview deployments, rollback, an API registry with lint, analytics and an audit log.
  • Git sync with GitHub and GitLab (including self-managed), with a build queue on pg-boss, commit statuses and preview comments.
  • Team roles, invitations, password and SSO sign-in, and SCIM provisioning.
  • Custom domains with automatic TLS (Caddy), and Docker Compose deployment.
  • Encrypted per-project build variables and site environment variables; hosted sites never see the platform's own environment.
  • Hosted sites can't reach private, loopback or link-local addresses; SITE_OUTBOUND_ALLOW lists the exceptions.

Last updated on

On this page