Skip to content

chore(deps): Update svgr and usvgr to 0.50.1 - #218

Merged
dmtrKovalenko merged 2 commits into
mainfrom
chore/svgr-0.50.0
Oct 13, 2026
Merged

dmtrKovalenko merged 2 commits into
mainfrom
chore/svgr-0.50.0

Conversation

@dmtrKovalenko

@dmtrKovalenko dmtrKovalenko commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

This change updates svgr and usvgr from 0.50.0-rc.1 to 0.50.1. A number set with an svgr! expression now renders like the same number written in the markup, and font-weight follows CSS Fonts 4 as browsers do. The fframes source does not change.


svgr PR Change for fframes
dmtrKovalenko/svgr#19 A number set with an expression applies to font-weight, text rotate, marker orient, and the feColorMatrix, feMorphology, feTurbulence and feComponentTransfer values. Before, usvgr used the default.
dmtrKovalenko/svgr#20 The warning for a zero-sized filter element gives the filter name.
dmtrKovalenko/svgr#21 font-weight accepts every number from 1 to 1000 ("650" was ignored); a number outside is ignored, also from code. bolder/lighter use the CSS Fonts 4 table, keywords are case-insensitive. order on feConvolveMatrix and transform-origin read a number from code and a compile-time length.

Note

Numeric font-weight={expr} (#203) is fixed here in usvgr. #204 adds the fframes tests for it and removes its macro workaround.

Local verification (macOS, rustc 1.99)

Check Result
cargo fmt --check ✅
cargo clippy --workspace -- -D warnings ✅
cargo test --workspace --no-fail-fast ✅ 105 test binaries, 249 tests
cargo test -p fframes_test_utils --no-default-features ✅
fframes + svgr-macro with compile-time-svgtree ✅
scripts/e2e.mjs cpu ✅ worst frame 0.214% (limit 0.5%)
scripts/e2e.mjs skia-cpu ✅ worst frame 0.094%
scripts/e2e.mjs gpu ✅ worst frame 0.176%
just check-examples (wasm) ✅

Summary by CodeRabbit

  • Chores
    • Updated svgr and usvgr to version 0.50.1.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://chore-svgr-0-50-0-fframes.dmitriy-86d.workers.dev (commit 985f78a)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://9ad718b5-fframes.dmitriy-86d.workers.dev 985f78a 2026-10-13T14:56:01.610Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://e163c157-fframes.dmitriy-86d.workers.dev bcee807 2026-10-13T03:55:53.216Z Visit the dashboard ↗

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fad7c746-2940-425a-99a3-3d197aa2522f
📥 Commits

Reviewing files that changed from the base of the PR and between bcee807 and 985f78a.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • Cargo.toml
🚧 Files skipped from review as they are similar to previous changes (1)
  • Cargo.toml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

📝 Walkthrough

The workspace versions of svgr and usvgr changed from 0.50.0-rc.1 to 0.50.1.

Changes: SVG dependency versions

Layer / File(s) Summary
Update workspace dependency versions
Cargo.toml
The workspace versions for svgr and usvgr changed from 0.50.0-rc.1 to 0.50.1.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 985f7

The dependency update is ready to merge after normal checks.

Pre-merge checks · Passed 5
Passed Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the dependency updates from 0.50.0-rc.1 to 0.50.1, which are the main changes in the pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dmtrKovalenko dmtrKovalenko changed the title chore(deps): Update svgr and usvgr to 0.50.0 chore(deps): Update svgr and usvgr to 0.50.1 Oct 13, 2026
@dmtrKovalenko
dmtrKovalenko merged commit 40a9f42 into main Oct 13, 2026
14 checks passed
@dmtrKovalenko
dmtrKovalenko deleted the chore/svgr-0.50.0 branch October 13, 2026 15:08
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