Releases: sebastienros/jint
v3.0.0-beta-2060
What's Changed
- Remove some unnecessary JsString allocations by @lahma in #1728
- Add custom strategy for array read access by @lahma in #1729
- Add fast case for single statement in a block by @lahma in #1730
- Refactoring for custom module loader support by @tomatosalat0 in #1731
- Make JsArguments public by @lahma in #1734
- Internalize Environment services and use Key as name by @lahma in #1735
- Use FNV hash for Key by @lahma in #1736
- Replace some string usage with Key when suitable by @lahma in #1737
Full Changelog: v3.0.0-beta-2059...v3.0.0-beta-2060
v3.0.0-beta-2059
This release aims to unify and clarify public APIs and hiding services that shouldn't be needed for normal usage. Services can always be exposed again if it seems necessary. If you find some API missing that you need, please create a PR with suggested API change and a test case against Jint.Tests.PublicInterface
which will ensure that the API won't be broken that easily.
- Rename
FunctionInstance
->Function
- Rename
BindFunctionInstance
->BindFunction
- Rename
ClrFunctionInstance
->ClrFunction
- Rename
GetterFunctionInstance
->GetterFunction
and madeinternal
- Rename
IPrimitiveInstance
->IJsPrimitive
- Rename
ScriptFunctionInstance
->ScriptFunction
- Rename
SetterFunctionInstance
->SetterFunction
and madeinternal
- Rename
Engine.ClrTypeConverter
toEngine.TypeConverter
- Rename
Engine.DebugHandler
toEngine.Debugger
- Move
Engine.ResetCallStack
toEngine.Advanced
- Move constraint related methods to
Engine.Constraints
- Move module related methods to
Engine.Modules
and shorten method names - Move
Engine.RegisterPromise
toEngine.Advanced
- Make
ObjectInstance.IsLooselyEqual()
protected - Hide
JsonInstance
- Hide
ObjectInstance.CanPut()
- Hide
ObjectInstance.DefinePropertyOrThrow()
- Hide
ObjectInstance.DeletePropertyOrThrow()
- Hide
ObjectInstance.IsArray()
and addJsValueExtensions.IsArray()
- Hide
ObjectInstance.SetPrototypeOf()
and allow set viaObjectInstance.Prototype
property set - Hide
ObjectInstance.IsArrayLike
- Hide
ObjectInstance.Length
and only exposeJsArray.Length
andJsTypedArray.Length
properties - Remove
ObjectInstance.Invoke
- Remove
Engine.Realm
, exposeEngine.Intrinsics
andEngine.Global
directly
What's Changed
- Debug StepInto stops at beginning of arrow function by @tomatosalat0 in #1715
- Remove Record suffix from types by @lahma in #1716
- Move CreateDeclarativeEnvironment and FindConstraint to Engine.Advanced by @lahma in #1717
- Remove some Instance suffixes by @lahma in #1718
- Hide, rename and move some methods by @lahma in #1719
- Cleanup ObjectInstance public API by @lahma in #1720
- Rename FunctionInstance to Function by @lahma in #1721
- Remove Engine.Realm, expose Engine.Intrinsics and Engine.Global directly by @lahma in #1722
- Hide GlobalObject public methods by @lahma in #1723
Full Changelog: v3.0.0-beta-2058...v3.0.0-beta-2059
v3.0.0-beta-2058
What's Changed
- Further optimize Dtoa and string building by @lahma in #1698
- Ensure proper
ValueStringBuilder
dispose when needed by @lahma in #1699 - Add
GetUtcNow
toITimeSystem
by @ejsmith in #1701 - Groundwork for generators by @lahma in #1705
- Upgrade Esprima to version 3.0.3 by @lahma in #1706
- Implement resizable
ArrayBuffer
by @lahma in #1707 - Adding cultural check to the "ToUpperCase" string prototype. by @LuisMerinoP in #1693
- Implement
SharedArrayBuffer
by @lahma in #1708 - Implement
ArrayBuffer.transfer
by @lahma in #1709 - Implement import attributes by @lahma in #1710
- Implement JSON modules by @lahma in #1711
- Add
Engine.Advanced.StackTrace
to get current stack trace string by @lahma in #1712 - Make
JsValue
implementIConvertible
by @lahma in #1713 - Unify recursion constraints between invoke and call by @lahma in #1714
New Contributors
Full Changelog: v3.0.0-beta-2057...v3.0.0-beta-2058
v3.0.0-beta-2057
What's Changed
- Fix test script resolution to work with NET 8 artifacts output by @lahma in #1690
- Add NET 8 support by @lahma in #1686
- Use arguments in Number.toLocaleString by @LuisMerinoP in #1619
- Update benchmark results for NET 8 by @lahma in #1691
- Update test suite and implement Set.union by @lahma in #1692
- Upgrade to NUnit 4 by @lahma in #1694
- Return old recursion limit capabilities by @lahma in #1695
- Optimize String.fromCodePoint by @lahma in #1696
- Replace StringBuilderPool with ValueStringBuilder by @lahma in #1697
New Contributors
- @LuisMerinoP made their first contribution in #1619
Full Changelog: v3.0.0-beta-2056...v3.0.0-beta-2057
v3.0.0-beta-2056
What's Changed
- Support caching of string instances in script preparation by @lahma in #1678
- Optimize Array.pop by @lahma in #1680
- Enable code analysis with latest-Recommended by @lahma in #1681
- Enable Meziantou.Analyzer by @lahma in #1682
- Limit PrepareScript string caching to length 10 or less by @lahma in #1683
- Code changes to keep NET 8 analyzers happy by @lahma in #1685
- Refine interop member search with readable/writable requirement by @lahma in #1687
- Add README.md to NuGet package by @lahma in #1688
- Package XML documentation by @lahma in #1689
Full Changelog: v3.0.0-beta-2055...v3.0.0-beta-2056
v3.0.0-beta-2055
What's Changed
- Cache more script-global information when preparing AST by @lahma in #1671
- Upgrade to Esprima 3.0.2 by @lahma in #1672
- Update benchmark results by @lahma in #1673
- JsProxy should return proxied target's ToObject via ToObject by @lahma in #1675
- Improve ParseArrayIndex when property is length by @lahma in #1676
- Move expression initialize to expression implementation by @lahma in #1677
Full Changelog: v3.0.0-beta-2054...v3.0.0-beta-2055
v3.0.0-beta-2054
What's Changed
- Include interface's extended interfaces in interop property search by @lahma in #1654
- Allow registering symbols to TypeReference by @lahma in #1655
- Add better debugger view support via debugger attributes by @lahma in #1656
- Keep track of MethodInfoFunctionInstance's target object by @lahma in #1658
- Track TypeReference registrations and use as prototype by @lahma in #1661
- Account for possible integer indexers when searching for IndexerAccessor by @lahma in #1662
- Create a sample for System.Text.Json interop by @lahma in #1663
- Convert to Central Package Management by @lahma in #1664
- Fix parsing of empty date string by @lahma in #1666
- Update System.Text.Json sample to handle writes by @lahma in #1668
- Support prioritizing indexers by @lahma in #1669
- Upgrade NuGet packages by @lahma in #1670
Full Changelog: v3.0.0-beta-2053...v3.0.0-beta-2054
v3.0.0-beta-2053
What's Changed
- fix interface methods by @hyzx86 in #1638
- Fixed rest/spread bug with empty object by @CreepGin in #1642
- Experimental - Task to Promise conversion by @Xicy in #1567
- Proxy on clr by @viruscamp in #1645
- Added support to convert JsTypedArray when converting objects. by @graphnode in #1646
- Optimize URI decode and encode by @lahma in #1647
- PropertyDescriptor improvements by @viruscamp in #1648
- #1573 - added convenience API by @gentledepp in #1574
- Implement Promise.withResolvers and update test suite by @lahma in #1650
- Add fast path without try-catch for CLR function call by @lahma in #1651
- Remove exposed CLR type equality requirement from ObjectWrapper.Equals by @lahma in #1652
New Contributors
- @hyzx86 made their first contribution in #1638
- @graphnode made their first contribution in #1646
- @gentledepp made their first contribution in #1574
Full Changelog: v3.0.0-beta-2052...v3.0.0-beta-2053
v3.0.0-beta-2052
What's Changed
- Interface type wrapper can call object methods. by @viruscamp in #1629
- Upgrade to Esprima 3.0.0 by @lahma in #1630
- Upgrade to Esprima 3.0.1 by @lahma in #1635
Full Changelog: v3.0.0-beta-2051...v3.0.0-beta-2052
v3.0.0-beta-2051
What's Changed
- Added
readonly
modifier to fields that aren't being changed by @Lehonti in #1610 - Support explicit interface and hidden member of super class by @viruscamp in #1613
- Fix capturing group numbering bug and a few more regex-related issues by @adams85 in #1614
- More improvements for CLR Interop by @viruscamp in #1616
- Optimize engine construction by @lahma in #1621
- Improve array access performance by @lahma in #1625
- Update benchmark results and packages by @lahma in #1622
New Contributors
- @Lehonti made their first contribution in #1610
- @viruscamp made their first contribution in #1613
Full Changelog: v3.0.0-beta-2050...v3.0.0-beta-2051