Skip to content

Releases: 92green/unmutable

Add keyBy(), rename(), defaults(), util/pipeIf()

03 Jul 05:47
Compare
Choose a tag to compare
  • Add keyBy()
  • Add rename()
  • Add defaults()
  • Add util/pipeIf()
  • No breaking changes

Fix sortBy() mutations

29 May 23:09
Compare
Choose a tag to compare
  • sortBy() on arrays was mutating, but is now immutable
  • No breaking changes

Fix array reverse(), sort() mutations

29 May 22:50
Compare
Choose a tag to compare
  • reverse() and sort() on arrays were mutating, but are now immutable
  • No breaking changes

Add composeWith(), toIndexed(), toKeyed(), updateInto(), defaults()

25 May 02:03
Compare
Choose a tag to compare
  • Add util/composeWith()
  • Add toIndexed()
  • Add toKeyed()
  • Add updateInto()
  • Add defaults()
  • No breaking changes

Fix flatMap()

21 May 01:09
Compare
Choose a tag to compare
  • Fix flatMap() on empty collections
    • Was returning undefined instead of an empty version of the original collection
  • No breaking changes

Add sort() and sortBy()

18 May 03:48
Compare
Choose a tag to compare
  • Add sort() and sortBy()
    • Please note that these methods cannot work with objects, even though they work with Immutable.js Maps
  • No breaking changes

Perf gains and better error messages

11 May 03:05
Compare
Choose a tag to compare
  • Rewrite prep to be more performant, only perform the type checks that the current function has methods for.
  • Add names and rename item vars to value to match docs
  • Error message to always say what the original method name was (not a nested method name) and the value it was passed.
  • No breaking changes

Fix flow and build issues

26 Mar 02:50
Compare
Choose a tag to compare
  • Remove specific flow typing for iterators as its all a bit broken, see facebook/flow#1163
  • Move test utils to test folder to prevent building them out to /lib
  • No breaking changes

Add unit(), clone()

07 Mar 02:05
Compare
Choose a tag to compare
  • Added unit()
  • Added clone()
  • No breaking changes

Add swap(), flatMap()

05 Mar 03:33
Compare
Choose a tag to compare
  • Added swap()
  • Added flatMap()
  • No breaking changes