Releases: fujaba/fulib
Releases · fujaba/fulib
fulib v1.6.2
fulib v1.6.1
fulib v1.6.0
General
- Updated all dependencies. #100
New Features
- Added an import method for EMF /
ecore
files toClassModelManager
. #91 #92 - Added a simple plugin architecture. #93 #94
- Added a way to apply plugins to
ClassModelManager
s. #94 - Added
ClassModelGenerator
, a model for generators. #94 - Added
ClassModelDecorator
andClassModelDecorators
from fulibScenarios. #94 - Added DTO mapping. #97 #99
Improvements
- Attributes reflectively loaded in one
ClassModelDecorator
can now use types from aClassModelDecorator
in a different package. #96 #98
Bugfixes
- Associations declared with
@Link
can no longer reference types in other packages. #98
fulib v1.5.1
Bugfixes
- Generated code now includes FMethod type parameters. #90
fulib v1.5.0
New Features
- Added
typeParams
forFMethod
s. #34 #89 - Classes with property change support now expose the
PropertyChangeSupport
object via thelisteners()
method. #83 #84
Improvements
- The code generator no longer adds
add/removePropertyChangeListener
methods. #83 #84 - Getters for boolean attributes now start with
is
instead ofget
. #85 #86
Deprecations
fulib v1.4.1
fulib v1.4.0
New Features
- Added the
ClassModelManager.haveClass(String, Clazz)
method. #76 - Added the new
ClassModelManager.haveClass(Class)
andhaveNestedClasses(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
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 forassociate
. #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 anIllegalArgumentException
if the new value has syntax errors. #72
Bugfixes
- The code generator now correctly indents new members. #69
fulib v1.2.3
fulib v1.2.2
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
andboolean
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