Releases: phax/jcodemodel
Releases · phax/jcodemodel
JCodeModel 4.1.0
- Updated to ph-commons 12.1.0
- Using JSpecify annotations
- Added Maven plugin to generate Java code from CSV, JSON or YAML. Thanks a million to @glelouet for providing all of the great work
What's Changed
- Plugins by @glelouet in #109
- added JMod to java.lang.reflect.Modifier bridge by @glelouet in #111
- CSV generator by @glelouet in #110
- Update JMods.java by @glelouet in #114
- Json and yaml generators by @glelouet in #113
- ignore pom backup by @glelouet in #120
- fix build by @glelouet in #121
- apply redirct process methods by order by @glelouet in #118
- using artifact name prefix convention by @glelouet in #124
- Classes headers by @glelouet in #125
Full Changelog: jcodemodel-parent-pom-4.0.0...jcodemodel-parent-pom-4.1.0
JCodeModel 4.0.0
- Requires Java 17 as the minimum version
- Using
ph-commonsas a compile dependency for common stuff - Moved all exceptions to
exceptionspackage - Included [PR #96]](#96) from @glelouet on copying the whole JCodeModel
What's Changed
- made tests use a unified test JCM - bad indentations by @guiguilechat in #78
- eclipse formatter + cleanup actions, update readme with eclipse settings by @guiguilechat in #81
- Local 82 by @phax in #92
- Copying by @glelouet in #96
- moving main module as a sub module of the meta module by @glelouet in #105
- Add scripts by @glelouet in #107
- moved versions in root pom and added last plugin version for some + c… by @glelouet in #108
New Contributors
Full Changelog: jcodemodel-3.4.1...jcodemodel-parent-pom-4.0.0
JCodeModel 3.4.1
- Extended
JDefinedClassto make enum constants accessible
Full Changelog: jcodemodel-3.4.0...jcodemodel-3.4.1
JCodeModel 3.4.0
- Added special top-level construct
JResourceDirto represent pure resource directories (issue #74 from @guiguilechat) - Added new class
JCodeModelExceptionas the base class forJClassAlreadyExistsExceptionand the new classJResourceAlreadyExistsException - Existing APIs were changed to throw
JCodeModelExceptioninstead ofJClassAlreadyExistsException JCNameUtilities.getFullNameworks with classes in the default package- Extended
JCodeModelwith(get|set)FileSystemConventionto make the creation more flexible (also issue #74 from @guiguilechat) - Added mutable overloads to methods that only return an unmodifiable collection (issue #86)
- Fixed an issue with generating generics from anonymous classes (issue #84)
What's Changed
- added jdoc for IFileSystemConvention by @guiguilechat in #76
- added 2 tests for file name by @guiguilechat in #77
Full Changelog: jcodemodel-3.3.0...jcodemodel-3.4.0
JCodeModel 3.3.0
- Added check for package names so that no invalid package names can be created (issue #70 from @guiguilechat)
- Added check to avoid creating classes existing in the "java.lang" package (issue #71 from @guiguilechat)
JLambdaMethodRefnow works with arbitrary expressions as the left hand side
JCodeModel 3.2.4
- Made class
JavaUnicodeEscapeWriterpublicly accessible - Extended enum constant ref API (issue #68 from @guiguilechat)
JCodeModel 3.2.3
JCodeModel 3.2.2
- Using
jsr305instead ofannotationsin POM (issue #66 from @jjYBdx4IL)
JCodeModel 3.2.1
- Added
varas reserved word - Made
JReturnconstructor public - Added
JInvocation._thisstatic method - Added
IJExpression.castTomethod - Added support to create
finalvariables infor eachloops JExpr.dotClassnow takesAbstractJTypeand not justAbstractJClass- Made constructors of subclasses of
IJStatementpublic - No line breaks for annotations to parameters
- Put each method parameter on a separate line if more than 3 parameters are present
JCodeModel 3.2.0
- Introduced class
JCMWriterthat should be used to emit the outgoing Java files. This replacescodemodel.buildand offers a more consistent API. Most existing method remain existing and deprecated and just forward toJCMWriter.- Instead of
cm.build (...)usenew JCMWriter (cm).build (...)
- Instead of
- Extracted
IJFormatterinterface for better separation of concerns.JFormatterwas moved to a sub-package ProgressCodeWriterno longer needs an explicitPrintStreambut aProgressCodeWriter.IProgressTrackerinstead.- Default charset for Java classes is now
UTF-8. - Added new
JAnnotationUsemethod overloads that automatically passvalueas the annotation parameter name (issue #64)