Skip to content

Improved implied name parsing, bugfixes, and improved backcompat parsing

Compare
Choose a tag to compare
@aaronpk aaronpk released this 13 Mar 23:37
· 206 commits to main since this release
42ef6eb

Breaking changes

  • #125 - Add rel-urls to parsed result. Removes alternates by default but still available behind a feature flag.
  • #142 - Reduce instances of implied p-name. See Microformats issue #6. This means it is now possible for the parsed result to not have a name property, whereas before there was always a name property on an object. Make sure consuming code can handle an object without a name now.

Fixes

  • #124 - Fix for experimental lang parsing
  • #127 - Fix for parsing h-* class names containing invalid characters.
  • #131 - Improved dt- parsing. Issues #126 and #115.
  • #130 - Fix for implied properties with empty attributes.
  • #135 - Trim leading and tailing whitespace from HTML value as well as text value.
  • #137 - Fix backcompat hfeed parsing.
  • #134 - Fix rel=bookmark backcompat parsing.
  • #116 - Fix backcompat parsing for summary property in hreview
  • #149 - Fix for datetime parsing, no longer tries to interpret the value and passes through instead

Thanks to @gRegorLove and @jkphl for all their hard work in this release!