v1.1.0 - Dark Mode & Enhanced Content Features
What's New in v1.1.0 π
β¨ New Features
- Dark Mode Toggle: Complete theme switching system with localStorage persistence and FOUC prevention
- MDX Support: Full integration allowing both .md and .mdx files for blog content
- Reading Time Calculation: Automatic reading time estimation displayed on blog posts
- Table of Contents: Auto-generated, scroll-spying TOC component for better navigation
π§ Technical Improvements
- Comprehensive Test Suite: Added Playwright E2E tests covering all new features
- API Modernization: Migrated from deprecated Astro.glob() to import.meta.glob()
- Type Safety: Fixed all TypeScript errors and improved type annotations
- ESLint v9 Support: Updated to flat config format for latest ESLint compatibility
π¦ Dependencies
- Added @astrojs/mdx for MDX support
- Added Playwright for comprehensive testing
- Updated ESLint configuration
π Bug Fixes
- Fixed build failures with Astro 4.x+ API compatibility
- Resolved TypeScript strict mode errors
- Fixed mixed API usage between deprecated and modern patterns
Full Changelog: v1.0.2...v1.1.0