Skip to content

Commit b517102

Browse files
Merge pull request #3362 from MicrosoftDocs/user/pabrosse/webplat-relnotes-script
User/pabrosse/webplat relnotes script
2 parents be48140 + 1e08cbe commit b517102

6 files changed

Lines changed: 4391 additions & 202 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# This workflow checks if it's time to generate the next beta relnotes.
2+
# And if so, it generates the beta relnotes and opens a PR with them.
3+
4+
name: Generate beta relnotes
5+
6+
on:
7+
workflow_dispatch:
8+
schedule:
9+
# once a day
10+
- cron: '0 0 * * *'
11+
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
16+
jobs:
17+
generate:
18+
name: Check if it's time and generate beta relnotes
19+
runs-on: ubuntu
20+
steps:
21+
- name: Checkout repo
22+
uses: actions/checkout@v2
23+
- name: Install dependencies
24+
run: |
25+
cd scripts
26+
npm install
27+
- name: Run script
28+
id: generate
29+
run: |
30+
cd scripts
31+
node web-platform-release-notes.js
32+
- name: Create Pull Request
33+
uses: peter-evans/create-pull-request@v7
34+
with:
35+
token: ${{ secrets.GITHUB_TOKEN }}
36+
commit-message: "New Edge Beta web platform release notes"
37+
title: "New Edge Beta web platform release notes"
38+
body: "This PR was generated by the workflow to update the beta release notes."
39+
branch: "web-platform-release-notes"
40+
base: "main"
41+
branch-suffix: timestamp
42+
labels: "web-platform-release-notes"
43+
reviewers: "mikehoffms,captainbrosset,aluhrs13"
44+
assignees: "captainbrosset"
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
2+
---
3+
title: Microsoft Edge {{ data.nextBetaVersion }} web platform release notes ({% monthYear data.nextBetaReleaseDate %})
4+
description: Microsoft Edge {{ data.nextBetaVersion }} web platform release notes ({% monthYear data.nextBetaReleaseDate %})
5+
author: MSEdgeTeam
6+
ms.author: msedgedevrel
7+
ms.topic: conceptual
8+
ms.service: microsoft-edge
9+
ms.date:
10+
---
11+
# Microsoft Edge {{ data.nextBetaVersion }} web platform release notes ({% monthYear data.nextBetaReleaseDate %})
12+
13+
The following are the new web platform features and updates in Microsoft Edge {{ data.nextBetaVersion }}, which releases on {% monthDayYear data.nextBetaReleaseDate %}.
14+
15+
To stay up-to-date and get the latest web platform features, download an Insiders version of Microsoft Edge, such as Canary, Dev, or Beta; see [Become a Microsoft Edge Insider](https://aka.ms/microsoftedge).
16+
17+
18+
<!-- ====================================================================== -->
19+
## Edge DevTools
20+
21+
For Edge DevTools, see [What's New in Microsoft Edge DevTools](../../devtools-guide-chromium/whats-new/whats-new.md).
22+
23+
24+
<!-- ====================================================================== -->
25+
## WebView2
26+
27+
For WebView2, see [Release Notes for the WebView2 SDK](../../webview2/release-notes/index.md).
28+
29+
30+
<!-- ====================================================================== -->
31+
## Web platform features
32+
33+
34+
<!-- ------------------------------ -->
35+
#### Enabled features
36+
{% set features = data.csFeatures %}
37+
{% for feature in features["Enabled by default"] %}
38+
39+
<!-- ---------- -->
40+
###### {{ feature.name }}
41+
42+
{{ feature.summary | safe }}
43+
{% endfor %}
44+
45+
<!-- ------------------------------ -->
46+
#### Deprecated and removed features
47+
{% for feature in features["Deprecated"] %}
48+
49+
<!-- ---------- -->
50+
###### {{ feature.name }}
51+
52+
{{ feature.summary | safe }}
53+
{% endfor %}
54+
{% for feature in features["Removed"] %}
55+
56+
<!-- ---------- -->
57+
###### {{ feature.name }}
58+
59+
{{ feature.summary | safe }}
60+
{% endfor %}
61+
62+
63+
<!-- ====================================================================== -->
64+
## Origin trials
65+
66+
The following are new experimental APIs which you can try on your own live website for a limited time. To learn more about origin trials, see [Use origin trials in Microsoft Edge](../../origin-trials/index.md). To see the full list of available origin trials, see [Microsoft Edge Origin Trials](https://developer.microsoft.com/microsoft-edge/origin-trials/).
67+
68+
69+
<!-- ------------------------------ -->
70+
#### Microsoft Edge only origin trials
71+
{% for trial in data.edgeOTs %}
72+
73+
<!-- ---------- -->
74+
###### {{ trial.title }}
75+
76+
Expires on {{ trial.expiration }}.
77+
78+
{{ trial.description }}
79+
80+
* [Explainer]({{ trial.explainer }})
81+
* [Feedback]({{ trial.feedback }})
82+
* [Register]({{ trial.registration }})
83+
84+
{% endfor %}
85+
86+
<!-- ------------------------------ -->
87+
#### New Chromium origin trials
88+
{% for trial in data.chromeOTs %}
89+
90+
<!-- ---------- -->
91+
###### {{ trial.title }}
92+
93+
Expires on {{ trial.expiration }}.
94+
95+
{{ trial.description }}
96+
97+
* [Explainer]({{ trial.explainer }})
98+
* [Feedback]({{ trial.feedback }})
99+
* [Register]({{ trial.registration }})
100+
{% endfor %}
101+
102+
103+
<!-- ====================================================================== -->
104+
> [!NOTE]
105+
> Portions of this page are modifications based on work created and shared by Chromium.org and used according to terms described in the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0).

0 commit comments

Comments
 (0)