All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- None
- None
- None
- Extracted shared DSL (
add_field,add_text,add_image,add_table,add_section) intoComposablemodule, included by bothReportandNestable - Unified
DataSourceto use lazy evaluation —set_sourcestores the record,valuedecides extraction strategy at read time - Broke up
Report#generateinto focused private methods (replace_placeholders!,include_images) - Simplified
Tableinternals: renamed methods (get_next_row→next_row), removed redundant code - Cleaned up
Image: single XPath lookup,image_hrefhelper, removed unused parameters - Cleaned up
Template: cached ZIP entries, renamed methods for clarity - Cleaned up
Text: removedattr_accessor, simplifiedfind_text_node - Cleaned up
Field: removed dead code into_placeholder - Cleaned up
Parser::Default: tightened visibility, simplifiedcheck_style - Lazy-initialized all replacer arrays (no more
init_replacers)
- Added RSpec specs for nested tables, sub-sections, table headers, fields inside text, and rich text in sections/tables (19 → 38 examples)
- Organized specs and templates into grouped subfolders (
tables/,sections/,texts/,images/) - Decoupled spec templates from legacy test directory
- <br> replacement in default text parser #130
- Use Nokogiri HTML5 parser for text nodes parsing #129
- nokogiri >= 1.12.0 (was >= 1.10.0)
- newer versions (> 1.13.0) of Nokogiri where presenting "Nokogiri::CSS::SyntaxError: unexpected '|'" #120
- prevent unnecessary memory expensive operations with missing placeholders #117
- files being recognized as "broken file" in Microsoft Word
- remove image if path is null
- remove section if collection is empty/null
- allow nested images inside tables and sections
- allow sections inside tables
- rubyzip >= 1.3.0 (was ~> 1.2.0)
ODFReport::Filerenamed toODFReport::TemplateODFReport::Reportconstructor signature changed
- rubyzip ~> 1.2.0 (was ~> 1.1.0)
- No docs yet. Contributions welcome!