v1.0.0-beta45
What's Changed
This is a major release with Scala 3 cross-compilation support and significant TypeScript parser improvements.
Scala 3 Support
- Scala 3 cross-compilation: All converter modules (except sbt-converter) are now published for both Scala 2.12 and Scala 3 (#723)
- The sbt plugin remains Scala 2.12 only (sbt requirement)
- Generated facades continue to work with Scala 2.12, 2.13, and 3
TypeScript Parser Improvements
-
Comprehensive parser updates (#716):
- Support for
satisfieskeyword - Support for
accessorkeyword in class fields - Support for template literal types
- Better handling of
import.meta - Support for
asserts this is Treturn types - Support for abstract constructor signatures
- Support for
export type * fromsyntax - And many more edge cases
- Support for
-
TypeScript variance annotations: Added support for
in/outvariance modifiers (#719) -
const type parameters: Fixed parsing of
constmodifier in type parameters (f390a3f) - thanks Watson Dinh for the test case
Performance & Infrastructure
- Migrated to scala-cli: Replaced bloop-frontend with scala-cli for compilation (#722)
- Parser optimizations: Significant performance improvements in parsing and file operations (#715)
- GitHub Actions updates: Updated CI to latest action versions, fixed deprecations (#714)
Bug Fixes
- Hang fix: Avoid hang by making type query resolving less aggressive (#721)
- Node.js compatibility: Added hack for Node.js
BuiltinIteratorReturntype (#720) - Slinky fix: Fixed ordering of Slinky
SyntheticEventtype parameters (#597) - thanks @steinybot - BSP support: Re-enabled BSP support (#595) - thanks @steinybot
Documentation
- Updated plugin-no-bundler documentation (#630) - thanks @windymelt
Dependency Updates
Major dependency bumps including:
- sbt 1.11.1
- Scala 2.12.20
- sbt-scalajs 1.20.1
- coursier 2.1.24
- os-lib 0.11.5
- scala-xml 2.4.0
- And many more
New Contributors
- @windymelt made their first contribution in https://github.com/ScalablyTyped/Converter/pull/630
Full Changelog: https://github.com/ScalablyTyped/Converter/compare/v1.0.0-beta44...v1.0.0-beta45