Skip to content

Releases: fujaba/fulib

fulib v1.6.2

21 Feb 16:38
Compare
Choose a tag to compare

General

  • Updated external dependencies.
  • Restored compatibility with Java 8.

fulib v1.6.1

26 Nov 09:24
07a2c67
Compare
Choose a tag to compare

Improvements

  • The parser now understands Java 17 syntax (Records and sealed Classes). #101 #102 #103

fulib v1.6.0

10 Aug 08:58
976d818
Compare
Choose a tag to compare

General

  • Updated all dependencies. #100

New Features

  • Added an import method for EMF / ecore files to ClassModelManager. #91 #92
  • Added a simple plugin architecture. #93 #94
  • Added a way to apply plugins to ClassModelManagers. #94
  • Added ClassModelGenerator, a model for generators. #94
  • Added ClassModelDecorator and ClassModelDecorators from fulibScenarios. #94
  • Added DTO mapping. #97 #99

Improvements

  • Attributes reflectively loaded in one ClassModelDecorator can now use types from a ClassModelDecorator in a different package. #96 #98

Bugfixes

  • Associations declared with @Link can no longer reference types in other packages. #98

fulib v1.5.1

21 Feb 13:36
e5e0849
Compare
Choose a tag to compare

Bugfixes

  • Generated code now includes FMethod type parameters. #90

fulib v1.5.0

21 Feb 12:45
fb1f4f1
Compare
Choose a tag to compare

New Features

  • Added typeParams for FMethods. #34 #89
  • Classes with property change support now expose the PropertyChangeSupport object via the listeners() method. #83 #84

Improvements

  • The code generator no longer adds add/removePropertyChangeListener methods. #83 #84
  • Getters for boolean attributes now start with is instead of get. #85 #86

Deprecations

  • Deprecated the *Builder classes and related methods. #82 #87

fulib v1.4.1

14 Nov 15:37
7675e82
Compare
Choose a tag to compare

Improvements

  • @Link without an argument or with empty string now creates a unidirectional association. #81
  • Improved POJO templates for unidirectional associations. #81
  • ClassModelManager now properly handles and documents unidirectional associations. #81

Bugfixes

  • The reflective class model builder now properly replaces fully qualified class names with imports. #80
  • Fixed JavaFX templates generating invalid code for unidirectional associations. #81

fulib v1.4.0

05 Nov 13:45
681088b
Compare
Choose a tag to compare

New Features

  • Added the ClassModelManager.haveClass(String, Clazz) method. #76
  • Added the new ClassModelManager.haveClass(Class) and haveNestedClasses(Class) methods for defining classes with reflection. #77 #78
  • JavaDocs for association methods now contain a @see link to the reverse role. #79

Improvements

  • Improved JavaDocs in ClassModelManager. #76

fulib v1.3.0

30 Sep 13:54
c2dadfc
Compare
Choose a tag to compare

New Features

  • Attributes and roles can now specify a description and a since version that is copied to their JavaDocs. #32 #64
  • Added ClassModelManager.haveRole methods as aliases for associate. #61
  • Static fields are now grouped together in newly generated classes. #65
  • Property accessors are now grouped together in newly generated classes. #65

Improvements

  • Updated to fulibYaml v1.4.0.
  • Generated table toString methods now produce Markdown. #67
  • Generated property constants are now fully uppercase. #68
  • The FMethod.setDeclaration method now throws an IllegalArgumentException if the new value has syntax errors. #72

Bugfixes

  • The code generator now correctly indents new members. #69

fulib v1.2.3

02 Sep 12:13
0573a07
Compare
Choose a tag to compare

Improvements

  • FMethods now support import(...) syntax. #62
  • The parser now supports import(...) syntax in type uses and annotations. #62
  • import(...) syntax now supports static imports via import(static ...). #62

Bugfixes

  • The code generator now properly removes PropertyChange members when they are not needed. #63
  • The code generator now correctly determines when PropertyChange members are needed, depending on attributes, associations, potential super classes and the use of POJO property style. #63

fulib v1.2.2

26 Aug 13:13
d713fca
Compare
Choose a tag to compare

Improvements

  • Improved JavaDocs in FileFragmentMap. #50
  • Improved the merging of class and attribute declarations from original source and newly generated code. #60
    • Class declarations are now mostly kept intact, only the type in the extends clause is updated.
    • Attribute declarations are now mostly kept intact, only the type and initializer are updated.

Bugfixes

  • The code generator no longer generates duplicate members when an attribute has a generic or annotated types. #43 #59
  • The code generator no longer generates duplicate methods with parameters of generic or annotated types. #43 #59
  • The code generator now treats the types void and boolean as primitives. #46
  • The code generator no longer removes newlines at the end of existing files. #47
  • The code generator now correctly determines when classes are empty and removes them if necessary. #49
  • The FMethod.setDeclaration method no longer ignores varargs .... #54 #55
  • The Java parser now supports C-style arrays for parameters. #56
  • The FMethod.setDeclaration method now supports C-style arrays for parameters. #56
  • The code generator no longer generates duplicate members when mixing attributes with methods. #58
  • The code generator now intelligently merges the original source with new class and attribute declarations again. #60