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