Skip to content

Latest commit

 

History

History
519 lines (288 loc) · 10.2 KB

RELEASE-NOTES.md

File metadata and controls

519 lines (288 loc) · 10.2 KB

0.7.42

  • Fix #523: respect return value of subscribe function in synchronous case
  • Built using assemble.js
  • removed setTimeout from Bacon.fromBinder

0.7.41

  • Fix #490: throw if non-observable plugged to bus

0.7.40

  • Fix #491: takeUntil/flatMapLatest issues with sync sources

0.7.39

  • Fix wrapping constants as functions in Bacon.when

0.7.38

  • Fix #488: exceptions catched and hidden

0.7.36

  • Improve Dispatcher performance (#473)

0.7.35

  • Improve side-effect processing performance by reducing array mutation

0.7.34

  • Fix #470: unexpected ordering of side effects
  • Make scan use eager evaluation

0.7.33

  • Improve performance (#467)

0.7.32

  • Support "on/off" events in Bacon.fromEventTarget (#461)

0.7.31

  • Eliminate extra Dispatcher object (#463)

0.7.30

  • Fix Source::toString

0.7.29

  • Performance and memory footprint improvements (#457)
  • Restore Observable::subscribeInternal for backward compat (to be removed in 0.8)

0.7.28

  • Performance and memory footprint improvements (#450)

0.7.27

  • Merge #413: preserve "this" context in eventTransformer of fromBinder etc

0.7.26

  • Fix #447: issue with Property::takeUntil error handling

0.7.25

  • Fix #441: check for module.exports

0.7.24

  • Changed dispatching of delayed events for improved memory performance

0.7.23

  • Fix fromArray.toString (#436)

0.7.22

  • Throw Errors instead of strings in asserts (fix #414)

0.7.21

  • Fix #409 (invalid characters)

0.7.20

  • Fix #399 (double evaluation of lazies with Bus)
  • Fix #407 (event duplication in a specific scenario)

0.7.19

  • Performance and memory footprint improvements

0.7.18

  • Fix #397 (include minified version in npm)

0.7.17

  • Fix #394 (never call unbinder twice in fromBinder)

0.7.16

  • Fix #353 (flatMapLatest glitch)

0.7.15

  • Fix #363 (glitchfree-algorithm bug)

0.7.14

  • Fix Bacon.retry (#380)

0.7.13

  • Add flatMapWithConcurrencyLimit, flatMapConcat, bufferingThrottle, holdWhen (#324)

0.7.12

  • Add Bacon.retry, flatMapError, Bacon.error by @mileskin (#310)
  • Improve mergeAll performance by removing recursion (#373)

0.7.11

  • Optimizations by @lautis (#370)

0.7.9

  • Fix #348: toString problems with jQuery
  • Make .log() log the actual values instead of strings, again

0.7.8

  • Fix #347: bug related to evaluating (lazy) event values later

0.7.7

  • Fix #345: stack overflow with circular setups with Bus

0.7.6

  • Fix #338: event duplication bug in a specific scenario

0.7.5

  • Call external subscriber callbacks after event transaction is complete
  • Remove Bacon.afterTransaction

0.7.4

  • Add Bacon.afterTransaction for coordinating timings, in e.g. Bacon.Model

0.7.3

  • Fix #331: combineTemplate when Date or RegEx objects are involved

0.7.2

  • Fix #315: _.toString for objects that contain enumerable but innaccessible properties (like the HTML hidden field)
  • Fix #320, #321: errors thrown when Array.prototype contains extra junk

0.7.1

  • Support function construction rules in flatMap(Latest|First) (#306)

0.7.0

  • Glitch-free updates (#272)
  • toString/inspect implementation (#265)
  • Published Bacon._ API including helpers like Bacon._.indexOf

0.6.22

  • Include Bacon.version="0.6.22" in dist/Bacon.js (generated in release script)
  • Stabilize fromArray in case of subscribe unsubscribing in the middle of the array

0.6.21

  • Fix bug in concat with synchronous left stream (#262)

0.6.20

  • Fix Property.zip (#260)

0.6.19

  • Fix AMD support that was partially broken in 0.6.14

0.6.18

  • Allow (object, methodName, args...) syntax in from(Node)Callback

0.6.17

  • Allow predicate function in Observable.endOnError

0.6.16

  • Add EventStream.sampledBy

0.6.15

  • Add Property.startWith

0.6.14

  • Simplifications and cleanup

0.6.13

  • Fix #240: call accumulator function once per event in scan

0.6.12

  • Fix mergeAll, zipAsArray, zipWith with 0 sources, n-ary syntax

0.6.11

  • Fix Bacon.zipAsArray with 0 or 1 sources
  • Fix Bacon.when with 0 sources and 0-length patterns

0.6.9

  • Fix Bacon.when with Properties (#232)
  • Fix laziness of evaluation. Added tests to prevent further regression.
  • Re-implemented combineAsArray and sampledBy using Bacon.when

0.6.8

  • Fix skipWhile in case of Error events before first match (refix #218)

0.6.7

  • Fix #218: EventStream.skipWhile with synchronous sources

0.6.6

  • Fix #217: EventStream.scan for synchronous streams
  • Simplify skipUntil implementation

0.6.5

  • Fix takeUntil to work correctly with never-ending stopper (#214)

0.6.4

  • Generalize awaiting to Properties too

0.6.3

  • Fix Property.skipDuplicates: don't ever skip an Initial event (#211)

0.6.2

  • Fix sampledBy with stream of functions (#208)

0.6.1

  • Fix #206: takeUntil should work with Property as stopper

0.6.0

  • Add EventStream.skipWhile, support "Property Bool" instead of predicate function in takeWhile (#204) skipWhile
  • Fix Property.take(n) etc in case of a never-ending Property (#205)
  • Fix EventStream.skipUntil in case of self-derived stopper
  • Re-implement EventStream.takeUntil
  • Switch test framework from Jasmine to Mocha

0.5.1

  • Fix bug in Bacon.update (#199)

0.5.0

  • Added Join Patterns, i.e. Bacon.when and Bacon.update (#167)
  • Corrected the name to "bacon" instead of "baconjs" in bower.json, component.json (#197)

0.4.10

  • Fix #195: Bacon.mergeAll for empty list should return Bacon.never()

0.4.9

  • (#192) Throw runtime error if trying to merge Properties

0.4.8

  • Add EventStream.skipUntil (#194)

0.4.7

  • Fix #191: End properly even if an exception is thrown (sequentially, take)

0.4.6

  • Support n-ary syntax in Bacon.mergeAll and Bacon.zipWith

0.4.5

  • Add bower.json (component.json deprecated by bower)

0.4.3

  • Generalize decode to all Observables (#189)

0.4.2

  • Add bufferWithTimeOrCount (#181)

0.4.1

  • Add flatMapFirst and debounceImmediate (#132)
  • Add reduce/fold (#158)

0.4.0

  • Fix #85 Make Property updates atomic (with known limitations)

0.3.15

  • Add support for "min" parameter in slidingWindow.

0.3.14

  • Fix #163: add support for nulls etc in combineTemplate

0.3.13

  • Fix #162: Call Promise.abort() only if the "abort" flag is used

0.3.12

  • Support Bacon.Error in Bacon.once, Bacon.fromArray

0.3.11

  • Fix #160: Property.scan/debounce/throttle/delay bug with sources like Bacon.once() and Bacon.constant()

0.3.10

  • Add AMD support (#154)

0.3.9

  • Fix #152: Observable.skip now accepts zero and negative values

0.3.8

  • Fix #153: Remove dep on "global" to fix in browsers.

0.3.7

  • Fix #151: take(N) should work with N = 0

0.3.6

  • generalize combine method to all Observables
  • Fix #147: Prevent sending duplicate Errors in case the same Error is routed thru multiple paths.
  • Internal change: PropertyDispatcher now used in Property constructor as a default.

0.3.5

  • Support constant values to be returned from function f in flatMap
  • Fix #148: Handle same subscriber added twice just like two separate subscribers

0.3.4

  • Add Bacon.onValues shorthand function

0.3.3

  • Fix #146: Avoid catch-rethrow to preserve original stack trace

0.3.2

  • #133: Support EventStreams and Properties as arguments of fromCallback, fromNodeCallback

0.3.1

  • Fix #142: map(".foo.bar") failed if "foo" was null

0.3.0

  • #124: Change combineWith behavior to combine n Observables using n-ary function
  • Remove combineAll which had a confusing name and no known uses
  • Support constants instead of Observables as arguments of combineAsArray, combineWith

0.2.8

  • Add EventStream.zip, Bacon.zipWith, Bacon.zipAsArray

0.2.7

  • Removed exception-catching in fromBinder

0.2.6

  • Fix #129: error handling bug in fromBinder

0.2.5

  • log() does not crash if console or console.log is undefined

0.2.4

  • Support Node.js style callbacks using Bacon.fromNodeCallback

0.2.3

  • Fix #120: take(n) may be triggered more than n times if event emitter is triggered in onValue callback
  • Generally more reliable implementation in case of recursively generated events

0.2.2

  • Fix #118: Bus drops all inputs after last consumer of its events is dropped; impossible to re-subscribe

0.2.1

  • fromPromise calls .abort() on unsubscribe

0.2.0

  • Rename throttle to debounce
  • Rename throttle2 to throttle

0.1.10

  • Support usage of an EventStream/Property instead of a function as a parameter to flatMap/Latest
  • Support optional arguments to Observable.log

0.1.9

  • Performance improvements
  • #106: Fix stream ending in case an exception is thrown
  • #105: Rewrite binder stream factory to compose all others

0.1.8

  • add Property.filter(property)
  • reject arguments in Property.toProperty
  • add Property.sampledBy(property)
  • generalize mapEnd to all Observables
  • fix bufferWithTime behaviour: output at steady rate as long as there's anything to output
  • add throttle2

0.1.7

  • Fixed tests too on IE6+

0.1.6

  • Fix property extraction (".field") syntax compatibility with IE6-7

0.1.5

  • Bus.plug returns function for unplugging
  • Fixes possible memory leak in Bus, related to ended streams

0.1.4

0.1.2

  • Fix bug in case stream values are functions

0.1.0

  • API change: event.value is now a function. Allows internal optimization.
  • API changes: drop methods switch (use flatMapLatest), do (use doAction), distinctUntilChanged (use skipDuplicates), decorateWith, latestValue

0.0.12

  • No external changes. Built with grunt.

0.0.11

  • Fix IE8 compatibility issue (Array.prototype.indexOf)

0.0.10

  • Fix flatMap/flatMapLatest in case the function returns a Property
  • Allow .fromEventTarget to define a custom mapping function
  • Add Observable.diff

0.0.9

  • Apply correct context in method calls using the dot-methodname form

0.0.8

  • Support arrays in combineTemplate
  • Add Observable.slidingWindow
  • Add Property.scan
  • Add optional isEqual argument to skipDuplicates

0.0.7

  • Make log() chainable by returning this instead of undefined
  • Add Property.throttle, Property.delay

0.0.6

  • rename switch->flatMapLatest, do->doAction