-
Notifications
You must be signed in to change notification settings - Fork 250
Breaking Changes
Vojtěch Habarta edited this page Aug 5, 2020
·
9 revisions
For all changes see release notes on Releases page.
- Jackson2 tagged unions: including root class of hierarchy in union #497
- make root class
abstractif you don't want discriminant value for this class to be included in union
- make root class
- Gson: excluding static fields by default #496
- use
excludeFieldsWithModifiersparameter if you want to includestaticfields
- use
- Tagged unions are not generated for classes with duplicate property from Jackson
@JsonTypeInfoannotation (#392) - New syntax for generic classes in
customTypeMappingsparameter (#384) -
AxiosClientExtensionupdated to axios 0.19.0 (#379)
- Refactoring needed for Spring support breaks typescript-generator usage from Java (it should not break usage from Maven and Gradle)
- Custom type mapping with generics broke mapping of generic classes to non-generic types like
string
- When overriding property type using
@ApiModelProperty.dataTypeannotation now@ApiModelProperty.requiredis used for determining property optionality. This means that now such properties are optional by default because default value ofrequiredisfalse.
- Java 8 or higher is required
- Gradle plugin (typescript-generator-gradle-plugin) no longer adds dependency on
generateTypeScripttask so users had to add dependency from some task in their build files if needed, for examplebuild.dependsOn generateTypeScriptruns typescript-generator whenbuildtask is invoked (#161)
- TypeScript 2.4 is required by JAX-RS application client
- Deprecated
declarePropertiesAsOptionalparameter. It is replaced byoptionalPropertiesparameter with valueall. See #183. - Jackson2 modules are not discovered and loaded now. This can be turned on explicitly using
jackson2ModuleDiscoveryparameter or modules can be specified individually usingjackson2Modulesparameter. ParameterdisableJackson2ModuleDiscoverywas effectively removed. See "Jackson2 modules" section in #183.
This page describes breaking changes after version 1.28.343. For older changes see Releases.