Skip to content

πŸ“¦ Release @webref/idl@3.64.0 #1544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 15, 2025 β€’

⚠ NEVER add commits to this pull request.

πŸ€– This pull request was automatically created to facilitate human review of @webref/idl changes triggered by curated data at 355e596.

🧐 Please review the diff below and version numbers. If all looks good, merge this pull request to release the changes to npm.

πŸ“¦ Latest released @webref/idl package was v3.63.0. Merging this pull request will release v3.64.0. Make sure that the bump is the right one for the changes.

✍ If any change needs to be made before release, do not add a commit to this pull request. Changes should rather be handled in a separate pull request and pushed to the main branch. You may leave this pull request open in the meantime, or close it. The pre-release job will automatically update this pull request or create a new one once the updates have made their way to the main branch.

πŸ›ˆ The actual change introduced by this pull request is a version bump in packages/idl/package.json. You do not need to review that change. The bumped version is not the version that will be released when this pull request is merged, but rather the version that will be released next time.

New repo files that are not yet in the released package:
+ privacy-preserving-attribution.idl
+ sri.idl

Released package files that no longer exist in the repo:
- ppa.idl

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/html.idl packages/idl/html.idl
--- webref/node_modules/@webref/idl/html.idl
+++ packages/idl/html.idl
@@ -1542,28 +1542,6 @@
   readonly attribute double ideographicBaseline;
 };
 
-typedef (Uint8ClampedArray or Float16Array) ImageDataArray;
-
-enum ImageDataPixelFormat { "rgba-unorm8", "rgba-float16" };
-
-dictionary ImageDataSettings {
-  PredefinedColorSpace colorSpace;
-  ImageDataPixelFormat pixelFormat = "rgba-unorm8";
-};
-
-[Exposed=(Window,Worker),
- Serializable]
-interface ImageData {
-  constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {});
-  constructor(ImageDataArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
-
-  readonly attribute unsigned long width;
-  readonly attribute unsigned long height;
-  readonly attribute ImageDataArray data;
-  readonly attribute ImageDataPixelFormat pixelFormat;
-  readonly attribute PredefinedColorSpace colorSpace;
-};
-
 [Exposed=(Window,Worker)]
 interface Path2D {
   constructor(optional (Path2D or DOMString) path);
@@ -2476,6 +2454,28 @@
   readonly attribute Plugin enabledPlugin;
 };
 
+typedef (Uint8ClampedArray or Float16Array) ImageDataArray;
+
+enum ImageDataPixelFormat { "rgba-unorm8", "rgba-float16" };
+
+dictionary ImageDataSettings {
+  PredefinedColorSpace colorSpace;
+  ImageDataPixelFormat pixelFormat = "rgba-unorm8";
+};
+
+[Exposed=(Window,Worker),
+ Serializable]
+interface ImageData {
+  constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {});
+  constructor(ImageDataArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
+
+  readonly attribute unsigned long width;
+  readonly attribute unsigned long height;
+  readonly attribute ImageDataArray data;
+  readonly attribute ImageDataPixelFormat pixelFormat;
+  readonly attribute PredefinedColorSpace colorSpace;
+};
+
 [Exposed=(Window,Worker), Serializable, Transferable]
 interface ImageBitmap {
   readonly attribute unsigned long width;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/media-capabilities.idl packages/idl/media-capabilities.idl
--- webref/node_modules/@webref/idl/media-capabilities.idl
+++ packages/idl/media-capabilities.idl
@@ -91,11 +91,11 @@
 
 dictionary MediaCapabilitiesDecodingInfo : MediaCapabilitiesInfo {
   required MediaKeySystemAccess? keySystemAccess;
-  MediaDecodingConfiguration configuration;
+  required MediaDecodingConfiguration configuration;
 };
 
 dictionary MediaCapabilitiesEncodingInfo : MediaCapabilitiesInfo {
-  MediaEncodingConfiguration configuration;
+  required MediaEncodingConfiguration configuration;
 };
 
 [Exposed=Window]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/paint-timing.idl packages/idl/paint-timing.idl
--- webref/node_modules/@webref/idl/paint-timing.idl
+++ packages/idl/paint-timing.idl
@@ -10,5 +10,7 @@
 };
 
 [Exposed=Window]
-interface PerformancePaintTiming : PerformanceEntry {};
+interface PerformancePaintTiming : PerformanceEntry {
+    [Default] object toJSON();
+};
 PerformancePaintTiming includes PaintTimingMixin;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webrtc-encoded-transform.idl packages/idl/webrtc-encoded-transform.idl
--- webref/node_modules/@webref/idl/webrtc-encoded-transform.idl
+++ packages/idl/webrtc-encoded-transform.idl
@@ -55,6 +55,17 @@
     CryptoKeyID? keyID;
 };
 
+dictionary RTCEncodedFrameMetadata {
+    unsigned long synchronizationSource;
+    octet payloadType;
+    sequence<unsigned long> contributingSources;
+    unsigned long rtpTimestamp;
+    DOMHighResTimeStamp receiveTime;
+    DOMHighResTimeStamp captureTime;
+    DOMHighResTimeStamp senderCaptureTimeOffset;
+    DOMString mimeType;
+};
+
 // New enum for video frame types. Will eventually re-use the equivalent defined
 // by WebCodecs.
 enum RTCEncodedVideoFrameType {
@@ -63,22 +74,14 @@
     "delta",
 };
 
-dictionary RTCEncodedVideoFrameMetadata {
+dictionary RTCEncodedVideoFrameMetadata : RTCEncodedFrameMetadata {
     unsigned long long frameId;
     sequence<unsigned long long> dependencies;
     unsigned short width;
     unsigned short height;
     unsigned long spatialIndex;
     unsigned long temporalIndex;
-    unsigned long synchronizationSource;
-    octet payloadType;
-    sequence<unsigned long> contributingSources;
     long long timestamp;    // microseconds
-    unsigned long rtpTimestamp;
-    DOMHighResTimeStamp receiveTime;
-    DOMHighResTimeStamp captureTime;
-    DOMHighResTimeStamp senderCaptureTimeOffset;
-    DOMString mimeType;
 };
 
 dictionary RTCEncodedVideoFrameOptions {
@@ -95,16 +98,9 @@
     RTCEncodedVideoFrameMetadata getMetadata();
 };
 
-dictionary RTCEncodedAudioFrameMetadata {
-    unsigned long synchronizationSource;
-    octet payloadType;
-    sequence<unsigned long> contributingSources;
+dictionary RTCEncodedAudioFrameMetadata : RTCEncodedFrameMetadata {
     short sequenceNumber;
-    unsigned long rtpTimestamp;
-    DOMHighResTimeStamp receiveTime;
-    DOMHighResTimeStamp captureTime;
-    DOMHighResTimeStamp senderCaptureTimeOffset;
-    DOMString mimeType;
+    double audioLevel;
 };
 
 dictionary RTCEncodedAudioFrameOptions {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webtransport.idl packages/idl/webtransport.idl
--- webref/node_modules/@webref/idl/webtransport.idl
+++ packages/idl/webtransport.idl
@@ -27,6 +27,7 @@
   constructor(USVString url, optional WebTransportOptions options = {});
 
   Promise<WebTransportConnectionStats> getStats();
+  [NewObject] Promise<ArrayBuffer> exportKeyingMaterial(BufferSource label, optional BufferSource context);
   readonly attribute Promise<undefined> ready;
   readonly attribute WebTransportReliabilityMode reliability;
   readonly attribute WebTransportCongestionControl congestionControl;

@github-actions github-actions bot force-pushed the release-idl-20250515184801972 branch 19 times, most recently from de3a53f to 3063af3 Compare May 20, 2025 13:04
@github-actions github-actions bot changed the title πŸ“¦ Release @webref/idl@3.63.1 πŸ“¦ Release @webref/idl@3.64.0 May 20, 2025
@github-actions github-actions bot force-pushed the release-idl-20250515184801972 branch from 3063af3 to b41a35a Compare May 20, 2025 18:52
@github-actions github-actions bot force-pushed the release-idl-20250515184801972 branch from b41a35a to 809b635 Compare May 21, 2025 01:00
@tidoust tidoust merged commit b582384 into main May 21, 2025
@tidoust tidoust deleted the release-idl-20250515184801972 branch May 21, 2025 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant