Skip to content

Releases: PerfectlyNormal/TypeContractor

v0.9.1

07 Jan 15:03
Compare
Choose a tag to compare

Added

  • Add default map from System.Object to any

Fixed

  • Fix writing dictionaries with custom types as values wrapped inside lists.
    E.g. converting Dictionary<Guid, IEnumerable<FormulaDto>> to
    { [key: string]: FormulaDto[] }
  • Fix writing dictionaries wrapped inside other dictionaries, e.g. making sure
    Dictionary<Guid, Dictionary<string, IEnumerable<FormulaDto>>> correctly
    translates to { [key: string]: { [key: string]: FormulaDto[] } }.

Full Changelog: v0.9.0...v0.9.1

v0.9.0

05 Jan 19:13
Compare
Choose a tag to compare

Added

  • Tool and library built using .NET8 (#14)
  • Add --dotnet-version option to set the dotnet version used for finding
    framework DLLs. Defaults to 8.

Changed

  • Update xunit to v2.6.5

v0.8.1

24 Dec 09:24
Compare
Choose a tag to compare

Fixed

  • Add default maps from System.Double to number and System.TimeSpan to string (#19)

Changed

  • Improve error logging if a type fails to convert (#20)
  • Update xunit to v2.6.4
  • Update xunit.runner.visualstudio to v2.5.6
  • Update xunit.analyzers to v1.8.0

v0.8.0

24 Dec 09:23
Compare
Choose a tag to compare

Added

  • Tool exits with code 0 when everything is okay and 1 when something has gone wrong

Fixed

  • Log an error and continue when we fail to convert a file

Changed

  • Enable Dependabot version updates
  • Update xunit to v2.6.2
  • Update xunit.runner.visualstudio to v2.5.4
  • Update xunit.analyzers to v1.6.0
  • Fix compiler warnings

v0.7.0

17 Sep 10:59
Compare
Choose a tag to compare

Added

  • Add support for readonly output properties (#1)

Fixed

  • Properly handle IEnumerable<T> as values in a Dictionary (#2)

Full Changelog: v0.6.0...v0.7.0

v0.6.0

04 Sep 05:13
Compare
Choose a tag to compare

Added

  • Add smart cleanup to help file-watching tools not freak out when
    everything changes at once.
  • Add a ILog inside TypeContractor to simplify adding debug information

Removed

  • Remove the MSBuild-based tool, to focus on the dotnet-tool instead.

Full Changelog: v0.5.1...v0.6.0