Releases: nolanbconaway/underground
Releases · nolanbconaway/underground
v1.0.0
What's Changed
This release inspired by the fact that the MTA no longer requires API keys for HTTP requests. Beyond that, I hadn't touched the library in a long while so I thought also time for some maintenance.
- Update dependencies.
- drop py3.7 and py3.8 support, add py3.13.
- upgrade to pydantic 2. Update validators as needed.
- replace black with ruff for formatting and linting. Updates as needed to pass ruff.
- Remove api key logic.
- Existing code that explicitly sets
api_key
in python or via--api-key
will break. - Remove the options (they are no longer needed) and things should work once more.
- Existing code that explicitly sets
Full Changelog: v0.4.0...v1.0.0
v0.4.0
Misc packaging updates.
- Drop python 3.6
- Pin requires a little more tightly
- Misc fixes to the CI setup
- Rename master->main
- Remove old docs from readme
- Migrate away from
python setup.py sdist
v0.3.4
Add support for detecting stalled trains (@WardBrian )
v0.3.3
- Bump pydantic version
v0.3.2
- Ignore empty departure times from MTA.
v0.3.1
Pin dependency versions, add testing support for py versions up to 3.10
v0.3.0
v0.3 introduces some breaking changes and itches some of my scratches
- Adopt new MTA API (https://api.mta.info/), no longer support the old API. (fixes #19 ) (https://datamine.mta.info/). Underground users may now either provide a full URL to their feed, or a train route. If a route is provided, the correct URL will be determined by underground.
- Migrate from poetry install flow to the usual setup.py. Change CICD and tox pipeline appropriately. (fixes #20)
- Use a well-maintained request mock instead of my request hack.
- Move the pypi push to a separate workflow.
- Isolate the package within a
src/
directory. (fixes #21 ) - Remove unittest.mock imports and use pytest monkeypatch instead
Added support for empty route IDs
I found these in the wild, so lets support them!
First release auto deployed on pypi
Zero api changes, i had to increment minor minor minor while testing auto publishing.
Last release prior to pypi
Merge pull request #15 from nolanbconaway/fix-trip-tests fix trip tests which were silently broken