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.

295 lines
6.6 KiB

  1. # History
  2. ## 7.0.2
  3. ### Other changes
  4. * package: update dependencies (cf82fd4)
  5. ## 7.0.1
  6. ### Bug fixes
  7. * match: prevent mismatched properties when minDepth is set (4efaf1a)
  8. ## 7.0.0
  9. ### Breaking changes
  10. * package: limit to node 8+ (cc42139)
  11. ### New features
  12. * match: support minDepth option to improve performance (6d79fe4)
  13. ### Refactorings
  14. * code: prefer spread syntax to Object.assign (5544086)
  15. * code: prefer Object.entries to iterate keys and values (d101317)
  16. ### Other changes
  17. * package: test in node 12 (9bf4e6b)
  18. * git: ignore test/*.json (e87eaf7)
  19. ## 6.1.2
  20. ### Bug fixes
  21. * eventify: escape object keys (910ad08)
  22. ### Other changes
  23. * package: update deps (aafb4ff)
  24. ## 6.1.1
  25. ### Bug fixes
  26. * eventify: don't serialise NaN or infinities (3c50fe4)
  27. ### Other changes
  28. * deps: npm update (b3c86d0)
  29. * project: add package lock file (63df27d)
  30. * project: migrate to gitlab (26746a0)
  31. ## 6.1.0
  32. ### New features
  33. * match: pass a depth argument to selector predicates (af15939)
  34. ### Other changes
  35. * tests: delete unused var (f10902a)
  36. * ci: reinstate tests in node 9 (7cd2594)
  37. * ci: temporarily disable tests in node 9 (e27ccd0)
  38. ## 6.0.0
  39. ### Breaking changes
  40. * eventify: distinguish between syntax and operational errors (e7bc23d)
  41. * walk: distinguish between syntax and operational errors (419ddae)
  42. ### New features
  43. * streams: expose a highWaterMark option (626f755)
  44. * match: implement a streaming match api (e2e320d)
  45. ### Other changes
  46. * docs: note the end of node-4 maintenance (0a32090)
  47. ## 5.3.1
  48. ### Bug fixes
  49. * unpipe: prohibit unpipe from setting the ndjson option (90b61c6)
  50. ## 5.3.0
  51. ### New features
  52. * walk: add support for NDJSON streams (e87672a)
  53. ### Bug fixes
  54. * docs: document the pause and resume functions on event emitters (bfdf152)
  55. ### Other changes
  56. * lint: silence warning (761bad4)
  57. * package: update dev dependencies (396cc40)
  58. * docs: link to bfj-collections (11eacb8)
  59. ## 5.2.1
  60. ### Bug fixes
  61. * walk: handle stream errors sanely (9fe21ff)
  62. ### Other changes
  63. * deps: update dev dependencies (c1d0518)
  64. * ci: run tests in node 9 (222356e)
  65. * deps: update dev dependencies (be54dbf)
  66. ## 5.2.0
  67. * fix: extra paragraph about why bfj is slow (e51ca34)
  68. * fix: expand possible causes of the error event (8d1d352)
  69. * feature: add a pause method to the walk emitter (a4cd0e0)
  70. ## 5.1.1
  71. * fix: replace old mockery link with proxyquire (e6b3924)
  72. * chore: delete redundant teardowns (52040a6)
  73. * fix: catch errors from user code (b8103e4)
  74. ## 5.1.0
  75. * chore: remove extra trailing newlines (fa561e2)
  76. * feature: allow callers to pass in the Promise constructor (aa5a664)
  77. * refactor: better names for the option-mangling functions (5eb2e4e)
  78. ## 5.0.0
  79. * fix: ditch mockery in favour of proxyquire (01a9177)
  80. * breaking change: return bluebird promises instead of native (c80fe0f)
  81. * fix: clear the yield counter when unpausing (9d5c95d)
  82. * chore: reduce the buffer length (9abd435)
  83. ## 4.2.4
  84. * chore: update deps (c3eeeb4)
  85. ## 4.2.3
  86. * fix: eliminate costly string concatenation (42998d7)
  87. * fix: micro-optimise eventify::proceed::after (98a2519)
  88. * fix: micro-optimise walk::character (8d1c4cf)
  89. ## 4.2.2
  90. * fix: silence obnoxious unhandled rejection warnings (1d4a902)
  91. ## 4.2.1
  92. * refactor: discard chunks more aggressively (970a964)
  93. ## 4.2.0
  94. * chore: add a unit test for parallel object references (e8f3895)
  95. * chore: update check-types (c0bc551)
  96. * fix: shortcut primitive coercion (c6381b5)
  97. * fix: shortcut coercions (d9a9676)
  98. * fix: eliminate unnecessary indirection in promise coercion (c63e81f)
  99. * fix: yield rather than grow when buffer is filled (a3cc7e6)
  100. * feature: add a bufferLength option (3b560f9)
  101. * fix: document improved performance from disabling coercions (25eecc7)
  102. * fix: fix lint errors (a85f7c0)
  103. ## 4.1.1
  104. * fix: fix links in readme (90d7a0b)
  105. * fix: pop references on exiting collections (c13eaf4)
  106. * fix: eliminate sequential reference look-up (d622893)
  107. * chore: add a couple of sentences on speed (ae8994d)
  108. ## 4.1.0
  109. * fix: update node support in the readme (61c41f4)
  110. * fix: reject if fs.createReadStream throws (4840938)
  111. * fix: test on node 8 (371807b)
  112. * feature: add a yieldRate option to the parsing functions (35bd20b)
  113. ## 4.0.1
  114. * fix: set minimum required node version (db58b47)
  115. ## 4.0.0
  116. * breaking change: revert to strings from circular arrays in walk (ccda677)
  117. * feature: add yieldRate option to control events per tick (419247b)
  118. * chore: increase the default discard threshold (751aa6c)
  119. ## 3.1.4
  120. * fix: add options to example code (5c207dd)
  121. * chore: update authors (cdf2b7d)
  122. * chore: bump up the default array size to 4mb (4a2fe55)
  123. * fix: fix stupid memory consumption bug (d2b6fe2)
  124. ## 3.1.3
  125. * fix: eliminate needless per-character chunking in streamify (a7fcc2f)
  126. ## 3.1.2
  127. * fix: eliminate duplicated readme section (283b3ce)
  128. ## 3.1.1
  129. * fix: document the dropped support for node 4 (6120c9e)
  130. ## 3.1.0
  131. * chore: tweak the readme (040e9be)
  132. * chore: swap out bespoke circular array for hoopy (0ed7986)
  133. * feature: used fixed-length circular array in streamify (e773a94)
  134. * fix: eliminate mockery allowed module warning (b1dc7db)
  135. * chore: fix lint errors (abde4de)
  136. ## 3.0.0
  137. * chore: delete left-over debugging code (b903a27)
  138. * chore: run tests on node 7 (acbb808)
  139. * chore: remove old linter config (62c18ce)
  140. * chore: update dependencies (882c74c)
  141. * chore: add an integration test that parses a request (029afdb)
  142. * chore: fix the broken perf test (8ac0e03)
  143. * chore: add a crude memory-profiling script (1ee6f36)
  144. * breaking change: preallocate memory to avoid out-of-memory conditions (18da753)
  145. * feature: implement unpipe (f8a41d2)
  146. ## 2.1.2
  147. * Fix lint errors.
  148. ## 2.1.1
  149. * Fix "unhandled rejection" warnings.
  150. ## 2.1.0
  151. * Stop throwing errors from promise-returning methods.
  152. ## 2.0.0
  153. * Honour `toJSON` on all objects.
  154. * Drop support for Node.js 0.12, switch to ES6.
  155. * Tidy the readme.
  156. ## 1.2.2
  157. * Sanely escape strings when serialising (thanks [@rowanmanning](https://github.com/rowanmanning)).
  158. ## 1.2.1
  159. * Sanely handle `undefined`, functions and symbols.
  160. ## 1.2.0
  161. * Sanely handle circular references in the data when serialising.
  162. ## 1.1.0
  163. * Pass `options` to `fs.createReadStream` inside `read`.
  164. * Fix truncated output bug in `write`.
  165. ## 1.0.0
  166. * Breaking changes:
  167. * Take `Readable` parameter in `walk`.
  168. * Return `EventEmitter` from `walk`.
  169. * Return `Promise` from `write`.
  170. * Fix stream termination bug in `streamify`.
  171. * Fix missing comma after empty objects and arrays in `streamify`.
  172. * Improve tests.
  173. * Add `reviver` option for `parse` and `read`.
  174. * Add `space` option for `streamify`, `stringify` and `write`.
  175. * Remove the `debug` option from all functions.
  176. ## 0.2.0
  177. * Implement `eventify`.
  178. * Implement `streamify`.
  179. * Implement `stringify`.
  180. * Implement `write`.
  181. ## 0.1.0
  182. * Initial release.