Skip to content

Releases: felix-zenk/onboardapis

Release 1.2.1

07 Sep 09:25
Compare
Choose a tag to compare

* Fixed a type error in Station.calculate_distance()
* Fixed generation of ICEPortal().all_delay_reasons()

Known issues:

Connecting trains can't be generated for ICEPortal - fixed in v1.2.2

Release 1.2.0

05 Sep 13:16
Compare
Choose a tag to compare

+ Added the Vehicle base class from which every vehicle inherits
+ Added ICEPortal().name which returns the current trains name (many trains in germany are named after cities)
+ Added the Position class to unify the definition of a position across providers

* Fixed the calculation of ICEPortal().distance
* Fixed an error in utils.conversions.coordinates_dms_to_decimal()

Known issues:

Can't use Station.calculate_distance() - fixed in v1.2.1
Can't use ICEPortal.all_delay_reasons() when the train is not delayed - fixed in v1.2.1
Connecting trains can't be generated for ICEPortal - fixed in v1.2.2

Release 1.1.0

02 Sep 17:42
Compare
Choose a tag to compare

+ Added the Train.connected property to easily check if you are connected to the trains on-board API
+ Added the Train.shutdown() method to safely close the DataConnectors of the Train
+ Added a context manager to Train, you can now use with Train() as train, which automatically calls Train.init() and Train.shutdown()
+ Added conversions for coordinates (decimal <-> degrees, minutes, seconds)
+ Added the InitialConnectionError to better indicate whether the connection to the API is lost or can't be established

* Fixed an issue where ICEPortal fails to generate ICEPortal().stations

Known issues:

Can't use onboardapis.utils.conversions.coordinates_dms_to_decimal() - fixed in v1.2.0
ICEPortal.distance calculation is wrong - fixed in v1.2.0

Release 1.0.0

27 Aug 14:04
Compare
Choose a tag to compare

Initial Release

+ Added onboardapis.trains.germany.db.ICEPortal()
+ Added onboardapis.trains.austria.oebb.RailnetRegio()

Known issues:

ICEPortal fails to generate stations - fixed in v1.1.0