/Prototipo/Servlet/lib/xstream-distribution-1.4.1-bin/xstream-1.4.1/docs/versioning.html

http://prototipomemoria.googlecode.com/ · HTML · 199 lines · 158 code · 29 blank · 12 comment · 0 complexity · 2035d9ce187c60f2c59681e6aa0213e8 MD5 · raw file

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <!--
  4. Copyright (C) 2005, 2006 Joe Walnes.
  5. Copyright (C) 2006, 2007, 2008 XStream committers.
  6. All rights reserved.
  7. The software in this package is published under the terms of the BSD
  8. style license a copy of which has been included with this distribution in
  9. the LICENSE.txt file.
  10. Created on 29. January 2005 by Joe Walnes
  11. -->
  12. <head>
  13. <title>XStream - About Versioning</title>
  14. <link rel="stylesheet" type="text/css" href="style.css"/>
  15. <!-- Google analytics -->
  16. <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
  17. </script>
  18. <script type="text/javascript">
  19. _uacct = "UA-110973-2";
  20. urchinTracker();
  21. </script>
  22. </head>
  23. <body>
  24. <div id="banner">
  25. <a href="index.html"><img id="logo" src="logo.gif" alt="XStream"/></a>
  26. </div>
  27. <div id="center" class="Content2Column"> <!-- Content3Column for index -->
  28. <div id="content">
  29. <h1 class="FirstChild">About Versioning</h1>
  30. <p>The XStream project follows strict rules that govern its use of version
  31. numbers. The version number of a release indicates how that release
  32. is compatible with previous and future releases.</p>
  33. <p>Version numbers have the form
  34. <var>major</var>.<var>minor</var>.<var>patch</var>. A major
  35. version identifies the product stage of the project. Two libraries with
  36. different major version are designed to work together in the same
  37. application. This implies a major change in the API - either by not
  38. sharing the same types or using a different package name.</p>
  39. <p>The minor version number identifies the API version. A release that
  40. changes the API in a way that breaks backwards compatibility will increment
  41. the minor version number and reset the patch version to zero. The patch
  42. version number identifies the backwards compatible revision of the API. A
  43. change in the minor version will still be mostly backward compatible, but
  44. may need some compatibility settings or slight migration adjustments. The
  45. patch version number identifies revisions that do not change the API
  46. although new API elements may occur or existing API may be deprecated to
  47. prepare users for the next release with a change in the minor version. A
  48. release that fixes bugs or refactors implementation details without changing
  49. the API will have the same minor and major versions as the previous release
  50. and increment the patch number.</p>
  51. <p>A hypothetical example:</p>
  52. <table summary="Hypothetical examples for version numbering">
  53. <tr><td>1.0.0</td><td>First release</td></tr>
  54. <tr><td>1.0.1</td><td>Improves Javadoc comments, fixes bug</td></tr>
  55. <tr><td>1.1.0</td><td>Adds new API elements, may cause some migration</td></tr>
  56. <tr><td>1.1.1</td><td>Adds new API elements, deprecates some API elements</td></tr>
  57. <tr><td>1.1.2</td><td>Fixes bugs</td></tr>
  58. <tr><td>1.2.0</td><td>Adds new API, needs some migration effort and removes deprecated elements</td></tr>
  59. <tr><td>2.0.0</td><td>Complete API redesign, can be used simultanly with 1.x series.</td></tr>
  60. <tr><td>2.0.1</td><td>Deprecates API, fixes bugs</td></tr>
  61. <tr><td>2.1.0</td><td>Adds new API elements</td></tr>
  62. <tr><td>etc.</td><td>etc.</td></tr>
  63. </table>
  64. <h2 id="rc">Release Candidates</h2>
  65. <p>Before a new major or minor release, XStream will make release
  66. candidate (RC) packages available so that users can test them against
  67. their own code. There will be one or more release candidates given the
  68. version <var>major</var>.<var>minor</var>.0 RC<var>n</var>, where the
  69. major and minor version numbers identify the upcoming release and RC1
  70. identifies the first candidate release, RC2 the second, and so on.</p>
  71. <p>A release candidate does not guarantee backward compatibility with
  72. new API features introduced by any previous RC of the same upcoming
  73. version.
  74. A major version RC can change/remove API features introduced in a
  75. previous RC for the same major version; a minor version RC can change
  76. API features introduced by any previous RC of the same upcoming minor
  77. version but guarantees backward compatibility with the previous minor
  78. version.</p>
  79. <h2 id="snapshots">Development Snapshots</h2>
  80. <p>During development, the the developers may publish snapshot packages
  81. from time to time. These are not guaranteed to be complete:
  82. Although the unit tests will all pass the snapshot will probably contain
  83. failing acceptance tests that describe planned or requested features that
  84. have not yet been implemented. Snapshots are identified by the UTC time
  85. at which the package was built. The timestamp has the form
  86. <var>VERSION-YYYYMMDD.hhmmss-n</var>, where VERSION is the upcoming
  87. version, YYYY is the (four-digit) year, MM the month, DD the day, hh the
  88. hour, mm the minute, ss the second and n a sequential number.</p>
  89. <h2 id="internal">Internal Classes</h2>
  90. <p>Many classes are for internal use only and not designed to be used by
  91. end users. These are exempt from the versioning rules above.</p>
  92. <p>Such classes are clearly marked as internal in the source code
  93. headers and are excluded from the published JavaDoc.</p>
  94. <h2 id="versioning">Versioning and Deprecation</h2>
  95. <p>A patch release might deprecate some API features. Deprecated features
  96. will not actually be removed until the next minor release.
  97. A release will never remove API features that have not been deprecated in
  98. a previous release.
  99. </p>
  100. <br/>
  101. </div>
  102. </div>
  103. <div class="SidePanel" id="left">
  104. <div class="MenuGroup">
  105. <h1>Software</h1>
  106. <ul>
  107. <li><a href="index.html">About XStream</a></li>
  108. <li><a href="news.html">News</a></li>
  109. <li><a href="changes.html">Change History</a></li>
  110. <li class="currentLink">About Versioning</li>
  111. </ul>
  112. </div>
  113. <div class="MenuGroup">
  114. <h1>Evaluating XStream</h1>
  115. <ul>
  116. <li><a href="tutorial.html">Two Minute Tutorial</a></li>
  117. <li><a href="graphs.html">Object references</a></li>
  118. <li><a href="manual-tweaking-output.html">Tweaking the Output</a></li>
  119. <li><a href="license.html">License</a></li>
  120. <li><a href="download.html">Download</a></li>
  121. <li><a href="references.html">References</a></li>
  122. <li><a href="parser-benchmarks.html">Parser Benchmarks</a></li>
  123. <li><a href="http://www.ohloh.net/projects/3459">Code Statistics</a></li>
  124. </ul>
  125. </div>
  126. <div class="MenuGroup">
  127. <h1>Using XStream</h1>
  128. <ul>
  129. <li><a href="architecture.html">Architecture Overview</a></li>
  130. <li><a href="converters.html">Converters</a></li>
  131. <li><a href="faq.html">Frequently Asked Questions</a></li>
  132. <li><a href="list-user.html">Users' Mailing List</a></li>
  133. <li><a href="issues.html">Reporting Issues</a></li>
  134. </ul>
  135. </div>
  136. <div class="MenuGroup">
  137. <h1>Javadoc</h1>
  138. <ul>
  139. <li><a href="javadoc/index.html">XStream Core</a></li>
  140. <li><a href="hibernate-javadoc/index.html">Hibernate Extensions</a></li>
  141. <li><a href="benchmark-javadoc/index.html">Benchmark Module</a></li>
  142. </ul>
  143. </div>
  144. <div class="MenuGroup">
  145. <h1>Tutorials</h1>
  146. <ul>
  147. <li><a href="tutorial.html">Two Minute Tutorial</a></li>
  148. <li><a href="alias-tutorial.html">Alias Tutorial</a></li>
  149. <li><a href="annotations-tutorial.html">Annotations Tutorial</a></li>
  150. <li><a href="converter-tutorial.html">Converter Tutorial</a></li>
  151. <li><a href="objectstream.html">Object Streams Tutorial</a></li>
  152. <li><a href="persistence-tutorial.html">Persistence API Tutorial</a></li>
  153. <li><a href="json-tutorial.html">JSON Tutorial</a></li>
  154. </ul>
  155. </div>
  156. <div class="MenuGroup">
  157. <h1>Developing XStream</h1>
  158. <ul>
  159. <li><a href="how-to-contribute.html">How to Contribute</a></li>
  160. <li><a href="list-dev.html">Developers' Mailing List</a></li>
  161. <li><a href="team.html">Development Team</a></li>
  162. <li><a href="repository.html">Source Repository</a></li>
  163. <li><a href="http://bamboo.ci.codehaus.org/browse/XSTREAM">Continuous Integration</a></li>
  164. </ul>
  165. </div>
  166. </div>
  167. </body>
  168. </html>