UNPKG

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