Skip to content

v0.9.0 — @dualmark/sveltekit + @dualmark/vercel adapters

Latest

Choose a tag to compare

@aagarwal1012 aagarwal1012 released this 04 Jun 14:18
· 5 commits to main since this release
663c10c

The AEO infrastructure your marketing site is missing. This release adds two new edge/framework adapters and improves Astro's config diagnostics.

Highlights

New: SvelteKit adapter — @dualmark/sveltekit@0.9.0

First-class SvelteKit support. Generates .md endpoints from your collections, static pages, and parameterized routes, emits /llms.txt, and ships a createDualmarkHandle() server hook that serves clean markdown to AI bots via content negotiation.

bun add @dualmark/sveltekit @dualmark/core @dualmark/converters

Verified at 125/125 conformance under vite dev. See examples/sveltekit-blog.

New: Vercel Edge adapter — @dualmark/vercel@0.9.0

Drop-in Vercel Edge Middleware that serves pre-built .md twins to AI bots at the edge — wraps any upstream handler with createAEOMiddleware(). Includes subrequest-loop protection, trailing-slash enforcement, Link rel="alternate" injection, redirects, and onAIRequest/onMiss lifecycle hooks.

bun add @dualmark/vercel @dualmark/core

Verified at 120/125 under next dev. See examples/vercel-edge-full.

Improved: Astro config diagnostics — @dualmark/astro@0.9.0

Config validation errors now include the offending file path (e.g. [astro.config.mjs] Dualmark config error: siteUrl is required), so you know exactly which file to fix.

Changes by package

Package Version Type Change
@dualmark/sveltekit 0.9.0 minor New SvelteKit adapter (#32)
@dualmark/vercel 0.9.0 minor New Vercel Edge adapter (closes #8)
@dualmark/astro 0.9.0 patch File paths in config validation errors (#50)

Six end-to-end adapters now ship: Astro, Next.js, SvelteKit, Cloudflare, Deno, Vercel.

Full Changelog: v0.8.0...v0.9.0