Releases: arogozine/LinqToTypeScript
Releases · arogozine/LinqToTypeScript
LinqToTypeScript 9.0.0 Beta 1
Breaking Changes
- Target TypeScript 4.4.0
Other Changes
- Switch more methods to arrow functions
- Simplified internal setup
- Simplified
empty
methods - Improved typing for partition
LinqToTypeScript 8.1.0
API Additions
The from
method should now work with JS array, array like objects, iterators, and generator functions.
import { from } from 'linq-to-typescript'
// From an Array or Array Like Object
const array = [1, 2, 3]
const fromArray = from(array)
// From an iterator
const fromArrayIterator = from(array[Symbol.iterator]())
// From a generator function
const generator = function* () {
yield 1
yield 2
yield 3
}
const fromGenerator = from(generator)
LinqToTypeScript 8.0.0
Naming Changes
- Renamed
concat
toconcatenate
(to avoid overriding JSconcat
when binding LINQ methods) - We now have
from
,fromAsync
, andfromParallel
- all imported from main - We now have
Async
andParallel
version of all static methods
-- Before these were imported fromlinq-to-typescript/async
or/parallel
-- For example now we haverange
,rangeAsync
, andrangeParallel
-- All are imported fromlinq-to-typescript
- no/async
or/parallel
supported
Removals
- Static method
PartitionAsync
was removed partly due to naming conflic withAsync
static methods
Package Changes
- Package has been changes to support both CommonJS and ESM Modules.
- Node version 12 is recommended now. No support will be given for older node versions.
API Additions
- Expose
bindString
andbindArray
so that you can bind specifically for your needs - Add
bindString
if you just want to bind LINQ methods to String
Other Changes
- Convert some internal functions to arrow functions.
- Cleaned up
bindLinq
- Add string specific optimizations when binding LINQ methods
LinqToTypeScript 8.0.0 Beta 3
Naming Changes
- Renamed
concat
to concatenate to avoid overriding JSconcat
when binding LINQ methods - We now have
from
,fromAsync
, andfromParallel
- all imported from main - We now have
Async
andParallel
version of all static methods
-- Before these were imported fromlinq-to-typescript/async
or/parallel
-- For example now we haverange
,rangeAsync
, andrangeParallel
-- All are imported fromlinq-to-typescript
- no/async
or/parallel
supported
Removals
- Static method
PartitionAsync
was removed partly due to naming conflic withAsync
static methods
Package Changes
- Package has been changes to support both CommonJS and ESM Modules.
- Node version 12 is required now
API Additions
- Expose
bindString
andbindArray
so that you can bind specifically for your needs
Other Changes
- Convert some internal functions to arrow functions.
- Cleaned up
bindLinq
- Add string specific optimizations when binding LINQ methods
LinqToTypeScript 8.0.0 Beta 2
- Rename
concat
to concatenate to avoid overriding JSconcat
when binding LINQ methods - Add string specific optimizations when binding LINQ methods
- Expose
bindString
andbindArray
so that you can bind whatever you want yourself - Convert some internal functions to arrow functions. Cleanup
bindLinq
LinqToTypeScript 8.0.0 Beta 1
- Rename
concat
toconcatenate
to avoid overriding JSconcat
when binding LINQ methods
LinqToTypeScript 7.0.0
- Target newer version of TypeScript and get code building
- Use new recursive types for flattening
- Update dependencies
- Fix bugs with the isEnumerable, isAsyncEnumerable and isParallelEnumerable
- Build for ES2018 instead of ES2017
- Documentation improvements partly due to switching to eslint from tslint
- Added index to shared folder
LinqToTypeScript 7.0.0 Beta 1
- Target newer version of TypeScript and get code building
- Use new recursive types for flattening
- Update dependencies
- Fix bugs with the
isEnumerable
,isAsyncEnumerable
andisParallelEnumerable
- Build for ES2018 instead of ES2017
- Documentation improvements partly due to switching to eslint from tslint
LinqToTypeScript 6.0.1
Fix compilation issue with TS 3.7
LinqToTypeScript 6.0.0
- Target higher version on Node
- Update read me