No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

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