blob: 6db4c18c17b2d9b532f5b15a96679858c8f0a1e3 [file] [log] [blame]
<!--
/***************************************************************************************************************************
* 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.
***************************************************************************************************************************/
-->
7.2.1 (Oct 23, 2018)
<p>
This release contains mostly bug fixes.
Code changes have been made to preserve binary backwards compatibility with 7.1.0.
</p>
<h5 class='topic w800'>juneau-marshall</h5>
<ul class='spaced-list'>
<li>
The <dc>@JsonSchema</dc> annotation has been merged with the {@link oaj.jsonschema.annotation.Schema @Schema} annotation.
<li>
Annotations typically used on bean properties (getters/setters/public fields) can now be used on private fields.
This is inline with behavior on JPA-annotated beans.
These include: <ja>@Swap</ja>, <ja>@Html</ja>, <ja>@Xml</ja>, <jd>@BeanProperty</jd>.
</ul>
<h5 class='topic w800'>juneau-rest-server</h5>
<ul class='spaced-list'>
<li>
Method-level annotations (e.g. <ja>@RestMethod</ja>) and parameter-level annotations (e.g. <ja>@Query</ja>) are now inheritable
from parent classes and interfaces.
<br>This allows you to define {@doc juneau-rest-client.RestProxies.DualPurposeInterfaces}.
<li>
The <c>ReaderResource</c> and <c>StreamResource</c> classes have been moved to the <c>org.apache.juneau.http</c>
package in <c>juneau-marshall</c>. This allows them to be used as return types in remote REST interfaces.
<br>A new {@link oajr.helper.ResolvingReaderResource} class has been added that includes the variable-resolving support since
this relies on the <c>juneau-svl</c> package.
<li>
The <c>RemoteInterfaceServlet</c> class has been renamed to {@link oajr.remote.RrpcServlet}.
<li>
<c><ja>@RestMethod</ja>(name=<js>"PROXY"</js>)</c> has been changed to <c><ja>@RestMethod</ja>(name=<js>"RRPC"</js>)</c>.
</ul>
<h5 class='topic w800'>juneau-rest-client</h5>
<ul class='spaced-list'>
<li>
The <c>RestClient.getRemoteInterface()</c> method has been renamed to {@link oajrc.RestClient#getRrpcInterface(Class)}.
<li>
Fixed a bug where <c><ja>@RemoteMethod</ja>(path)</c> values containing '/' characters were erroneously being encoded.
</ul>