Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions .github/skills/bump-version/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Use `v<version>` only when comparing or creating Git tags.
git --no-pager log --reverse --format='%s%x09%H' "${previous_tag}..HEAD"
```

7. Build the PR release notes by grouping all commits into user-facing buckets.
7. Build the PR release notes by grouping all commits into user-facing buckets and attributing every supporting PR to its contributor.
8. Commit the version bump with an imperative message:

```text
Expand Down Expand Up @@ -80,13 +80,15 @@ Use these buckets, omitting empty buckets:

Prefer concise, user-facing summaries over raw commit subjects. Combine related commits into one bullet when they describe the same release-note item.

For each bullet, include the supporting PR title and number in parentheses:
For each bullet, include the supporting PR title, number, and contributor handle in parentheses. Put the contributor immediately after the PR reference:

```text
- summary sentence (PR title #number).
- summary sentence (PR title #number by @contributor).
```

Do not include commit SHAs in the PR release notes. If a commit subject already contains a PR number, use it. Otherwise, use `gh` to inspect the commit or associated PR when possible.
Use the PR author's GitHub login as the contributor, not the commit author or a co-author. When one bullet combines multiple PRs, repeat `#number by @contributor` for each supporting PR.

Do not include commit SHAs in the PR release notes. If a commit subject already contains a PR number, use it, then use `gh` to retrieve the PR title and `author.login`. Otherwise, use `gh` to inspect the commit or associated PR when possible.

## PR body template

Expand All @@ -101,19 +103,19 @@ Previous release tag: `<previous_tag>`

Features:

- <feature summary> (<PR title> #<number>).
- <feature summary> (<PR title> #<number> by @<contributor>).

Fixes:

- <fix summary> (<PR title> #<number>).
- <fix summary> (<PR title> #<number> by @<contributor>).

Docs:

- <docs summary> (<PR title> #<number>).
- <docs summary> (<PR title> #<number> by @<contributor>).

Maintenance:

- <maintenance summary> (<PR title> #<number>).
- <maintenance summary> (<PR title> #<number> by @<contributor>).

## Validation

Expand All @@ -127,16 +129,16 @@ Remove empty buckets before opening or updating the PR.
```markdown
Features:

- parser comment policy strips template/style comments while preserving legal comments, with CLI, Node, docs, and benchmark coverage (feat: strip template and style comments in parser and support legal comments #326).
- CSS module delivery now emits import-map data URI modules and the commerce demo defaults to module styles (Emit style modules via importmap + dataURI instead of <style type="module"> #325, Switch default styles to module for commerce demo #327).
- parser comment policy strips template/style comments while preserving legal comments, with CLI, Node, docs, and benchmark coverage (feat: strip template and style comments in parser and support legal comments #326 by @mohamedmansour).
- CSS module delivery now emits import-map data URI modules and the commerce demo defaults to module styles (Emit style modules via importmap + dataURI instead of <style type="module"> #325 by @KurtCattiSchmidt, Switch default styles to module for commerce demo #327 by @KurtCattiSchmidt).

Fixes:

- repeat-scope event arguments hydrate correctly for framework bindings, including strict argument handling (Fix event handler args in repeat scopes #317, fix: hydrate strict event arguments in repeat scopes #322).
- client binding lifecycle ordering preserves child updates across conditional and repeated DOM paths (fix: initialize child bindings before connection #329).
- compiled templates preserve raw style text instead of altering author-provided CSS content (fix: preserve raw style text in compiled templates #330).
- repeat-scope event arguments hydrate correctly for framework bindings, including strict argument handling (Fix event handler args in repeat scopes #317 by @jibin7jose, fix: hydrate strict event arguments in repeat scopes #322 by @mohamedmansour).
- client binding lifecycle ordering preserves child updates across conditional and repeated DOM paths (fix: initialize child bindings before connection #329 by @mohamedmansour).
- compiled templates preserve raw style text instead of altering author-provided CSS content (fix: preserve raw style text in compiled templates #330 by @mohamedmansour).

Docs:

- issue forms, contribution/support policy, framework rendering docs, CLI docs, and integration guides were refreshed (chore: clarify contribution and support policy #321, chore: add GitHub issue forms #328, plus docs in fix: hydrate strict event arguments in repeat scopes #322/Emit style modules via importmap + dataURI instead of <style type="module"> #325/feat: strip template and style comments in parser and support legal comments #326/fix: initialize child bindings before connection #329).
- issue forms, contribution/support policy, framework rendering docs, CLI docs, and integration guides were refreshed (chore: clarify contribution and support policy #321 by @mohamedmansour, chore: add GitHub issue forms #328 by @mohamedmansour, plus docs in fix: hydrate strict event arguments in repeat scopes #322 by @mohamedmansour/Emit style modules via importmap + dataURI instead of <style type="module"> #325 by @KurtCattiSchmidt/feat: strip template and style comments in parser and support legal comments #326 by @mohamedmansour/fix: initialize child bindings before connection #329 by @mohamedmansour).
```
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.0.25"
version = "0.0.26"
edition = "2021"
rust-version = "1.93"
authors = ["Microsoft Edge"]
Expand Down
14 changes: 7 additions & 7 deletions crates/webui-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ name = "webui"
path = "src/main.rs"

[dependencies]
microsoft-webui = { path = "../webui", version = "0.0.25", features = ["cli"] }
microsoft-webui-handler = { path = "../webui-handler", version = "0.0.25" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.25" }
microsoft-webui-discovery = { path = "../webui-discovery", version = "0.0.25" }
microsoft-webui-tokens = { path = "../webui-tokens", version = "0.0.25" }
microsoft-webui-dev-server = { path = "../webui-dev-server", version = "0.0.25" }
microsoft-webui = { path = "../webui", version = "0.0.26", features = ["cli"] }
microsoft-webui-handler = { path = "../webui-handler", version = "0.0.26" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.26" }
microsoft-webui-discovery = { path = "../webui-discovery", version = "0.0.26" }
microsoft-webui-tokens = { path = "../webui-tokens", version = "0.0.26" }
microsoft-webui-dev-server = { path = "../webui-dev-server", version = "0.0.26" }
clap = { workspace = true }
anyhow = { workspace = true }
thiserror = { workspace = true }
Expand All @@ -43,7 +43,7 @@ windows-sys = { workspace = true }

[dev-dependencies]
tempfile = { workspace = true }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.25" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.26" }

[lints]
workspace = true
6 changes: 3 additions & 3 deletions crates/webui-expressions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ categories = ["web-programming", "parser-implementations"]
name = "webui_expressions"

[dependencies]
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.25" }
microsoft-webui-state = { path = "../webui-state", version = "0.0.25" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.26" }
microsoft-webui-state = { path = "../webui-state", version = "0.0.26" }
serde_json = { workspace = true }
thiserror = { workspace = true }

[dev-dependencies]
microsoft-webui-test-utils = { path = "../webui-test-utils", version = "0.0.25" }
microsoft-webui-test-utils = { path = "../webui-test-utils", version = "0.0.26" }
criterion = { workspace = true }

[[bench]]
Expand Down
4 changes: 2 additions & 2 deletions crates/webui-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ crate-type = ["cdylib", "staticlib", "lib"]
regenerate-header = ["dep:cbindgen"]

[dependencies]
microsoft-webui-handler = { path = "../webui-handler", version = "0.0.25" }
microsoft-webui-handler = { path = "../webui-handler", version = "0.0.26" }
serde_json = { workspace = true }

[build-dependencies]
cbindgen = { workspace = true, optional = true }

[dev-dependencies]
criterion = { workspace = true }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.25" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.26" }

[[bench]]
name = "protocol_bench"
Expand Down
10 changes: 5 additions & 5 deletions crates/webui-handler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ categories = ["web-programming", "template-engine"]
name = "webui_handler"

[dependencies]
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.25" }
microsoft-webui-expressions = { path = "../webui-expressions", version = "0.0.25" }
microsoft-webui-state = { path = "../webui-state", version = "0.0.25" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.26" }
microsoft-webui-expressions = { path = "../webui-expressions", version = "0.0.26" }
microsoft-webui-state = { path = "../webui-state", version = "0.0.26" }
memchr = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }

[dev-dependencies]
microsoft-webui-test-utils = { path = "../webui-test-utils", version = "0.0.25" }
microsoft-webui-parser = { path = "../webui-parser", version = "0.0.25" }
microsoft-webui-test-utils = { path = "../webui-test-utils", version = "0.0.26" }
microsoft-webui-parser = { path = "../webui-parser", version = "0.0.26" }
criterion = { workspace = true }

[[bench]]
Expand Down
8 changes: 4 additions & 4 deletions crates/webui-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ crate-type = ["cdylib"]
[dependencies]
napi = { workspace = true }
napi-derive = { workspace = true }
microsoft-webui = { path = "../webui", version = "0.0.25" }
microsoft-webui-handler = { path = "../webui-handler", version = "0.0.25" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.25", features = ["projection-manifest"] }
microsoft-webui = { path = "../webui", version = "0.0.26" }
microsoft-webui-handler = { path = "../webui-handler", version = "0.0.26" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.26", features = ["projection-manifest"] }
serde_json = { workspace = true }

[build-dependencies]
napi-build = { workspace = true }

[dev-dependencies]
microsoft-webui-parser = { path = "../webui-parser", version = "0.0.25", default-features = false }
microsoft-webui-parser = { path = "../webui-parser", version = "0.0.26", default-features = false }
tempfile = { workspace = true }

[lints]
Expand Down
6 changes: 3 additions & 3 deletions crates/webui-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ cli = ["clap"]
ignored = ["clap"]

[dependencies]
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.25" }
microsoft-webui-tokens = { path = "../webui-tokens", version = "0.0.25" }
microsoft-webui-protocol = { path = "../webui-protocol", version = "0.0.26" }
microsoft-webui-tokens = { path = "../webui-tokens", version = "0.0.26" }
thiserror = { workspace = true }
html-escape = { workspace = true }
walkdir = { workspace = true, optional = true }
clap = { workspace = true, optional = true }
sha2 = { workspace = true }

[dev-dependencies]
microsoft-webui-test-utils = { path = "../webui-test-utils", version = "0.0.25" }
microsoft-webui-test-utils = { path = "../webui-test-utils", version = "0.0.26" }
criterion = { workspace = true }

[[bench]]
Expand Down
10 changes: 5 additions & 5 deletions crates/webui-press/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ name = "webui-press"
path = "src/main.rs"

[dependencies]
microsoft-webui = { path = "../webui", version = "0.0.25", features = ["cli"] }
microsoft-webui-discovery = { path = "../webui-discovery", version = "0.0.25" }
microsoft-webui-handler = { path = "../webui-handler", version = "0.0.25" }
microsoft-webui-tokens = { path = "../webui-tokens", version = "0.0.25" }
microsoft-webui = { path = "../webui", version = "0.0.26", features = ["cli"] }
microsoft-webui-discovery = { path = "../webui-discovery", version = "0.0.26" }
microsoft-webui-handler = { path = "../webui-handler", version = "0.0.26" }
microsoft-webui-tokens = { path = "../webui-tokens", version = "0.0.26" }

# Markdown + syntax highlighting
comrak = { workspace = true }
Expand All @@ -46,7 +46,7 @@ thiserror = { workspace = true }
html-escape = { workspace = true }

# Dev server (`webui-press serve`)
microsoft-webui-dev-server = { path = "../webui-dev-server", version = "0.0.25" }
microsoft-webui-dev-server = { path = "../webui-dev-server", version = "0.0.26" }
actix-web = { workspace = true }
tokio = { workspace = true }
include_dir = { workspace = true }
2 changes: 1 addition & 1 deletion crates/webui-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ crate-type = ["cdylib", "rlib"]
extension-module = ["pyo3/extension-module"]

[dependencies]
microsoft-webui-handler = { path = "../webui-handler", version = "0.0.25" }
microsoft-webui-handler = { path = "../webui-handler", version = "0.0.26" }
pyo3 = { workspace = true }
serde_json = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion crates/webui-state/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name = "webui_state"
serde_json = { workspace = true }

[dev-dependencies]
microsoft-webui-test-utils = { path = "../webui-test-utils", version = "0.0.25" }
microsoft-webui-test-utils = { path = "../webui-test-utils", version = "0.0.26" }
criterion = { workspace = true }

[[bench]]
Expand Down
Loading
Loading