Releases: vojtechhabarta/typescript-generator
Releases · vojtechhabarta/typescript-generator
v2.2.413
- Expand @JsonValue scenarios for enums (#226)
- Use
@ApiModelProperty
attributedataType
to override target type (#227, #228)
Thanks for contribution/feedback: @mike-plummer, @littleli
v2.1.410
v2.1.406
v2.0.400 - Version 2 for Java 8 and 9
- 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)
- Gradle plugin (typescript-generator-gradle-plugin) no longer adds dependency on
Thanks for contribution/feedback: @r89m, @jechlin, @jtoplak, @t0bst4r, @sparqueur
v1.30.385
v1.30.383
- Fixed
npmName
andnpmVersion
parameters in Gradle plugin (#200) - Fixed reading annotations marking optional properties (#202)
Thanks for contribution/feedback: @szymonbultrowicz, @niels1voo
v1.30.381 - JSON deserialization into classes
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
v1.29.366
- Allow indent string to be customised in maven/gradle (#185)
- Support for
@JsonTypeInfo(use=Id.CLASS)
(#189)
Thanks for contribution/feedback: @JamesGuthrie, @Q-Man
v1.29.355 - Optional properties using Jackson2
- Optional properties using Jackson2 (#183)
- allows to use
@JsonProperty(required=true)
,@XmlElement(required=true)
or Kotlin nullable types
- allows to use
JAXBElement<T>
mapped toT
(#175)- Empty Jackson2
@JsonTypeName
handled correctly (#172, #178) - Discriminator properties now work with generic interfaces (#181, #182)
- Incompatible changes:
Thanks for contribution/feedback: @Yona-Appletree, @sanja224