All Versions
14
Latest Version
Avg Release Cycle
172 days
Latest Release
719 days ago

Changelog History
Page 1

  • v0.5.1

    February 07, 2018
    • ➕ added public equals() method (#139)
    • ➕ added public Lazy.curry and Lazy.curryRight methods (#24)
    • ➕ added public Lazy.createCallback and Lazy.createComparator methods (#140)
    • ➕ added shallow option to flatten() (#125)
    • ➕ added equalityFn paramter to indexOf, lastIndexOf, and contains
    • 🛠 fixed bug with return value from consecutive() not being reusable (#212)
    • 🛠 fixed bug with concat() unexpectedly flattening results (#127)
  • v0.5.0

    February 03, 2017
    • 🌐 sequences now support ES6 iterable protocol (#186)
    • 🌐 added support for ES6 Set and Map objects
    • memoize().get no longer iterates entire sequence (#191)
    • 🛠 fixed bug causing failure on defaults().defaults() (#183)
    • 🛠 fixed bug with setting encoding in Lazy.readFile (#160)
  • v0.4.3

    January 27, 2017
    • ➕ added push and unshift to ArrayLikeSequence (#173)
    • 🔄 changed behavior of min and max to return undefined for empty sequences (#194)
    • made zip and intersection communicative (#196 and #197)
    • 🛠 fixed bug w/ shuffling empty array returning [undefined] (#198)
    • ➕ added support for non-string delimiters in join (#193)
    • 🛠 fixed bug w/ missing return value in full iteration of groupBy (#179)
    • 🛠 fixed bug w/ ignoring delimiter in values().join (#184)
    • 🛠 fixed behavior of ObjectLikeSequence.keys (#164)
    • 🛠 fixed broken DomEventSequence.each (#163)
    • 🛠 fixed handling of falsey values in get (#170)
    • 🔄 changed behavior of ObjectLikeSequence.each (see #165)
  • v0.4.2

    August 30, 2015
    • ⬇️ dropped support for node 0.8
    • Lazy is now exposed as a UMD module
    • ➕ added value transform function to groupBy/indexBy (#97)
    • 🛠 fixed biased implementation of shuffle (see #142)
    • 🛠 fixed bug where split couldn't be called on StringSegments (see #123)
    • 🛠 fixed merge to better handle arrays, dates, and other object types (see #154)
  • v0.4.1

    August 30, 2015
  • v0.4.0

    December 13, 2014
    • 👀 now Lazy.AsyncHandle implements the Promises/A+ specification! (see #71)
    • 👀 made Sequence#get available to all sequences, not just ArrayLikeSequences (see #106)
    • 👀 made ObjectLikeSequence#filter return an ObjectLikeSequence (see #75)
    • 🛠 fixed issue with Sequence#shuffle always putting first element last (#113)
    • 🛠 fixed issue with Sequence#join skipping empty strings (#115)
    • 🛠 fixed issue with Lazy.range sometimes providing one value too few (#119)
  • v0.3.3

    • 🛠 fixed Sequence#groupBy to work for async sequences (see #72)
    • 🛠 fixed StreamLikeSequence#split to split properly across chunks (see #70)
    • 🔄 changed Sequence#filter so it passes a simple incrementing index with each element (like Underscore/Lo-Dash)
    • ➕ added Lazy.clone to create a shallow copy of an object or array
    • ➕ added Sequence#sort, which can accept a 2-arity function for more customized sorting (see #65)
    • both Sequence#sort and Sequence#sortBy now accept a descending argument
    • ➕ added Sequence#indexBy
  • v0.3.2

    January 09, 2014
    • ➕ added Sequence.createWrapper (see http://stackoverflow.com/questions/20959394)
    • ➕ added Sequence#memoize and Sequence#none
    • 🛠 fixed Sequence#reject to accept a string or object (like other methods involving predicates)
    • 🛠 fixed bug in Sequence#all
    • 👀 AsyncSequence#getIterator now throws an error (see #63)
  • v0.3.1

    January 03, 2014
    • ➕ added Sequence#apply (see #61) and Sequence#size (see #56)
    • ➕ added ObjectLikeSequence#merge (see #55)
    • ➕ added Sequence#toStream to create an actual stream.Readable in Node, to interact w/ stream-based libraries (see #53)
  • v0.3.0

    December 20, 2013
    • now these methods on AsyncSequence return a promise-like AsyncHandle, allowing you to do something w/ the result once iteration is complete (using onComplete, which is aliased as then):
      • reduce
      • min
      • max
      • sum
      • find
      • indexOf
      • contains
      • toArray
      • toObject
      • join/toString
    • ➕ added Lazy(object).watch to monitor changes to a property as a sequence (see #49)
    • ➕ added Sequence#chunk, Sequence#tap, and Sequence#ofType
    • 🗄 deprecated Lazy.events in favor of NodeSequence#on (note: I should probably rename NodeSequence to DOMSequence)