| <!-- |
| /*************************************************************************************************************************** |
| * 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. |
| ***************************************************************************************************************************/ |
| --> |
| |
| 5.0.0.13 (Mar 14, 2013) |
| |
| <p> |
| Juno 5.0.0.13 is a minor update. |
| </p> |
| <h5 class='topic w800'>Core API changes</h5> |
| <ul class='spaced-list'> |
| <li> |
| New support for relative URIs. |
| <ul> |
| <li>URIs of the form <js>"foo/bar"</js> are interpreted as relative to the context root of the web application.</li> |
| <li>URIs of the form <js>"/foo/bar"</js> are interpreted as relative to the HTTP authority (e.g. <js>"http://myhost:9080"</js>).</li> |
| </ul> |
| </li> |
| <li> |
| New <code>SerializerContext.SERIALIZER_uriContext</code> and <code>SerializerContext.SERIALIZER_uriAuthority</code> serializer properties for specifying values for relative URIs. |
| </li> |
| <li> |
| New {@link oaj.annotation.URI @URI} annotation that allows you to specify classes and bean properties as URLs that aren't <code>java.net.URI</code> or <code>java.net.URL</code>. |
| </li> |
| <li> |
| New {@link oaj.html.HtmlSerializer#HTML_uriAnchorText} HTML serializer property for tailoring how anchor text is rendered. |
| </li> |
| <li> |
| Renamed <code>BeanProperty#uri</code> annotation to <code>BeanProperty#beanUri</code> to make it clear that this property represents the URI of the bean itself instead of an arbitrary property containing a URI. |
| </li> |
| <li> |
| Removed <code>BeanProperty#id</code> annotation. |
| </li> |
| </ul> |
| <h5 class='topic w800'>REST server API changes</h5> |
| <ul class='spaced-list'> |
| <li> |
| Improvements to {@link oajr.RestServlet} to automatically handle relative URIs in POJOs. |
| <ul> |
| <li><code>SerializerContext.SERIALIZER_uriContext</code> property set by default to web app context root.</li> |
| <li><code>SerializerContext.SERIALIZER_uriAuthority</code> property set by default to the request scheme+hostname+port.</li> |
| </ul> |
| </li> |
| <li> |
| Fixed bug involving <code>Accept-Charset</code> header in Chrome that prevented HTML output from rendering correctly in that browser.<br> |
| <code>Accept-Charset</code> handling should now be fully W3C compliant. |
| </li> |
| </ul> |