| <!-- |
| /*************************************************************************************************************************** |
| * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations under the License. |
| ***************************************************************************************************************************/ |
| --> |
| |
| 8.0.1 (TBD) |
| |
| <p> |
| TBD |
| </p> |
| |
| <h5 class='topic w800'>juneau-marshall</h5> |
| <ul class='spaced-list'> |
| <li> |
| New utility class for diffing beans: {@link oaj.utils.BeanDiff} |
| <li> |
| New annotation for defining bean property names: {@link oaj.annotation.Name} |
| </ul> |
| |
| <h5 class='topic w800'>juneau-config</h5> |
| <ul class='spaced-list'> |
| <li> |
| Support for import statements: |
| <p class='bpcode'> |
| <cc># Import values from another configuration:</cc> |
| <ci><ParentConfig1></ci> |
| |
| <cs>[Foo]</cs> |
| <ck>bar</ck> = <cv>baz</cv> |
| </p> |
| <li> |
| The {@link oaj.config.store.ConfigFileStore} now automatically resolves file extensions. |
| <br>New configuration property for specifying search paths for file extensions: |
| <ul class='doctree'> |
| <li class='jf'>{@link oaj.config.store.ConfigFileStore#FILESTORE_extensions} |
| </ul> |
| <li> |
| Fixed a bug where instances of {@link oaj.config.store.ConfigMemoryStore} ended up resolving to the same object. |
| <li> |
| Uses <js>"application.properties"</js> file as a system default if present. |
| <br>Useful when being used in a Spring Boot application. |
| <li> |
| New {@link oaj.config.Config#setSystemProperties} method for quickly moving configuration settings into the |
| system properties. |
| <li> |
| Entries in the system config are automatically set as system properties. |
| <br>This mean you can set any of the various serializer and parser settings (e.g. <js>"JsonSerializer.simpleMode.b"</js>) |
| in the default configuration area or <code>application.properties</code>. |
| </ul> |
| |
| <h5 class='topic w800'>juneau-rest-server</h5> |
| <ul class='spaced-list'> |
| <li> |
| New annotations that can be applied to REST classes and methods to configure serializers and parsers. |
| <p class='bcode w800'> |
| <jc>// Old way using generic properties.</jc> |
| <ja>@RestResource</ja>( |
| path=<js>"/atom"</js>, |
| title=<js>"Sample ATOM feed resource"</js>, |
| properties={ |
| <ja>@Property</ja>(name=<jsf>WSERIALIZER_quoteChar</jsf>, value=<js>"'"</js>), |
| <ja>@Property</ja>(name=<jsf>RDF_rdfxml_tab</jsf>, value=<js>"5"</js>), |
| <ja>@Property</ja>(name<jsf>RDF_addRootProperty</jsf>, value=<js>"true"</js>), |
| <ja>@Property</ja>(name=<jsf>BEAN_examples</jsf>, value=<js>"{'org.apache.juneau.dto.atom.Feed': $F{AtomFeedResource_example.json}}"</js>) |
| } |
| ... |
| ) |
| <jk>public class</jk> AtomFeedResource <jk>extends</jk> BasicRestServletJena { |
| ... |
| } |
| |
| <jc>New way using specific annotations.</jc> |
| <ja>@RestResource</ja>( |
| path=<js>"/atom"</js>, |
| title=<js>"Sample ATOM feed resource"</js> |
| ... |
| ) |
| <ja>@SerializerConfig</ja>(quoteChar=<js>"'"</js>) |
| <ja>@RdfConfig</ja>(rdfxml_tab=<js>"5"</js>, addRootProperty=<js>"true"</js>) |
| <ja>@BeanConfig</ja>(examples=<js>"Feed: $F{AtomFeedResource_example.json}"</js>) |
| <jk>public class</jk> AtomFeedResource <jk>extends</jk> BasicRestServletJena { |
| ... |
| } |
| </p> |
| <p> |
| Config annotations are provided for all serializers and parsers: |
| </p> |
| <ul> |
| <li class='ja'>{@link oaj.annotation.BeanConfig BeanConfig} |
| <li class='ja'>{@link oaj.csv.annotation.CsvConfig CsvConfig} |
| <li class='ja'>{@link oaj.html.annotation.HtmlConfig HtmlConfig} |
| <li class='ja'>{@link oaj.html.annotation.HtmlDocConfig HtmlDocConfig} |
| <li class='ja'>{@link oaj.jso.annotation.JsoConfig JsoConfig} |
| <li class='ja'>{@link oaj.json.annotation.JsonConfig JsonConfig} |
| <li class='ja'>{@link oaj.jsonschema.annotation.JsonSchemaConfig JsonSchemaConfig} |
| <li class='ja'>{@link oaj.msgpack.annotation.MsgPackConfig MsgPackConfig} |
| <li class='ja'>{@link oaj.oapi.annotation.OpenApiConfig OpenApiConfig} |
| <li class='ja'>{@link oaj.parser.annotation.ParserConfig ParserConfig} |
| <li class='ja'>{@link oaj.plaintext.annotation.PlainTextConfig PlainTextConfig} |
| <li class='ja'>{@link oaj.jena.annotation.RdfConfig RdfConfig} |
| <li class='ja'>{@link oaj.serializer.annotation.SerializerConfig SerializerConfig} |
| <li class='ja'>{@link oaj.soap.annotation.SoapXmlConfig SoapXmlConfig} |
| <li class='ja'>{@link oaj.uon.annotation.UonConfig UonConfig} |
| <li class='ja'>{@link oaj.urlencoding.annotation.UrlEncodingConfig UrlEncodingConfig} |
| <li class='ja'>{@link oaj.xml.annotation.XmlConfig XmlConfig} |
| </ul> |
| <li> |
| Added the following classes that provide the same support as the servlet classes but doesn't extend from <code>HttpServlet</code>. |
| <br>This fixes an issue where instances of {@link oajr.BasicRestServlet} are registered as top-level servlets even though |
| you don't want them to be. |
| <ul> |
| <li class='jac'>{@link oajr.BasicRest} - Non-servlet equivalent to {@link oajr.BasicRestServlet} |
| <li class='jac'>{@link oajr.BasicRestGroup} - Non-servlet equivalent to {@link oajr.BasicRestServletGroup} |
| <li class='jac'>{@link oajr.BasicRestJena} - Non-servlet equivalent to {@link oajr.BasicRestServletJena} |
| <li class='jac'>{@link oajr.BasicRestJenaGroup} - Non-servlet equivalent to {@link oajr.BasicRestServletJenaGroup} |
| </ul> |
| <li> |
| HTML widgets now have access to the <code>RestResponse</code> object if they need access to the output bean. |
| </ul> |
| |
| <h5 class='topic w800'>juneau-rest-client</h5> |
| <ul class='spaced-list'> |
| <li> |
| PATCH support added. |
| </ul> |