Skip to content

Commit

Permalink
prepare v1.5.0 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
adbar committed Aug 28, 2023
1 parent db1dabc commit ae3b83e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

## 1.5.0
- slightly higher accuracy with revised heuristics
- simplified code structure for better performance
- setup: support for 3.12, fromisoformat backport if applicable
- HTML parsing fixes: more lenient parsing, pinned LXML version for MacOS

## 1.4.3
- maintenance release: upgrade `urllib3` dependency

Expand Down
8 changes: 3 additions & 5 deletions htmldate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,19 @@
__author__ = "Adrien Barbaresi"
__license__ = "GNU GPL v3"
__copyright__ = "Copyright 2017-2023, Adrien Barbaresi"
__version__ = "1.4.3"
__version__ = "1.5.0"


import logging

from datetime import datetime
from sys import version_info

from .core import find_date


if version_info.minor < 11:
from backports.datetime_fromisoformat import MonkeyPatch # type: ignore

MonkeyPatch.patch_fromisoformat()


from .core import find_date

logging.getLogger(__name__).addHandler(logging.NullHandler())
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def get_version(package):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing :: Linguistic",
Expand Down

0 comments on commit ae3b83e

Please sign in to comment.