Skip to content

Releases: cxmeel/sift

0.0.9

02 May 10:15
139e24a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.0.8...0.0.9

0.0.8

31 Aug 19:29
dcdb17c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.0.7...0.0.8

0.0.7

29 Aug 10:10
Compare
Choose a tag to compare

What's Changed

  • fix-falsy-reduce-problem: Allow reduce and reduceRight to work on falsy values by @davidnurkkala in #15
  • PepeElToro41-patch-1: fix: allow Dictionary.map to return undefined by @PepeElToro41 in #14

New Contributors

Full Changelog: 0.0.6...0.0.7

0.0.6

30 Apr 12:06
e98b5db
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.0.5...0.0.6

0.0.5

03 Feb 23:58
57e8dfb
Compare
Choose a tag to compare

What's Changed

Fixed a bug relating to TypeScript types (#11), and added set and array difference functions (#12).

Added

  • Array.difference and Array.differenceSymmetric to find the difference between two or more arrays.
  • Set.difference and Set.differenceSymmetric to find the difference between two or more sets.

Fixed

  • Typings for Array.concat, which previously returned T[][] instead of T[] (typings changed from T[]T).

Full Changelog: 0.0.4...0.0.5

0.0.4

05 Dec 20:04
60099be
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.0.3...0.0.4

0.0.3

29 Sep 10:58
4767957
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.0.2...0.0.3

0.0.2

03 Jun 18:59
Compare
Choose a tag to compare

What's Changed

Handle Holes in Arguments

Patched an issue in Array.concat(Deep), Dictionary.merge(Deep) and Set.merge where they would stop at a nil value in the arguments. This closes #3.

This is because, when using ipairs, it automatically assumes the end of the array has been reached when it hits a nil value.

The new implementation uses select to process the vararg (...) in order to continue processing even if a nil value is present.

Out of Bound Indices

Array.insert will now properly handle out of bound indices.

An index of 0 will cause items to be inserted at the end of the array (since arrays are 1-indexed in Luau).

An index of length+1 will also allow values to be inserted at the end of the array. Indices of length+2 or greater will be ignored and return the original array (I'm open to changing this behaviour to throw if requested!).

Miscellaneous

  • Updated docs for above methods
  • Bumped package.json to v0.0.2
  • Bumped wally.toml to v0.0.2
  • Bumped rojo to v7.1.1
  • Bumped stylua to v0.13.1
  • Bumped selene to v0.17.0

Full Changelog: 0.0.1...0.0.2

0.0.1

19 May 22:28
6b5041e
Compare
Choose a tag to compare

What's Changed

Added

  • Basic TypeScript (roblox-ts) support (no tsdoc yet)! 🎉
  • Implemented isEmpty
  • Added typings to equalObjects
  • Added aliases for Array.concat, Array.concatDeep, Array.push, Array.unshift, Array.find, Array.includes, Dictionary.join, Dictionary.joinDeep, Set.fromArray, Set.merge, Set.delete
  • Added doc pages for installation and usage samples

Changed

  • Exposed isEmpty and equalObjects from the root module
  • Improved typings for methods accepting predictes
  • Updated documentation for some methods
  • Fixed Dictionary.flatten being shown in the Array docs (wrong @within tag)

Full Changelog: 0.0.0...0.0.1

0.0.0

28 Apr 11:21
Compare
Choose a tag to compare

This is the initial release of Sift.

Sift aims to replace @freddylist's Llama library, which is no longer maintained.

  • Includes all Array, Set and Dictionary methods from @freddylist/llama
  • Adds new methods to Array: at, freeze, freezeDeep and shuffle
  • Adds new methods to Dictionary: entries, freeze, freezeDeep, fromEntries
  • Adds new methods to Set: count

What's Changed

New Contributors

  • @csqrl made their first contribution in #1

Full Changelog: 0.0.0