blocks 0.1.0

A high-performance Rust library for block-based content editing with JSON, Markdown, and HTML support
Documentation
# 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.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.0] - 2025-12-19

First stable release with complete JSON API and format conversion support.

### Added

- JSON format support with `ConversionFormat::Json` and `ConversionFormat::JsonPretty`
- Plain text extraction with `ConversionFormat::PlainText`
- `JsonSerializable` trait for ergonomic API:
  - `Document::from_json()`, `to_json()`, `to_json_pretty()`
  - `Block::from_json()`, `to_json()`
  - `Converter::blocks_from_json()`
- File I/O examples demonstrating real-world usage patterns
- Test data files: `sample.json`, `sample.md`, `sample.html`
- MIT License
- Complete package metadata for crates.io publication
- Release checklist (RELEASE.md)

### Changed

- Version bump from 0.0.2 to 0.1.0
- Removed 5 redundant examples, kept 2 focused ones (`json_api.rs`, `file_ops.rs`)
- Updated README with cleaner structure and badges
- Improved documentation with inline examples

### Fixed

- Documentation warning for `Vec<Block>` HTML escaping

### Performance

- JSON serialization: ~670ns
- JSON deserialization: ~1.1µs
- Plain text extraction: ~70-400ns

### Tests

- Added 10 JSON-specific tests
- **Total: 173 tests** (158 unit + 15 doc tests)
- Zero warnings, all tests passing

## [0.0.2] - 2024

### Added

- Sanitizer module for XSS prevention
- Builder pattern API
- History manager (undo/redo)
- Conversion cache with TTL
- Plugin system
- Pipeline middleware
- Document diff and merge
- Statistics and readability analysis
- Property-based tests
- 15 benchmark groups

## [0.0.1] - 2024

### Added

- Initial release
- Basic block types (Header, Text, List, Code, Quote, Image, Link)
- Markdown and HTML conversion
- Bidirectional parsing
- Document and Block structures
- Error handling