CHANGELOG

Unreleased changes

Please see the fragment files in the changelog.d directory.

2.0.1 - 2026-07-30

Changed

  • Include documentation, tests, and supporting files in the source distribution. (#12)

2.0.0 - 2026-07-30

Breaking changes

  • Switch from a namespace package to a regular package. (kurtmckee/feedparser#585)

    The namespace package caused issues in the feedparser dev environment due to conflicts with editable installs of feedparser. It also adversely affected deployments for users due to separated installs between system and venv environments.

    The new package name is feedparser_sgmllib.

Documentation

  • Use the sphinx-issues plugin to link to issues and PRs.

Development

  • Use scriv to manage the CHANGELOG.

1.0.0 - 2026-07-27

Initial release

  • Import sgmllib from Python 2.7.18.

  • Update the code to work with Python 3.

  • Move sgmllib to be a namespace package: feedparser.sgmllib.

Fixed

  • Convert an AssertionError from _markupbase to an SGMLParseError.

Changed

  • Add type annotations.

  • Convert the SGMLParser.__init__() verbose parameter to a bool.

  • Convert the SGMLParser.goahead() end parameter to a bool.

The following changes were incorporated from feedparser:

  • Support trailing dollar signs in attribute names.

  • Support tags with namespace prefixes.

  • Support hexadecimal character references.

Documentation

  • Publish the original sgmllib documentation to Read the Docs.

Infrastructure and maintenance

  • Add CI.

  • Add pre-commit hooks.

  • Update the test suite.