All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project tries to adhere to Semantic Versioning.
Historic and pre-release versions aren't necessarily included.
0.11.0 - 2024-10-23
- Support for Python 3.13
- Docs: docstring fixes
- Update dev dependencies: mypy, pdoc, pytest, ruff
0.10.0 - 2024-07-15
- BREAKING CHANGES:
get_profile_info()
returnsProfileInfo
NamedTuple
instead of dictget_manager_member_counts()
returnsManagerMemberCounts
NamedTuple
instead of dictclub_manager_url_via_login()
renamed tomanager_url_via_login()
club_profile_url()
renamed toprofile_url()
- Only get logger once, rather than for every log message
- Docs: docstring simplification, improvements
- Dev dependencies: add pdoc
- Linting/CI: tighten ruff config
0.9.1 - 2024-07-13
- CI: run tests
- Dependencies: remove upper bounds when specifying versions
- Dev dependencies: use ruff for formatting; drop black + isort
- CI: Reduce Dependabot frequency to monthly
- Removed unintended public logging constant
- Tests: warnings because Beautiful Soup parser wasn't specified
- Tests didn't use public API for imports
0.9.0 - 2023-12-20
club_profile_url
andclub_manager_url_via_login()
- Update dev/test dependencies: black, ruff, types-beautifulsoup4
0.8.1 - 2023-12-19
get_manager_member_counts()
still returned["pending"]
instead of["new"]
0.8.0 - 2023-12-19
-
BREAKING CHANGES: Functions renamed to
get_profile_info()
andget_manager_member_counts()
.get_manager_member_counts()
returns["new"]
instead of["pending"]
-
Update dev/test dependencies: isort, mypy; CI dependencies actions/checkout, actions/setup-python
-
get_profile_info()
: raise exception on redirect; better error messages; basic unit tests -
get_manager_member_counts()
basic unit tests -
Enable logging for Playwright operations in example script
- Duplicate logging message
0.7.0 - 2023-11-24
- Logging for Playwright operations in
get_private_member_counts()
0.6.0 - 2023-11-21
- Support Python 3.12 in CI workflow
-
get_private_member_counts()
: raise exception if zero 'active members' would be returned -
Update dev/test dependencies: mypy, ruff
0.5.0 - 2023-11-09
- Optional page load delay in
get_private_member_counts()
- Update dev/test dependencies: black, ruff
0.4.2 - 2023-10-23
-
Update dependencies: requests, playwright
-
Update dev/test dependencies: black, mypy, ruff, types-requests
0.4.1 - 2023-09-27
- Missing/outdated/broken package metadata
- Update dev/test dependencies: ruff
0.4.0 - 2023-09-25
-
PEP 561 typing compatibility
-
Documentation: Explain how to install playwright system dependencies
- Update dev/test dependencies: ruff
0.3.0 - 2023-09-21
-
This changelog
-
Documentation: Describe public functions in README
-
Dev/test dependencies: ruff
-
Enforce linting with isort, black, ruff and static type checking with mypy in CI using GitHub Actions
-
Reliability issues when getting data from Club Manager pages with
get_private_member_counts()
. See 'Changed' -
Use of
assert
in production code
-
BREAKING CHANGE: Simplify package structure.
import britishcycling-clubs.main
should be replaced withimport britishcycling-clubs
-
Use Playwright instead of Selenium when getting data from Club Manager pages with
get_private_member_counts()
This makes deployment easier, as Playwright simplifies browser installation and updates, and a separate driver executable is no longer required. README updated to cover this
-
Update dev/test dependencies: black, mypy, pytest, types-requests, types-beautifulsoup4
-
Trivial test which didn't have any real value
-
Dev dependencies: pylint
0.2.5 - 2023-05-30
-
Minor code, type hinting and docstring improvements
-
Update dev dependencies: mypy, pylint, test, types-requests, types-beautifulsoup4