v4.4.0
This release brings both using and await using statements available to both native JS usage and NET interop. Interop will automatically wrap IDisposable and IAsyncDisposable to have handlers that will be called after using scope ends. Read more about the proposal.
What's Changed
- Fix default parameter handling under interop by @lahma in https://github.com/sebastienros/jint/pull/2134
- Support writing length to
IListunder interop by @lahma in https://github.com/sebastienros/jint/pull/2135 - Passing
spacearg toOptions.Interop.SerializeToJsonby @Zaitonn in https://github.com/sebastienros/jint/pull/2142 - Add explicit resource management supporting types by @lahma in https://github.com/sebastienros/jint/pull/2143
- Upgrade to Acornima v1.2.0 by @adams85 in https://github.com/sebastienros/jint/pull/2145
- Add support for
usingandawait usingby @lahma in https://github.com/sebastienros/jint/pull/2139
New Contributors
- @Zaitonn made their first contribution in https://github.com/sebastienros/jint/pull/2142
Full Changelog: https://github.com/sebastienros/jint/compare/v4.3.0...v4.4.0