Skip to content

v3.0.0 - Major Refactoring Release

Choose a tag to compare

@ANcpLua ANcpLua released this 25 Jan 19:16
· 312 commits to main since this release

What's Changed

馃悰 Fixed

Critical: Package Installation Issue

  • Removed developmentDependency=true from .nuspec to prevent NuGet from adding PrivateAssets=all automatically
  • Added MSBuild target that ensures ErrorOrX runtime flows to consuming projects
  • Users no longer need to manually edit .csproj after installing ErrorOrX.Generators

馃敡 Refactoring

  • Consolidated type unwrapping logic: Unified duplicate UnwrapNullableType implementations
  • Consolidated route parameter lookup: Merged BuildMethodParamsByRouteName and BuildRouteMethodParameterLookup
  • Decomposed EmitInvoker method: Split 95-line method into focused single-responsibility methods
  • Removed Match API dependency: Generated code now uses minimal ErrorOr<T> interface (IsError/Errors/Value)

馃Ч Maintenance

  • Test analyzer cleanups: Sealed test helper records, added shared Unreachable helper
  • Fixed ModuleInitializer.cs: Added missing using VerifyTests; directive
  • Removed unnecessary reflection: Simplified EquatableArrayJsonConverter
  • Fixed README links: Documentation links now point to GitHub URLs

馃摝 Packages

Installation

dotnet add package ErrorOrX.Generators --version 3.0.0

No manual .csproj editing required! The ErrorOrX runtime will now automatically flow to your project.

Full Changelog: v2.6.3...v3.0.0