Skip to content

Releases: Radnen/link.js

Link.js v0.4.2

12 Nov 08:10
Compare
Choose a tag to compare

This is a minor release.

  • Added .forEach() alias for .each()
  • Added .keys() feature to enumerate object keys in arrays.
  • General code cleanup.

Link.js v0.4.1

30 Jul 20:48
Compare
Choose a tag to compare

This is a minor update:

Link.js v0.4.0

27 Jul 05:53
Compare
Choose a tag to compare

This adds:

  • Cross product feature
  • Ability to use link contexts where some arrays may be accepted.
  • A LinkException error if you attempt to use a non-array on Link.

Link.js v0.2.16

15 Feb 18:00
Compare
Choose a tag to compare

Changelog:

This version sees some major and minor fixes as well as new features.


  1. Fixed .random(times)
  2. Added .sample(times)
  3. Added overload on .join(delim), no function means we do a string-like array join with a delimiter.
  4. Added .split(delim) method
  5. Added .shuffle() (fatcerberus)
  6. Added .concat(Link)
  7. Fixed .invoke(prop_name) to respect parent this object.

Link.js v0.2.13

25 Apr 23:46
Compare
Choose a tag to compare

You can now pass arguments to invoke.

Link(array).invoke("method_name", 5, ...);

Link.js v0.2.12

17 Apr 23:42
Compare
Choose a tag to compare

This release sees the new .has() method, you use it to do filtering within the arrays of inner objects.

It also adds the abililty to check against multiple objects in .filterBy and .contains by supplying an array of values to each.

Link.js v0.2.11

27 Mar 06:19
Compare
Choose a tag to compare

This release sees the addition of Link.alias!
Make aliases of the existing API to new methods:

Link.alias('filter', 'include').alias('reject', 'exclude');

Link.js v0.2.10

19 Mar 07:11
Compare
Choose a tag to compare

This is a stability release, fixing some argument issues.

Link.js v0.2.9

07 Mar 11:17
Compare
Choose a tag to compare

This release sees the addition of new SQL-like features:

  • Where (which had already been present).
  • Select
  • Join
  • Update

This does not make Link anything like a SQL type library, it just makes it feel closer to one with methods that do relatively the same actions as you might expect. As always this is still experimental, but feel free to try them out.

Link.js v0.2.8 beta

02 Feb 05:00
Compare
Choose a tag to compare
Link.js v0.2.8 beta Pre-release
Pre-release

Adds the ability to unroll a link context via the main argument list.

var list = Link(a1, a2, a3).toArray();

// is the same as:
var list = Link([a1, a2, a3]).unroll().toArray();