Skip to content

Releases: softwareventures/array

v4.0.0

10 May 13:12
Compare
Choose a tag to compare

4.0.0 (2021-05-10)

Bug Fixes

  • identitygrouping: delete obsolete "hash" field from IdentityGrouping (9ae11c3)

Code Refactoring

  • remove pre-ES2017 polyfills (543e926)

Features

  • drop support for node 10 (1b4d93a)
  • first: replace "head" with "first" (51ffc0f)
  • groupbyidentitywithhash: delete groupByIdentityWithHash functions (c4b9e80)
  • keyby: change keyBy functions to return an ES2017 Map (5e594b9)
  • mapkeyby: add mapKeyBy function (4a9572e)
  • mapkeyfirstby: add mapKeyFirstBy function (2f9c825)
  • push: add push function (be3e78e)
  • shuffle: deprecate shuffle function (4238f37)
  • unqiuebyidentitywithhash: delete uniqueByIdentityWithHash functions (47657f9)
  • unshift: add unshift function (06b0e9a)
  • compile to ES2017 (8fe664e), closes #43

BREAKING CHANGES

  • identitygrouping: IdentityGrouping no longer has a "hash" field as using a hash no longer provides
    any benefit.
  • unqiuebyidentitywithhash: The uniqueByIdentityWithHash functions have been deleted. Use uniqueByIdentity
    instead. The uniqueByIdentity function now uses an ES2017 Set internally. As a result no additional
    benefit is provided by the addition of a hash function, so uniqueByIdentityWithHash is redundant.
  • groupbyidentitywithhash: The groupByIdentityWithHash functions have been deleted. Use groupByIdentity
    instead. The groupByIdentity function now uses an ES2017 Map internally. As a result no additional
    benefit is provided by the addition of a hash function, so groupByIdentityWithHash is redundant.
  • keyby: The keyBy functions now return an ES2017 Map instead of a Dictionary. The order of
    the parameterized types to these functions has also been changed to match the ordering used by Map.
  • This library now requires ES2017 API features. This breaks compatibility with Node
    < 8.10 and very old browsers that do not provide the ES2017 API. If you need to support older
    browsers then you should provide an ES2017 polyfill or continue to use v3.x of this library.
  • This library now uses ES2017 syntax. This breaks compatibility with Node < 8.10 and
    very old browsers that do not support ES2017 syntax. If you need to support older browsers, then you
    should use Babel to compile ES6+ code down to ES5.

v4.0.0-alpha.8

19 Apr 21:54
Compare
Choose a tag to compare
v4.0.0-alpha.8 Pre-release
Pre-release

4.0.0-alpha.8 (2021-04-19)

Bug Fixes

  • identitygrouping: delete obsolete "hash" field from IdentityGrouping (9ae11c3)

BREAKING CHANGES

  • identitygrouping: IdentityGrouping no longer has a "hash" field as using a hash no longer provides
    any benefit.

v4.0.0-alpha.7

19 Apr 21:46
Compare
Choose a tag to compare
v4.0.0-alpha.7 Pre-release
Pre-release

4.0.0-alpha.7 (2021-04-19)

Features

  • notempty: add notEmpty function (d8d7e92)

v3.10.0

19 Apr 21:41
Compare
Choose a tag to compare

3.10.0 (2021-04-19)

Features

  • notempty: add notEmpty function (d8d7e92)

v4.0.0-alpha.6

15 Mar 17:15
Compare
Choose a tag to compare
v4.0.0-alpha.6 Pre-release
Pre-release

4.0.0-alpha.6 (2021-03-15)

Features

  • mapkeyby: add mapKeyBy function (4a9572e)
  • mapkeyfirstby: add mapKeyFirstBy function (2f9c825)
  • push: add push function (be3e78e)
  • shuffle: deprecate shuffle function (4238f37)
  • unshift: add unshift function (06b0e9a)

v4.0.0-alpha.5

10 Mar 04:33
Compare
Choose a tag to compare
v4.0.0-alpha.5 Pre-release
Pre-release

4.0.0-alpha.5 (2021-03-10)

Features

  • scan1: add scan1 function (d316c9b)
  • scanright1: add scanRight1 function (4434250)

v3.9.0

10 Mar 04:33
Compare
Choose a tag to compare

3.9.0 (2021-03-10)

Features

  • scan1: add scan1 function (d316c9b)
  • scanright1: add scanRight1 function (4434250)

v4.0.0-alpha.4

09 Mar 07:04
Compare
Choose a tag to compare
v4.0.0-alpha.4 Pre-release
Pre-release

4.0.0-alpha.4 (2021-03-09)

Features

  • foldright1: add foldRight1 function (cf6675b)

v4.0.0-alpha.3

09 Mar 06:59
Compare
Choose a tag to compare
v4.0.0-alpha.3 Pre-release
Pre-release

4.0.0-alpha.3 (2021-03-09)

Bug Fixes

  • initial: fix initial function incorrectly behaving like last (71daa38)

Features

  • fold1: add fold1 function (e55b200)

v3.8.0

09 Mar 07:03
Compare
Choose a tag to compare

3.8.0 (2021-03-09)

Features

  • foldright1: add foldRight1 function (cf6675b)