5.0.0.9 (Feb 26, 2013)
Juno 5.0.0.9 is a moderate update.
Core API changes
-
{@link oaj.config INI config file support}:
- A convenient API for reading, writing, and manipulating INI files.
- Ability to convert INI files to batch and shell environment variables.
- Command-line interface for updating INI files.
- Support for encoded INI file values.
- Support for fluent-style bean setters (setters that return the bean itself).
- Ability to use {@link oaj.annotation.Bean @Bean} annotation to override bean identification settings.
- New {@link oaj.ObjectMap#cast(Class)} method to convert ObjectMaps directly to beans.
REST server API changes
- Build-in default OPTIONS pages.
- New @RestResource.defaultRequestHeaders and @RestResource.defaultResponseHeaders annotations.
- New {@link oajr.annotation.RestMethod#serializers() @RestMethod(serializers)} and {@link oajr.annotation.RestMethod#parsers() @RestMethod(parsers)} annotations.
- New {@link oajr.annotation.RestMethod#properties() @RestMethod(properties)} annotation.
- New @RestMethod(defaultRequestHeaders) annotation.
- New {@link oajr.annotation.RestMethod#matchers() @RestMethod(matchers)} annotation and {@link oajr.RestMatcher} class.
- Readers and InputStreams can be specified on @Content annotated parameters.
- New @HasParam annotation.
- Full RFC2616 support for matching Accept headers to serializers.
Other notes
- Smaller library size (460kB).