Releases: Radnen/link.js
Link.js v0.4.2
Link.js v0.4.1
This is a minor update:
- Added CommonJS Support - fatcerberus
Link.js v0.4.0
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
Changelog:
This version sees some major and minor fixes as well as new features.
- Fixed .random(times)
- Added .sample(times)
- Added overload on .join(delim), no function means we do a string-like array join with a delimiter.
- Added .split(delim) method
- Added .shuffle() (fatcerberus)
- Added .concat(Link)
- Fixed .invoke(prop_name) to respect parent this object.
Link.js v0.2.13
You can now pass arguments to invoke.
Link(array).invoke("method_name", 5, ...);
Link.js v0.2.12
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
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
This is a stability release, fixing some argument issues.
Link.js v0.2.9
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
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();