Skip to content

Hlibz family standard: 2.0.0 on net10.0/net11.0 - #4

Merged
hlib-zinchenko merged 1 commit into
mainfrom
family-standard
Nov 13, 2026
Merged

hlib-zinchenko merged 1 commit into
mainfrom
family-standard

Conversation

@hlib-zinchenko

Copy link
Copy Markdown
Owner

Why

This brings the repo in line with the rest of the Hlibz packages: .NET 10 and 11 only, the shared analyzers, a pinned SDK, package validation, and a short README of its own for nuget.org. .NET 8 and 9 reached end of support on 10 Nov 2026.

Breaking

  • Drops net8.0 and net9.0 (EF Core 8 and 9). 1.1.0 remains the version for them, and the README says so.
  • Nothing else in the public API changes.

What changes

  • Targets: net10.0;net11.0.
    • The net8.0/net9.0 package versions are gone, along with Pomelo and the MySqlConnector pin.
    • Every NET8/9/10 #if is resolved.
  • Analyzers:
    • StyleCop, Sonar and AnalysisMode=All with warnings as errors, LangVersion 14, and the shared .editorconfig.
    • Library findings are fixed in code: docs on internal members, long messages moved into locals, the two records moved into their own files, member order, a regex timeout, renamed helpers that shadowed other names.
    • Two findings are suppressed with a reason:
      • CA1032: the exception always carries its violations.
      • CA2217: NamingScope.All = ~None is deliberate.
    • Tests and the sample turn off a few rules in their own .editorconfig sections, and the sample's migration is marked as generated code.
  • Packaging:
    • The shared metadata and Version 2.0.0 are in Directory.Build.props.
    • src/Directory.Build.props packs src/Hlibz.EntityFrameworkCore.ModelRules/README.md and the icon, and turns on package validation.
  • SDK: global.json pins 11.0.100 (latestPatch), and Dependabot gets a dotnet-sdk entry. CI sets up .NET from global.json plus the .NET 10 runtime.
  • Release:
    • The workflow builds once at the tag's version, tests those binaries, and packs them with --no-build.
    • CLAUDE.md's Releasing section: Claude creates the GitHub release after NuGet publishes.
  • Docs:
    • A new package README of 62 lines, with absolute links only.
    • The root README: badges at the top, new Limitations and Samples sections, and Versioning now covers tags, EF Core minimums and the dropped targets.
    • CLAUDE.md is updated to match.

Verified locally

  • The Release build has 0 warnings and 0 errors.
  • 329 unit tests pass: 163 on net10.0 and 166 on net11.0.
  • The integration tests pass against Docker: 28 passed, and 3 skipped by design (Oracle MySQL can't create JSON tables).
  • The pack passes package validation. The nupkg holds lib/net10.0, lib/net11.0, the package README and the icon. Its dependencies are EF Core Relational 10.0.12 and 11.0.0.
  • The sample still passes every rule.

🤖 Generated with Claude Code

…yzers, package README

Breaking: drops net8.0 and net9.0 (EF Core 8 and 9); 1.1.0 remains the version for them. The
public API is otherwise unchanged.

- StyleCop, Sonar and AnalysisMode=All with warnings as errors, LangVersion 14, the family
  .editorconfig; analyzer findings fixed in code, with tests and the sample relaxing a few rules
- Shared NuGet metadata and Version 2.0.0 in Directory.Build.props; src/Directory.Build.props
  packs the package's own README and the icon, with package validation on
- SDK pinned in global.json (11.0.100, latestPatch) with Dependabot dotnet-sdk updates; CI sets
  up .NET from global.json plus the .NET 10 runtime
- Release workflow builds once at the tag's version and packs those binaries with --no-build;
  CLAUDE.md's Releasing section has Claude create the GitHub release after NuGet publishes
- New package README; root README gains Limitations and Samples sections and an expanded
  Versioning section
- .gitignore: .claude/ and TestResults/

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hlib-zinchenko
hlib-zinchenko merged commit 9718f5c into main Nov 13, 2026
2 checks passed
@hlib-zinchenko
hlib-zinchenko deleted the family-standard branch November 13, 2026 11:54
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