Skip to content

Releases: vojtechhabarta/typescript-generator

v2.20.583

14 Feb 17:45
Compare
Choose a tag to compare
  • Fix for transformation of nullable types (#453)
  • Constructors with "named parameters" (#451)

Thanks for contribution/feedback: @jgerlier

Download from Maven Central Repository.

v2.19.577

13 Jan 23:24
Compare
Choose a tag to compare
  • Fix for StackOverflowError caused by Kotlin class with "recursive" type parameter (#448, #419)

Thanks for contribution/feedback: @RobbinBaauw

Download from Maven Central Repository.

v2.19.575 Nullability in Kotlin and Java

11 Jan 18:54
Compare
Choose a tag to compare
  • Nullability in Kotlin and Java (#448)
  • Jackson "shapes" of Map.Entry used in Lists etc. (#436)
  • Decorators model and emit (#312)
  • Improvements in Spring support (#438)
  • Fixed IndexOutOfBoundsException in custom type mapping (#439)
  • Support for required @RequestParam in Spring (#441)
  • Setting inputs property of generateTypeScript Gradle task (#393)

Thanks for contribution/feedback: @RobbinBaauw, @beleta, @AMilassin, @olegshtch

Download from Maven Central Repository.

v2.18.565

28 Oct 09:27
Compare
Choose a tag to compare
  • Maps with enum keys - generating Mapped types like { [P in SomeEnum]?: SomeValue } (#421)
  • Spring updated to 2.1.9.RELEASE (#346)
  • Javadoc comments for REST methods (#423)
  • Fix generic tagged unions with non-generic constituents (#428)

Thanks for contribution/feedback: @RobbinBaauw, @Q-Man, @jdussouillez

Download from Maven Central Repository.

v2.17.558 - More generics

18 Sep 18:46
Compare
Choose a tag to compare
  • Resolving generic parameters in derived classes (#380)
  • JAX-RS: resolving generic types in resources (#219)
  • Tagged unions with generic parameters (#383, #414)
  • Allow regular TypeSript types as type arguments in customTypeMappings parameter (#384)
  • Gson: support for @SerializedName (#407)
  • PropertyPolymorphismExtension - useful mainly in combination with Gson (#397, #408)
  • Add --typeRoots to default build script in package.json (#401)
  • Gradle: do not depend on compileTest* tasks with test classes (#399)
  • Support for "optional" annotations with TYPE_USE target (e.g. @Nullable from Checker Framework) (#412)
  • List of enum values in enum Javadoc (#400)
  • Updated Checkstyle (#405)

Thanks for contribution/feedback: @jjoslet, @olegshtch, @danielkaneider, @ruediste, @Mobe91, @hacker-cb, @RobbinBaauw, @RelikDream, @domschmidt

Download from Maven Central Repository.

v2.16.538

30 Jul 10:15
Compare
Choose a tag to compare
  • Fix for java.lang.Enum in Jackson2Parser (#374)

  • Do not handle generic classes as tagged unions (#383)

  • OnePossiblePropertyValueAssigningExtension extension (#388)

  • Parameter for disabling @JsonIdentityInfo processing (#381)

  • RequiredPropertyConstructorExtension - optional constructor parameters as last (#395, #396)

  • Incompatible changes:

    • Detecting duplicate property from Jackson @JsonTypeInfo annotation - tagged unions are not generated for such classes (#392)
    • New syntax for generic classes in customTypeMappings parameter (#384, #358)
    • AxiosClientExtension updated to axios 0.19.0 (#379)

Thanks for contribution/feedback: @luislode, @H3llK33p3r, @bjorsa, @RelikDream, @krzs, @dmitryDemchenko, @mikeporterdev, @nivertius

Download from Maven Central Repository.

v2.15.527

13 Jun 07:59
Compare
Choose a tag to compare
  • Spring: fix for ResponseEntity return types (#369, #370)

Thanks for contribution/feedback: @pumpkinlink, @svpace

Download from Maven Central Repository.

v2.15.526

12 Jun 10:46
Compare
Choose a tag to compare
  • JAX-RS: support for {, } quantifiers in @Path regexp (#344)
  • Spring: handling annotation aliases using AnnotationUtils.findAnnotation (#343)
  • Fix for NullPointerException when superclass is mapped to primitive type (#348, #349)
  • Referencing improved "Type Mapping" Wiki page (#353)
  • Settings.customTypeNamingFunctionImpl Java parameter (same as customTypeNamingFunction configuration parameter) (#359, #364)
  • Work started: GSON support (#365)
  • Spring: when @RequestParam name is not defined, fallback to method parameter name (#367)
  • Spring: generic types and Pageable (#369)
  • customTypeAliases parameter (description: customTypeAliases)

Thanks for contribution/feedback: @iriikoad, @H3llK33p3r, @Yona-Appletree, @peterklijn, @ruediste, @svpace

Download from Maven Central Repository.

v2.14.505

02 May 22:19
Compare
Choose a tag to compare
  • /* eslint-disable */ directive for disabling ESLint (#325)
  • Improved @JsonIdentityReference and @JsonIdentityInfo handling (#329)
  • Catching error thrown when determining enum value (#327)
  • Parameter classesExtendingClasses for classpath scanning (#328, #331)
  • Faster classpath scanning (#330)
  • JAX-RS @BeanParam support (#318)
  • Improvements in extension generating constructors (#336, #337, #339)
  • Gradle: dependencies from compileClasspath configuration (#295, #326, #334)

Thanks for contribution/feedback: @slavikdenis, @panzerj, @antch, @nivertius, @milosonator, @mduft, @baao, @rinami

Download from Maven Central Repository.

v2.13.489 Spring (framework, season)

03 Apr 08:54
Compare
Choose a tag to compare
  • Spring Framework support, refactoring (#253)

  • New options for optional property declarations (#311)

  • Javadoc: replacing <br>, <br/>, <br />, <p> and </p> with double line break (#309, #320)

  • Improved support for Jackson object IDs (#316)

    • Lists and Maps
    • @JsonIdentityInfo and JsonIdentityReference used on property (in addition to class)
  • Support for @JsonClassDescription and @JsonPropertyDescription annotations (#319)

  • Extension for generating constructors with required properties (#324, #323)

  • Incompatible changes:

    • Refactoring needed for Spring support breaks typescript-generator usage from Java (it should not break usage from Maven and Gradle)

Thanks for contribution/feedback: @rhandersen, @pumpkinlink, @panzerj, @jjoslet, @nivertius

Download from Maven Central Repository.