Skip to content

Releases: nolanbconaway/underground

v1.0.0

10 Nov 16:45
5245293
Compare
Choose a tag to compare

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.

Full Changelog: v0.4.0...v1.0.0

v0.4.0

21 Nov 03:18
ff9e857
Compare
Choose a tag to compare

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

20 Nov 23:32
6bef524
Compare
Choose a tag to compare

Add support for detecting stalled trains (@WardBrian )

v0.3.3

05 Dec 14:18
a2ddec2
Compare
Choose a tag to compare
  • Bump pydantic version

v0.3.2

05 Dec 03:12
88961ef
Compare
Choose a tag to compare
  • Ignore empty departure times from MTA.

v0.3.1

03 Dec 20:08
0d448ac
Compare
Choose a tag to compare

Pin dependency versions, add testing support for py versions up to 3.10

v0.3.0

06 Apr 01:00
7625f26
Compare
Choose a tag to compare

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

20 Nov 16:28
caa3f4f
Compare
Choose a tag to compare

I found these in the wild, so lets support them!

First release auto deployed on pypi

05 Oct 18:48
8bd7d6a
Compare
Choose a tag to compare

Zero api changes, i had to increment minor minor minor while testing auto publishing.

Last release prior to pypi

05 Oct 18:08
b62be67
Compare
Choose a tag to compare
Merge pull request #15 from nolanbconaway/fix-trip-tests

fix trip tests which were silently broken