Releases: kanakkholwal/docvia
@docvia/ssr@0.3.0
Minor Changes
-
6adfee1: Load markdown in place as modules — drop the per-route IR JSON
docvia now compiles each markdown file in place through a
?docvialoader
instead of emitting a per-route IR JSON store. The generated.docvia/is just
thin glue that imports the markdown modules; the host bundler (Vite, webpack,
Turbopack) compiles, code-splits, and bundles them. Content lives once in the
.md, so builds stay small and scale to thousands of pages, and SSR works on
the edge with no filesystem access.New
docvia/source/browser— a lazy, code-split client entry (each page is
() => import("…?docvia")), alongside the eagerdocvia/sourceused for SSR.@docvia/plugin-nextships a real webpack + Turbopack?docvialoader, so
Next.js compiles markdown in place too — no IR JSON fallback.@docvia/runtimeexportscompileMarkdownToModule, the shared,
bundler-agnostic transform every loader calls.createDocviaSSR({ provider })now accepts aContentProvider, a live
CompileService(pass it directly), or a(collection, slug) => IRfunction.@docvia/runtime'sCompileServicegainsgetDocuments(collection?)— the
full IR for every compiled page (recompiling cache-only entries on demand).
Breaking
- The Vite plugin now follows the Vite virtual-module convention: import from
virtual:docvia/source(andvirtual:docvia/source/browser) instead of the
baredocvia/source. Next.js keeps thedocvia/sourcealias. .docvia/ir/**/*.jsonchunks are no longer emitted.- Removed
@docvia/source/node(loadIRChunk,loadMarkdown). - Removed
@docvia/ssr'sBundledContentProviderandcreateGlobChunkLoader,
and the@docvia/ssr/nodeentry (FsContentProvider). Pass aCompileService
straight tocreateDocviaSSRinstead. @docvia/search/nodeno longer reads<outDir>/ir/(those chunks are gone).
buildSearchIndex/loadIRDocumentsnow compile the docs in-process, so the
outDiroption is replaced byconfigPath(defaults todocvia.config.ts).
Patch Changes
- Updated dependencies [6adfee1]
- @docvia/runtime@0.3.0
@docvia/source@0.3.0
Minor Changes
-
6adfee1: Load markdown in place as modules — drop the per-route IR JSON
docvia now compiles each markdown file in place through a
?docvialoader
instead of emitting a per-route IR JSON store. The generated.docvia/is just
thin glue that imports the markdown modules; the host bundler (Vite, webpack,
Turbopack) compiles, code-splits, and bundles them. Content lives once in the
.md, so builds stay small and scale to thousands of pages, and SSR works on
the edge with no filesystem access.New
docvia/source/browser— a lazy, code-split client entry (each page is
() => import("…?docvia")), alongside the eagerdocvia/sourceused for SSR.@docvia/plugin-nextships a real webpack + Turbopack?docvialoader, so
Next.js compiles markdown in place too — no IR JSON fallback.@docvia/runtimeexportscompileMarkdownToModule, the shared,
bundler-agnostic transform every loader calls.createDocviaSSR({ provider })now accepts aContentProvider, a live
CompileService(pass it directly), or a(collection, slug) => IRfunction.@docvia/runtime'sCompileServicegainsgetDocuments(collection?)— the
full IR for every compiled page (recompiling cache-only entries on demand).
Breaking
- The Vite plugin now follows the Vite virtual-module convention: import from
virtual:docvia/source(andvirtual:docvia/source/browser) instead of the
baredocvia/source. Next.js keeps thedocvia/sourcealias. .docvia/ir/**/*.jsonchunks are no longer emitted.- Removed
@docvia/source/node(loadIRChunk,loadMarkdown). - Removed
@docvia/ssr'sBundledContentProviderandcreateGlobChunkLoader,
and the@docvia/ssr/nodeentry (FsContentProvider). Pass aCompileService
straight tocreateDocviaSSRinstead. @docvia/search/nodeno longer reads<outDir>/ir/(those chunks are gone).
buildSearchIndex/loadIRDocumentsnow compile the docs in-process, so the
outDiroption is replaced byconfigPath(defaults todocvia.config.ts).
@docvia/search@0.3.0
Minor Changes
-
6adfee1: Load markdown in place as modules — drop the per-route IR JSON
docvia now compiles each markdown file in place through a
?docvialoader
instead of emitting a per-route IR JSON store. The generated.docvia/is just
thin glue that imports the markdown modules; the host bundler (Vite, webpack,
Turbopack) compiles, code-splits, and bundles them. Content lives once in the
.md, so builds stay small and scale to thousands of pages, and SSR works on
the edge with no filesystem access.New
docvia/source/browser— a lazy, code-split client entry (each page is
() => import("…?docvia")), alongside the eagerdocvia/sourceused for SSR.@docvia/plugin-nextships a real webpack + Turbopack?docvialoader, so
Next.js compiles markdown in place too — no IR JSON fallback.@docvia/runtimeexportscompileMarkdownToModule, the shared,
bundler-agnostic transform every loader calls.createDocviaSSR({ provider })now accepts aContentProvider, a live
CompileService(pass it directly), or a(collection, slug) => IRfunction.@docvia/runtime'sCompileServicegainsgetDocuments(collection?)— the
full IR for every compiled page (recompiling cache-only entries on demand).
Breaking
- The Vite plugin now follows the Vite virtual-module convention: import from
virtual:docvia/source(andvirtual:docvia/source/browser) instead of the
baredocvia/source. Next.js keeps thedocvia/sourcealias. .docvia/ir/**/*.jsonchunks are no longer emitted.- Removed
@docvia/source/node(loadIRChunk,loadMarkdown). - Removed
@docvia/ssr'sBundledContentProviderandcreateGlobChunkLoader,
and the@docvia/ssr/nodeentry (FsContentProvider). Pass aCompileService
straight tocreateDocviaSSRinstead. @docvia/searchadds headless server search (Fumadocs-style): build the
Orama index in memory from the docvia source and answer queries through a
search endpoint — SSR/edge compatible, with no static index shipped to the
browser. New APIs:createFromSource,createSearchHandler,
createFetchClient, andextractSectionsFromContent. The static
createSearchclient remains for static-export sites.@docvia/search/node'sbuildSearchIndex/loadIRDocumentsno longer read
<outDir>/ir/(those chunks are gone) — they compile the docs in-process, so
theoutDiroption is replaced byconfigPath(defaults to
docvia.config.ts). Only needed for the static-index path now.
Patch Changes
- Updated dependencies [6adfee1]
- @docvia/runtime@0.3.0
@docvia/runtime@0.3.0
Minor Changes
-
6adfee1: Load markdown in place as modules — drop the per-route IR JSON
docvia now compiles each markdown file in place through a
?docvialoader
instead of emitting a per-route IR JSON store. The generated.docvia/is just
thin glue that imports the markdown modules; the host bundler (Vite, webpack,
Turbopack) compiles, code-splits, and bundles them. Content lives once in the
.md, so builds stay small and scale to thousands of pages, and SSR works on
the edge with no filesystem access.New
docvia/source/browser— a lazy, code-split client entry (each page is
() => import("…?docvia")), alongside the eagerdocvia/sourceused for SSR.@docvia/plugin-nextships a real webpack + Turbopack?docvialoader, so
Next.js compiles markdown in place too — no IR JSON fallback.@docvia/runtimeexportscompileMarkdownToModule, the shared,
bundler-agnostic transform every loader calls.createDocviaSSR({ provider })now accepts aContentProvider, a live
CompileService(pass it directly), or a(collection, slug) => IRfunction.@docvia/runtime'sCompileServicegainsgetDocuments(collection?)— the
full IR for every compiled page (recompiling cache-only entries on demand).
Breaking
- The Vite plugin now follows the Vite virtual-module convention: import from
virtual:docvia/source(andvirtual:docvia/source/browser) instead of the
baredocvia/source. Next.js keeps thedocvia/sourcealias. .docvia/ir/**/*.jsonchunks are no longer emitted.- Removed
@docvia/source/node(loadIRChunk,loadMarkdown). - Removed
@docvia/ssr'sBundledContentProviderandcreateGlobChunkLoader,
and the@docvia/ssr/nodeentry (FsContentProvider). Pass aCompileService
straight tocreateDocviaSSRinstead. @docvia/search/nodeno longer reads<outDir>/ir/(those chunks are gone).
buildSearchIndex/loadIRDocumentsnow compile the docs in-process, so the
outDiroption is replaced byconfigPath(defaults todocvia.config.ts).
@docvia/plugin-vite@0.3.0
Minor Changes
-
6adfee1: Load markdown in place as modules — drop the per-route IR JSON
docvia now compiles each markdown file in place through a
?docvialoader
instead of emitting a per-route IR JSON store. The generated.docvia/is just
thin glue that imports the markdown modules; the host bundler (Vite, webpack,
Turbopack) compiles, code-splits, and bundles them. Content lives once in the
.md, so builds stay small and scale to thousands of pages, and SSR works on
the edge with no filesystem access.New
docvia/source/browser— a lazy, code-split client entry (each page is
() => import("…?docvia")), alongside the eagerdocvia/sourceused for SSR.@docvia/plugin-nextships a real webpack + Turbopack?docvialoader, so
Next.js compiles markdown in place too — no IR JSON fallback.@docvia/runtimeexportscompileMarkdownToModule, the shared,
bundler-agnostic transform every loader calls.createDocviaSSR({ provider })now accepts aContentProvider, a live
CompileService(pass it directly), or a(collection, slug) => IRfunction.@docvia/runtime'sCompileServicegainsgetDocuments(collection?)— the
full IR for every compiled page (recompiling cache-only entries on demand).
Breaking
- The Vite plugin now follows the Vite virtual-module convention: import from
virtual:docvia/source(andvirtual:docvia/source/browser) instead of the
baredocvia/source. Next.js keeps thedocvia/sourcealias. .docvia/ir/**/*.jsonchunks are no longer emitted.- Removed
@docvia/source/node(loadIRChunk,loadMarkdown). - Removed
@docvia/ssr'sBundledContentProviderandcreateGlobChunkLoader,
and the@docvia/ssr/nodeentry (FsContentProvider). Pass aCompileService
straight tocreateDocviaSSRinstead. @docvia/search/nodeno longer reads<outDir>/ir/(those chunks are gone).
buildSearchIndex/loadIRDocumentsnow compile the docs in-process, so the
outDiroption is replaced byconfigPath(defaults todocvia.config.ts).
Patch Changes
- Updated dependencies [6adfee1]
- @docvia/runtime@0.3.0
- @docvia/source@0.3.0
@docvia/plugin-next@0.3.0
Minor Changes
-
6adfee1: Load markdown in place as modules — drop the per-route IR JSON
docvia now compiles each markdown file in place through a
?docvialoader
instead of emitting a per-route IR JSON store. The generated.docvia/is just
thin glue that imports the markdown modules; the host bundler (Vite, webpack,
Turbopack) compiles, code-splits, and bundles them. Content lives once in the
.md, so builds stay small and scale to thousands of pages, and SSR works on
the edge with no filesystem access.New
docvia/source/browser— a lazy, code-split client entry (each page is
() => import("…?docvia")), alongside the eagerdocvia/sourceused for SSR.@docvia/plugin-nextships a real webpack + Turbopack?docvialoader, so
Next.js compiles markdown in place too — no IR JSON fallback.@docvia/runtimeexportscompileMarkdownToModule, the shared,
bundler-agnostic transform every loader calls.createDocviaSSR({ provider })now accepts aContentProvider, a live
CompileService(pass it directly), or a(collection, slug) => IRfunction.@docvia/runtime'sCompileServicegainsgetDocuments(collection?)— the
full IR for every compiled page (recompiling cache-only entries on demand).
Breaking
- The Vite plugin now follows the Vite virtual-module convention: import from
virtual:docvia/source(andvirtual:docvia/source/browser) instead of the
baredocvia/source. Next.js keeps thedocvia/sourcealias. .docvia/ir/**/*.jsonchunks are no longer emitted.- Removed
@docvia/source/node(loadIRChunk,loadMarkdown). - Removed
@docvia/ssr'sBundledContentProviderandcreateGlobChunkLoader,
and the@docvia/ssr/nodeentry (FsContentProvider). Pass aCompileService
straight tocreateDocviaSSRinstead. @docvia/search/nodeno longer reads<outDir>/ir/(those chunks are gone).
buildSearchIndex/loadIRDocumentsnow compile the docs in-process, so the
outDiroption is replaced byconfigPath(defaults todocvia.config.ts).
Patch Changes
- Updated dependencies [6adfee1]
- @docvia/runtime@0.3.0
@docvia/compiler@0.2.1
Patch Changes
- Updated dependencies [6adfee1]
- @docvia/runtime@0.3.0
@docvia/cli@0.2.3
Patch Changes
- Updated dependencies [6adfee1]
- @docvia/runtime@0.3.0
- @docvia/compiler@0.2.1
@docvia/search@0.2.1
Patch Changes
- 73fd1b9: Better search API exposed
@docvia/cli@0.2.2
Patch Changes
- Better DX-UX for cli init