Changelog

Dev

v0.5.1 (2021-04-09)

Enhancements

Bug fixes

  • Fix the minimal version needed for Jason (1.2)
  • A.OrdMap.take/2 behaves as expected when keys are duplicated
  • A.ord/1 warning on duplicate keys uses the proper stacktrace

Breaking changes

v0.5.0 (2021-03-25)

Enhancements

  • A.OrdMap new implemention, with highly improved performance ⚡️⚡️
  • A.Enum as a faster Enum module optimized for Aja structures (vectors, ord maps)
  • Added A.ord_size/1 macro
  • A.vec/1 can pattern-match on first and last elements
  • A.ord/1 warns on duplicate errors and can generate the AST on compile time for constant keys

Breaking changes

v0.4.8 (2021-02-23)

Enhancements

Breaking changes

  • Deprecate A.RBMap and A.RBSet

Bug fixes

  • Fix A.Vector.join/2 bug when working with chardata

v0.4.7 (2021-02-19)

Enhancements

v0.4.6 (2021-02-10)

Enhancements

v0.4.5 (2021-01-31)

Enhancements

Bug fixes

v0.4.4 (2021-01-23)

Enhancements

Breaking changes

  • Changed internal representation of A.Vector (only breaking if persisted)
  • Stop documenting and exposing internal trees (A.RBTree)
  • Rename and deprecate A.Vector.append_many/2 to A.Vector.concat/2

v0.4.3 (2021-01-12)

This release is mostly focused on vector slicing and performance ⚡️

Enhancements

v0.4.2 (2021-01-10)

Enhancements

  • Implement A.Vector.product/1

Bug fixes

v0.4.1 (2020-12-05)

Enhancements

Bug fixes

  • A.Vector.sum/1 adds using the same order as Enum.sum/1, avoiding slight inconsistencies for floats

v0.4.0 (2020-12-02)

Enhancements

v0.3.3 (2020-11-14)

Enhancements

v0.3.2 (2020-11-14)

Enhancements

v0.3.1 (2020-11-05)

Bug fixes

  • A.RBMap.Enumerable.member?/2 returns false instead of crashing for values other than size-2 tuples

v0.3.0 (2020-10-31)

Enhancements

  • Rework all internals, improved peformance for A.OrdMap, A.RBMap, A.RBSet
  • Add default parameter to A.OrdMap.first/1, A.OrdMap.last/1, A.RBMap.first/1, A.RBMap.last/1, A.RBSet.first/1, A.RBSet.last/1

Breaking changes

  • Changed signature of A.OrdMap.foldl/3, A.OrdMap.foldr/3, A.RBMap.foldl/3, A.RBMap.foldr/3
  • Internals of all data structures have been changed
  • Split A.RBTree as A.RBTree.Map and A.RBTree.Set

v0.2.0 (2020-10-25)

Enhancements

Breaking changes

  • Remove A.Array module

v0.1.2 (2020-10-22)

Enhancements

  • Add pop_first/1 and pop_last/1 to A.RBMap, A.RBSet and A.OrdMap
  • Add some guards to functions

Bug fixes

  • A.RBSet.disjoint?/2 was not returning the expected value

v0.1.1 (2020-10-21)

Bug fixes

  • Fix incompatibility with Elixir 1.10

v0.1.0 (2020-10-18)

  • Initial release