2e3153add2f758aa2a0bd2524da9b417f0b0ef67c58d569a2c3060c4fa43fe44816d28da0f45e65af56153fc4010034be79762a0bae7833b05cf724033808f 6.1 KB

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