1 | ## 3.8.5 (13/09/2018)
|
2 |
|
3 | - A bug causing an exception to be thrown when a flatMapped stream is ended while the flatMap callback returns an ended property was fixed [#281](https://github.com/kefirjs/kefir/pull/281) [@Macil](https://github.com/Macil)
|
4 | - Flow type definitions were improved [#282](https://github.com/kefirjs/kefir/pull/282) [@Macil](https://github.com/Macil)
|
5 |
|
6 | ## 3.8.3 (14/03/2018)
|
7 |
|
8 | - Added ES module build [#251](https://github.com/kefirjs/kefir/pull/251) [@zephraph](https://github.com/zephraph)
|
9 |
|
10 | ## 3.8.2 (05/03/2018)
|
11 |
|
12 | - Fixed a bug in `.flatMapConcat` where values emitted during a delay would get dropped instead of queued. [#274](https://github.com/kefirjs/kefir/pull/274) [@mAAdhaTTah](https://github.com/mAAdhaTTah)
|
13 |
|
14 | ## 3.8.1 (06/01/2018)
|
15 |
|
16 | - Flow type definitions were fixed to be compatible with Flow v0.62.0 [#269](https://github.com/kefirjs/kefir/pull/269) [@hallettj](https://github.com/hallettj)
|
17 |
|
18 | ## 3.8.0 (27/10/2017)
|
19 |
|
20 | - New method `.thru` [#257](https://github.com/kefirjs/kefir/pull/257) [@mAAdhaTTah](https://github.com/mAAdhaTTah)
|
21 |
|
22 | ## 3.7.4 (25/08/2017)
|
23 |
|
24 | - A bug in `.take` / `.takeErrors` was fixed [#244](https://github.com/kefirjs/kefir/pull/244) [@mAAdhaTTah](https://github.com/mAAdhaTTah)
|
25 |
|
26 | ## 3.7.3 (17/07/2017)
|
27 |
|
28 | - A bug in Flow definitions was fixed [#245](https://github.com/kefirjs/kefir/issues/245)
|
29 |
|
30 | ## 3.7.2 (27/05/2017)
|
31 |
|
32 | - Flow definitions improved [#242](https://github.com/kefirjs/kefir/pull/242) [@hallettj](https://github.com/hallettj)
|
33 |
|
34 | ## 3.7.1 (21/01/2017)
|
35 |
|
36 | - The `.setName` method has been added to Flow definitions [#232](https://github.com/kefirjs/kefir/pull/232) [@mAAdhaTTah](https://github.com/mAAdhaTTah)
|
37 |
|
38 | ## 3.7.0 (31/12/2016)
|
39 |
|
40 | - The `.combine` method now can also accept objects instead of arrays [#225](https://github.com/kefirjs/kefir/pull/225) [@32bitkid](https://github.com/32bitkid)
|
41 |
|
42 | ## 3.6.1 (29/11/2016)
|
43 |
|
44 | - Flow definitions fixed and updated to be compatible with Flow 0.36 [#229](https://github.com/kefirjs/kefir/pull/229) [@Macil](https://github.com/Macil)
|
45 |
|
46 | ## 3.6.0 (19/10/2016)
|
47 |
|
48 | - New methods `.spy` and `.offSpy` [#222](https://github.com/kefirjs/kefir/pull/222) [@32bitkid](https://github.com/32bitkid)
|
49 |
|
50 | ## 3.5.2 (07/10/2016)
|
51 |
|
52 | - Flow definition for `flatMapConcurLimit` fixed [#221](https://github.com/kefirjs/kefir/pull/221) [@32bitkid](https://github.com/32bitkid)
|
53 |
|
54 | ## 3.5.1 (29/08/2016)
|
55 |
|
56 | - `.filter(Bolean)` support in Flow definitions [#218](https://github.com/kefirjs/kefir/pull/218) [@Macil](https://github.com/Macil)
|
57 |
|
58 | ## 3.5.0 (29/08/2016)
|
59 |
|
60 | - Flow types are now included in NPM package [#217](https://github.com/kefirjs/kefir/pull/217) [@Macil](https://github.com/Macil)
|
61 |
|
62 | ## 3.4.0 (17/08/2016)
|
63 |
|
64 | - [Static Land](https://github.com/kefirjs/static-land) support added.
|
65 |
|
66 | ## 3.3.0 (16/07/2016)
|
67 |
|
68 | - New method `.observe` [#151](https://github.com/kefirjs/kefir/issues/151) [#221](https://github.com/kefirjs/kefir/pull/211) [@mAAdhaTTah](https://github.com/mAAdhaTTah)
|
69 | - Emitter methods renamed `emit → value`, `emitEvent → event` (old names will work as well for now)
|
70 |
|
71 | ## 3.2.6 (5/07/2016)
|
72 |
|
73 | - `stream[Symbol.observable]().subscribe()` now returns an object instead of `unsub` function [#212](https://github.com/kefirjs/kefir/pull/212)
|
74 | - `stream[Symbol.observable]().subscribe` now supports `subscribe(onValue, onError, onComplete)` format [27192e6](https://github.com/kefirjs/kefir/commit/27192e6af06aa1e94eb0bd41a8ad633f2f88a09a)
|
75 |
|
76 | ## 3.2.5 (4/07/2016)
|
77 |
|
78 | - `stream[Symbol.observable]` now equals to `stream[Symbol.observable][Symbol.observable]` [#209](https://github.com/kefirjs/kefir/pull/209) [#210](https://github.com/kefirjs/kefir/pull/210) [@mAAdhaTTah](https://github.com/mAAdhaTTah)
|
79 |
|
80 | ## 3.2.3 (20/05/2016)
|
81 |
|
82 | - .babelrc added to .npmignore [#203](https://github.com/kefirjs/kefir/pull/203) [@aksonov](https://github.com/aksonov)
|
83 |
|
84 | ## 3.2.2 (26/04/2016)
|
85 |
|
86 | - Deprecation warnings disabling API fixed [#185](https://github.com/kefirjs/kefir/issues/185)
|
87 | - A bug in `.bufferWithTimeOrCount` is fixed [#194](https://github.com/kefirjs/kefir/issues/194)
|
88 | - Switched to `symbol-observable` [#200](https://github.com/kefirjs/kefir/pull/200) [@blesh](https://github.com/blesh)
|
89 |
|
90 | ## 3.2.1 (25/02/2016)
|
91 |
|
92 | - Switched from `require` to `import/export` internally.
|
93 | - Switched from Webpack to Rollup for building /dist bundle.
|
94 | - Added `jsnext:main` to `pakcage.json` for Rollup users.
|
95 |
|
96 | Bundle file size dropped from **108K / 49K / 9.8K** to **80K / 42K / 9.5K**
|
97 | for **dev / min / min+gzip** respectively. And the users' app bundle size can
|
98 | be reduced even further if they use Rollup and `jsnext:main`.
|
99 |
|
100 | Big thanks to [@rvikmanis](https://github.com/rvikmanis) for doing this. [#184](https://github.com/kefirjs/kefir/pull/184)
|
101 |
|
102 | ## 3.2.0 (12/12/2015)
|
103 |
|
104 | - New method `.bufferWithTimeOrCount` [#172](https://github.com/kefirjs/kefir/pull/172) [@mcmathja](https://github.com/mcmathja)
|
105 | - New method `.bufferWithCount` [#170](https://github.com/kefirjs/kefir/pull/170) [@elsehow](https://github.com/elsehow)
|
106 |
|
107 | ## 3.1.0 (5/10/2015)
|
108 |
|
109 | - Interoperation with [ECMAScript Observables](https://github.com/zenparsing/es-observable) added with two new methods: `.fromESObservable` and `.toESObservable`/`[Symbol.observable]` [#154](https://github.com/kefirjs/kefir/pull/154) [@lautis](https://github.com/lautis)
|
110 | - A bug in `.fromEvents` fixed [#159](https://github.com/kefirjs/kefir/issues/159)
|
111 |
|
112 | ## 3.0.0 (26/09/2015)
|
113 |
|
114 | - All previously deprecated methods removed. Full list can be found in [deprecated API docs of v2.x](https://github.com/kefirjs/kefir/blob/v2/deprecated-api-docs.md).
|
115 | - New deprecations: [errorsToValues & valuesToErrors](https://github.com/kefirjs/kefir/issues/149), [endOnError](https://github.com/kefirjs/kefir/issues/150), [awaiting](https://github.com/kefirjs/kefir/issues/145).
|
116 | - New method `.takeErrors` replacing deprecated `.endOnError` [#150](https://github.com/kefirjs/kefir/issues/150)
|
117 | - Methods `.skipValues`, `.skipErrors`, and `.skipEnd` are renamed to `.ignoreValues`, `.ignoreErrors`, and `.ignoreEnd` [#152](https://github.com/kefirjs/kefir/issues/152)
|
118 | - The `emitEmpty` option from `.bufferWhileBy` removed, it now always emits `[]` if necessary [#131](https://github.com/kefirjs/kefir/issues/131)
|
119 | - Property now sets its current value **before** dispatching [#127](https://github.com/kefirjs/kefir/issues/127) [@olivierguerriat](https://github.com/olivierguerriat)
|
120 | - Event objects now don't contain `.current` property [#100](https://github.com/kefirjs/kefir/issues/100)
|
121 | - The `.flatten` method now always returns a stream [#144](https://github.com/kefirjs/kefir/issues/144)
|
122 |
|
123 |
|
124 | See also [Umbrella 3.0](https://github.com/kefirjs/kefir/issues/138)
|
125 |
|
126 |
|
127 | ## 2.8.2 (13/09/2015)
|
128 |
|
129 | - A bug in `.scan` fixed [#148](https://github.com/kefirjs/kefir/issues/148)
|
130 |
|
131 | ## 2.8.1 (30/08/2015)
|
132 |
|
133 | - A bug in `.delay` fixed [#134](https://github.com/kefirjs/kefir/issues/134) [@Macil](https://github.com/Macil)
|
134 |
|
135 | ## 2.8.0 (21/08/2015)
|
136 |
|
137 | - The `emitEmpty` option added to `.bufferWhileBy` [#129](https://github.com/kefirjs/kefir/pull/129) [@shamansir](https://github.com/shamansir)
|
138 |
|
139 | ## 2.7.2 (16/07/2015)
|
140 |
|
141 | - A bug related to calling `emitter.end()` in response to an end event or in `unsubscribe()` function is fixed [83b06a7](https://github.com/kefirjs/kefir/commit/83b06a7debb553dd7fd21c407c49b45da3e1b0ea)
|
142 |
|
143 | ## 2.7.1 (11/07/2015)
|
144 |
|
145 | - A bug when listener could be called after unsubscribing or end is fixed [#119](https://github.com/kefirjs/kefir/issues/119)
|
146 |
|
147 | ## 2.7.0 (27/06/2015)
|
148 |
|
149 | - The `flushOnChange` option added to `.bufferWhileBy` [#116](https://github.com/kefirjs/kefir/issues/116)
|
150 |
|
151 | ## 2.6.0 (05/06/2015)
|
152 |
|
153 | - A bug in `.bufferBy` fixed [#108](https://github.com/kefirjs/kefir/issues/108)
|
154 | - Another (minor) perf improvement for `flatMap` and similar methods [c329c61](https://github.com/kefirjs/kefir/commit/c329c61c4869a550e2b29eaa9ab6c7d4a7e899ad)
|
155 | - The `.toProperty` method now throws with a meaningful message when called with not a function [544b689](https://github.com/kefirjs/kefir/commit/544b689d9ffd165d09f3d04de8c40a4b59ceb04c)
|
156 |
|
157 | ## 2.5.0 (21/05/2015)
|
158 |
|
159 | - The repository moved from `pozadi/kefir` to `rpominov/kefir`
|
160 | - [emitter](http://kefirjs.github.io/kefir/#emitter-object) methods now return a boolean representing whether anybody interested in future events (i.e. whether connected observable is active)
|
161 | - Another optimization for `.flatMap((x) => Kefir.constan(...))` case [9e4a58a](https://github.com/kefirjs/kefir/commit/9e4a58a02ec5f80b3c3c6cf52e5e5065249aba50)
|
162 | - Methods `.takeWhileBy` and `.skipWhileBy` are deprecated [#105](https://github.com/kefirjs/kefir/issues/105)
|
163 |
|
164 | ## 2.4.1 (14/05/2015)
|
165 |
|
166 | - `.flatMap*`, `.pool`, and `.merge` was optimized for use with constants (`Kefir.contant*`, `Kefir.never`), combined with optimizations for constants in 2.4.0 this `foo.flatMap((x) => Kefir.constant(x + 1))` is only ~2x slower than `foo.map(x => x + 1)`
|
167 |
|
168 | ## 2.4.0 (11/05/2015)
|
169 |
|
170 | - New method `.flatMapErrors`
|
171 | - A bug in `.flatMap*` fixed [98f65b7](https://github.com/kefirjs/kefir/commit/98f65b775e2a9785bb66fa1f4a98ffc9bd03b9ff)
|
172 | - `Kefir.constant()` and `Kefir.contantError()` made cheaper and faster, so they can be used with `.flatMap` even more freely [1c9de75](https://github.com/kefirjs/kefir/commit/1c9de75aa7ed38949716b9d117b430587bd3425c)
|
173 |
|
174 | ## 2.3.0 (10/05/2015)
|
175 |
|
176 | - New method `.toPromise`
|
177 |
|
178 | ## 2.2.1 (09/05/2015)
|
179 |
|
180 | - A bug in `.offLog` fixed
|
181 |
|
182 | ## 2.2.0 (08/05/2015)
|
183 |
|
184 | - Codebase ported to ES6 (Babel) with CommonJS modules
|
185 | - A bug in .combine fixed [#98](https://github.com/kefirjs/kefir/issues/98)
|
186 |
|
187 | ## 2.1.0 (28/04/2015)
|
188 |
|
189 | - New method `.last`
|
190 | - The `.reduce` method is deprecated in favor of `.scan(...).last()`
|
191 |
|
192 | ## 2.0.1 (26/04/2015)
|
193 |
|
194 | - A bug in `.flatMap` fixed [#92](https://github.com/kefirjs/kefir/issues/92)
|
195 |
|
196 | ## 2.0.0 (22/04/2015)
|
197 |
|
198 | ### Breaking changes
|
199 |
|
200 | - Removed support of old transducers protocol in the `.transduce` [#79](https://github.com/kefirjs/kefir/issues/79)
|
201 | - `stream.changes()` now returns a new stream with current values/errors removed [#56](https://github.com/kefirjs/kefir/issues/56)
|
202 | - Properties now can't have both current value and current error at the same time [#55](https://github.com/kefirjs/kefir/issues/55)
|
203 | - Better errors handling in `.combine` [#54](https://github.com/kefirjs/kefir/issues/54)
|
204 | - The `.toProperty` method now accepts a callbak instead of a simple value [#82](https://github.com/kefirjs/kefir/issues/82)
|
205 | - The `.fromEvent` method is renamed to `.fromEvents`
|
206 | - The `.fromBinder` method is renamed to `.stream`
|
207 | - The `.mapEnd` method is renamed to `.beforeEnd` [#89](https://github.com/kefirjs/kefir/issues/89)
|
208 |
|
209 | ### Other changes
|
210 |
|
211 | - The `.fromSubUnsub` method is deprecated [#71](https://github.com/kefirjs/kefir/issues/71)
|
212 | - Methods `Kefir.emitter()` and `Kefir.bus()` are deprecated [#88](https://github.com/kefirjs/kefir/issues/88)
|
213 |
|
214 | ## 1.3.2 (26/04/2015)
|
215 |
|
216 | - A bug in `.flatMap` fixed [#92](https://github.com/kefirjs/kefir/issues/92)
|
217 |
|
218 | ## 1.3.1 (04/04/2015)
|
219 |
|
220 | - The `.transduce` method updated to add support of new protocol [#78](https://github.com/kefirjs/kefir/issues/78)
|
221 |
|
222 |
|
223 | ## 1.3.0 (29/03/2015)
|
224 |
|
225 | - Following methods are deprecated:
|
226 | `.repeatedly`, `.mapTo`, `.pluck`, `.invoke`, `.not`, `.timestamp`, `.tap`, `.and`, `.or`
|
227 | [#71](https://github.com/kefirjs/kefir/issues/71)
|
228 |
|
229 | ## 1.2.0 (14/03/2015)
|
230 |
|
231 | - `Kefir.sampledBy` is deprecated in favor of 3 arity `Kefir.combine`
|
232 |
|
233 | ## 1.1.0 (15/02/2015)
|
234 |
|
235 | - The `Bus` and `Pool` classes are exposed as `Kefir.Bus` and `Kefir.Pool`
|
236 | - A bug in `.merge` and `.zip` (which may cause them to not unsubscribe from their sources in very rare cases) fixed
|
237 | - New method `.emitEvent` in Emitter, Emitter Object, and Bus
|
238 | - New method `Kefir.repeat`
|
239 |
|
240 | ## 1.0.0 (31/01/2015)
|
241 |
|
242 | - jQuery plugin moved to a [separate repo](https://github.com/kefirjs/kefir-jquery)
|
243 | - Minor improvement in .skipDuplicates method [#42](https://github.com/kefirjs/kefir/issues/42)
|
244 | - Deperecated method .withDefault now removed
|
245 |
|
246 | ## 0.5.3 (12/01/2015)
|
247 |
|
248 | - A bug in .fromBinder fixed (continuation of [#35](https://github.com/kefirjs/kefir/issues/35)
|
249 |
|
250 | ## 0.5.2 (12/01/2015)
|
251 |
|
252 | - A bug in .fromBinder fixed [#35](https://github.com/kefirjs/kefir/issues/35)
|
253 |
|
254 | ## 0.5.1 (08/01/2015)
|
255 |
|
256 | - Undocumented methods `.on/.off` renamed to `._on/._off`
|
257 | - The `.changes` method now can be called on a stream
|
258 | - The `.toProperty` method now can be called on a property, and works similar to `.withDefault`
|
259 | - The `.withDefault` method is now deprecated, and will be removed in the future
|
260 | - New method `.fromSubUnsub`
|
261 | - New method `.fromNodeCallback`
|
262 | - New method `.fromPromise`
|
263 |
|
264 |
|
265 | ## 0.5.0 (06/01/2015)
|
266 |
|
267 | - Base errors support added (i.e. errors flow through all kind of transformations/combinations)
|
268 | - Properties now may have a current error (as well as current value)
|
269 | - New method `.onError`
|
270 | - New method `.offError`
|
271 | - New method `.error` in Emitter, Emitter Object, and Bus
|
272 | - New method `Kefir.constantError`
|
273 | - New method `.mapErrors`
|
274 | - New method `.filterErrors`
|
275 | - New method `.endOnError`
|
276 | - New method `.errorsToValues`
|
277 | - New method `.valuesToErrors`
|
278 | - New method `.skipErrors`
|
279 | - New method `.skipValues`
|
280 |
|
281 |
|
282 | ## 0.4.2 (24/12/2014)
|
283 |
|
284 | - A bug in `.flatMap` fixed [#29](https://github.com/kefirjs/kefir/issues/29)
|
285 | - Minor perf fixes
|
286 |
|
287 | ## 0.4.1 (30/11/2014)
|
288 |
|
289 | - New method `.bufferWhile`
|
290 | - New method `.bufferBy`
|
291 | - New method `.bufferWhileBy`
|
292 | - New method `.withDefault`
|
293 | - New method `.zip`
|
294 |
|
295 |
|
296 | ## 0.4.0 (23/11/2014)
|
297 |
|
298 | - The `seed` argument in `.scan`, `.reduce`, and `.diff` is now optional
|
299 | - Removed support of ["array functions"](https://github.com/kefirjs/kefir/blob/2edf32a82d5b24ecb6ed99c9bcbd2391b91c8715/docs-src/descriptions/about-callbacks.jade)
|
300 | - The default `fn` in `obs.sampledBy(other, fn)` changed from `function(a, b) {return [a, b]}` to `function(a, b) {return a}`. The default `fn` for `Kefir.sampledBy` hasn't changed.
|
301 | - New method `.mapEnd`
|
302 | - New method `.skipEnd`
|
303 | - The `fn` argument in `.filter`, `.takeWhile`, and `.skipWhile` is now optional
|
304 |
|
305 |
|
306 | ## 0.3.0 (19/11/2014)
|
307 |
|
308 | - Removed undocumented feature of `.merge` and `.concat` that allowed to not wrap observables to array but pass them as individual arguments
|
309 | - Changed arguments order in `.scan`, `.reduce`, and `.diff`
|
310 | - Added support of on/off methods pair to `.fromEvent`
|
311 | - Removed undocumented support of bind/unbind pair from `.fromEvent`
|
312 | - Method `.waitFor` renamed to `.skipUntilBy`
|
313 | - New method `.takeUntilBy`
|
314 | - Method `source.flatMapFirst(fn)` now won't call `fn` when skiping values from `source`
|
315 |
|
316 | ## 0.2.11 (03/11/2014)
|
317 |
|
318 | - The `fn` argument of the `.diff` method is now optional
|
319 | - New method `.waitFor`
|
320 | - New method `.takeWhileBy`
|
321 | - New method `.skipWhileBy`
|
322 |
|
323 |
|
324 | ## 0.2.10 (26/10/2014)
|
325 |
|
326 | - Method `.transform` renamed to `.flatten`
|
327 | - New method `.slidingWindow`
|
328 |
|
329 |
|
330 | ## 0.2.9 (19/10/2014)
|
331 |
|
332 | - The `fn` argument of the `.transform` method is now optional
|
333 | - New method `.transduce`
|
334 |
|
335 |
|
336 | ## 0.2.8 (12/10/2014)
|
337 |
|
338 | - Method `.flatMapWithConcurrencyLimit` renamed to `.flatMapConcurLimit`
|
339 | - New method `.transform`
|
340 | - New method `.timestamp`
|
341 | - New method `Kefir.bus`
|
342 |
|
343 |
|
344 | ## 0.2.7 (05/10/2014)
|
345 |
|
346 | Methods so far:
|
347 |
|
348 | - Kefir.emitter
|
349 | - Kefir.never
|
350 | - Kefir.later
|
351 | - Kefir.interval
|
352 | - Kefir.sequentially
|
353 | - Kefir.repeatedly
|
354 | - Kefir.fromPoll
|
355 | - Kefir.withInterval
|
356 | - Kefir.fromCallback
|
357 | - Kefir.fromEvent
|
358 | - Kefir.fromBinder
|
359 | - Kefir.constant
|
360 | - jQuery::asKefirStream
|
361 | - jQuery::asKefirProperty
|
362 | - .toProperty
|
363 | - .changes
|
364 | - .onValue
|
365 | - .offValue
|
366 | - .onEnd
|
367 | - .offEnd
|
368 | - .onAny
|
369 | - .offAny
|
370 | - .log
|
371 | - .offLog
|
372 | - .map
|
373 | - .mapTo
|
374 | - .pluck
|
375 | - .invoke
|
376 | - .not
|
377 | - .tap
|
378 | - .filter
|
379 | - .take
|
380 | - .takeWhile
|
381 | - .skip
|
382 | - .skipWhile
|
383 | - .skipDuplicates
|
384 | - .diff
|
385 | - .scan
|
386 | - .reduce
|
387 | - .delay
|
388 | - .throttle
|
389 | - .debounce
|
390 | - .withHandler
|
391 | - .combine
|
392 | - .and
|
393 | - .or
|
394 | - .sampledBy
|
395 | - .merge
|
396 | - .concat
|
397 | - .pool
|
398 | - .flatMap
|
399 | - .flatMapLatest
|
400 | - .flatMapFirst
|
401 | - .flatMapConcat
|
402 | - .flatMapWithConcurrencyLimit
|
403 | - .awating
|
404 | - .filterBy
|