feat: v1.2.0-rc.1 - IndieWeb Features Release Candidate
Complete implementation of v1.2.0 "IndieWeb Features" release. ## Phase 1: Custom Slugs - Optional custom slug field in note creation form - Auto-sanitization (lowercase, hyphens only) - Uniqueness validation with auto-numbering - Read-only after creation to preserve permalinks - Matches Micropub mp-slug behavior ## Phase 2: Author Discovery + Microformats2 - Automatic h-card discovery from IndieAuth identity URL - 24-hour caching with graceful fallback - Never blocks login (per ADR-061) - Complete h-entry, h-card, h-feed markup - All required Microformats2 properties - rel-me links for identity verification - Passes IndieWeb validation ## Phase 3: Media Upload - Upload up to 4 images per note (JPEG, PNG, GIF, WebP) - Automatic optimization with Pillow - Auto-resize to 2048px - EXIF orientation correction - 95% quality compression - Social media-style layout (media top, text below) - Optional captions for accessibility - Integration with all feed formats (RSS, ATOM, JSON Feed) - Date-organized storage with UUID filenames - Immutable caching (1 year) ## Database Changes - migrations/006_add_author_profile.sql - Author discovery cache - migrations/007_add_media_support.sql - Media storage ## New Modules - starpunk/author_discovery.py - h-card discovery and caching - starpunk/media.py - Image upload, validation, optimization ## Documentation - 4 new ADRs (056, 057, 058, 061) - Complete design specifications - Developer Q&A with 40+ questions answered - 3 implementation reports - 3 architect reviews (all approved) ## Testing - 56 new tests for v1.2.0 features - 842 total tests in suite - All v1.2.0 feature tests passing ## Dependencies - Added: mf2py (Microformats2 parser) - Added: Pillow (image processing) Version: 1.2.0-rc.1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
46
CHANGELOG.md
46
CHANGELOG.md
@@ -7,6 +7,52 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.2.0-rc.1] - 2025-11-28
|
||||
|
||||
### Added
|
||||
- **Custom Slug Input Field** - Web UI now supports custom slugs (v1.2.0 Phase 1)
|
||||
- Added optional custom slug field to note creation form
|
||||
- Slugs are read-only after creation to preserve permalinks
|
||||
- Auto-validates and sanitizes slug format (lowercase, numbers, hyphens only)
|
||||
- Shows helpful placeholder text and validation guidance
|
||||
- Matches Micropub `mp-slug` behavior for consistency
|
||||
- Falls back to auto-generation when field is left blank
|
||||
|
||||
- **Author Profile Discovery** - Automatic h-card discovery from IndieAuth identity (v1.2.0 Phase 2)
|
||||
- Discovers author information from user's IndieAuth profile URL on login
|
||||
- Caches author h-card data (name, photo, bio, rel-me links) for 24 hours
|
||||
- Uses mf2py library for reliable Microformats2 parsing
|
||||
- Graceful fallback to domain name if discovery fails
|
||||
- Never blocks login functionality (per ADR-061)
|
||||
- Eliminates need for manual author configuration
|
||||
|
||||
- **Complete Microformats2 Support** - Full IndieWeb h-entry, h-card, h-feed markup (v1.2.0 Phase 2)
|
||||
- All notes display as proper h-entry with required properties (u-url, dt-published, e-content, p-author)
|
||||
- Author h-card nested within each h-entry (not standalone)
|
||||
- p-name property only added when note has explicit title (starts with # heading)
|
||||
- u-uid and u-url match for notes (permalink stability)
|
||||
- Homepage displays as h-feed with proper structure
|
||||
- rel-me links from discovered profile added to HTML head
|
||||
- dt-updated property shown when note is modified
|
||||
- Passes Microformats2 validation (indiewebify.me compatible)
|
||||
|
||||
- **Media Upload Support** - Image upload and display for notes (v1.2.0 Phase 3)
|
||||
- Upload up to 4 images per note via web UI (JPEG, PNG, GIF, WebP)
|
||||
- Automatic image optimization with Pillow library
|
||||
- Rejects files over 10MB or dimensions over 4096x4096 pixels
|
||||
- Auto-resizes images over 2048px (longest edge) to improve performance
|
||||
- EXIF orientation correction ensures proper display
|
||||
- Social media style layout: media displays at top, text content below
|
||||
- Optional captions for accessibility (used as alt text)
|
||||
- Media stored in date-organized folders (data/media/YYYY/MM/)
|
||||
- UUID-based filenames prevent collisions
|
||||
- Media included in all syndication feeds (RSS, ATOM, JSON Feed)
|
||||
- RSS: HTML embedding in description
|
||||
- ATOM: Both enclosures and HTML content
|
||||
- JSON Feed: Native attachments array
|
||||
- Multiple u-photo properties in Microformats2 markup
|
||||
- Media files cached immutably (1 year) for performance
|
||||
|
||||
## [1.1.2] - 2025-11-28
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user