Skip to content

Releases: anaptecs/jeaf-generator

Version 1.19.0 (2024-05-14)

14 May 20:05
Compare
Choose a tag to compare

New Features

  • Path prefix for all REST operations (#141)
  • REST Resource should be able to inherit common operations (#156)
  • Add empty default operation to service operations (#89)
  • Assign OpenAPI tag to all operations of a service at once (#162)
  • Generate Java arrays only for primitives (#160)
  • Allow POJOs to implement interfaces (#159)
  • Simplify usage of custom profiles (#166)
  • Improve custom extension mechanism (#148)

Fixed Bugs

  • Template parameters cannot be Enums (#152)
  • Order of modules in generated ObjectMapperFactory is not stable (#149)

Migration

  • Upgrade of JEAF Generator Meta Model (JMM)
    Due to implementation of #89 and #141 changes in JMM were necessary. Before switching to version 1.19.0 please upgrade your UML models to JMM Version 2.0.0 (revision #248 or #48 in MagicDraw Teamwork Cloud)


Links

For further information please refer to our documentation:

Version 1.18.1 (2024-05-08)

08 May 11:43
Compare
Choose a tag to compare

Fixed Bugs

  • Generic softlink references use type instead of $ref in OpenAPI specs (#161)

Migration

  • No special migration from version 1.18.0 needed

Links

For further information please refer to our documentation:

Version 1.18.0 (2024-04-19)

19 Apr 07:01
Compare
Choose a tag to compare

New Features

  • Support for OpenAPI 3.1.0 (#13)
  • Allow enums to implement interfaces (#144)
  • Group "Breaking Changes Report" by package (#118)
  • Group "Java Deprecation Report" by package (#136)
  • Beautify OpenAPI specs for Swagger (#122)

Fixed Bugs

  • Copy-Builder breaks encapsulation (for POJO with customImpl) (#123)
  • Unstable order in OpenAPI spec if a spec references mutiple services (#128)

Migration

  • Upgrade of JEAF Generator Meta Model (JMM)
    Due to implementation of #13 and #144 changes in JMM were necessary. Before switching to version 1.18.0 please upgrade your UML models to JMM Version 1.15.0 (revision #241 or #41 in MagicDraw Teamwork Cloud)

  • Please be aware that by default OpenAPI version 3.1.0 is used. If you still want to stay on version 3.0.3 of OpenAPI then the follwoing configuration parameter needs to be added: <openAPIVersion>OPEN_API_3_0</openAPIVersion>

Links

For further information please refer to our documentation:

Version 1.17.4 (2024-03-31)

31 Mar 10:46
Compare
Choose a tag to compare

New Features

  • Define OpenAPI spec info via Maven Configuration (#6)
  • Group model report by package (#14)

Links

For further information please refer to our documentation:

Version 1.17.3 (2024-03-27)

27 Mar 04:58
Compare
Choose a tag to compare

New Features

  • Add extension mechanism for POJOs (#26)
  • Add suffix to name of softlinks (#27)
  • Support default values / null values for properties of enumerations (#20)
  • Add information about header names also as documentation to Java code (#97)
  • Add check for invalid names of classes, properties, operations etc. (#17)

Fixed Bugs

  • Missing line breaks in Swagger UI (#109)

Links

For further information please refer to our documentation:

Version 1.17.2 (2024-03-11)

11 Mar 05:56
Compare
Choose a tag to compare

New Features

  • Add @JsonAutoDetect annotation directly on generated classes (#86 )
  • Upgrade to version 2.1.21 of OpenAPI parser (#90)

Fixed Bugs

  • Weird error message if template binding has no real type (#79)
  • Checks are not executed before deprecation report is created (#21)

Links

For further information please refer to our documentation:

Version 1.17.1 (2024-03-04)

04 Mar 06:09
Compare
Choose a tag to compare

New Features

  • Generate equals(...) and hashCode() operation also for objects with transient back references (#80 )

Links

For further information please refer to our documentation:

Version 1.17.0 (2024-02-26)

26 Feb 14:49
Compare
Choose a tag to compare

Important Information / Breaking Changes

  • Since this release deprecated static builder methods on POJOs and ServiceObjects will no longer be generated (#68)

Fixed Bugs

  • Compile error for transient back references in combination with readonly POJOs (#63)
  • ModuleFactory for CompositeDataTypes not generated (#58)
  • oAW Template Error in Deprecation Report (#65)

Links

For further information please refer to our documentation:

Version 1.16.4 (2024-02-20)

20 Feb 08:54
Compare
Choose a tag to compare

Fixed Bugs

  • NPE when customRootTemplate is used without customTemplateParameters (#56)

Links

For further information please refer to our documentation:

Version 1.16.3 (2024-02-19)

19 Feb 05:41
Compare
Choose a tag to compare

Warning

Please be aware that there is a blocker bug in this release (#56). Thus we highly recommend to use version 1.16.4 instead.


New Features / Improvements

  • Add "Alias" information to generated code (#3)

Fixed Bugs

  • Caching problem in OpenAPI spec in combination with template bindings (#35)
  • Spring REST-Client does not propagate boolean Header parameter (#18)
  • Java Constants causing trouble in POJOs (#5)
  • Fix potential NPE for custom template parameters (#22)
  • Default values from UML model are not used in default constructor if they are readonly Java Primitive Wrappers (#2)
  • Breaking change comment only generated for enum literal if it has a comment (#9)
  • CompositeTypeConverter used in Jackson module even though such types are not used in the model (#7)
  • Javadoc formatting tags in deprecation warning of OpenAPI spec (#11)
  • Deprecation tag set twice in OpenAPI spec for inlined data types (#38)

Links

For further information please refer to our documentation: