Recent history, release notes and previous releases.
Some new tools, utils and Maven support (finally:) Also, since Jodd is currently being used in couple of live projects, we decided it is a time for new major release.
CoreConnectionPool is now able to validate connections when appropriate.ClipboardUtil added.StringUtil utilities added.BeanTool#copyProperties() added.Mainly bugfixes.
replyTo property added for Email.jfn:prepareCsrfToken().CsrfShield#maxTokensPerSession added.count attributeCharacterSqlType: bug fixed with string to char conversionisAfter(), isBefore() addedStringUtil#insert() addedFew days after Jodds 3.x first birthday... a new release! Can't imagine a better present;) Moreover, Jodd has been used in couple of projects meanwhile, and it is fast, stable and good-looking:) And soon, we will give YOU a present for our bithday... just stay tuned;)
Download: jodd-3.0.9.zip | jodd-all-3.0.9.zip | jodd-all-with-dependencies-3.0.9.zip
This is one of the most important releases, since all Jodd frameworks have been used in production together. As a result, we have several bug fixed, some important changes and more power inside the framework. Voila!
HtmlEncoder now uses <br/> instead of <br>.CsvUtil CRLF bug fixed.NullAware sql types added. Primitives support added.ReflectUtil.castType() now handles enums better - allows to have typeconverter for enums too!ArrayUtils toString() and contains() added.ListAllMadvocActions does not register actions anymore.ReflectUtil#readAnnotationValue() added.jfn:printf added.DbOrmQuery.SimpleSmtpAuthenticator renamed to SimpleAutheniticator.IdRequestInjectorInterceptor added - a efficient joint of Prepare and IdRequestInjector.DbQuery.setObjects(String[] names, Object[] values) added.AnnotationTxAdvice now works for overloaded methods too.fmtDate added.SqlType receives native sql type information when reading and saving data.ColumnValue sql chunk added in response to fix db mappin bug with values.Methref - strongly typed method names references - added.Starting from this release, we will post some photos and stories related to the release;) So... today, we have a lot of snow, althought it is March. Cold, white Friday is perfect for releasing a new version, with hot cup of green tea.
Download: jodd-3.0.8.zip | jodd-all-3.0.8.zip | jodd-all-with-dependencies-3.0.8.zip
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.
Download: jodd-3.0.7.zip | jodd-all-3.0.7.zip | jodd-all-with-dependencies-3.0.7.zip
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