• v0.4.0-rc.2 eb9a043c34

    v0.4.0-rc.2 Pre-Release

    profitroll released this 2023-11-27 23:14:46 +02:00 | 2 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 separate date and time input/output data. This means that methods will now require argument time of type datetime.datetime, and all the objects that had separate properties of types date and time will now provide one datetime.datetime object with date and time combined
    • Different objects now strictly show that some of their properties can be None
    • BoardArrival and BoardDeparture now require Client as a separate and optional argument client that can be None if retrieve_stops and retrieve_journey are False

    Improvements

    • Optional dependencies speed have been added. You can install them by installing pyrmv[speed] instead of pyrmv using pip. Now speed-ups only include ujson, but more can be added in the future
    • Typed properties of most of the objects will now be correctly shown in IDEs

    Fixes

    • Probable fix for missing direction flag (#2)
    Downloads