JEAF Generator Release Notes

Release Overview

 

Release 1.16.x

Version 1.16.2 (2024-01-21)

New Features / Improvements

JEAF-3298 Add configuration parameters for custom templates

JEAF-3299 Output slots for tests

 

Fixed Bugs

JEAF-3297 Custom templates are only executed if at least one standard template is activated as well

 

Version 1.16.0 (2023-12-08)

New Features / Improvements

JEAF-3282 Nested generic objects as REST response

JEAF-3284 Use property description for OpenAPI Data Types

 

Fixed Bugs

JEAF-3283 ModuleFactory references ignored enum

 

General Notes / Migration

  • JEAF Generator requires to upgrade the meta model to version JMM 1.14.0 (revision #217)

  • Due to support for nested Java generics as REST response (e.g. Response<List<BusinessObject>>) you need to upgrade version of jeaf-rest-request-executor-api and jeaf-rest-request-executor-impl to version 1.11.0 or higher.

    In case you are not using the standard implementation then please make sure that your implementation is able to handle new ObjectType com.anaptecs.jeaf.rest.executor.api.ObjectType.TypeReferenceObjectType properly, at least if you make use of generics as REST response.

 

Release 1.15.x

Version 1.15.0 (2023-11-17)

New Features / Improvements

JEAF-3277 Java Generics as response type in Service Proxies

JEAF-3278 Improve Builder for generics

JEAF-3276 Add info about breaking changes also to code and OpenAPI spec

JEAF-3281 Support markdown syntax in deprecations and breaking changes

JEAF-3279 Trim comments to avoid line breaks at beginning and end

 

Fixed Bugs

JEAF-3280 Random order of services inside security roles report

 

General Notes / Migration

 

Release 1.14.x

Version 1.14.0 (2023-11-05)

New Features / Improvements

JEAF-3275 Java 21 as runtime environment for JEAF Generator

JEAF-3274 Use @PreAuthorize instead of @Secured

 

General Notes / Migration

  • In addition to Java 11 and 17 now also Java 21 is supported as runtime environment to run JEAF Generator Maven Plugin.

 

  • Starting with version 1.14.0 instead of @Secured annotation @PreAuthorize wil be used for as default annotation for Spring Security wil be used. Please make sure that you adjust your Spring configuration accordingly.
    As an intermediate solution it is also possible to still use @Secured. In this case please enable useDeprecatedSpringSecuredAnnotation in your Maven configuration for JEAF Generator plugin

Release 1.13.x

Version 1.13.2 (2023-10-27)

New Features / Improvements

JEAF-3273 Increase Builder convenience

 

Fixed Bugs

JEAF-3272 Copy-Builder breaks encapsulation

 

Version 1.13.1 (2023-10-25)

New Features / Improvements

JEAF-3270 of(...) method for OpenAPIDataTypes

 

Fixed Bugs

JEAF-3271 Compile error in REST controller in case of multi-valued OpenAPIDataType that is used as query params

 

Version 1.13.0 (2023-10-22)

New Features / Improvements

JEAF-3266 Suppress Jackson subtypes mapping

JEAF-3255 Support markdown syntax in comments

JEAF-3257 Define of(...) method mode in UML per class

JEAF-3260 generate isXYZ() for boolean properties instead of getXYZ()

JEAF-3263 Generate security roles report

JEAF-3268 Hide actor from reports / documentation

JEAF-3264 Improve readability of breaking changes report

JEAF-3102 Add check that path params are really part of path

JEAF-3256 Make stereotype "Alias" applicable for enumerations

 

Fixed Bugs

JEAF-3269 Operations for multi-valued properties not overwritten in Builder of subclass

 

Migration

  • Please upgrade your models to JEAF Generator Meta Model (JMM) 1.13.0 (#216)

 

Release 1.12.x

Version 1.12.3 (2023-09-29)

Bug

JEAF-3262 Fix REST Controller handling of byte[] in http header of REST requests

 

Version 1.12.1 (2023-09-26)

Fixed Bugs

JEAF-3258 Base64 for header params not supported

JEAF-3259 Primitive arrays as REST request params are always mandatory

 

Version 1.12.0 (2023-09-18)

Fixed Bugs

JEAF-3254 Query-Parameter of type List is wrapped in `Arrays.asList`

 

Migration

  • Code generated by JEAF Generator now requires versions 1.9.0 of JEAF REST API and JEAF REST Impl (if used in your setup). Please update your dependencies to accordingly. Versions of jeaf-rest-api and jeaf-rest-impl are fully backward comaptible to previous version 1.8.0, so upgrade should be very simple.

Release 1.11.x

Version 1.11.8 (2023-09-11)

New Features / Improvements

JEAF-3249 Role generation for Spring Security

 

Fixed Bugs

JEAF-3252 Validation fails for optional OpenAPIDataTypes

JEAF-3253 Invalid indentation of minItems in case of an array of OpenAPIDataTypes with min size 1

 

Version 1.11.7 (2023-08-02)

New Features / Improvements

JEAF-3248 add of(...) operation to simplify object creation

JEAF-3250 Complex types in OpenAPI for SoftLinks

JEAF-3242 Breaking Changes also for classes, interfaces, enums and literals

 

Fixed Bugs

JEAF-3246 OpenAPI Data Type with restriction can not be used as path or query param

 

Version 1.11.4 (2023-07-14)

Fixed Bugs

JEAF-3241 Wrong values for "inclusive" flag in OpenAPI spec

 

Version 1.11.2 (2023-07-07)

New Features / Improvements

JEAF-3240 Model Report

 

Migration

  • Please upgrade your models to JEAF Generator Meta Model (JMM) 1.11.0 (#209)

 

Release 1.10.x

Version 1.10.1 (2023-06-30)

New Features / Improvements

JEAF-3238 Add "Breaking Changes Report"

JEAF-3234 addToXXX(...) operation also for builders

JEAF-3239 Update Maven dependencies to latest versions

 

Fixed Bugs

JEAF-3237 Invalid minItems indentation in case of subclasses using an OpenAPIDataType

 

Migration

  • Please upgrade your models to JEAF Generator Meta Model (JMM) 1.10.0 (#204)

 

Release 1.9.x

Version 1.9.3 (2023-06-26)

New Features / Improvements

JEAF-3236 Validate generated OpenAPI specifications

 

Version 1.9.2 (2023-06-07)

Fixed Bugs

JEAF-3232 Compile error in REST Controller in case of composite data type as query param

 

Version 1.9.1 (2023-05-19)

New Features / Improvements

JEAF-3200 Generic response types for REST and OpenAPI

JEAF-3226 Remove useless code in case of subclasses without any attributes

Fixed Bugs

JEAF-3231 "nullable" not set correctly in OpenAPI spec

 

Version 1.9.0 (2023-05-16)

New Features / Improvements

JEAF-3230 Support JavaEE and JakartaEE

Fixed Bugs

JEAF-3229 Package filter not applied correctly

 

Archived Release Notes

https://anaptecs.atlassian.net/wiki/spaces/JEAF/pages/1189969921