Skip to content

Releases: microformats/mf2py

v2.0.1

08 Dec 03:55
Compare
Choose a tag to compare

mf2py 2.0.1

The mf2py library is excited to transition into 2.0. This version increase incorporates months of work from contributors, informed by active discussions among implementers and users.

This release officially deprecates support for versions of Python lower than 3.8.

Below are the changes we have made in this release.

New Features

  • Enable img_with_alt by default (#184)
  • Add timezone offset normalisation (#206)
  • Add option for exposing DOM for embedded properties (#208)
  • Add srcset support (#209)
  • Add language support (#210)
  • Add option for filtering root class names (#211)
  • Add option for metaformats support (#213)

Changes

  • Remove img_with_alt option entirely (#200)
  • Resolve implied photo relative paths (#205)
  • Make relative URLs in embedded properties absolute (#201)
  • Fix whitespace in plaintext conversion (#207)
  • Replace dict_class with standard dict (#196)

Tests, Library and Documentation Maintenance

  • Update tests to include alt texts by default (#190)
  • Add Windows and macOS tests (#198)
  • Use poetry for dependency management (#189)
  • Deprecate Python 2 support (#179)
  • Lint code with black and isort
  • Add linting CI actions (#193)
  • Move from nosetests to pytest (#186)
  • Add 3.11, 3.12 and drop pypy from test matrix; upgrade poetry action (#204)
  • Prepare tests to test options (#214)
  • Bring README doctests up-to-date (#215)

v1.1.3

28 Jun 20:44
Compare
Choose a tag to compare

Notable Changes

  • reduce instances where photo is implied (#135)
  • always do relative URL resolution (#138)
  • VCP now handles tz offsets without leading zeros (#142)
  • implement id parsing (#143)
  • fix outdated syntax causing SyntaxWarning (#157)

new parsing rules, bug fixes, performance improvements

08 Aug 23:40
Compare
Choose a tag to compare

Notable changes

  • add parsing for iframe.u-*[src] (#116)
  • bug fix: reduced implied urls (#117)
  • bug fix: don't collapse whitespace between tags
  • specify explicit versions for dependencies
  • revert BeautifulSoup copying added in 1.1.1 due to bugs (eg #108)
  • misc performance improvements

better whitespacing, experimental parsing, backcompat fix

07 Jul 17:58
9a84d56
Compare
Choose a tag to compare
Merge pull request #106 from kartikprabhu/master

new version 1.1.1 - looks good to me

backwards compatible refactor

22 May 01:36
dda3a59
Compare
Choose a tag to compare
Merge pull request #99 from kartikprabhu/master

Some reorganisation