Skip to content

Component modernization#1

Merged
Zettersten merged 9 commits intomainfrom
feature/component-modernization-5872
Jan 12, 2026
Merged

Component modernization#1
Zettersten merged 9 commits intomainfrom
feature/component-modernization-5872

Conversation

@Zettersten
Copy link
Owner

Upgrade project to .NET 10, enhance correctness, reduce allocations, and improve CI/CD and documentation.

This PR addresses several key areas:

  • Correctness: ICanvas.ToDataUrl() now returns a true data URL, async void interop calls are replaced with Task/ValueTask, and DotNetObjectReference instances are properly disposed.
  • Performance: JS interop hot paths are optimized to reduce array allocations per call and improve batch processing efficiency.
  • Modernization: The project and its samples are upgraded to .NET 10, along with NuGet packages and local tooling.
  • Quality: New CI workflows are added for automated builds and tests, and initial unit tests are introduced.
  • Documentation: The README.md is updated to reflect API changes, and a CHANGELOG.md is added.

Open in Cursor Open in Web

cursoragent and others added 8 commits January 12, 2026 14:03
…sts.

Co-authored-by: erik <erik@zettersten.com>
Co-authored-by: erik <erik@zettersten.com>
…tting.

Co-authored-by: erik <erik@zettersten.com>
…tency

Co-authored-by: erik <erik@zettersten.com>
@Zettersten Zettersten marked this pull request as ready for review January 12, 2026 20:45
Co-authored-by: erik <erik@zettersten.com>
@Zettersten Zettersten merged commit 33d7c79 into main Jan 12, 2026
3 checks passed
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.

2 participants