Skip to content

Release 2.0.0: .NET Standard migration and production hardening - #7

Merged
timothymugayi merged 2 commits into
masterfrom
release/2.0.0
Aug 26, 2026
Merged

Release 2.0.0: .NET Standard migration and production hardening#7
timothymugayi merged 2 commits into
masterfrom
release/2.0.0

Conversation

@timothymugayi

Copy link
Copy Markdown
Owner

Summary

  • Retarget the library to .NET Standard 2.0 (SDK-style) so it builds on modern .NET instead of Visual Studio 2013 / .NET Framework 4.5.1.
  • Replace Windows RSA encrypt/decrypt with AES-256-CBC + HMAC-SHA256 and PBKDF2-HMAC-SHA256 (100k iterations); 1.x payloads will not decrypt.
  • Remove CreateParameters (SQL concatenation). Add tests (61 passing, ≥90% line / ≥80% branch), full GPL license, CHANGELOG, SourceLink, and CI pack.

Test plan

  • dotnet test --configuration Release — 61/61 pass; coverlet ~95% line / ~91% branch
  • dotnet pack produces StringExtensionsLibrary.2.0.0.nupkg + .snupkg with README, LICENSE, CHANGELOG
  • CI on this PR: restore, test with coverage gates, pack
  • Spot-check: IsLength("abcd", 2, 6) is true; "masakan".RemoveSuffix("zz") equals "masakan"; "a.a.a".CountOccurrences(".") equals 2
  • Confirm CreateParameters is gone from the public API

Made with Cursor

timothymugayi and others added 2 commits August 26, 2026 22:57
… package.

Retarget off .NET Framework 4.5.1, replace Windows RSA encrypt with AES-256-CBC+HMAC, remove the SQL-concat helper, and add tests, coverage gates, and packaging metadata.

Co-authored-by: Cursor <cursoragent@cursor.com>
Tests and coverlet gates already track method coverage; a hand-maintained markdown inventory would go stale.

Co-authored-by: Cursor <cursoragent@cursor.com>
@timothymugayi timothymugayi self-assigned this Aug 26, 2026
@timothymugayi
timothymugayi merged commit a04b490 into master Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant