web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

347 lines
9.1 KiB

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