Skip to content

v4.6.0

Latest

Choose a tag to compare

@lahma lahma released this 15 Feb 19:18
· 1 commit to main since this release
69ba17b

This release brings Temporal and internationalization APIs available. There still might be some rough edges and specific non-English cultures might be missing specific formatting. There's a breaking change for custom IReferenceResolver in #2266 , undefined and null semantics changed to make engine work as required by the official specification.

Temporal and internationalization APIs are augmented with plugins to provide data from NodaTime and ICU4N, see https://github.com/sebastienros/jint/tree/main/Jint.Tests.Test262 for example implementations.

What's Changed

  • Preserve lexical block environment across async loop resumes by @Copilot in #2250
  • Add core Intl infrastructure by @lahma in #2253
  • Add CLDR data files and DefaultCldrProvider by @lahma in #2254
  • Add Intl global object and Intl.Locale by @lahma in #2255
  • Add Intl.Collator and update String.localeCompare by @lahma in #2256
  • Add Intl.PluralRules by @lahma in #2257
  • Add Intl.NumberFormat and update toLocaleString by @lahma in #2258
  • Add Intl.DateTimeFormat and update toLocaleString by @lahma in #2259
  • Complete Intl API with remaining formatters and tests by @lahma in #2260
  • Temporal API infrastructure by @lahma in #2262
  • Implement Temporal.Duration by @lahma in #2263
  • Regenerate test suite on settings file change by @lahma in #2265
  • Enable tests and fix issues by @lahma in #2266
  • Improve Internalization API performance by @lahma in #2267
  • Update test262 suite and fix issues by @lahma in #2271
  • Implement Temporal by @lahma in #2264
  • Improve Decode performance by @lahma in #2272
  • Fix some internalization API issues by @lahma in #2273
  • Add async .NET API for JavaScript async/await without blocking threads by @desty2k in #2274
  • Improve string concatenation performance by @lahma in #2275
  • Bump the all-dependencies group with 6 updates by @dependabot[bot] in #2276
  • Add decorator hook for CLR exception error objects by @Copilot in #2280
  • Enable Temporal related internalization API tests and fix issues by @lahma in #2277
  • Add constraint checks to array and typed array methods that bypass memory limits by @Copilot in #2282
  • Add SourceOffset to ScriptParsingOptions for embedded JS snippet error mapping by @Copilot in #2283
  • Add Copilot instructions by @lahma in #2286
  • Fix IReadOnlyDictionary being treated as array-like instead of dictionary by @lahma in #2287
  • Improve function call performance by @lahma in #2281

New Contributors

  • @Copilot made their first contribution in #2250
  • @desty2k made their first contribution in #2274

Full Changelog: v4.5.0...v4.6.0