Releases: amis92/RecordGenerator
Releases · amis92/RecordGenerator
Update to CodeGeneration.Roslyn v0.7
https://www.nuget.org/packages/Amadevus.RecordGenerator/0.6.0
Changed
- Update dependency:
CodeGeneration.Roslyn
v0.7.63; this drops the requirement for
dotnet-codegen
DotNetCliToolReference
- now you only needPackageReference
to
Amadevus.RecordGenerator
! (#127)
v0.5.0
https://www.nuget.org/packages/Amadevus.RecordGenerator/0.5.0
Highlights
Changed
- Parameters of generated record methods use camel-casing, as opposed to
Pascal-casing previously, to align with naming conventions in .NET. - The name of the parameter to
With*
methods now always readsvalue
as opposed to being named after the property verbatim. RecordAttribute
is now inAmadevus.RecordGenerator
namespace (previously in global/no namespace)
Added
struct
definitions now supportedObject.ToString
override for recordsGeneratedCodeAttribute
is added to generated non-type members (methods, properties)Features
flags enum in Attributes package for requesting specific feature set generation- Equality feature behind
Features.Equality
flag.object.Equals(object)
,object.GetHashCode()
overridesIEquatable<TRecord>
,operator ==/!=
implementations
v0.5.0-preview.1
v0.5.0-beta.3
Diff: v0.4.1...v0.5.0-beta.3