Releases: vojtechhabarta/typescript-generator
v2.20.583
Thanks for contribution/feedback: @jgerlier
v2.19.577
Thanks for contribution/feedback: @RobbinBaauw
v2.19.575 Nullability in Kotlin and Java
- 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 ofgenerateTypeScript
Gradle task (#393)
Thanks for contribution/feedback: @RobbinBaauw, @beleta, @AMilassin, @olegshtch
v2.18.565
- 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
v2.17.558 - More generics
- 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 defaultbuild
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
v2.16.538
-
Fix for
java.lang.Enum
inJackson2Parser
(#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:
Thanks for contribution/feedback: @luislode, @H3llK33p3r, @bjorsa, @RelikDream, @krzs, @dmitryDemchenko, @mikeporterdev, @nivertius
v2.15.527
Thanks for contribution/feedback: @pumpkinlink, @svpace
v2.15.526
- 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 ascustomTypeNamingFunction
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
v2.14.505
/* 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
v2.13.489 Spring (framework, season)
-
Spring Framework support, refactoring (#253)
-
New options for optional property declarations (#311)
- see optionalPropertiesDeclaration parameter for all possibilities
-
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
andJsonIdentityReference
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