<?xml version="1.0" encoding="UTF-8"?>
<!--
 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.   
-->
<chapter id="release_notes">
  <title>Release Notes</title>

  <section id="release_notes_0.4.0">
    <title>Changes in version 0.4.0</title>
    <itemizedlist>
      <listitem>
    <para>
       Uses a native and naive internal Distributed Transaction Manager to
       enable 2-phase commit when underlying slices are XA-complaint. 
    </para>
      </listitem>
      </itemizedlist>
   </section>

  <section id="release_notes_0.3.0">
   <title>Changes in version 0.3.0</title>
    <itemizedlist>
    <listitem>
     <para>
      Automatic Collocation Constraint : Identifies the correct 
      slice for instances that are newly persistent by cascade. Collocation
      constraint requires that the closure of any object graph be stored in the
      same slice. In earlier version, user-defined DistributionPolicy has to
      ensure this constraint by returning the same slice for all the instances 
      in the same closure.
      Now DistributionPolicy only needs to be implemented for root instances i.e. 
      the instances that are explicit argument of persist()
      call. The cascaded instances will be automatically assigned the same slice
      identifier of the root instance.
     </para>
    </listitem>
    </itemizedlist>
   </section>

  <section id="release_notes_0.2.0">
    <title>Changes in version 0.2.0</title>
      <itemizedlist>
      <listitem>
       <para>
       Per-slice Configuration: Now each slice can be configured with separate 
       database driver or database dictionary or any other property.
       </para>
      </listitem>
      <listitem>
      <para>
      The previous multi-URL configuration is no more supported.
      </para>
      </listitem>
      </itemizedlist>
   </section>

  <section id="release_notes_0.1.0">
    <title>Changes in version 0.1.0</title>
      <itemizedlist>
      <listitem>
    <para>
       First working version for extending OpenJPA to horizontally-partitioned,
       distributed database.
    </para>
      </listitem>
      </itemizedlist>
   </section>
   &homer;
</chapter>
  