Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 3.79 KB

CHANGELOG.md

File metadata and controls

58 lines (42 loc) · 3.79 KB

Change log

Represents the NuGet versions.

v2.2.4

  • Fixed: AddParameter now correctly accepts a value of any type; not just limited to string values.

v2.2.3

v2.2.2

  • Fixed: Corrected the YAML to JSON conversion for long vs string values.

v2.2.1

  • Fixed: All dependencies updated to the latest version.

v2.2.0

  • Enhancement: Added ConeGenerator.OnConfigurationLoad to enable validation and/or mutation of the configuration (JsonNode) before deserialization into the corresponding ConfigBase type.

v2.1.0

  • Enhancement: Added CodeGenerator.LoadConfigAsync to enable the loading of the configuration without having to execute the code generation. This is useful when needing to either further validate the configuration prior to execution, or be able to query the configuration without initiating the code generation.
  • Fixed: All dependencies updated to the latest version.

v2.0.0

  • Enhancement: Breaking change - underlying JSON serialization has been changed from Newtonsoft.Json to System.Text.Json, with new Utility.JsonSerializer encapsulating logic to enable. The following steps are required to migrate existing usage:
    • Rename all attribute references from JsonProperty to JsonPropertyName.
    • Remove all attribute references to [JsonObject(MemberSerialization = MemberSerialization.OptIn)]; opt-in is the default behavior when leveraging the CodeGenClassAttribute attribute.
  • Fixed: All dependencies updated to the latest version.

v1.0.8

  • Fixed: Added comparison context where reporting a file update as a result of using ExpectNoChanges.

v1.0.7

  • Fixed: CodeGenerator now supports inheritance as intended; new CreateAsync<TCodeGenerator> added to enable.
  • Fixed: The CodeGeneratorArgsBase.ConfigFileName per script IRootConfig instance included within CodeGenStatistics per script item execution to enable access from CodeGenerator.

v1.0.6

  • Enhancement: Added new set-value function to allow a variable to be updated from the template when executed.
  • Enhancement: Added new add-value function to allow a variable to be added to from the template when executed.

v1.0.5

  • Enhancement: Changed the project to be .NET Standard 2.1 versus targeting specific framework version. This has had the side-effect of losing the ability to execute directly from the command-line. Given this should typically be inherited and then executed, this functionality loss is considered a minor inconvenience.

v1.0.4

  • Issue 12: Added CodeGenPropertyAttribute.IsUnique to enable configurable property value uniqueness validation checking.

v1.0.3

  • Republish: Version updated and republished NuGet to correct issue.

V1.0.2

  • Removed: Database and related capabilities have been removed; these capabilities now reside in DbEx.
  • New: The database connection capabilities within ICodeGeneratorArgs have been moved into a new ICodeGeneratorDbArgs to enable this base functionality to be leveraged without the other properties.
  • Enhancement: The RuntimeParameters have been changed from IDictionary<string, string?> to IDictionary<string, object?> to improve flexibility.
  • Enhancement: The code-generation has been updated to support async.
  • Enhancement: The CodeGenConsoleBase has been removed and functionality moved into CodeGenConsole.

v1.0.1

  • New: Initial publish to GitHub/NuGet. This was originally harvested from, and will replace, the core code-generation within Beef.