-
v0.4.0 Stable
released this
2024-09-08 02:54:50 +03:00 | 0 commits to master since this release⚠️ THIS UPDATE INCLUDES BREAKING CHANGES
Even though this release is not a major one, it does include breaking changes. Major version is not used as the package is still deeply in development.
Breaking Changes
- Methods of the
Client
as well as all the objects no longer use separatedate
andtime
input/output data. This means that methods will now require argumenttime
of typedatetime.datetime
, and all the objects that had separate properties of typesdate
andtime
will now provide onedatetime.datetime
object with date and time combined - Different objects now strictly show that some of their properties can be
None
BoardArrival
andBoardDeparture
now requireClient
as a separate and optional argumentclient
that can beNone
ifretrieve_stops
andretrieve_journey
areFalse
Improvements
- Optional dependencies
speed
have been added. You can install them by installingpyrmv[speed]
instead ofpyrmv
using pip. Now speed-ups only includeujson
, but more can be added in the future - Typed properties of most of the objects will now be correctly shown in IDEs
- RMV API 2.39.1 support
- Python 3.12 support
Fixes
- Probable fix for missing direction flag (#2)
Dependencies
- Bump
requests
to~=2.32.3
Downloads
- Methods of the