Skip to content

Releases: arogozine/LinqToTypeScript

LinqToTypeScript 11.1.0

14 Jan 21:51
Compare
Choose a tag to compare

LinqToTypeScript 11.0.0

06 Feb 03:19
Compare
Choose a tag to compare

Breaking Changes

  • Package ships with ECMAScript Modules only.
  • Common JS is no longer shipped with package

Bug Fixes

  • Fixed issues with handling of value 0 in,
    • min
    • minAsync
    • max
    • maxAsync
    • firstOrDefault
    • elementAtOrDefault
  • Fixed incorrect error message details for chunk

LinqToTypeScript 11.0.0 Beta 1

18 Aug 23:04
Compare
Choose a tag to compare
Pre-release

Breaking Changes

  • Package ships with ECMAScript Modules only.
  • Common JS is no longer shipped with package

Bug Fixes

  • Fixed issues with handling of value 0 in,
    • min
    • minAsync
    • max
    • maxAsync
    • firstOrDefault
    • elementAtOrDefault
  • Fixed incorrect error message details for chunk

LinqToTypeScript 10.0.0

17 Mar 02:26
Compare
Choose a tag to compare

API Additions

Breaking Changes

  • ESM files now explicitly import .js and index.js files. No need to specify --experimental-specifier-resolution=node
  • Zip behavior updated to match what .NET is doing for different length enumerations
  • Added engine specification to package json

Other

  • Types were moved to their own folder and are also declared in exports. This is partly to align with what TypeScript plans to do in the future.
  • Removed a couple of files that were not used

LinqToTypeScript 10.0.0 Beta 2

07 Mar 23:48
Compare
Choose a tag to compare
Pre-release

API Additions

Breaking Changes

  • Added engine specification to package json

Misc

  • Removed a couple of files

LinqToTypeScript 10.0.0 Beta 1

20 Feb 17:50
Compare
Choose a tag to compare
Pre-release

API Additions

Breaking Changes

  • ESM files now explicitly import .js and index.js files. No need to specify --experimental-specifier-resolution=node
  • Zip behavior updated to match what .NET is doing for different length enumerations

Other

  • Types were moved to their own folder and are also declared in exports. This is partly to align with what TypeScript plans to do in the future.

LinqToTypeScript 9.0.0

01 Nov 00:13
Compare
Choose a tag to compare

Breaking Changes

  • Target TypeScript 4.4.X
  • Static partition method is now an instance method
  • IEnumerable<T>.groupByWithSel typing updated. Check if you're specifying generic types explicitly.
  • Package now targets Node 15 and up (mostly due to documentation tooling failing with 12)

API Additions

Other Changes

  • Design improvements to parallel enumerable code
  • Internal Setup Improvements
  • Library now uses arrow functions for everything
  • Improved type definitions for partition

LinqToTypeScript 9.0.0 Beta 2

29 Oct 03:58
Compare
Choose a tag to compare
Pre-release

Breaking Changes

  • partition method is now an instance method
  • Support for Node 12, 13, and 14 dropped

API Additions

  • partition
  • partitionAsync
  • toObject
  • toObjectAsync

Other Changes

  • tslib is no longer needed
  • Improvements to Parallel Enumerable
  • Library uses arrow functions wherever possible now

LinqToTypeScript 9.0.0 Beta 1

30 Sep 04:25
Compare
Choose a tag to compare
Pre-release

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

15 Jul 02:56
Compare
Choose a tag to compare

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)