# Changelog

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

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

Review Lotus releases to understand what changed, what was fixed, and whether an
upgrade affects your documentation site.

<CardGrid>
  <Card icon="lucide:tag" title="GitHub Releases" href="https://github.com/prosefly/astro-theme-lotus/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-lotus" external>
    Check the published package version and package metadata.
  </Card>
</CardGrid>

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

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

### Added

- Added SSR heading anchors for `h2`, `h3`, and `h4`.
- Added a `CodeBlock` export for Shiki-highlighted code on custom pages.
- Added a `Prose` export for custom pages.
- Added Markdown alternate links to docs page metadata.
- Added an automatically generated `/llms.txt` endpoint for AI-readable docs
  discovery.
- Added semantic status color tokens for `info`, `success`, `warning`, and
  `danger`.

### Changed

- Updated `@prosefly/astro-components` to `0.2.1`.
- Reworked `SiteHeader` into a standalone site header.

### Fixed

- Fixed prose links inside headings.
- Improved heading anchor styling on mobile.
- Fixed docs content width so page actions no longer overlap the table of
  contents on wide screens.

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

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

### Added

- Added built-in UI translations for Traditional Chinese, Japanese, Korean,
  French, German, Spanish, Brazilian Portuguese, Italian, Russian, and Arabic.
- Added RTL direction inference for common RTL locales such as Arabic, Persian,
  Hebrew, and Urdu.
- Added RTL-aware shell behavior for the header, dropdowns, mobile docs menu,
  sidebar, table of contents, page actions, and previous/next page navigation.
- Added sidebar diagnostics for missing entries, empty autogenerated
  directories, duplicate sections, and duplicate page ownership.

### Changed

- Enhanced sidebar generation with `autogenerate.structure`,
  `autogenerate.depth`, and `autogenerate.exclude`.
- Refactored sidebar generation into focused resolver, autogenerate, index, and
  diagnostics modules.
- Simplified docs homepage routing: `docsBase` now controls where docs render,
  and setting `docsBase: '/docs'` leaves `/` available for a custom homepage.
- Removed the separate `homepage` config option.
- Removed `source.contentRoot`; edit links and contributor source paths now use
  the content entry file path directly.
- Updated the release workflow to generate GitHub release notes automatically.

### Fixed

- Improved ARIA state, focus handling, and keyboard behavior for dropdowns,
  local search, mobile docs navigation, and page actions.
- Fixed deployed page action URLs so generated assistant links do not keep a
  local development origin.
- Improved mobile clipboard handling for Copy page.
- Added high fetch priority to the header logo image.
- Kept code, keyboard, and sample text left-to-right inside RTL prose content.

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

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

- Fixed a Tailwind CSS issue in the package release.

## 0.1.0

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

- Initial release of `@prosefly/astro-theme-lotus`.
