CHANGELOG.md

# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- Added structured HexDocs guides (`docs/`) with grouped ExDoc navigation for getting started, rendering options, security policy, and Quill parity notes.
- Added a concise "30 Seconds" quickstart section to README for first-time users.
- Added explicit documentation of the Quill + Delta storage workflow (store Delta, rehydrate editor, render HTML for web/email output).

### Changed
- Improved ExDoc configuration with guide grouping and source references for clearer hexdocs.pm output.
- Tightened README opening paragraph so the HexDocs landing page states concrete workflow/value immediately.

## [0.5.0] - 2026-02-28
### Added
- `link_sanitization: :strict` option to allow only `http|https|mailto` and drop malformed/non-whitelisted links.
- Checklist rendering support for `checked`/`unchecked` lists via `data-list` attributes.

### Changed
- Link output now consistently includes `rel="noopener noreferrer"` with `target="_blank"`.
- Link sanitization now allows `tel` and `sms`, and falls back to `about:blank` for malformed/non-whitelisted URLs (empty link values still remove link wrapping).
- Empty paragraphs now render as `<p></p>` instead of `<p><br/></p>`.

### Fixed
- Preserve inline attributes when splitting multi-line text inserts into per-line ops.
- Handle deltas that do not end with a newline without raising.
- Ignore unsupported embeds instead of crashing during HTML conversion.
- Emit valid nested list HTML by nesting child lists under parent list items.
- Apply line-level attributes (align/indent/direction) consistently across block elements.

## [0.4.0] - 2025-03-18
### Fixed
- Deeply nested lists

### Added
- Support JSON as input
- Preserve whitespace with optional wrapper

### Changed
- Rename to `DeltaHtml.to_html`


## [0.3.0] - 2025-03-17
### Added
- Text alignment and indent

## [0.2.0] - 2025-03-17
### Added
- Sanitize links

## [0.1.0] - 2025-03-16
### Added
- Initial release