Skip to content

4.0.0

Choose a tag to compare

@domenic domenic released this 11 Feb 22:52
· 47 commits to main since this release

This release welcomes @TimothyGu, who implemented all of the remaining basic Web IDL types and some bonus ones.

  • Added: any, object, Error, buffer source types, and "common definitions"
  • Removed (because they were removed from the Web IDL spec): Date, RegExp
  • Fixed:
    • unrestricted double to properly allow NaN
    • float and unrestricted float to properly truncate into 32-bit floating points
    • DOMString, to throw an error for Symbols
    • integer types, in various ways

This release also adds test coverage for all conversions! This should help especially with the pesky integer types and the continual bugs we've seen around them.