chore: release 2.2.0 - #218
Conversation
Turns the Unreleased section into 2.2.0 and bumps the version field, which is what publish.yml keys off: merging this to main publishes to npm and cuts the matching GitHub release. Contents are #216 and #217 - the gridRadius prop, the React 19 declarations fix, and two inputs that were rendering invalid output. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
✅ Deploy Preview for react-xarrows ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe package version changes from 2.1.0 to 2.2.0. The changelog replaces the Unreleased heading and records the new prop, React 19 type declaration support, and absence of breaking changes. Changes2.2.0 release metadata
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: 🔵 Low · up to This change turns the release workflow into a public npm publish and GitHub release. Merge is reasonable with owner awareness because the privileged job uses mutable tooling and a failed GitHub release after npm publication may require manual recovery; pinning the tooling and improving release reconciliation are appropriate follow-ups. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Linked Issues checkExplanation The PR documents the new Full details: Docstring CoverageExplanation 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 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Bumps the version field and turns the Unreleased changelog section into 2.2.0.
Merging this publishes.
publish.ymlkeys off the version field:2.2.0is not on npm, so unlike #217 this run will actuallynpm publish(with provenance) and cut thev2.2.0GitHub release.Contents
Everything merged since 2.1.0, from #216 and #217.
New
gridRadiusrounds the corners of apath="grid"arrow.gridRadiususesstrokeWidth * 2,gridRadius={12}takes a radius in pixels, defaultfalsekeeps the square corners 2.1.0 draws. Closes Rounded corners on grid arrow #43, based on the approach in Add roundedCorners prop #178 by @andreac92.Fixed
JSXnamespace and stopped exportingReactSVG, both of whichindex.d.tsreferenced, so anyone on@types/react19 withoutskipLibCheckcould not build against this package. Every runtime code path already worked on 19.headShape/tailShapewith nosvgElemrendered the literal text "path" instead of an arrowhead, and parsing wrote its defaults into the object it was handed.dashness={{ strokeLen: n }}renderedstroke-dasharray="n undefined".Internal
strict: trueis now real —noImplicitAnyandstrictNullCheckswere both disabled underneath it; 68 errors to zero..d.tsno longer containsany.@types/reactmajors, withskipLibCheckoff.Compatibility
No breaking changes. Every prop, component and hook behaves as it did in 2.1.0, apart from the two inputs above that were rendering invalid output.
That was verified rather than assumed: rendered DOM compared byte for byte against 2.1.0 across 199 static prop combinations (including all 36 anchor pairs against every path), 37 edge cases, and 14 dynamic sequences covering prop updates and multiple arrows sharing an
Xwrapper— identical except the two documented fixes.🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Documentation
Chores