Skip to content

Latest commit

 

History

History
137 lines (96 loc) · 4.33 KB

CHANGELOG.md

File metadata and controls

137 lines (96 loc) · 4.33 KB

Change Log

2.3.2 (2023-12-27)

Fixed:

  • Task dependency resolution

2.3.1 (2023-11-09)

Updated:

  • Gradle to 8.4
  • Kotlin to 1.9.10
  • Moshi to 1.15.0

2.3.0 (2021-08-17)

Updated:

Added:

  • Support for Kotlin Multiplatform kotlinx.datetime date library

2.2.3 (2020-08-31)

Added:

  • Auto-hook support for Kotlin MPP.

Fixed:

  • Auto-hook empty collection when searching for compileKotlin or compileJava.

2.2.2 (2020-06-17)

Added:

  • Added additional Kotlin keywords to be escaped (internal, external).

2.2.1 (2020-06-16)

Added:

  • Added option to force java compilation.

Changed:

  • Does not trigger java tasks when compileKotlin is in the project.

2.2.0 (2020-05-05)

Added:

  • Option to represent Array as ArrayList.

Fixed:

  • Data type for type alias pointing to Maps and Arrays.
  • Task additional properties are cleaned properly before each task. Custom properties are removed properly.

2.1.2 (2020-04-28)

Fixed

  • Nested arrays and maps in arrays contain type. Array<Array> is now properly generated as Array<Array<Type>>.

2.1.1 (2020-04-22)

Fixed

  • (jvm-retrofit) an optional @Query parameter marked as not null in case of Kotlin generator. Now it is nullable.
  • (jvm-retrofit) missing default value in a @Query parameter if is present in the yaml file.

2.1.0 (2020-04-16)

Added

  • @Path params are always first in operation.
  • Option to force variables of Composed schema (oneOf and anyOf) as not required (nullable).

Changed

Fixed

  • Kotlin allOf inheritance.

Removed

  • Not used constants.

2.0.1 (2020-03-10)

Fixed

  • Fix of an error Could not generate api file List is empty caused if endpoint has no parameters after removing all from parameter removeOperationParams (occurred if this parameter is present).

2.0.0 (2020-03-09)

  • Introduced a new config parameter ignoreEndpointStartingSlash to ignore endpoint's starting slash in generated Retrofit API service class. See IgnoreStartingSlashLambda for more details.
  • Introduced a new lambda IgnoreStartingSlashLambda ({{#lambda.ignoreStartingSlash}}{{paramName}}{{/lambda.ignoreStartingSlash}}) which removes word minus in a fragment if it's in it.
  • For rest of changes see all 2.0.0-xx changelog messages.

2.0.0-rc03 (2020-02-18)

Fixed

  • Fix of critical bug when removeOperationParams is used, then api function is not generated it correctly.

2.0.0-rc02 (2020-02-18)

Added

  • Option to remove specific parameters from operations:
"removeOperationParams" to arrayOf("X-Access-Token", "Accept-Language", ...)

2.0.0-rc01 (2020-02-05)

Changed

  • OpenApi generator updated to release v4.2.3
  • Enable multiple configuration files in one swagger task (see README.md).
  • Tasks now contain additionalProperties setting (see README.md).
  • Task configs can have all values null.
  • Generator is safe with null parameters.

2.0.0-alpha02 (2019-01-21)

Added

  • Introduced a new lambda RemoveMinusTextFromNameLambda ({{#lambda.removeMinusText}}{{paramName}}{{/lambda.removeMinusText}}) which removes word minus in a fragment if it's in it.
  • New property to remove minus word from the header's property name: additionalProperties["removeMinusTextInHeaderProperty"] = true. By default false will be used.

Fixed

  • The modelNameSuffix has been added twice to generated code. It was caused by migration to OpenApi (this bug has been fixed in OpenApi, so we removed our fix.)

2.0.0-alpha01 (2020-01-17)

  • Migrated from Swagger to OpenApi generator (https://github.com/OpenAPITools/openapi-generator).
  • Merged Retrofit and Room generator together.
  • Empty data class is defined as a String type alias.
  • Changed anonymous enum names from * to NUMBER*.
  • Added support for Room 2 (androidx).
  • Added option to change array of composed to array of object (kotlin.Any).
  • Added option to generate primitive aliases.

1.0.0 (2019-06-25)

  • Initial version