Skip to content

chore: release 2.2.0 - #218

Merged
Eliav2 merged 1 commit into
mainfrom
release/2.2.0
Aug 28, 2026
Merged

chore: release 2.2.0#218
Eliav2 merged 1 commit into
mainfrom
release/2.2.0

Conversation

@Eliav2

@Eliav2 Eliav2 commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Bumps the version field and turns the Unreleased changelog section into 2.2.0.

Merging this publishes. publish.yml keys off the version field: 2.2.0 is not on npm, so unlike #217 this run will actually npm publish (with provenance) and cut the v2.2.0 GitHub release.

Contents

Everything merged since 2.1.0, from #216 and #217.

New

Fixed

  • the published type declarations now compile under React 19. React 19 removed the global JSX namespace and stopped exporting ReactSVG, both of which index.d.ts referenced, so anyone on @types/react 19 without skipLibCheck could not build against this package. Every runtime code path already worked on 19.
  • a custom headShape/tailShape with no svgElem rendered the literal text "path" instead of an arrowhead, and parsing wrote its defaults into the object it was handed.
  • dashness={{ strokeLen: n }} rendered stroke-dasharray="n undefined".

Internal

  • strict: true is now real — noImplicitAny and strictNullChecks were both disabled underneath it; 68 errors to zero.
  • the published .d.ts no longer contains any.
  • CI type-tests the emitted declarations against both supported @types/react majors, with skipLibCheck off.

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

    • Added a new prop in the 2.2.0 release.
    • Published type declarations now compile with React 19.
  • Documentation

    • Updated the changelog with 2.2.0 release details.
  • Chores

    • Bumped the package version to 2.2.0.
    • No breaking changes included.

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>
@codesandbox

codesandbox Bot commented Aug 28, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@netlify

netlify Bot commented Aug 28, 2026

Copy link
Copy Markdown

Deploy Preview for react-xarrows ready!

Name Link
🔨 Latest commit 5cfce94
🔍 Latest deploy log https://app.netlify.com/projects/react-xarrows/deploys/6a91de6f403f500008b504bb
😎 Deploy Preview https://deploy-preview-218--react-xarrows.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 767a8b24-451d-4948-8846-4d88f6f0b28f

📥 Commits

Reviewing files that changed from the base of the PR and between 9daf030 and 5cfce94.

📒 Files selected for processing (2)
  • CHANGELOG.md
  • package.json

Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review.


📝 Walkthrough

Walkthrough

The 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.

Changes

2.2.0 release metadata

Layer / File(s) Summary
Version and changelog update
package.json, CHANGELOG.md
The package version is set to 2.2.0. The changelog documents the release contents and compatibility statement.

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

Merge Risk: 🔵 Low · up to 5cfce

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)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR documents the new gridRadius prop for issue #43, but the provided changes only update CHANGELOG.md and package.json. They do not show code that implements rounded corners for `path="grid"… Include or reference the implementation of gridRadius for path="grid" arrows in this PR, or remove issue #43 from the linked objectives if the implementation was completed elsewhere.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the primary change: releasing version 2.2.0.
Out of Scope Changes check ✅ Passed The changes update the package version and release notes. These changes match the stated 2.2.0 release objective. No unrelated changes are shown.
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…
Full details: Linked Issues check

Explanation

The PR documents the new gridRadius prop for issue #43, but the provided changes only update CHANGELOG.md and package.json. They do not show code that implements rounded corners for path="grid" arrows.

Full details: Docstring Coverage

Explanation

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.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/2.2.0

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.

@Eliav2
Eliav2 merged commit 4e11b12 into main Aug 28, 2026
6 checks passed
@Eliav2
Eliav2 deleted the release/2.2.0 branch August 28, 2026 19:20
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.

Rounded corners on grid arrow

1 participant