Skip to content

v0.10.0

Latest

Choose a tag to compare

@theroyalwhee0 theroyalwhee0 released this 11 Nov 20:38
Immutable release. Only release title and notes can be modified.
7b2a70a

[0.10.0] - 2025-11-11

Added

  • apply_xmlns() function for post-processing namespace prefixes (#57)
    • Extracts xmlns declarations from HTML and applies them to prefixed elements
    • Both lenient (default) and strict modes for handling undefined prefixes
    • Support for template contents, attributes, and all node types
    • Comprehensive example demonstrating functionality
  • apply_xmlns_opts() with flexible NsOptions configuration (#59)
    • Provide additional namespace mappings via options
    • Configurable strict mode for undefined prefix handling
    • HTML declarations take precedence over provided options
  • New example apply_xmlns.rs demonstrating namespace processing

Changed

  • Refactored parser.rs into modular directory structure (#59)
    • Each component in dedicated file following one-item-per-file convention
    • Improved code organization and git history tracking
  • Improved test coverage from 95.85% to 97.86% (#59)
    • Added 10 new tests for TreeSink edge cases
    • Comprehensive coverage of parser implementation

Deprecated

  • apply_xmlns_strict() deprecated in favor of apply_xmlns_opts() with NsOptions (#59)
  • NsDefaultsBuilder module deprecated in favor of apply_xmlns_opts() (#59)