Debian Codegraph @

CHANGELOG

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