Skip to content

Latest commit

 

History

History
80 lines (64 loc) · 2.99 KB

Release Notes.md

File metadata and controls

80 lines (64 loc) · 2.99 KB

New in 1.2.1

  • Build with net5.0
  • Update roslyn to a more recent version

New in 1.1.0

  • Make it a dotnet core tool

  • Optimize interned strings equality and GetHashCode.

    This can be dangerous if the type is extended and a new constructor is added that doesn't do interning but the performance gains in access to dictionary and hashtables are worth it.

New in 1.0.0

  • Use FParsec to parse the configuration
  • Use BlackFox.ColoredPrintf instead of an internal solution
  • Implement IComparable
  • Add [DebuggerDisplayAttribute] to the generated types

New in 0.5.4

  • Added color output to the console
  • Display a message on the console when no file is matched and return '-1' as error level. Issue #16

New in 0.5.3

  • Fix 'Check' methods being unusable. Issue #38

New in 0.5.2

  • Lift System.IFormattable

New in 0.5.1

  • Add an option to enable DataContract serialization. Issue #37

New in 0.5.0

  • Predefined types like int are now compared with their operators instead of relying on Equals. Issue #36
  • BUGFIX: Correct code is now generated for != on underlying types that don't have a != operator. Issue #35

New in 0.4.0

  • Static methods Parse and TryParse are lifted.
  • A variant of TryParse returning a nullable instead of using an out parameter is generated if TryParse exists.
  • Types can now be placed in the same file and the default is to place them all in a file named as the .stidgen file but with a .Generated.cs extension. The previous behavior is available by specifying UseNameAsFileName: true.
  • Added a more complete set of unit tests.
  • Multiple files can now be passed to the command line.
  • The command line now support globs like **\*.stidgen.
  • Generated files and types are now shown on the console.
  • BUGFIX: Generic underlying types weren't correctly handled, the name was the FullName of the Type instead of C# code.
  • BUGFIX: Casts to and from nullable were still generated for Nullable underlying resulting in invalid code.
  • BUGFIX: EqualsUnderlying: true generated code for .Equals but didn't generate the == and != operators.

New in 0.3.0

  • Add casts to and from nullable.
  • Add an option to enable protobuf-net serialization.
  • BUGFIX: When a value type was used as underlying compiler warning were present in the generated code.

New in 0.2.0

  • Generated files are now named with .Generated.cs at the end.
  • Generated file now start with a <auto-generated> comment.
  • All methods generated are now marked with GeneratedCodeAttribute.
  • A partial method named "Check" + propertyName is now generated to validate constructor arguments if needed.

New in 0.1.1

  • Remove package dependencies and include all necessary files in the .nupkg.

New in 0.1.0

  • First version