Releases: soundasleep/html2text_ruby
Releases · soundasleep/html2text_ruby
Release list
v0.5.0
Added
- Add a
wrap_links:option toHtml2Text.convertandHtml2Text.new(defaulttrue); whenfalse, hyperlinks render astext: hrefinstead of markdown-style[text](href). Only affects<a href>links — images and named anchors keep their[bracketed]format (#40, thanks @gusrub!) - Specs covering subclass overrides of
prefix_whitespace,suffix_whitespace,iterate_over,wrap_linkandimage_text, plus unit specs forfix_newlinesandreplace_entities(#41)
Changed
- Require Ruby 3.3+, since all earlier Rubies are EOL; CI now tests Ruby 3.3, 3.4 and 4.0 (#42)
- Reduce object allocations in
iterate_over(2.1x fewer) for ~1.6x faster conversion of large documents (#41) - Update development dependencies (rubocop 1.88, nokogiri 1.19 in the lockfile), removing the transitive
rexmldependency (#42)
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- Fix parsing nodes with no name by @mscrivo in #15
- Update gemspec to allow newer version of Nokogiri by @mscrivo in #17
- Bump nokogiri from 1.11.0 to 1.16.5 by @dependabot in #34
- Bump rake from 10.4.2 to 12.3.3 by @dependabot in #35
- Remove unnecessary explicit receiver in Html2Text.convert by @splattael in #30
- Add rubocop config, action and fix issues by @mscrivo in #36
- Switch from Travis to Github actions for build, test & lint
- Require Ruby 3.0 or higher
New Contributors
- @aried3r made their first contribution in #11
- @mscrivo made their first contribution in #15
- @dependabot made their first contribution in #34
- @splattael made their first contribution in #30
Full Changelog: 0.3.1...v0.4.0