Skip to content

Releases: KY-Programming/generator

8.1.0

12 Dec 09:47
Compare
Choose a tag to compare

Angular

  • generate npm package from generated models and services

ASP.NET/Angular

  • handling of unknown results (e.g. object) improved

Common

  • property/field name ASP.NET compatibility mode added
  • overwrittable FollowUp action for commands added
  • generic method support added

TypeScript

  • action to force write of a index.ts added

7.6.0

12 Dec 09:08
Compare
Choose a tag to compare

ASP.NET/Angular

  • handling of unknown results (e.g. object) improved

Common

  • generic method support added

8.0.0

12 Oct 08:52
Compare
Choose a tag to compare

All

  • refactored language, formatting, output and nearly everything ;-) [BREAKING CHANGE for third party modules]

Angular

  • skipSelf renamed to OnlySubTypes [BREAKING CHANGE]
  • generate index.ts files
  • removed obsolete configurations
  • strict moved to TypeScript
  • fix command options
  • types with generic and not generic in parallel fixed
  • service skip empty optional parameters
  • imports fixed
  • absolute route on action fixed
  • version on action fixed
  • fix service inline parameter with leading url

Annotations

  • generate only sub types attribute added
  • obsolete options deleted

ASP.NET

  • removed obsolete configurations
  • order of optional parameters fixed

Core

  • rename to Common

Common

  • options reworked [BREAKING CHANGE]
  • skipSelf renamed to OnlySubTypes [BREAKING CHANGE]
  • SkipHeader renamed to NoHeader [BREAKING CHANGE]
  • first linked templates added
  • possibility to run a action before all commands run added
  • parenthesis template added
  • formatting (space or tabs etc) added
  • class/interface prefix options added
  • file renaming options added
  • cleanup command added
  • statistics added
  • service for license check added
  • formatter support for tools like Prettier added
  • GlobalSettings added
  • removed obsolete configurations
  • old configuration deleted
  • obsolete classes removed
  • output id moved to new environment
  • log message for files without header fixed
  • format model names before other commands runs
  • write one model in multiple different languages fixed
  • self referencing fixed
  • generic type handling fixed
  • fixed using/import to itself
  • file compare before overwrite fixed

Fluent

  • skipSelf renamed to OnlySubTypes [BREAKING CHANGE]
  • additional options
  • formatting options added
  • allow use of Set... methods before read, at read and at write
  • Syntax refactored
    • clearer usage
    • better documentation
    • better misconfiguration handling
  • force overwrite a file added
  • formatter support added
  • rename a member added
  • change return type added
  • documentation improved
  • run each read/write pair completely separated (no shared output or options anymore)

Reflection

  • obsolete command removed
  • without header fixed

Sqlite

  • delete unused files

TypeScript

  • strict added
  • formatting options (tab or spaces etc) added
  • index.ts reader and writer added
  • no index.ts option added
  • types with generic and not generic in parallel fixed
  • some imports fixed
  • generic and non-generic type with same name fixed

7.5.0

10 Aug 13:34
Compare
Choose a tag to compare

Angular

  • custom http client more options
  • use custom http client via fluent
  • prefer interfaces via fluent api
  • import from generic types fixed
  • default values on interfaces fixed

ASP.NET

  • optional parameters from action/route template

Fluent

  • do not generate all code on before build event
  • optional before build code in GeneratorMain added
  • ignore type via SetType added

Reflection

  • read generic types fixed

7.4.0

31 Jul 04:44
Compare
Choose a tag to compare

Angular

  • fluent strict added
  • fluent rename controller added
  • use optional parameters instead of parameters with default value
  • rename properties via service mapping e.g. MyProperty => myProperty via copy in service get
  • inline apiVersion fixed

Core

  • lambda supports now multiple anonymous parameters
  • null-coalescing reworked
  • nullish coalescing assign added

TypeScript

  • strict mode improved

7.3.1

29 Jul 12:41
Compare
Choose a tag to compare

ASP.NET

  • fix SignalR hub generation error

Sqlite

  • fix wrong cased guids

7.3.0

29 Jul 02:51
Compare
Choose a tag to compare

Angular

  • models as interfaces
  • models with optional properties
  • replace parts of model name
  • fix date serialization improved for generic types

ASP.NET

  • http actions from derived controller
  • fix duplicated action names
  • controller/hub read performance increased

Core

  • support list command parameters via multiple parameters with same name
  • support optional fields/properties
  • duplicated type reading improved

Reflection

  • type reading improved

TypeScript

  • fix interfaces with constructor
  • support optional fields

7.2.0

26 Jul 14:05
Compare
Choose a tag to compare

Angular

  • automatically detect strict mode
  • support strict mode
  • strict via GenerateStrict attribute
  • #39 - SignalR HubService crashes when calling disconnect on unconnected connection
  • #40 - Angular - SignalR api service should disconnect after last try to reconnect
  • #41 - Angular - signalr api service needs configurable connect options

Core

  • TypeMapping refactored
  • TypeMapping default value added
  • Attribute namespaces fixed
  • support attributes with more than one parameter
  • generic type handling improved

Csharp

  • use GeneratedCode attribute
  • support attributes with more than one parameter

Reflection

  • support for ICollection added
  • generic type handling improved

Sqlite

  • temporary ignore not mappable columns
  • #42 - Sqlite - Repository get method is missing

TypeScript

  • Optional parameter support added
  • TsConfig reader added
  • support strict mode partially
  • support attributes with more than one parameter

7.1.0

18 Jul 08:32
Compare
Choose a tag to compare

Core

  • Property template with custom setter/getter added

Angular/ASP.NET

  • api version support improved

ASP.NET

  • FromHeaderAttribute support added

7.0.0

13 Jul 04:33
Compare
Choose a tag to compare

Angular

  • new fluent syntax implemented

Annotations

  • Sqlite attributes added

AspDotNet

  • new fluent syntax implemented

Core

  • Using declaration added
  • Verbatim string added
  • Global command parameters start with -* instead of -- [BREAKING CHANGE]
  • Cast as chainable
  • Fluent language assembly parameter fixed
  • async generation of assemblies fixed
  • dependency load fixed

Reflection

  • AttributeCommand renamed to AnnotationCommand

Sqlite

  • added

Json

  • implement fluent syntax
  • Reader replaced with methods at the class

Reflection

  • write model fluent syntax added

Tsql

  • fluent syntax added

Watchdog

  • implement fluent syntax