Skip to content

Releases: vojtechhabarta/typescript-generator

v2.30.840

13 Mar 17:57
Compare
Choose a tag to compare
  • Parameter primitivePropertiesRequired for marking all properties of primitive type as required (#632)
  • Allow to manually add NPM dependencies, devDependencies and peerDependencies (#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

Download from Maven Central Repository.

v2.29.814

02 Feb 18:22
Compare
Choose a tag to compare

Thanks for contribution/feedback: @SButterfly, @UsernameIsReallyNotAlreadyTaken, @agaengel, @robertgartman, @antch, @hirakida, @olegshtch

Download from Maven Central Repository.

v2.28.785

02 Jan 11:45
Compare
Choose a tag to compare
  • 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

Download from Maven Central Repository.

v2.27.744

17 Nov 14:04
Compare
Choose a tag to compare
  • 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 using gson library (#569, #570)

  • Updated dependencies

Thanks for contribution/feedback: @cbrethes, @milosonator, @robin-xyzt-ai

Download from Maven Central Repository.

v2.26.723 Data libraries

29 Sep 20:07
Compare
Choose a tag to compare
  • 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

Download from Maven Central Repository.

v2.25.695

05 Aug 08:23
Compare
Choose a tag to compare
  • Incompatible changes:

    • Jackson2 tagged unions: including root class of hierarchy in union (#497)
    • Gson: excluding static fields by default, added parameter excludeFieldsWithModifiers (#496)
  • Spring: support for query parameters grouped into object using @ModelAttribute (#495)

  • Jackson2: mappings for serializers and deserializers used on properties (serializerTypeMappings and deserializerTypeMappings parameters) (#498)

  • REST: distinguishing URLs with and without trailing slash (for example controller vs controller/) (#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

Download from Maven Central Repository.

v2.24.612

12 Jun 15:15
Compare
Choose a tag to compare
  • 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

Download from Maven Central Repository.

v2.23.603

14 May 21:13
Compare
Choose a tag to compare
  • 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

Download from Maven Central Repository.

v2.22.595

13 Apr 10:25
Compare
Choose a tag to compare
  • JSON-B support (#465)
  • Updated dependencies: Jackson2 to 2.10.3, Spring to 2.2.6.RELEASE (#468)
  • Updated sample-gradle module

Thanks for contribution/feedback: @rmannibucau, @kpolszewski

Download from Maven Central Repository.

v2.21.588

22 Mar 16:40
Compare
Choose a tag to compare
  • 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

Download from Maven Central Repository.