linq.js ver.3.0.4-Beta5

Rating:        Based on 5 ratings
Reviewed:  5 reviews
Downloads: 3096
Change Set: 3813cabaa359
Released: Jun 20, 2013
Updated: Jun 19, 2013 by neuecc
Dev status: Beta Help Icon

Recommended Download

application, 95K, uploaded Jun 19, 2013 - 3096 downloads

Release Notes

many breaking changes from v2

2013-06-20 v3.0.4-Beta5

add TypeScript Generic definition.
rename linq.js.d.ts -> linq.d.ts
add cast<T> method(for TypeScript)
improved:cache generated string lambda function.

2012-10-09 v3.0.3-Beta4

add TypeScript type declaraion file(typescript/linq.js.d.ts, linq.jquery.d.ts)

2012-09-16 v3.0.2-RCv.3.0.2-Beta3::Notice

fix orderByDescending to stable sort
remove scan resultSelector overload
rename tojQueryRaw to tojQueryAsArray
flip argument of firstOrDefault,lastOrDefault,singleOrDefault. first is predicate, second is defaultValue.
defaultValue of orDefault changed to null
Enumerable.choice and Enumerable.cycle allow Enumerable
Enumerable.from supports IIterable<T>(WinMD)
argument of alternate allows Enumerable
add AMD support("linqjs")
improved fit to latest RxJS(on GitHub Sep 10, 2012 version)
repositry convert to git

2012-07-26 v3.0.1-Beta2::Notice

fix bug indexOf
writeLine overload back to v2
fixed bug, extendTo(Array) isn't optimized for Array
fixed bug, defer define "enumerator" to global
indexOf, lastIndexOf allow predicate
changed Enumerable.from(object) enumerate only own property
improvement all code snippets
add isExpr to linq.qunit.js

2012-07-19 v3 Beta

all methods rename UpperCamelCase to lowerCamelCase

following methods are changed name
Return -> make
CascadeBreadthFirst -> traverseBreadthFirst
CascadeDepthFirst -> traverseDepthFirst
BufferWithCount -> buffer
ToString -> toJoinedString
Do -> doAction
Let -> letBind
MemoizeAll -> memoize
Catch -> catchError
Finally -> finallyAction
ToJSON -> toJSONString

following methods are changed behavior
writeLine : document.write(value + "<br />") -> document.writeln(value), overload changed
zip, concat allow multiple arguments

add utility methods

add enumerable methods

performance optimization
where->select and where->where,... and select->select,...
range, rangeDown, rangeTo

add new extension

fix extensions to latest library version

removed jQuery plugin version

licence changed Ms-PL to MIT

Reviews for this release

Great project! I would prefer using upper camel case however (I see that you have changed it in this version). I think that you haven't replaced/face-lifted the built in String class yet. In my opinion this is a MUST. Keeping upper camel case will allow defining the "Replace()" of .NET without hiding the silly JS "replace()". So, avoiding conflicts is another good reason to move back to the old camel case. Just my two cents. I haven't tried this lib extensively but I can see its grace even from the start. Thanks.
by Konstantinos on Oct 18, 2014 at 11:46 AM
I use linqjs all the time and all over the place. Hard to imagine coding JS without it. (And the TypeScript support is awesome too.) Thanks so much. For what it's worth, I've used it, and used it pretty hard, for a while - I don't know of any particular reason to keep the "beta" label on it - it seems pretty solid to me.
by smithkl42 on May 30, 2014 at 12:34 AM
Great tool that makes it easy to use collections in typescript!
by ragnarosterlund on May 28, 2014 at 9:23 AM
Nice, clean and works well.
by fsoikin on Sep 12, 2013 at 7:11 PM
Great work. Really like that you added TypeScript support.
by mlarsson on Oct 13, 2012 at 10:40 AM