Skip to content

Releases: georapbox/immutable-arrays

v1.0.0

28 Jun 13:51
Compare
Choose a tag to compare

Changes

  • Provide named exports for each API method. Now you can also import like this: import {push} from 'immutable-arrays'

Breaking Changes

Change API methods' names to avoid redundancy. This was more of an issue when the library was used as a global in browser where someone would need to type immutableArrays.immutablePush().
Below is a list with the renamed methods:

  • immutablePush renamed to push;
  • immutablePop renamed to pop;
  • immutableShift renamed to shift;
  • immutableUnshift renamed to unshift;
  • immutableSplice renamed to splice;
  • immutableReverse renamed to reverse;
  • immutableSort renamed to sort;
  • immutableDelete renamed to del;

v0.4.3

28 Jun 09:18
Compare
Choose a tag to compare
  • Include test coverage in build process
  • Add test to cover scenario with all optional arguments being undefined for immutableSplice method

v0.4.2

24 Jun 13:47
Compare
Choose a tag to compare
  • Keep devDependencies up to date
  • Add code climate integration
  • Add test coverage report

v0.4.1

24 Jun 05:10
Compare
Choose a tag to compare

Fix bug while deleting an element at 0 index (#1)

v0.4.0

19 Apr 13:35
Compare
Choose a tag to compare
Add immutableSort method