# Markdown Renderer for GitHub - 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).

## [Unreleased]

## [2.5.0] - 2026-02-02
### Added
- Improve Docker/local development workflow and add frontend config filter
- Fix image insertion in markdown editor with multilingual support
### Fixed
- Add "Multilingual" translation entry to Japanese locale file

## [2.4.1] - 2026-01-30

## [2.4.0] - 2026-01-30
### Added
- Add best practice configurations to Claude skills
### Fixed
- Add automatic recovery for SVN update failures in wporg-deploy.sh
- Support both "Related Linear Issue:" and "Related to Linear Issue:" patterns
- Fix language tab switching in multilingual editor
- Fix multilingual language switcher display on frontend
- Initialize Chart and Multilingual handlers in Pro bootstrap
- Fix language switcher selector to match multilingual-id attribute
- Restore obsolete translations and add textdomain loading

## [2.3.0] - 2026-01-26
### Added
- Implement auto-close workflows and PR issue link validation for MD-220
- Translate Japanese comments to English for WordPress.org distribution

## [2.2.0] - 2026-01-23
### Fixed
- Fix package size calculation on macOS by using du -sk instead of du -s

## [2.1.0] - 2026-01-23
### Added
- Filter out developer-only commits from changelog
- Implement Chart.js integration for diagram rendering
### Fixed
- Mermaid図の文字見切れを修正（useMaxWidth統一・CSSスクロール責務改善）
- Unify theme settings retrieval between editor and frontend
- Convert remaining Japanese entries to English in changelog.txt

## [2.0.3] - 2026-01-20
### Added
- Disable image insert button in preview mode
### Fixed
- Fix image preview not updating immediately after insertion
- Add error handling to image insertion rendering
- Fix E2E test syntax errors (40 locations total)
- Update deprecated docker:e2e:* script references
- Fix E2E test failures with ESM conversion and dynamic port detection
### Maintenance
- Reorganize project root files for better readability
- Implement recommended improvements from code review

## [2.0.2] - 2026-01-19
### Documentation
- Improve PHPDoc for main renderer class

## [2.0.1] - 2026-01-19
### Fixed
- Prevent Pro source code leak in WordPress.org packages

## [2.0.0] - 2026-01-19

## [1.16.0] - 2026-01-19
### Added
- Fix Pro version plugin license management UI and initialization flow
- Add Pro version plugin implementation with assets and features
### Fixed
- Use script handle instead of file path in block.json
- Use script handle instead of file path in block.json
- Fix translation JSON hash and domain mismatch
- Fix translation JSON source field mismatch
- Add dynamic language path resolution for Pro version
- Replace Japanese comments with English in block registry
### Documentation
- Add comprehensive i18n workflow documentation
- Add comprehensive i18n workflow documentation
- Add source field troubleshooting to i18n documentation
- Add i18n translation skill and Pro version language file
### Testing
- Add E2E tests for Gutenberg block translations
### Maintenance
- Eliminate Pro/Free version core code duplication
- Activate Frontmatter Settings translations in Japanese
- Add JED format JSON for Frontmatter Settings translations
- Add automated translation hash fix script
- Update Pro roadmap status for v2.0.0   release

## [1.16.0] - 2026-01-16
### Added
- [Pro] Standalone mode: Pro version now works independently without requiring Free version
- [Pro] Automatic conflict detection and Free version deactivation
- [Pro] License recheck function with rate limiting and backoff strategy
- [Pro] Server-side feature guard system for Pro features
- [Pro] Enhanced license management with improved error handling

### Changed
- [Pro] Architecture: Embedded Free version core for standalone operation
- [Pro] License validation: Improved caching and grace period handling

### Internal
- [Pro] Created `includes/core/` with 15 Free version core files
- [Pro] Copied `assets/` and `blocks/` directories to Pro version
- [Pro] Added `SYNC_LOG.md` for tracking Free→Pro synchronization
- [Pro] Implemented `GFMR_Pro_Conflict_Detector` class
- [Pro] Updated bootstrap with `init_standalone()` method

## [1.15.0] - 2026-01-16
### Added
- Add Pro version packaging script
### Changed
- Separate Pro plugin and enhance extension system
### Maintenance
- Add automatic cleanup of release ZIP files

## [1.14.1] - 2026-01-15
### Changed
- Clean up and optimize npm scripts
- Add npm test alias for test:quick
### Fixed
- Preserve cursor position during image insertion
### Documentation
- Update changelog for cursor position fix
### Testing
- Add comprehensive test suite for hasMathContent detection

## [1.14.0] - 2026-01-15
### Changed
- Optimize test execution time and fix WordPress tests
- improve code quality and PHPCS compliance
### Fixed
- Fix security audit script errors
- Replace non-existent WordPress-Security with WordPress-Extra
- Remove visual empty lines in diff code blocks on frontend
### Documentation
- Update prefix policy backward compatibility note
### Testing
- Add comprehensive unit tests for applyDiffHighlighting

## [1.13.0] - 2026-01-13
### Fixed
- Add JSX support to babel.config.js for wp-scripts build

## [1.12.0] - 2026-01-13
### Added
- Add tabbed navigation to settings page
- Add Japanese translations for TOC settings page
### Fixed
- Fix TOC sidebar positioning with Flexbox layout
- Fix TOC heading indentation hierarchy
- Handle undefined security-tests result in CI summary
- Make security tests optional in CI pipeline
- Remove invalid continue-on-error from reusable workflow job
### Documentation
- Update changelog for TOC i18n changes
### Testing
- Add JavaScript unit tests for coverage improvement
- Add comprehensive unit tests for TOC, frontmatter, and settings
### Maintenance
- Exclude development files from highlight.php in distribution package
- Add coverage-js to gitignore

## [1.11.1] - 2026-01-11
### Fixed
- Fix Rust syntax highlighting across editor and language detection

## [1.11.0] - 2026-01-09
### Added
- Add -y/--yes flag for non-interactive deployment
- Add Mermaid diagram lightbox with zoom and pan
### Documentation
- Add deployment best practices and troubleshooting

## [1.10.3] - 2026-01-09
### Fixed
- Fix undefined GFMR_PLUGIN_DIR constant causing production failure
- Include production vendor dependencies in release package
- Add GFMR_PATH to PHPStan baseline
- Remove duplicate changelog entries
### Documentation
- Add v1.10.1 changelog entries
- Update v1.10.2 changelog

## [1.10.2] - 2026-01-09
### Fixed
- Fix undefined GFMR_PLUGIN_DIR constant causing production failure
- Include production vendor dependencies (highlight.php) in release package
- Add GFMR_PATH to PHPStan baseline

## [1.10.0] - 2026-01-09
### Added
- Add server-side rendering (SSR) for code blocks and Mermaid diagrams
### Fixed
- Fix editor preview display for code blocks and Mermaid diagrams
### Documentation
- Enhance CSS specificity documentation and deprecated version migration strategy

## [1.9.1] - 2026-01-08
### Added
- Add YAML frontmatter display feature with settings
### Fixed
- Remove redundant type checks to satisfy PHPStan
### Documentation
- Update Linear project name in CLAUDE.md
### Maintenance
- Enable frontend-design plugin
- Disable frontend-design plugin

## [1.9.0] - 2026-01-07
### Added
- Implement Pro roadmap automation system
### Changed
- Optimize GitHub Actions performance for PR execution
### Fixed
- Add safe error handling for feature.title field access

## [1.8.0] - 2026-01-06
### Added
- Implement Pro license management system with Lemon Squeezy integration
### Fixed
- Add missing Mermaid diagram types to content-based detection
- Relax graph/flowchart regex and add missing Mermaid diagram types
### Testing
- Add dark mode background color tests for Shiki code blocks
### Maintenance
- Add preToolUse hook for automatic lint fix before git operations

## [1.7.14] - 2026-01-05
### Added
- Implement shiki theme persistence and rendering optimization
### Changed
- Consolidate WordPress function stubs and unify test bootstrap

## [1.7.13] - 2026-01-05
### Added
- Add automatic changelog sync from changelog.txt to readme.txt
### Changed
- Consolidate WordPress compatibility test suite with common library
### Fixed
- Resolve code highlighting rendering issues with theme mismatch

## [1.7.12] - 2026-01-04
### Added
- Add PHPStan static analysis in addition to PHPCS
- Implement WordPress.org compatibility auto-update
### Fixed
- Add memory limit to PHPStan commands in scripts

## [1.7.11] - 2026-01-03
### Added
- Apply light theme background color and set system theme as default

## [1.7.10] - 2026-01-03
### Fixed
- Prevent dev environment data loss during E2E test resets
- Remove color:revert rule in copy-button.css that broke Shiki highlighting
- Resolve merge conflict in scripts/docker.sh

## [1.7.9] - 2026-01-03
### Fixed
- Remove color:revert rules that broke Shiki syntax highlighting

## [1.7.8] - 2026-01-03
### Changed
- Parallelize CI tasks and optimize Docker readiness checks
### Fixed
- Add slug parameter to Codecov upload action
- Stabilize E2E tests by improving Docker environment and Mermaid detection

## [1.7.7] - 2026-01-02
### Fixed
- Fix editor preview visibility for code blocks and Mermaid diagrams
- E2E test timeout for empty code blocks and Mermaid-only content

## [1.7.6] - 2026-01-02
### Fixed
- Fix editor preview visibility for code blocks and Mermaid diagrams

## [1.7.5] - 2026-01-02
### Fixed
- Fix editor preview display for Shiki and Mermaid

## [1.7.4] - 2026-01-02
### Fixed
- Stabilize Mermaid rendering in editor preview

## [1.7.3] - 2026-01-02
### Added
- Improve Playwright browser cache in E2E tests
### Fixed
- Prevent double-nested HTML wrapper in editor preview

## [1.7.2] - 2026-01-02
### Fixed
- Stabilize Mermaid/Shiki rendering in editor preview
### Maintenance
- Clean up security audit temporary result files

## [1.7.0] - 2026-01-01
### Added
- Add commit-language setting for English commit messages
- Add i18n workflow for translate.wordpress.org
### Fixed
- Fix Mermaid User Journey diagram not rendering in editor
- WordPress 6.8+ iframe compatibility and CI optimization
### Documentation
- Update readme.txt and changelog for WordPress.org i18n

## [1.6.0] - 2026-01-01
### Fixed
- Convert Japanese comments to English for WordPress.org compliance

## [1.5.0] - 2026-01-01
### Added
- Add Codecov coverage upload to CI/CD pipeline
- Integrate JavaScript UI with WordPress translation system
- Add support for Mermaid State Diagram with multiple syntax patterns
- Add comprehensive E2E tests for Mermaid State Diagram rendering
### Changed
- Optimize GitHub Actions for faster PR checks
### Fixed
- Add block-registry to test bootstrap for full coverage
- Fix E2E test script mismatch and missing package-lock.json
- Correct PHPUnit coverage configuration and namespace consistency
- Enable Mermaid classDef styling in editor preview
### Documentation
- Convert changelog to English and add language rules
- Add post-release operations and monitoring guides
### Testing
- Strengthen unit tests
- Add JavaScript unit tests for assets/js modules
### Maintenance
- Update changelog and gitignore

## [1.4.0] - 2025-12-28
### Added
- Add Schema.org JSON-LD structured markup generation
- Optimize conditional loading of KaTeX math library
- Enable full-width display for GFM rendered content
- Improve regression test quality with GFM rendering auto-detection
- Add PHP 8.3/8.4 support to CI/CD pipeline
- Add internationalization support for Gutenberg block editor
### Changed
- Improve performance by parallelizing PHP syntax checks
### Fixed
- Fix Mermaid classDef styling not rendering in editor preview
- Fix Mermaid v10+ syntax normalization for State Diagram
- Add gitGraph detection to Gutenberg block editor
- Fix multiple Mermaid diagram types not rendering on post display
- Fix test stubs and Playwright authentication paths
### Documentation
- Reorganize and restructure documentation
- Complete comprehensive test content for GFM syntax and Mermaid diagrams
- Enhance technical documentation with API specs, architecture diagrams, and customization guide
### Testing
- Add comprehensive E2E test suite for Mermaid State Diagram
- Add E2E tests for Mermaid classDef styling
- Strengthen backend test cases
- Add detailed compatibility and performance tests
### Maintenance
- Organize temporary directory management and cleanup functionality

## [1.3.9] - 2025-12-26
### Fixed
- Stabilize Mermaid diagram sizing
### Changed
- Simplify release flow and integrate changelog auto-generation

## [1.3.8] - 2025-12-26
### Changed
- Release process improvements

## [1.3.7] - 2025-12-26
### Removed
- Completely removed Plugin Update Checker (now using WordPress.org standard update system)
### Changed
- Added CI environment detection and strict mode to test scripts

## [1.3.6] - 2025-12-26
### Removed
- Completely removed Plugin Update Checker
### Changed
- Added CI environment detection and strict mode to test scripts

## [1.3.5] - 2025-12-26
### Removed
- Completely removed Plugin Update Checker
### Changed
- Added CI environment detection and strict mode to test scripts

## [1.3.2] - 2025-12-25
### Removed
- Completely removed Plugin Update Checker
### Changed
- Added CI environment detection and strict mode to test scripts

## [1.3.1] - 2025-12-25
### Removed
- Completely removed Plugin Update Checker
### Changed
- Added CI environment detection and strict mode to test scripts

## [1.3.0] - 2025-11-18
### Removed
- Completely removed Plugin Update Checker (now using WordPress.org standard update system)
### Changed
- Added CI environment detection and strict mode to test scripts

## [1.2.0] - 2025-11-18
### Removed
- Completely removed Plugin Update Checker (now using WordPress.org standard update system)
### Changed
- Added CI environment detection and strict mode to test scripts
- Refactored dependency check logic in test scripts into reusable functions

## [1.1.2] - 2025-08-29
### Fixed
- Fixed the problem that Markdown blocks were not displayed on the posting screen
- Version synchronization with WordPress.org repository
- SVN deployment consistency improvements
### Changed
- Project root organization for better maintainability

## [1.1.1] - 2025-08-29
### Fixed
- Version synchronization with WordPress.org repository
- SVN deployment consistency improvements
### Changed
- Project root organization for better maintainability
- Test HTML files moved to appropriate directories

## [1.1.0] - 2025-08-28
### Added
- Copy button support for light theme backgrounds
- Improved copy button visibility in dark themes
### Fixed
- Fixed Mermaid diagrams not being centered properly
- Copy button invisibility in light theme backgrounds
- Mermaid diagram copy button display issues

## [1.0.0] - 2025-08-13
### Added
- GitHub Flavored Markdown (GFM) rendering support
- Syntax highlighting for 100+ programming languages
- Interactive Mermaid diagrams with 9 diagram types
- One-click copy functionality for code blocks
- WordPress Gutenberg block editor integration
