Skip to content
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

Bump web-features to v0.2.0 #99

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

ddbeck
Copy link
Collaborator

@ddbeck ddbeck commented Mar 15, 2023

This PR bumps the version number for web-features in anticipation of a release. @foolip I think you're the one with permissions to publish, so you'll need to do this.

How to use this PR

  1. Review the JSON diff, below, as well as the regular GitHub diff UI. It shouldn't be too surprising, but look out for:

    • New features, specs, and usage stats
    • The extremely speculative "baseline" data in a couple of features
  2. If it's satisfactory, merge. Make sure to complete the remaining steps before merging any subsequent PRs.

  3. Locally, make sure you have a clean working directory (e.g., run git stash and git restore --staged --worktree).

  4. From the root of the repository, run these commands to publish:

    # get up to date
    $ git checkout main
    $ git pull origin main # assuming that `origin` is something like `[email protected]:web-platform-dx/feature-set.git`
    
    # tag the release
    $ git tag -a web-features/0.2.0  # then provide a message with your editor
    $ git push origin web-features/0.2.0
    
    # publish
    $ npm run build
    $ cd packages/web-features
    $ npm publish

The Diff

--- v0.1.0	2023-03-15 18:52:59.000000000 +0100
+++ v0.2.0	2023-03-15 18:52:59.000000000 +0100
@@ -1,29 +1,171 @@
 {
+  "anchor-positioning": {
+    "spec": "https://drafts.csswg.org/css-anchor-position-1/#anchoring"
+  },
+  "background-fetch": {
+    "spec": "https://wicg.github.io/background-fetch/"
+  },
+  "border-image": {
+    "caniuse": "border-image",
+    "spec": "https://drafts.csswg.org/css-backgrounds-3/#border-images",
+    "usage_stats": "https://chromestatus.com/metrics/css/timeline/popularity/43"
+  },
+  "broadcast-channel": {
+    "caniuse": "broadcastchannel",
+    "spec": "https://html.spec.whatwg.org/multipage/#broadcasting-to-other-browsing-contexts",
+    "usage_stats": "https://chromestatus.com/metrics/feature/timeline/popularity/1447"
+  },
   "cascade-layers": {
-    "spec": "https://drafts.csswg.org/css-cascade-5/#layering"
+    "caniuse": "css-cascade-layers",
+    "spec": "https://drafts.csswg.org/css-cascade-5/#layering",
+    "status": {
+      "is_baseline": true,
+      "since": "2022-03-15",
+      "support": {
+        "chrome": "99",
+        "firefox": "97",
+        "safari": "15.4"
+      }
+    },
+    "usage_stats": "https://chromestatus.com/metrics/feature/timeline/popularity/4007"
+  },
+  "container-queries": {
+    "caniuse": "css-container-queries",
+    "spec": "https://drafts.csswg.org/css-contain-3/#container-queries",
+    "status": {
+      "is_baseline": false,
+      "support": {
+        "chrome": "105",
+        "safari": "16"
+      }
+    },
+    "usage_stats": "https://chromestatus.com/metrics/feature/timeline/popularity/4165"
+  },
+  "content-visibility": {
+    "caniuse": "css-content-visibility",
+    "spec": "https://drafts.csswg.org/css-contain-2/#content-visibility"
+  },
+  "custom-elements": {
+    "caniuse": "custom-elementsv1",
+    "spec": "https://html.spec.whatwg.org/multipage/"
+  },
+  "custom-properties": {
+    "caniuse": "css-variables",
+    "spec": "https://drafts.csswg.org/css-variables-1/"
   },
   "dialog": {
-    "spec": "https://html.spec.whatwg.org/multipage/#the-dialog-element"
+    "caniuse": "dialog",
+    "spec": "https://html.spec.whatwg.org/multipage/#the-dialog-element",
+    "usage_stats": "https://chromestatus.com/metrics/feature/timeline/popularity/481"
   },
   "flexbox": {
-    "spec": "https://drafts.csswg.org/css-flexbox-1/"
+    "caniuse": "flexbox",
+    "spec": "https://drafts.csswg.org/css-flexbox-1/",
+    "usage_stats": "https://chromestatus.com/metrics/feature/timeline/popularity/1692"
+  },
+  "fonts": {
+    "caniuse": "fontface",
+    "spec": "https://drafts.csswg.org/css-fonts-5/"
   },
   "fullscreen": {
+    "caniuse": "fullscreen",
     "spec": "https://fullscreen.spec.whatwg.org/"
   },
+  "grid": {
+    "caniuse": "css-grid",
+    "spec": "https://drafts.csswg.org/css-grid-3/"
+  },
+  "has": {
+    "caniuse": "css-has",
+    "spec": "https://drafts.csswg.org/selectors-4/#relational"
+  },
   "idle-detection": {
-    "spec": "https://wicg.github.io/idle-detection/"
+    "spec": "https://wicg.github.io/idle-detection/",
+    "usage_stats": "https://chromestatus.com/metrics/feature/timeline/popularity/2834"
+  },
+  "image-set": {
+    "caniuse": "css-image-set",
+    "spec": "https://drafts.csswg.org/css-images-4/#image-set-notation"
+  },
+  "import-maps": {
+    "caniuse": "import-maps",
+    "spec": "https://html.spec.whatwg.org/multipage/#import-maps"
+  },
+  "leading-trim": {
+    "spec": "https://drafts.csswg.org/css-inline-3/#leading-trim"
+  },
+  "line-clamp": {
+    "caniuse": "css-line-clamp",
+    "spec": "https://drafts.csswg.org/css-overflow-3/#line-clamp"
+  },
+  "masonry": {
+    "spec": "https://drafts.csswg.org/css-grid-3/"
+  },
+  "navigation": {
+    "spec": "https://wicg.github.io/navigation-api/"
+  },
+  "nesting": {
+    "caniuse": "css-nesting",
+    "spec": "https://drafts.csswg.org/css-nesting-1/"
+  },
+  "offscreen-canvas": {
+    "caniuse": "offscreencanvas",
+    "spec": "https://html.spec.whatwg.org/multipage/#the-offscreencanvas-interface",
+    "usage_stats": "https://chromestatus.com/metrics/feature/timeline/popularity/1624"
+  },
+  "popover": {
+    "spec": "https://html.spec.whatwg.org/multipage/#the-popover-attribute"
+  },
+  "sanitizer": {
+    "spec": "https://wicg.github.io/sanitizer-api/"
+  },
+  "scheduler": {
+    "spec": "https://wicg.github.io/scheduling-apis/"
+  },
+  "scope": {
+    "spec": "https://drafts.csswg.org/css-cascade-6/#scope-atrule"
+  },
+  "shadow-dom": {
+    "caniuse": "shadowdomv1",
+    "spec": "https://dom.spec.whatwg.org/#shadow-trees"
+  },
+  "sticky-positioning": {
+    "caniuse": "css-sticky",
+    "spec": "https://drafts.csswg.org/css-position-3/#stickypos-insets"
   },
   "subgrid": {
+    "caniuse": "css-subgrid",
     "spec": "https://drafts.csswg.org/css-grid-2/#subgrids"
   },
   "temporal": {
+    "caniuse": "temporal",
     "spec": "https://tc39.es/proposal-temporal/"
   },
   "webcodecs": {
-    "spec": "https://w3c.github.io/webcodecs/"
+    "caniuse": "webcodecs",
+    "spec": "https://w3c.github.io/webcodecs/",
+    "usage_stats": "https://chromestatus.com/metrics/feature/timeline/popularity/3464"
+  },
+  "webdriver-bidi": {
+    "spec": "https://w3c.github.io/webdriver-bidi/"
+  },
+  "webtransport": {
+    "caniuse": "webtransport",
+    "spec": "https://w3c.github.io/webtransport/",
+    "usage_stats": "https://chromestatus.com/metrics/feature/timeline/popularity/3472"
+  },
+  "webusb": {
+    "caniuse": "webusb",
+    "spec": "https://wicg.github.io/webusb/",
+    "usage_stats": "https://chromestatus.com/metrics/feature/timeline/popularity/1519"
   },
   "webvtt": {
-    "spec": "https://w3c.github.io/webvtt/"
+    "caniuse": "webvtt",
+    "spec": "https://w3c.github.io/webvtt/",
+    "usage_stats": [
+      "https://chromestatus.com/metrics/feature/timeline/popularity/409",
+      "https://chromestatus.com/metrics/feature/timeline/popularity/410",
+      "https://chromestatus.com/metrics/feature/timeline/popularity/2891"
+    ]
   }
 }

@ddbeck ddbeck requested a review from foolip March 15, 2023 18:24
Copy link
Collaborator

@foolip foolip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving so that merging is possible. I'll give you access to the npm package, so you can publish.

@foolip foolip mentioned this pull request Mar 20, 2023
@foolip
Copy link
Collaborator

foolip commented Mar 20, 2023

@ddbeck looks like you already have write access to https://www.npmjs.com/package/web-features. But I'll merge and release 0.2.0 now.

@foolip foolip merged commit 55bd4da into web-platform-dx:main Mar 20, 2023
@foolip
Copy link
Collaborator

foolip commented Mar 20, 2023

https://www.npmjs.com/package/web-features has been published.

@ddbeck ddbeck deleted the web-features-v0.2.0 branch March 21, 2023 17:22
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.

2 participants