Skip to content

17.0.0

Compare
Choose a tag to compare
@domenic domenic released this 06 Oct 16:37
  • Now requires Node.js v12 or higher.
  • Changed sync iterators, async iterators, exceptions, and promises to be created in the relevant realm of the platform object, instead of in the outer Node.js realm. This is still not completely correct in some cases (e.g. errors should generally be created in the current realm instead of the relevant realm), but is a significant improvement. (#234, #241, #247, @ExE-Boss, @ninevra)
  • Changed the convert() export in the generated wrapper class files to require a first argument that is the global object into which conversions are happening. (#251)
  • Updated our Web IDL parser to now require using undefined instead of void. This also changes how [WebIDL2JSValueAsUnsupported] works to require =_undefined instead of =undefined since undefined is now a keyword.
  • Changed [LegacyNoInterfaceObject] interfaces to now require [Exposed], per the spec. (#230, @ExE-Boss)
  • Changed unforgeable getters/setters to be shared between instances instead of per-instance, per the spec. (#226, @ExE-Boss)
  • Added a newTarget parameter to the new() export in the generated wrapper class files. (#239, @ExE-Boss)