All Versions
18
Latest Version
Avg Release Cycle
36 days
Latest Release
134 days ago

Changelog History
Page 2

  • v1.3.0 Changes

    December 12, 2020
    • ๐Ÿ‘Œ Support Python 3.9.
    • ๐Ÿšš Move license from ISC to MIT License.
  • v1.2.1 Changes

    August 29, 2020
    • Correctly return naive datetimes from datetime.utcnow() whilst time travelling.

    Thanks to Sรธren Pilgรฅrd and Bart Van Loon for the report in Issue #52 <https://github.com/adamchainz/time-machine/issues/52>__.

  • v1.2.0 Changes

    July 08, 2020
    • โž• Add move_to() method to move to a different time whilst travelling. This is based on freezegun's move_to() method.
  • v1.1.1 Changes

    June 22, 2020
    • Move C-level clock_gettime() and clock_gettime_ns() checks to runtime to allow distribution of macOS wheels.
  • v1.1.0 Changes

    June 08, 2020
    • โž• Add shift() method to move forward in time by a delta whilst travelling. This is based on freezegun's tick() method.

    Thanks to Alex Subbotin for the feature in PR #27 <https://github.com/adamchainz/time-machine/pull/27>__.

    • Fix to work when either clock_gettime() or CLOCK_REALTIME is not present. This happens on some Unix platforms, for example on macOS with the official Python.org installer, which is compiled against macOS 10.9.

    Thanks to Daniel Crowe for the fix in PR #30 <https://github.com/adamchainz/time-machine/pull/30>__.

  • v1.0.1 Changes

    May 29, 2020
    • ๐Ÿ›  Fix datetime.now() behaviour with the tz argument when not time-travelling.
  • v1.0.0 Changes

    May 29, 2020
    • ๐Ÿš€ First non-beta release.
    • โž• Added support for tz_offset argument.
    • tick=True will only start time ticking after the first method return that retrieves the current time.
    • โž• Added nestability of travel().
    • Support for time.time_ns() and time.clock_gettime_ns().
  • v1.0.0.b1 Changes

    May 04, 2020
    • ๐Ÿš€ First release on PyPI.