Recent history, release notes and previous releases.
FormTag can add unique ids for all form fields.Methref - strongly typed method names references - added.Since previous version was released before scheduled time, this one contains many small and some important news. First, there is a new tool 'Paramo' for reading methods parameter names from debug bytecode info. Next, Madvoc has been enhaced in an good way;) All-in-all, we are going towards the next big release.
ClassDescriptor now is public and can examine supported or accessible methods/fields.InitMethodResolver now checks all supported init methods.FileUpload has been enhanced with max file size property. Internal stream processing has been refactored.prune() implementations now returns correct number of deleted items. // reported by Tomasz BartczakPrettyStringBuilder visualization bug fixed (and enhanced). // reported and fixed by Tomasz BartczakDbQuery#setObjects() index bug fixed. // reported and fixed by Sven LindowActionResult#execute() renamed to render(). It really sounds better;)MadvocConfig flag for caching prevention.FileUploadFactory implementations are now aware of maxFileSize.FileUpload now contains maxFileSize as attribute.MultipartRequest now handle uploaded files better. Internal modification.Another small update, made mainly to fix distribution archive.
Download: jodd-3.0.6.zip | jodd-all-3.0.6.zip | jodd-all-with-dependencies-3.0.6.zip
ServletUtil.preventCaching() added.ResultMapper now can use full action path (with the extension) for building result path. Read more here.isAtLeastJdk15() and isAtLeastJdk16() added.StringUtil.cutLastWord() removed.Small update, but we have fixed something that bothered us from long time: sql mappings. Now everything seems to be on the right track;). Besides, some more utilities have been added.
Download: jodd-3.0.5.zip | jodd-all-3.0.5.zip | jodd-all-with-dependencies-3.0.5.zip
ZipUtil added.Bits added.ArrayEnumeration fixed.RandomStringUtil added.CsrfShield has been enhanced.ValueHolder added.This update fixes one important issue with Proxetta and enhance it in a way so it is now possible to apply proxy on JDK classes. Moreover, several little utilities have been added. It is recommended to upgrade to this version.
Download: jodd-3.0.4.zip | jodd-all-3.0.4.zip | jodd-all-with-dependencies-3.0.4.zip
UncheckedException may produce bug when printing the stack trace.StringUtil.indexOfRegion().PropertiesUtil.resolveProperty() and PropertiesUtil.resolveAllVariables() added.ZipUtil.createSingleEntryOutputStream() added.ZipUtil.createFirstEntryInputStream() added.JmxClient added.StringUtil.isNotBlank() added.PetiteManager.registreScope() added.WebApplicationStarter added to encapsulate code from MadvocServletFilter.WebApplication.initWebApplication() replaced createInternalContainer().XmlUtil removed as not valuable.WebApplication.resolveBaseComponentName() now finds last component class: middle abstract classes in hiearachy are ignored.db.jtx.* moved to jtx.db.* to remove dependencies from Db. // reported by S. SlavnićFileUtil.readLines added.FilepathScanner added.ClassLoaderUtil.getResourceFile() added.This is important upgrade. Some bugs regarding reading annotations in Proxetta have been fixed, while Proxetta was refactored. Next, this is the first version that starts to use external logger. Petite container now can be configured with parameters (from properties files, for example). Documentation has been extended by an example of building web applications using Jodd.
Download: jodd-3.0.3.zip | jodd-all-3.0.3.zip
TextUtil added.MethodInfo instead MethodSingature.ClassInfo data for target classes.ClassArrayConverter (for converting something into Class[]) added.@PetiteInitMethods may be fired first off, before parameters injection.InjectorsManager instead of just ContextInjector.ThreadDbSessionProvider may optionally create missing db sessions and assign them to thread.CoreConnectionPool now returns stat class for connections count.Provider<T> interface added.ClasspathScanner added. Read more here.FindClass refactored for good.add() performs all wiring and initialization.Minor upgrades and additions. Documentation fixed and more added.
Download: jodd-3.0.1.zip | jodd-all-3.0.1.zip
DbSquery.setMap() bug fixed. // reported by SvenPetiteMadvocComponent removed (internall stuff).WebApplication.createInternalContainer() renamed from createMadvocPetiteContainer().ServletConfigInterceptor.trimParams option added.PetiteContainer.getBean(Class) added.StreamUtil.copy() methods were not using provided encoding.JoddDefault added and implemented.SystemUtil methods for setting http proxy.FileUtil methods for appending string and bytes to existing file.ClassConverter and URLConverter added.IfElseTag and IfTag behave as 'false'.Jodd started new life on new web address: http://jodd.org
Download: jodd-3.0.zip | jodd-all-3.0.zip