JavaScript Engine for .NET Standard
Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.206...v1.2.209
Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.203...v1.2.206
Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.202...v1.2.203
Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.201...v1.2.202
Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.195...v1.2.201
EnsureSufficientExecutionStack
method for older versions of .NET by @Taritsyn in https://github.com/yantrajs/yantra/pull/92
Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.192...v1.2.195
Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.188...v1.2.192
Symbol.dispose
and Symbol.asyncDisposable
.using constResource =
and await using constResource =
syntax to enable disposable stack in current scope.IDisposable
and IAsyncDisposable
marshaling with automatic mapping for JavaScript's disposable symbols.
class File {
[Symbol.dispose]() {
// close the file handle...
}
}
function writeText(filePath, text) {
using s = new File(filePath);
s.writeText(text);
}
class File {
async [Symbol.asyncDispose]() {
// close the file handle...
}
}
async function writeText(filePath, text) {
await using s = new File(filePath);
s.writeText(text);
}
Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.176...v1.2.188
Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.171...v1.2.176
Full Changelog: https://github.com/yantrajs/yantra/compare/v1.2.165...v1.2.171