Skip to content

v1.4.0

Latest
Compare
Choose a tag to compare
@pbodnar pbodnar released this 14 Jul 10:23
· 4 commits to master since this release

Added

  • Add parent attribute/property (#71 via #206).

    COMPATIBILITY REMARKS:

    • As the children attribute changed to property, existing code needs to be changed like this:
      -hasattr(token, 'children')
      +token.children is not None
      
      # ...
      
      -'children' in vars(token)
      +token.children is not None
      
      # ...
      
      -getattr(token, 'children', [])
      +token.children or []

Fixed

  • Incomplete sdist content (#219).

Changed

  • MarkdownRenderer: Keep the original content spacing before the list marker (#213 via #215).
  • Bump build/CI scripts.