-
Notifications
You must be signed in to change notification settings - Fork 269
/
CHANGELOG
149 lines (97 loc) · 2.72 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
Freezegun Changelog
===================
1.5.1
-----
* Fix the typing of the `tick()` method, and improve it's behaviour.
1.5.0
----
* The default ignore list now contains the `queue`-package
* Added a missing `move_to`-function when calling `freeze_time(tick=True)`
* Fixes a rounding error in `time.time_ns()`
* Fixed a bug where the default ignore list could not be empty (`configure(default_ignore_list=[])`)
* All `tick()` methods now return the new datetime (instead of None)
* Type improvements
1.4.0
-----
* `asyncio`-support from 1.3.x introduced quite a few bugs, so that functionality is now hidden behind a flag:
`with freeze_time('1970-01-02', real_asyncio=True):`
1.3.1
-----
* Fixed the release number in the build
1.3.0
-----
* Fixed `asyncio` support to avoid `await asyncio.sleep(1)` hanging forever.
* Added support for Python 3.12
1.2.2
-----
* Removes Python 3.6 support, which reached its EOL on 2021-12-23 (https://devguide.python.org/versions/?highlight=End-of-life#unsupported-versions).
* Improved static typing definitions
* Don't freeze pytest timings. This avoids class-level decorator usage messing with pytest timings.
* Pass through all setUp and tearDown arguments
1.2.1
-----
* Added missing typeshed types from distribution
* Pass all arguments on recursive freeze_time calls
1.2.0
-----
* Add support for `time.perf_counter` (and `…_ns`)
* Added typeshed types
* Dropped support for python 3.5
1.1.0
-----
* Add support for `time.monotonic` (and `…_ns`)
* Allow to configure default ignore list, and also to just extend the default
* Fixed when accessing from thread after stop()
1.0.0
------
* Dropped Py2 support
* Added as_kwarg argument in order to have the frozen time object passed with the name provided in as_kwarg argument
0.3.15
------
* Fix locale timestamp bug. CC #328
0.3.14
------
* Fix calendar.timegm behavior
0.3.13
------
* Fix for Py3.8
* Reset time.time_ns on stop
0.3.12
------
* Refactor classes to functions
* Ignore Selenium
* Move to pytest
* Conditionally patch time.clock
* Patch time.time_ns added in Python 3.7
0.3.11
------
* Performance improvements
* Fix nesting time.time
* Add nanosecond property
0.3.10
------
* Performance improvements
* Coroutine support
0.3.9
-----
* If no time to be frozen, use current time
* Fix uuid1 issues
* Add support for python 3.6
0.3.8
-----
* Bugfix for old-style classes
* Ignore warnings when patching
* Add `move_to` method to change time
0.3.7
-----
* Fix CPython detection
0.3.6
-----
* Catch TypeError when fetching attribute values
* Speed improvements
* Add manual tick increment
0.3.5
-----
* Add `tick` argument to allow time to move forward
* Performance improvements
* Fix timezone example in README