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'sbuild(), so it was not exposed, but projects that install OrbitDocs no longer get a flagged esbuild.
0.2.2
Fixes
- Fix
orbitdocs extract/orbitdocs buildfailing 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'scloseevent, after stdout has been read to the end, instead of onexit. (@vitra-ai/orbitdocs,@vitra-ai/orbitdocs-nestjs)
0.2.1
Fixes
reactis now a peer dependency (^18.0.0 || ^19.0.0) instead of a hard^19.3.0dependency. The hard dependency could lift a host app'sreactabove itsreact-dom, andreact-dom/serverrefuses to run when the two differ. (@vitra-ai/orbitdocs-auth)
0.2.0
Features
- New
orbitdocs startcommand: it serves the last build so you can check the production site before you deploy it,out/for a static build (underoutput.basePath, with_redirectsand404.html) ornext startfor a server build. New docs apps get a matchingnpm startscript. (@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 initnow pins new docs apps to the CLI's own version (it always wrote^0.1.0), andorbitdocs --versionprints 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 sendingfiles=[null], and the reference shows their type asstring · binaryinstead ofany. 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
fetchoption that every outbound request uses, so a host can restrict where requests go.
@vitra-ai/orbitdocs
orbitdocs init,dev,build,extract,checkandpublish.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) andorbitdocs lint(Spectral).- One Nest app can feed several API references:
@DocsOperation({ api: 'payments' })puts a route in that API only (routes withoutapistay in every API). NewomitParameterson an API removes parameters its callers never send, such as a tenant header that an API key makes unnecessary.standardErrorsalso 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 (
extractManyin@vitra-ai/orbitdocs-nestjs). A site with many APIs builds much faster. - New
apis[].groupsoption: 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 withoutapistay in every API). NewomitParameterson an API removes parameters its callers never send, such as a tenant header that an API key makes unnecessary.standardErrorsalso takes{ extra, descriptions }in the config, e.g.extra: ['429']to document a rate limit on every operation. - New
apis[].groupsoption: 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 theorbitdocs.config.tsschema (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/swaggerroute), an OpenAPI file or a URL. - Config warnings for options a layout ignores.
- New
sendoption on each API (apis[].send, defaulttrue): set it tofalseto 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.apiSwitcheroption (defaultsidebar): 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.menukeeps 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.
- New
@vitra-ai/orbitdocs-nestjs
- One Nest app can feed several API references:
@DocsOperation({ api: 'payments' })puts a route in that API only (routes withoutapistay in every API). NewomitParameterson an API removes parameters its callers never send, such as a tenant header that an API key makes unnecessary.standardErrorsalso 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 (
extractManyin@vitra-ai/orbitdocs-nestjs). A site with many APIs builds much faster. @DocsOperationand@DocsContentdecorators, 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=1while 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
sendoption on each API (apis[].send, defaulttrue): set it tofalseto 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.apiSwitcheroption (defaultsidebar): 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.menukeeps 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.
- New
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(withlogoandfootnote),Section,Features,Bento,CodeShowcase,Terminal,Flow,Stats,Logos,Showcase,BrowserFrame,Comparison,CallToActionandSiteFooter(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 withoutapistay in every API). NewomitParameterson an API removes parameters its callers never send, such as a tenant header that an API key makes unnecessary.standardErrorsalso takes{ extra, descriptions }in the config, e.g.extra: ['429']to document a rate limit on every operation. - New
apis[].groupsoption: 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.txtand 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
sendoption on each API (apis[].send, defaulttrue): set it tofalseto 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.apiSwitcheroption (defaultsidebar): 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.menukeeps 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.
- New
- 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
@DocsContentare 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_ALLOWlists the exceptions.

