UNPKG

6.74 kBMarkdownView Raw
1
2v2.7.0 / 2018-05-25
3==================
4
5 * reset clock to start
6 * check Performance exists before touching it
7
8v2.6.0 / 2018-05-16
9==================
10
11 * Fix `reset` and document it publicly Clear microtick jobs and set now to 0 in reset (#179)
12 * Access Date on `_global` (#178)
13
14v2.5.0 / 2018-05-13
15==================
16
17 * feat: respect loopLimit in runMicrotasks (#172)
18 * assign performance as a property, not as a function
19
20v2.4.2 / 2018-05-11
21===================
22 * Upgrade Mochify to v5.6 (#162) fixed #170
23 * Access `Performance` via `_global` (#168)
24
25v2.4.1 / 2018-05-08
26==================
27
28 * fix: handle negative infinity timeout (#165)
29
30v2.4.0 / 2018-05-08
31==================
32
33 * Add `withGlobal` export
34 * expose runMicrotasks
35 * Fix that performance.mark is undefined after timer install
36
37v2.3.2 / 2018-01-29
38==================
39
40* Add files section to package.json to avoid unnecessary package bloat #154
41* Add missing functions in default `toFake` #150
42
43v2.3.1 / 2017-11-22
44==================
45
46 * bugfix for a setTimeout() or setSystemTime() within a nextTick() call. (#145)
47
48v2.3.0 / 2017-11-08
49==================
50
51 * Stops leak of (request|cancel)AnimationFrame into global scope. (#143)
52 * return timers on uninstall
53
54v2.2.0 / 2017-11-07
55==================
56
57 * Add support for requestAnimationFrame
58 * fix negative timeout bug
59
60v2.1.3 / 2017-10-03
61==================
62
63 * add module entry point (#133)
64
65v2.1.2 / 2017-07-25
66==================
67
68 * - does not fake process.nextTick by default - added .idea folder to .gitignore - fixed documentation - added clock teardowns in tests
69 * overflowing the timer correctly (issue #67)
70
71v2.1.1 / 2017-07-19
72==================
73
74 * support passing parameters in nextTick (fixes #122)
75
76v2.1.0 / 2017-07-18
77==================
78
79 * Throw error on incorrect install use (#112)
80 * Add support for process.nextTick
81 * lolex can now attach itself to the system timers and automatically ad… (#102)
82 * update hrtime when an interval ticks
83
84v2.0.0 / 2017-07-13
85==================
86
87 * New install() signature
88 * Add support for performance.now (#106)
89 * Fix issue with tick(): setSystemClock then throw
90 * Update old dependencies
91 * Added support to automatically increment time (#85)
92 * Changed internal uninstall method signature
93
94v1.6.0 / 2017-02-25
95===================
96
97 * Use common Sinon.JS eslint config
98 * Allow install to be called with date object
99 * Remove wrapper function
100 * Fixed typo in clock.runAll error
101
102v1.5.2 / 2016-11-10
103===================
104
105 * Upgrade mocha to latest
106 * Only overwrite globals when running in IE
107
1081.5.1 / 2016-07-26
109==================
110
111 * Fix setInterval() behavior with string times
112 * Incorporate test from PR #65
113 * Fix issue #59: context object required 'process'
114 * fixed a case where runAll was called and there are no timers (#70)
115 * Correct the clear{Interval|Timeout|Immediate} error message when calling `set*` for a different type of timer.
116 * Lots of minor changes to tooling and the build process
117
118v1.5.0 / 2016-05-18
119===================
120
121 * 1.5.0
122 * Check for existence of `process` before using it
123 * Run to last existing timer
124 * Add runAll method to run timers until empty
125 * Turn off Sauce Labs tests for pull requests
126 * Add tests demonstrating that a fake Date could be created with one argument as a String since this string is in a format recognized by the Date.parse() method.
127 * Run test-cloud on Travis
128 * Add process.hrtime()
129 * Add bithound badge to Readme.md
130 * Make Travis also run tests in node 4.2
131 * Update jslint, referee, sinon, browserify, mocha, mochify
132 * Rename src/lolex.js to src/lolex-src.js to avoid bithound ignoring it
133 * Add .bithoundrc
134
135v1.4.0 / 2015-12-11
136===================
137
138 * 1.4.0
139 * Remove BASH syntax in lint script
140 * correct test descriptions to match the tests
141 * correct parseTime() error message so it matches behavior
142 * don't run test-cloud as part of npm test
143 * doc: full API reference
144 * doc: update 'Running tests' section
145 * doc: update 'Faking the native timers' section
146 * doc: remove requestAnimationFrame
147 * Implement clock.next()
148 * Run lint in CI
149 * Fix jslint errors
150
151v1.3.2 / 2015-09-22
152===================
153
154 * 1.3.2
155 * Fix for breaking shimmed setImmediate
156
157v1.3.1 / 2015-08-20
158===================
159
160 * Remove error whos reason is no longer accurate
161
162v1.3.0 / 2015-08-19
163===================
164
165 * 1.3.0
166 * Throw exception on wrong use of clearXYZ()
167 * Fix for Sinon.JS issue #808 :add setSystemTime() function
168 * Fix for Sinon.JS issue #766: clearTimeout() no longer clears Immediate/Interval and vice versa
169 * Update Readme.md to point to LICENSE file
170 * Fix error in readme about running tests
171 * Fix for warning about SPDX license format on npm install
172
173v1.2.2 / 2015-07-22
174===================
175
176 * 1.2.2
177 * Fixing lint mistake
178 * Update travis to use node@0.12
179 * Fix complaint about missing fake setImmediate
180 * Use license in package.json
181
182v1.2.1 / 2015-01-06
183===================
184
185 * New build
186 * Dodge JSLint...
187 * Up version
188 * Proper fix for writable globals in IE
189 * Make timers writable in old IEs
190
191v1.2.0 / 2014-12-12
192===================
193
194 * 1.2.0
195 * Fix Sinon.JS issue 624
196 * Lint the test files also
197 * Add .jslintrc
198 * Delay setImmediate if it is during tick call
199 * Add test case
200 * Test behaviour of hasOwnProperty beforehand
201 * Compare now() with delta
202 * Use undefined for defined predicate
203 * Put setImmediate in toFake list
204 * Capture clock instance for uninstall
205 * Restore commented out tests
206 * Add JSLint verification to test
207 * Configure Travis to run tests in node 0.10.x
208 * Add .editorconfig
209 * Fail when faking Date but not setTimeout/setInterval
210
211v1.1.10 / 2014-11-14
212====================
213
214 * 1.1.0 Fixes setImmediate problems
215 * Rely on `timer` initialization to null
216 * Timer assembly occurs at addTimer callsites
217 * Sort immediate timers before non-immediate
218 * Add createdAt to timers
219 * Sort timers by multiple criteria, not just callAt
220 * Refactor firstTimerInRange
221 * Rename `timeouts` property to `timers`
222 * addTimer is options-driven
223
224v1.0.0 / 2014-11-12
225===================
226
227 * Add built file for browsers
228 * Fix URL
229 * Don't run tests that require global.__proto__ on IE 9 and IE 10
230 * Add "bundle" script to create standalone UMD bundle with browserify
231 * Float with new test framework versions
232 * Remove redundant module prefix
233 * Let Browserify set "global" for us
234 * Change test framework from Buster to Mocha and Mochify
235 * Make timer functions independent on `this`
236 * Change APIs according to Readme
237 * Change clock-creating interface
238 * Change Github paths
239 * Basically working extraction from Sinon.JS