Skip to content

Latest commit

 

History

History
773 lines (570 loc) · 35.6 KB

File metadata and controls

773 lines (570 loc) · 35.6 KB

4.3.0 (2026-03-07)

Features

  • playground: make legal-md playground self-contained in compiled binary (#177) (9a88f61)

4.2.1 (2026-03-07)

Bug Fixes

  • route all processing diagnostic output to stderr (#176) (95f661b)

Documentation

  • improve README structure and accuracy (#175) (387ca44)

4.2.0 (2026-03-07)

Features

4.1.0 (2026-03-06)

Features

  • add .docx and .pdf download buttons to playground toolbar (#173) (194e7d0)

4.0.1 (2026-03-06)

Bug Fixes

  • build: add chmod step for CLI bin executables after tsc compilation (8c5590f)

4.0.0 (2026-03-06)

⚠ BREAKING CHANGES

  • v4 release - pipeline consolidation, DOCX/PDF, and playground overhaul (#160)

Features

  • v4 release - pipeline consolidation, DOCX/PDF, and playground overhaul (#160) (55c7738)

Documentation

  • playground: fix Pages paths and release Node runtime (#172) (f915997)

Tests

  • add math helpers module and fix 24 skipped tests for v4.0 preparation (#158) (9913c0e), closes #142

Continuous Integration

  • re-trigger release workflow (e55b98a)

3.5.0 (2025-10-28)

  • feat: formalize Phase 2 string transformations in pipeline (#149) (#157) (83c8f9c), closes #149 #157 #149 #149
  • test: comprehensive Handlebars test coverage for v4.0 preparation (#156) (42ed564), closes #156 #142
  • docs: finalize Handlebars migration documentation for Issue #142 (af12637), closes #142 #142 #142 #142

3.4.4 (2025-10-26)

  • fix: preserve underscores in Handlebars variable names (#151) (9ba8ab4), closes #151 #147

3.4.3 (2025-10-26)

  • fix: add comprehensive Handlebars tests + enable ISO date parsing (5751345), closes #148 #142 #149

3.4.2 (2025-10-23)

  • fix: eliminate flaky Puppeteer tests with sequential execution (#146) (22e04ca), closes #146 #144

3.4.1 (2025-10-23)

3.4.0 (2025-10-19)

  • feat: add version display in PDF footers and fix header/footer regression (#134) (9db9a2c), closes #134

3.3.4 (2025-10-19)

  • fix: add confusable symbols checker script (#133) (b873a0d), closes #133
  • refactor: implement 3-phase pipeline with HTML reuse optimization (#132) (79f3539), closes #132 #131 #131 #132

3.3.3 (2025-10-08)

  • fix: remove FTUX feature to resolve CLI initialization issues (#124) (3ab7bf2), closes #124

3.3.2 (2025-10-07)

3.3.1 (2025-10-02)

  • fix: prevent underscore escaping in markdown output (#112) (a39298d), closes #112
  • test: add comprehensive edge case tests + fix underscore parsing issue (#111) (4a9c037), closes #111

3.3.0 (2025-10-01)

  • feat: add signature lines detection and styling (#110) (e5b96be), closes #110 #000 #000
  • Refactor playground and enhance date formatting (#109) (3f96be7), closes #109

3.2.3 (2025-09-29)

  • fix: resolve cross-reference field tracking and processing issues (#108) (0ddca47), closes #108

3.2.2 (2025-09-25)

  • fix: process Roman numerals (%R, %r) in all cross-reference levels (#105) (27de7cd), closes #105

3.2.1 (2025-09-01)

  • fix: enable variable processing inside code blocks by default (#88) (b5bf890), closes #88

3.2.0 (2025-08-28)

  • feat: dynamic CLI version reading from package.json (#87) (559dc67), closes #87

3.1.7 (2025-08-07)

  • fix: resolve ESLint and Prettier quote conflict (f21fe68)

3.1.6 (2025-08-07)

  • perf: improve test timeout handling for CI environments (e706417)
  • docs: clean up install script output by removing decorative completion message (5f82602)

3.1.5 (2025-08-07)

  • fix: Show relative paths in interactive file selector for cleaner UI (#67) (679efb6), closes #67

3.1.4 (2025-08-07)

  • fix: reduce PDF Generator verbosity by replacing console.log with logger (#66) (c787d06), closes #66

3.1.3 (2025-08-06)

  • fix: resolve test concurrency and Chrome detection issues for npm deployment (#64) (51ef397), closes #64

3.1.2 (2025-08-06)

  • fix: resolve macOS PDF generation and Homebrew installation issues (#63) (10a9db2), closes #63

3.1.1 (2025-08-06)

  • fix: resolve FTUX configuration validation issues (4e180d0)
  • Enhanced FTUX with macOS installer and improved config validation (#62) (279770b), closes #62

3.1.0 (2025-08-06)

  • feat: enhance interactive CLI with force commands automation and optimizations (#61) (7085d14), closes #61

3.0.3 (2025-08-02)

  • fix: prevent indented headers from becoming code blocks in HTML/PDF (#50) (1a92de1), closes #50

3.0.2 (2025-08-02)

  • fix: correctly handle empty string vs undefined in header level definitions (#49) (bed33e1), closes #49
  • docs: add missing v3.0.0 changelog entry with breaking changes (3f305af)

3.0.1 (2025-08-02)

  • fix: use temp directories in interactive CLI tests instead of creating test-fixtures in root (#48) (9172b1c), closes #48
  • chore: update version to 3.0.0 and fix semantic-release configuration (20657e6)

3.0.0 (2025-08-02)

⚠ BREAKING CHANGES

  • remark migration: Internal processing pipeline migrated to AST-based remark system
  • API changes: Some internal APIs have changed for enhanced performance
  • field tracking: Field tracking implementation updated for better accuracy

Features

  • remark integration: Complete remark migration with enhanced features and modern architecture (#47) (a4dae11)
  • CLI integration: Add --headers flag for auto-populating YAML front matter
  • remark processor: Implement complete Legal Markdown processor using unified/remark
  • plugin architecture: Export centralized plugin registry for consistent imports
  • API extensions: Export processLegalMarkdownWithRemark for public API
  • enhanced testing: Add comprehensive noIndent integration tests and enhanced coverage
  • documentation: Update core system architecture and processing pipeline documentation

Performance Improvements

  • AST processing: Modern AST-based document processing with remark
  • single pipeline: Combine all Legal Markdown plugins in single processing pipeline
  • field tracking: Automatic field tracking integration with clearing
  • debugging: Include debugging capabilities and error handling

Documentation

  • architecture: Complete remark integration architecture guide
  • processing: Enhanced processing pipeline documentation
  • migration: Comprehensive migration guide for remark system

2.16.3 (2025-07-31)

  • fix: unify archive directory behavior to be project-relative (#46) (c7db8f5), closes #46
  • ⚡ Optimize test performance by 60% with threading and smart timeouts (#44) (3d0941e), closes #44

2.16.2 (2025-07-31)

  • Merge branch 'fix/webpack-umd-export-configuration' (70036a5)
  • fix: resolve webpack UMD export configuration for native browser compatibility (0f0ab2e)

2.16.1 (2025-07-31)

  • fix: resolve playground compatibility issues with processLegalMarkdownWithRemark functions (5eea375)

2.16.0 (2025-07-31)

  • feat: implement First-Time User Experience (FTUX) for interactive CLI (#43) (cd6e440), closes #43

2.15.0 (2025-07-31)

  • fix: comprehensive CLI interactive fixes - duplicated output, imports, archiving (b06cd54)
  • fix: correct CLI path references in test files after ESM migration (2b7d5d4)
  • fix: correct JSDoc violations in src/ files to comply with DEVELOPMENT-GUIDELINES.md (775a420)
  • fix: correct JSDoc violations in tests/ files to comply with DEVELOPMENT-GUIDELINES.md (01c05c8)
  • fix: correct web playground and browser entry point ESM compatibility (96e8684)
  • fix: resolve CLI test failures and deprecated callback usage (52fb577)
  • fix: resolve ESM compatibility issues in build scripts (dd88934)
  • fix: resolve ESM compatibility issues in build scripts (3975503)
  • fix: resolve highlight.css embedding regression in ESM builds (94880ee)
  • fix: update CSS classes for remark migration compatibility (e6cf3c2)
  • feat: add comprehensive remark-based Legal Markdown processor (ce5e54a)
  • feat: enhance build system with ESM-compatible scripts and dual build support (fc91ab2)
  • feat: implement comprehensive remark plugin architecture for Legal Markdown (c0afc8f)
  • feat: implement ESM migration foundation with dual ESM/CJS build support (39124b2)
  • feat: migrate from Jest to Vitest for improved ESM compatibility and performance (e0956b1)
  • feat: migrate to remark ecosystem and Vitest for AST-based processing (#42) (3f081d3), closes #42
  • feat: reorganize utilities and enhance type system for remark migration (e0aa0bb)
  • feat: update legacy processors with ESM compatibility and improved documentation (1ca0771)
  • style: fix Prettier formatting in esm-utils.ts (dde948a)
  • refactor: address GitHub Copilot security and architecture feedback (75c5fb3)
  • docs: add markdownlint directive to disable specific rule in features guide (91121d2)
  • docs: add missing comma in markdownlint configuration (35529ac)
  • docs: enhance generate-readmes.js with comprehensive JSDoc documentation (7bf1ba5)
  • docs: major documentation reorganization and comprehensive migration guide (f55f6a8)
  • docs: reorganize ARCHITECTURE.md into modular structure (9b54a84)
  • docs: update CLI-REFERENCE.md with missing options and frontmatter merging (8c8d9c9)
  • chore: add .htmlhintignore configuration (4070f0d)
  • chore: add markdownlint configuration for sibling headers (341957b)
  • chore: update .gitignore with additional exclusion patterns (791e369)

2.14.2 (2025-07-29)

  • fix: prevent malformed frontmatter comments from appearing as H1 headers (#40) (e54125c), closes #40

2.14.1 (2025-07-29)

  • fix: prevent duplicate success messages in interactive CLI (#39) (7bf6253), closes #39

2.14.0 (2025-07-29)

  • feat: add automatic cross-references metadata generation (#38) (0286339), closes #38

2.13.0 (2025-07-29)

  • feat: add support for uppercase Roman numerals (%R) (#37) (5031f59), closes #37
  • docs: improve JSDoc documentation and eliminate TypeDoc warnings (#36) (efa46b8), closes #36

2.12.1 (2025-07-29)

  • fix: improve CLI console output formatting and eliminate duplicates (#35) (68bb465), closes #35

2.12.0 (2025-07-28)

  • feat: separate field tracking from highlighting and restore dual output generation (#34) (79fe2cd), closes #34
  • test: add smart test execution to pre-commit hooks (cd619d1)

2.11.0 (2025-07-28)

  • feat: implement frontmatter merging system for imports (#33) (2cdaefe), closes #33

2.10.0 (2025-07-28)

  • Merge pull request #32 from petalo/feat/store-processed-documents (282fe4c), closes #32
  • fix: add null safety checks for archive result paths (dcf0640)
  • fix: remove PDF/HTML generation from archive integration tests (f7f0652)
  • feat: implement smart archiving system for source files (50a6232)

2.9.0 (2025-07-28)

  • feat: improve .env discovery and add user-friendly setup tools (#31) (06d632b), closes #31

2.8.1 (2025-07-28)

  • Merge pull request #30 from petalo/hotfix/dotenv-dependency (5d22ef6), closes #30
  • fix: move dotenv from devDependencies to dependencies (9b515b6)

2.8.0 (2025-07-28)

  • Merge branch 'main' into feat/interactive-cli (63a9e81)
  • Merge pull request #29 from petalo/feat/interactive-cli (424d932), closes #29
  • refactor: address Copilot review suggestions (c209f73)
  • feat: add interactive CLI with guided prompts and comprehensive testing (d471ede)

2.7.0 (2025-07-27)

  • Merge branch 'main' into docs/playground-styles (6c2cc3e)
  • Merge pull request #28 from petalo/docs/playground-styles (70c3016), closes #28
  • feat: include all commit types in changelog when version bumps (ced8181)
  • docs(build): improve build script logging for deployment status (168ddd8)

2.6.4 (2025-07-27)

Bug Fixes

  • playground: address Copilot security and error handling suggestions (df5ed04)

2.6.3 (2025-07-27)

Bug Fixes

  • resolve CSS paths relative to STYLES_DIR environment variable (#26) (80c25d1)

2.6.2 (2025-07-27)

Bug Fixes

  • preserve HTML spans in code blocks when field tracking is enabled (#25) (8cdec2d)

2.6.1 (2025-07-27)

Bug Fixes

  • use DEFAULT_INPUT_DIR and DEFAULT_OUTPUT_DIR environment variables in CLI (f625ebc)
  • use DEFAULT_INPUT_DIR and DEFAULT_OUTPUT_DIR environment vars (5009627), closes #24

2.6.0 (2025-07-27)

Features

  • add Spanish date format to DateFormats (e8de026), closes #23
  • add Spanish date format to DateFormats (3d22281)

2.5.0 (2025-07-27)

Features

  • implement modern pipeline architecture with AST-based processing (0a9d04e)
  • implement modern pipeline architecture with AST-based processing (#20) (3147475)

2.4.0 (2025-07-26)

Bug Fixes

  • correct double periods in cross-reference test expectations (65ef15b)

Features

  • reimplement cross-references to match Ruby specification (2ac491e)

2.3.0 (2025-07-26)

Features

  • implement complete template loops with dot notation support (076de84)

2.2.0 (2025-07-26)

Features

  • implement environment-based path configuration system (#18) (9af1007)

2.1.0 (2025-07-26)

Features

  • complete PDF logo system with external URL support (#17) (68b8f52)

2.0.1 (2025-07-26)

Bug Fixes

  • correct workflow triggers for release and package upload jobs (6a00a92)

2.0.0 (2025-07-26)

Bug Fixes

  • configure semantic-release for protected branch compatibility (20870d5)
  • disable footer-max-line-length rule for semantic-release compatibility (7368a03)
  • resolve CLI module path resolution errors (1cd3a56)

Features

  • implement force_commands for document-driven configuration (#14) (6505f8d)

BREAKING CHANGES

  • Documents can now override CLI options via force_commands

1.5.1 (2025-07-18)

Bug Fixes

  • resolve ESLint warnings in parseHelperArguments function (b952985)

1.5.0 (2025-07-18)

Features

  • implement field tracking control system (e07fc1f)

1.4.0 (2025-07-18)

Bug Fixes

  • resolve ESLint warnings and CLI import functionality bug (96428cb)
  • resolve multiple critical bugs in core processing (4e5f6fc)

Features

  • update playground with corrected features demo content (af36ec0)

1.3.0 (2025-07-17)

Features

  • add repository link to playground header (3d24408)

1.2.0 (2025-07-17)

Features

  • add GitHub Pages deployment for Legal Markdown playground (25b14c9)

1.1.1 (2025-07-17)

Bug Fixes

  • update Node.js version requirements and CI matrix (c5acf3a)

1.1.0 (2025-07-17)

Features

  • enhance package discoverability with additional keywords (3e4cc5f)

1.0.1 (2025-07-17)

Bug Fixes

  • update package description and force republication with correct metadata (f000935)

1.0.0 (2025-07-17)

Bug Fixes

  • add ESLint disable comments for remaining quote and indent issues (3be2487)
  • add ESLint disable comments to prevent quote formatting conflicts (dc28c3e)
  • configure ESLint switch case indentation and VSCode TypeScript formatting (a5e7a47)
  • downgrade chalk to v4.1.2 for CommonJS compatibility (7b10f6e)
  • increase commitlint body-max-line-length for semantic-release compatibility (2bff400)
  • resolve all ESLint formatting issues (e68f5fa)
  • resolve all ESLint formatting issues (b18fec2)
  • update Node.js version to 20 for semantic-release compatibility (0a72b14)
  • upgrade @typescript-eslint to support TypeScript 5.8.3 and resolve all formatting issues (bf5d0d0)

Features

  • enable automatic npm publishing with semantic-release (4f100ff)
  • initial release of legal-markdown-js v1.0.0 - Node.js port of LegalMarkdown (fa97a4e)

Changelog

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

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.0] - 2025-07-17

Added

  • Initial implementation of LegalMarkdown JS with complete feature parity
  • YAML front matter parsing and processing
  • Header numbering system with automatic formatting
  • Optional clauses processing with boolean logic
  • Cross-references support for internal document linking
  • Import functionality for modular document composition
  • Metadata export capabilities for document analysis
  • Command-line interface with comprehensive options
  • Web interface with CSS editor and live preview
  • TypeScript support with full type definitions
  • Node.js API for programmatic usage
  • Multiple output formats (HTML, PDF, Markdown)
  • Template loops for array iteration
  • Mixin system for helper functions
  • Comprehensive test suite with unit, integration, and E2E tests
  • CI/CD pipeline with GitHub Actions
  • Automated releases with semantic-release
  • Validation and error handling throughout the pipeline

Features

  • Complete compatibility with original LegalMarkdown Ruby implementation
  • Browser-compatible UMD bundle for CDN usage
  • Puppeteer-based PDF generation
  • Extensible parser system with fallback support
  • Field tracking for document analysis
  • Batch processing capabilities
  • LaTeX and RestructuredText parsing extensions