Releases: vojtechhabarta/typescript-generator
v2.30.840
- Parameter
primitivePropertiesRequired
for marking all properties of primitive type as required (#632) - Allow to manually add NPM
dependencies
,devDependencies
andpeerDependencies
(#633, #634) - Custom type mapping of
byte[]
(and other arrays of primitive types) (#462, #636) - Refactoring: getting type names for tagged unions directly from Jackson2 (#635)
- Module dependencies: allow "global modules" (#597 (comment))
- Updated dependencies
Thanks for contribution/feedback: @kk-zu, @jjoslet, @panchenko, @danielkaneider, @achimmihca
v2.29.814
- Improved support for
@Deprecated
annotation -since
andforRemoval
elements (#610) - Support for decorators used on parameters and methods (#615)
- Parameter npmTypescriptVersion (#619)
- AxiosClientExtension: updated axios version to 0.21.1 (#620)
- Parameter disableTaggedUnionAnnotations (#613)
- Parameter scanningAcceptedPackages (#330)
- Removed Gradle 3 support, preparation for Gradle 7 (#469)
- Updated dependencies
- Updated build plugins
Thanks for contribution/feedback: @SButterfly, @UsernameIsReallyNotAlreadyTaken, @agaengel, @robertgartman, @antch, @hirakida, @olegshtch
v2.28.785
-
Spring
MultiValueMap
used as request parameter (#577) -
Tagged unions generated for EXISTING_PROPERTY discriminant (#582)
-
Enum member casing (PascalCase, camelCase) (#587)
-
Support for
@JsonCreator
used on constructors and factory methods (#599) -
Support for
@Deprecated
, other JSDoc improvements (#603) -
Extensions: support for default values of class properties (#578)
-
Extensions: sorting bean properties at an earlier stage (#600)
-
Updated dependencies
Thanks for contribution/feedback: @mirza-ha, @croser, @jrparish, @wdroste, @mduft, @kevincmanning, @SButterfly
v2.27.744
-
Read-only and write-only properties (Jackson2, JSDoc tags) (#579)
-
Resolving subclasses of generic "known" classes (like Map) (#556)
-
Javadoc: using field's javadoc as a default when no javadoc is found on getter/setter (#552)
-
Support for
excludePropertyAnnotations
when usinggson
library (#569, #570) -
Updated dependencies
Thanks for contribution/feedback: @cbrethes, @milosonator, @robin-xyzt-ai
v2.26.723 Data libraries
- Support for data libraries (guava, joda, vavr) (#545)
- Parameter
skip
in Maven plugin (#533) - Sort property assignments in constructors (#541)
- Updated dependencies
- Updated build plugins
Thanks for contribution/feedback: @nurkiewicz, @headphonejack, @sadraskol, @jpstratman
v2.25.695
-
Incompatible changes:
-
Spring: support for query parameters grouped into object using
@ModelAttribute
(#495) -
Jackson2: mappings for serializers and deserializers used on properties (
serializerTypeMappings
anddeserializerTypeMappings
parameters) (#498) -
REST: distinguishing URLs with and without trailing slash (for example
controller
vscontroller/
) (#501) -
Using Dependabot to keep dependencies up to date (#503)
-
Updated dependencies
-
Updated build plugins
Thanks for contribution/feedback: @kpolszewski, @michaelzangl, @andrewbents, @blutorange, @AMilassin, @sullis
v2.24.612
- Prefixing REST path parameter name when it is TypeScript reserved word (#481)
- JSON-B: optionality, nullability, constructors and other improvements (#483, #484, #487)
- Jackson 2: support for
registerSubtype
which specifies discriminant property value (#485, #486) - Removed wrongly generated constructors in TypeScript interfaces (fixed also
JsonDeserializationExtension
) (#489, #490) - Spring REST controller detection using
@Component
annotation (includes@RestController
,@Controller
,@Service
etc.) (#488)
Thanks for contribution/feedback: @stuarthendren, @rmannibucau, @clamothe, @manstis, @raman-savitski
v2.23.603
- JSON-B: processing also referenced types (#476)
- Nashorn JavaScript engine (now deprecated) replaced with Graal.js engine (JavaScript engine is used for
customTypeNamingFunction
parameter) - Axios updated to 0.19.2, version made configurable (#479)
- Gradle: scope of dependencies set to
provided
to prevent propagation (#478)
Thanks for contribution/feedback: @rmannibucau, @agaengel, @bennofs
v2.22.595
- JSON-B support (#465)
- Updated dependencies: Jackson2 to
2.10.3
, Spring to2.2.6.RELEASE
(#468) - Updated
sample-gradle
module
Thanks for contribution/feedback: @rmannibucau, @kpolszewski
v2.21.588
- Parameter
tsNoCheck
which adds@ts-nocheck
comment (#429) - Reading annotations using Jackson method (annotations on private fields) (#440)
- Better handling of tagged unions in dependent modules
- Parameter
requiredAnnotations
- marked properties are required, otherwise optional (#443)
Thanks for contribution/feedback: @jdussouillez, @kucharzyk, @dkowis, @Q-Man, @danielkaneider