Skip to content

Releases: purescript/purescript-arrays

v7.3.0

03 Nov 21:28
6554b3d
Compare
Choose a tag to compare

New features:

Other improvements:

  • Implements ST.push via a call to JavaScript's native push instead of pushAll (#236 by @i-am-the-slime)

v7.2.1

13 Jun 15:43
ad76064
Compare
Choose a tag to compare

v7.2.0

17 Jan 14:01
Compare
Choose a tag to compare

New features:

Other improvements:

v7.1.0

06 Aug 19:41
bb1b821
Compare
Choose a tag to compare

New features:

v7.0.0

27 Apr 20:47
d20bae2
Compare
Choose a tag to compare

Breaking changes:

Other improvements:

v6.0.1

19 Apr 23:26
Compare
Choose a tag to compare

Other improvements:

v6.0.0

26 Feb 18:46
5b71501
Compare
Choose a tag to compare

Breaking changes:

  • Added support for PureScript 0.14 and dropped support for all previous versions (#181)
  • Renamed Data.Array.ST.empty to Data.Array.ST.new (#191, #198)
  • Renamed group' to groupAll (#194, #200)

New features:

  • Added specialized versions of the functions from Data.Foldable (#201):
    • Added foldl, foldr, foldMap, fold, intercalate to Array
    • Added foldl1, foldr1, foldMap1, foldl1, intercalate to Array.NonEmpty
  • Added specialized elem, notElem, find, findMap, scanl, scanr, any, all (#189, #193, #201)
  • Added intersperse, groupAllBy, splitAt (#179, #188, #194, #200, #201)
  • Added mapWithIndex, groupBy to Array.NonEmpty (#201, #164)

Bugfixes:

  • Fixed sort, so undefined is sorted by comparison function and not simply moved to the end of the array (#195, #197)

Other improvements:

  • Generated changelog and added PR template (#208, #209)
  • Added benchmarking (#178)
  • Migrated to GitHub Actions for CI (#187, #169)
  • Removed some internal usages of unsafeCoerce (#184)
  • Changed foldM type signature to more closely match foldl (#160)
  • Updated installation instructions to use Spago (#171)
  • Replaced foreign cons, snoc, drop, take with PureScript implementations (#180)
  • Removed return {} from FFI function for a small performance boost (#175)
  • Bumped pulp version (#174)
  • Removed primes from foreign modules exports (#168)

v5.3.1

13 Oct 02:01
Compare
Choose a tag to compare

Replace use of unsafeCoerce in freeze/thaw functions with discrete foreign functions (@andyarvanitis)

v5.3.0

27 Apr 10:52
1bca4c0
Compare
Choose a tag to compare

Added pop, shift, unshift, unshiftAll for Data.Array.ST (@8084)

v5.2.1

31 Mar 19:50
83c2148
Compare
Choose a tag to compare

Performance improvement for nubByEq (@sharno)