All Versions
Latest Version
Avg Release Cycle
29 days
Latest Release
291 days ago

Changelog History
Page 1

  • v2.1.0 Changes

    February 19, 2021
    • πŸš€ Release now includes wheels for ARM on Linux.
  • v2.0.1 Changes

    January 18, 2021
    • 🏁 Prevent ImportError on Windows where time.tzset() is unavailable.
  • v2.0.0 Changes

    January 17, 2021
    • πŸš€ Release now includes wheels for Windows and macOS.
    • 🚚 Move internal calculations to use nanoseconds, avoiding a loss of precision.
    • 🚚 After a call to move_to(), the first function call to retrieve the current time will return exactly the destination time, copying the behaviour of the first call to travel().
    • βž• Add the ability to shift timezone by passing in a ZoneInfo timezone.
    • βœ‚ Remove tz_offset argument. This was incorrectly copied from freezegun. Use the new timezone mocking with ZoneInfo instead.
    • βž• Add pytest plugin and fixture time_machine.
    • 🏁 Work with Windows’ different epoch.
  • 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 <>__.

  • 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 <>__.

    • 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 installer, which is compiled against macOS 10.9.

    Thanks to Daniel Crowe for the fix in PR #30 <>__.

  • v1.0.1 Changes

    May 29, 2020
    • πŸ›  Fix 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().