Yantra Versions Save

JavaScript Engine for .NET Standard

v1.2.209

1 month ago

v1.2.206

6 months ago

Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.203...v1.2.206

  1. String Performance Improved by removing StringSpan

v1.2.203

6 months ago

Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.202...v1.2.203

  1. Performance of appending string improved.

v1.2.202

6 months ago

Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.201...v1.2.202

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

v1.2.201

6 months ago

What's Changed

Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.195...v1.2.201

v1.2.195

6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.192...v1.2.195

v1.2.192

7 months ago

What's Changed

Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.188...v1.2.192

v1.2.188

8 months ago

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: https://github.com/yantrajs/yantra/compare/v1.2.176...v1.2.188

v1.2.176

11 months ago

What's Changed

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

Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.171...v1.2.176

v1.2.171

11 months ago

What's Changed

Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.165...v1.2.171