Skip to content

Releases: vojtechhabarta/typescript-generator

v2.2.413

19 Apr 18:51
Compare
Choose a tag to compare
  • Expand @JsonValue scenarios for enums (#226)
  • Use @ApiModelProperty attribute dataType to override target type (#227, #228)

Thanks for contribution/feedback: @mike-plummer, @littleli

Download from Maven Central Repository.

v2.1.410

06 Apr 21:42
Compare
Choose a tag to compare
  • Fix for generic parameter in method declaration (#224)
  • Disable tslint using /* tslint:disable */ (#223)

Thanks for contribution/feedback: @krezovic

Download from Maven Central Repository.

v2.1.406

02 Feb 14:07
Compare
Choose a tag to compare
  • Generate tsc --target es5 --lib es6 in package.json (#208)
  • JAX-RS Application classloader set as context classloader (#214)

Thanks for contribution/feedback: @stoetti, @fhoy

Download from Maven Central Repository.

v2.0.400 - Version 2 for Java 8 and 9

07 Jan 16:40
Compare
Choose a tag to compare
  • Upgrade to Java 8 and 9 (#186)
  • No new features
  • Incompatible changes:
    • Gradle plugin (typescript-generator-gradle-plugin) no longer adds dependency on generateTypeScript task, users had to add dependency from some task in their build files if needed (#161)

Thanks for contribution/feedback: @r89m, @jechlin, @jtoplak, @t0bst4r, @sparqueur

Download from Maven Central Repository.

v1.30.385

31 Dec 13:44
d25f068
Compare
Choose a tag to compare
  • Gradle: adding output directory of all compile* tasks to classpath (#205)

Thanks for contribution/feedback: @jechlin

Download from Maven Central Repository.

v1.30.383

20 Dec 11:03
Compare
Choose a tag to compare
  • Fixed npmName and npmVersion parameters in Gradle plugin (#200)
  • Fixed reading annotations marking optional properties (#202)

Thanks for contribution/feedback: @szymonbultrowicz, @niels1voo

Download from Maven Central Repository.

v1.30.381 - JSON deserialization into classes

06 Dec 13:44
Compare
Choose a tag to compare
  • JsonDeserializationExtension which generates "copy" methods for JSON data deserialization into instances of TypeScript classes, for detailed description see JSON Deserialization Wiki page (#188, #168)
  • Generating mix of TypeScript classes and interfaces from Java classes using mapClassesAsClassesPatterns configuration parameter (Java interfaces are always mapped to TypeScript interfaces), see Configuration parameters for description
  • ClassEnumExtension which transforms enum-like Java classes to enums (#194)
  • Respect outputs for compileGroovy tasks (#198)
  • Incompatible changes:
    • TypeScript 2.4 is now required by JAX-RS application client

Thanks for contribution/feedback: @emmanueltouzery, @jtoplak, @jechlin

Download from Maven Central Repository.

v1.29.366

25 Oct 06:51
Compare
Choose a tag to compare
  • Allow indent string to be customised in maven/gradle (#185)
  • Support for @JsonTypeInfo(use=Id.CLASS) (#189)

Thanks for contribution/feedback: @JamesGuthrie, @Q-Man

Download from Maven Central Repository.

v1.29.355 - Optional properties using Jackson2

02 Oct 21:25
Compare
Choose a tag to compare
  • Optional properties using Jackson2 (#183)
    • allows to use @JsonProperty(required=true), @XmlElement(required=true) or Kotlin nullable types
  • JAXBElement<T> mapped to T (#175)
  • Empty Jackson2 @JsonTypeName handled correctly (#172, #178)
  • Discriminator properties now work with generic interfaces (#181, #182)
  • Incompatible changes:
    • Jackson2 modules are not automatically loaded - see #183 for details
    • deprecated declarePropertiesAsOptional - see #183 for details

Thanks for contribution/feedback: @Yona-Appletree, @sanja224

Download from Maven Central Repository.

v1.28.343

05 Sep 22:29
Compare
Choose a tag to compare
  • Java Optional<T> properties marked optional in TS (#159)
  • Support for java.time date types (refs #159)
  • Incompatible change: removed support for org.joda.time - see #127 for details

Thanks for contribution/feedback: @mohamnag

Download from Maven Central Repository.