Releases: clarkmcc/go-typescript
Releases · clarkmcc/go-typescript
Release 0.7.0 - Updated Typescript Version
v0.6.0 - Added Typescript 4.7.2, Performance Improvements
- Adds support for Typescript v4.7.2.
- Fixed bug that caused both Typescript versions 4.2.3 to be registered even when it was not intended to be used, this reduced the memory overhead by about 50%.
v0.5.0 - Go 1.17, ES6 Goja
- Updated the go.mod to specify Go version 1.17.
- Updated goja dependency to the latest commit to master which adds support for several ES6 language features.
v0.3.0 - Evaluator with AMD Module Support and Typescript 4.2.4
This release includes breaking changes to the transpile API but introduces several new features.
- Removed a parameter from the Transpile API for passing an explicit configuration struct. This introduced problems for users that did not add in all the correct defaults. Users have all the same customization flexibility using config modifier functions.
- Added an evaluation function that allows users to transpile, pre-evaluate dependencies and evaluate Javascript or Typescript scripts directly with full cancellation support.
- Added optional support for evaluating with a built-in AMD module loader. This allows users to evaluate scripts in the context of Typescript compiled bundles.
- Added support for Typescript v4.2.4 and configured it to be the new default for the transpiler.
v0.2.0 - Optimized Registry and Additional Typescript Versions
This release brings two significant changes to the project:
- Typescript version loaders and tagged sources have been broken out into their own packages that can be imported in a side-effect type of way. This allows you to control what you load into the default registry, which avoids loading every Typescript version into memory when you only really need one version. See the readme for implementation details.
- Added Typescript tags v4.1.5, v4.1.4, v4.1.3, v4.1.2, v3.9.9, and v3.8.3.