# Changelog

Track Dahlia releases, user-facing changes, and upgrade notes.

import { Badge, Card, CardGrid } from '@prosefly/astro-components';

<CardGrid>
  <Card icon="lucide:tag" title="GitHub Releases" href="https://github.com/prosefly/astro-theme-dahlia/releases" external>
    View published tags, generated release notes, and release assets.
  </Card>
  <Card icon="lucide:package" title="npm Package" href="https://www.npmjs.com/package/@prosefly/astro-theme-dahlia" external>
    Check the published package version and package metadata.
  </Card>
</CardGrid>

## Unreleased

- Blockquote, embedded-video sizing, mobile-table, and inline-code typography
  now respect `not-prose` boundaries without changing normal Markdown styling.

## [0.4.1](https://github.com/prosefly/astro-theme-dahlia/releases/tag/0.4.1)

<Badge variant="subtle" color="neutral">2026-10-10</Badge>

- Dahlia now adds `@prosefly/astro-components/integration` with default options
  only when the project has not registered it. Configure Astro Components
  directly for custom icon or Markdown-transform behavior; the corresponding
  Dahlia options have been removed.

## [0.4.0](https://github.com/prosefly/astro-theme-dahlia/releases/tag/0.4.0)

<Badge variant="subtle" color="neutral">2026-09-11</Badge>

- Added Mermaid rendering and moved prose styling to Tailwind Typography while
  preserving Dahlia's typography and code-block design.
- Added `sidebar.icon` frontmatter support, including localized fallback icons.
- Watched `theme.config.json` during development, corrected mobile sidebar
  scrolling, and added the same ESLint checks used by Lotus.

## [0.3.0](https://github.com/prosefly/astro-theme-dahlia/releases/tag/0.3.0)

<Badge variant="subtle" color="neutral">2026-09-03</Badge>

- Added Grok and Perplexity to the default page-action menu and removed the
  duplicate Copy page entry from its dropdown.
- Updated `CodeBlock.astro` to render with `astro/components/Code.astro`, matching
  the implementation used by the Lotus theme and reducing internal syntax highlighting
  coupling.

## [0.2.0](https://github.com/prosefly/astro-theme-dahlia/releases/tag/0.2.0)

<Badge variant="subtle" color="neutral">2026-08-30</Badge>

- Consolidated shared icon, Markdown transform, and image-gallery setup behind
  the `@prosefly/astro-components/integration` integration.
- Made Pagefind an optional peer dependency; install `pagefind` separately when
  selecting the Pagefind search provider.

## [0.1.1](https://github.com/prosefly/astro-theme-dahlia/releases/tag/0.1.1)

<Badge variant="subtle" color="neutral">2026-08-28</Badge>

- Fixed stale asynchronous search results overriding newer queries and search
  loading errors.
- Reused resolved documentation navigation context to avoid duplicate sidebar
  resolution during page rendering.
- Fixed the default `lang` value for the root locale when no language tag is
  configured.
- Added cleanup and page-load reinitialization for the table of contents,
  mobile docs navigation, sidebar scrolling, and dropdown interactions during
  Astro view transitions.
- Pinned published integration dependency versions for reproducible installs.

## 0.1.0

<Badge variant="subtle" color="neutral">2026-08-24</Badge>

- Initial release of Dahlia, an installable Astro documentation theme with a
  left-navigation docs shell, splash and text layouts, search, i18n, page
  actions, theme controls, and Dahlia-styled code blocks.
