v0.10.0 — @dualmark/netlify + @dualmark/nuxt adapters, api-reference converter, pluggable tokenizer
LatestThe AEO infrastructure your marketing site is missing. This release adds two new edge/framework adapters, a new OpenAPI-aware converter, and a pluggable token estimator across every adapter. All @dualmark/* packages are version-linked and ship at 0.10.0.
Highlights
New: Netlify adapter — @dualmark/netlify@0.10.0
Run Dualmark on Netlify Edge Functions (Deno runtime). Serves clean markdown twins to AI bots at the edge via content negotiation.
bun add @dualmark/netlify @dualmark/coreNew: Nuxt integration — @dualmark/nuxt@0.10.0
First-class Nuxt support with a content-negotiation middleware, a pluggable tokenizer, compareOptions, request-param validation, and h3 v2 compatibility. Generates .md twins and llms.txt from your content.
bun add @dualmark/nuxt @dualmark/core @dualmark/convertersNew: OpenAPI-aware api-reference converter — @dualmark/converters@0.10.0
A new api-reference converter with a fromOpenAPI helper turns your OpenAPI spec into clean, AI-readable markdown API reference pages. Available through the Astro, Next.js, and SvelteKit adapters.
New: Pluggable token estimator — @dualmark/core@0.10.0
Bring your own tokenizer for accurate X-Markdown-Tokens counts:
estimateTokens(text, { tokenizer })accepts an inline override function- New exports from core:
TokenEstimatortype,setTokenEstimator,resetTokenEstimator - A
tokenizeroption is now wired into every adapter config: Astro, Cloudflare, Deno, Next.js, SvelteKit, Vercel - The Astro adapter also accepts module-path strings (e.g.
"./src/aeo-tokenizer.ts") for tokenizers that close over external state likejs-tiktoken
Changes by package
| Package | Version | Type | Change |
|---|---|---|---|
@dualmark/netlify |
0.10.0 |
minor | New Netlify Edge Functions adapter |
@dualmark/nuxt |
0.10.0 |
minor | New Nuxt integration |
@dualmark/converters |
0.10.0 |
minor | New OpenAPI-aware api-reference converter (fromOpenAPI) |
@dualmark/core |
0.10.0 |
minor | Pluggable token estimator (tokenizer option) |
@dualmark/astro |
0.10.0 |
minor | api-reference converter + pluggable tokenizer (function or module-path) |
@dualmark/nextjs |
0.10.0 |
minor | api-reference converter + pluggable tokenizer |
@dualmark/sveltekit |
0.10.0 |
minor | api-reference converter + pluggable tokenizer |
@dualmark/cloudflare |
0.10.0 |
minor | Pluggable tokenizer |
@dualmark/deno |
0.10.0 |
minor | Pluggable tokenizer |
@dualmark/vercel |
0.10.0 |
minor | Pluggable tokenizer |
@dualmark/cli |
0.10.0 |
patch | Bump for @dualmark/core@0.10.0 |
Eight end-to-end adapters now ship: Astro, Next.js, SvelteKit, Cloudflare, Deno, Vercel, Netlify, Nuxt. Plus a new examples/sanity-astro showing Sanity CMS → dual-marked Astro pages.
Full Changelog: v0.9.0...v0.10.0