Skip to content

Releases: yantrajs/yantra

v1.2.209

09 Apr 08:49
Compare
Choose a tag to compare

Full Changelog: v1.2.206...v1.2.209

  1. Removed extra logs.

v1.2.206

18 Nov 06:31
Compare
Choose a tag to compare

Full Changelog: v1.2.203...v1.2.206

  1. String Performance Improved by removing StringSpan

v1.2.203

05 Nov 09:24
Compare
Choose a tag to compare

Full Changelog: v1.2.202...v1.2.203

  1. Performance of appending string improved.

v1.2.202

05 Nov 09:10
Compare
Choose a tag to compare

Full Changelog: v1.2.201...v1.2.202

  1. Fixed String Object's length property access.
  2. Speed improved by increasing memory usage.

v1.2.201

29 Oct 16:21
Compare
Choose a tag to compare

What's Changed

  • Performance improved by removal of nested arrays by @ackava in #93

Full Changelog: v1.2.195...v1.2.201

v1.2.195

26 Oct 09:09
9707995
Compare
Choose a tag to compare

What's Changed

  • Fix a EnsureSufficientExecutionStack method for older versions of .NET by @Taritsyn in #92

New Contributors

Full Changelog: v1.2.192...v1.2.195

v1.2.192

21 Oct 14:20
9ef2e77
Compare
Choose a tag to compare

What's Changed

  • Added support for stack overflow by @ackava in #90

Full Changelog: v1.2.188...v1.2.192

v1.2.188

12 Sep 10:18
a7bb507
Compare
Choose a tag to compare

New Features

Explicit Resource Management

  1. Support for Symbol.dispose and Symbol.asyncDisposable.
  2. Support for using constResource = and await using constResource = syntax to enable disposable stack in current scope.
  3. Support for CLR IDisposable and IAsyncDisposable marshaling with automatic mapping for JavaScript's disposable symbols.

Example

Disposable implementation

class File {

    [Symbol.dispose]() {
       // close the file handle...
    }
}

function writeText(filePath, text) {
     using s = new File(filePath);
     s.writeText(text);
}

AsyncDisposable implementation

class File {

    async [Symbol.asyncDispose]() {
       // close the file handle...
    }
}

async function writeText(filePath, text) {
     await using s = new File(filePath);
     s.writeText(text);
}

What's Changed

Full Changelog: v1.2.176...v1.2.188

v1.2.176

18 Jun 13:53
c3fa657
Compare
Choose a tag to compare

What's Changed

  1. Added bigint only operations
  2. Parser for bigint
  3. asUIntN and asIntN methods

Full Changelog: v1.2.171...v1.2.176

v1.2.171

04 Jun 11:30
0eae661
Compare
Choose a tag to compare

What's Changed

  • JSObject moved to generated class by @ackava in #83
  • All classes moved to Generated Source by @ackava in #84

Full Changelog: v1.2.165...v1.2.171