diff --git a/README.md b/README.md index 0d0fd9c80..ca6f674df 100644 --- a/README.md +++ b/README.md @@ -46,24 +46,24 @@ Various documentation is available: ### Releases -[Release 2.9.1](http://www.joda.org/joda-time/download.html) is the current latest release. +[Release 2.9.2](http://www.joda.org/joda-time/download.html) is the current latest release. This release is considered stable and worthy of the 2.x tag. It depends on JDK 1.5 or later. -Available in the [Maven Central repository](http://search.maven.org/#artifactdetails|joda-time|joda-time|2.9.1|jar) +Available in the [Maven Central repository](http://search.maven.org/#artifactdetails|joda-time|joda-time|2.9.2|jar) **Maven configuration:** ```xml joda-time joda-time - 2.9.1 + 2.9.2 ``` **Gradle configuration:** ```groovy -compile 'joda-time:joda-time:2.9.1' +compile 'joda-time:joda-time:2.9.2' ``` ### Related projects diff --git a/pom.xml b/pom.xml index bc26cb3b6..91f8ab738 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ joda-time jar Joda-Time - 2.9.1 + 2.9.2 Date and time library to replace JDK date handling http://www.joda.org/joda-time/ diff --git a/src/conf/MANIFEST.MF b/src/conf/MANIFEST.MF index 7bf8a4c89..e5502a8dc 100644 --- a/src/conf/MANIFEST.MF +++ b/src/conf/MANIFEST.MF @@ -5,19 +5,19 @@ Specification-Vendor: Joda.org Specification-Version: 2.9 Implementation-Vendor: Joda.org Implementation-Title: org.joda.time -Implementation-Version: 2.9.1 +Implementation-Version: 2.9.2 Implementation-Vendor-Id: org.joda Bundle-ManifestVersion: 2 Bundle-Vendor: Joda.org Bundle-Name: Joda-Time Bundle-SymbolicName: joda-time -Bundle-Version: 2.9.1 -Export-Package: org.joda.time;version=2.9.1, - org.joda.time.base;version=2.9.1, - org.joda.time.chrono;version=2.9.1, - org.joda.time.convert;version=2.9.1, - org.joda.time.field;version=2.9.1, - org.joda.time.format;version=2.9.1, - org.joda.time.tz;version=2.9.1 +Bundle-Version: 2.9.2 +Export-Package: org.joda.time;version=2.9.2, + org.joda.time.base;version=2.9.2, + org.joda.time.chrono;version=2.9.2, + org.joda.time.convert;version=2.9.2, + org.joda.time.field;version=2.9.2, + org.joda.time.format;version=2.9.2, + org.joda.time.tz;version=2.9.2 Bundle-License: Apache 2.0 Bundle-DocURL: http://www.joda.org/joda-time/ diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md index e36581107..75ae89476 100644 --- a/src/site/markdown/index.md +++ b/src/site/markdown/index.md @@ -125,7 +125,7 @@ Joda-Time is licenced under the business friendly Apache ## Releases -[Release 2.9.1](download.html) is the current latest release. +[Release 2.9.2](download.html) is the current latest release. This release is considered stable and worthy of the 2.x tag. See the [upgrade notes](upgradeto290.html) for full details. @@ -133,13 +133,13 @@ Joda-Time requires Java SE 5 or later and has [no dependencies](dependencies.htm There is a *compile-time* dependency on [Joda-Convert](http://www.joda.org/joda-convert/), but this is not required at runtime thanks to the magic of annotations. -Available in [Maven Central](http://search.maven.org/#artifactdetails%7Cjoda-time%7Cjoda-time%7C2.9.1%7Cjar). +Available in [Maven Central](http://search.maven.org/#artifactdetails%7Cjoda-time%7Cjoda-time%7C2.9.2%7Cjar). ```xml joda-time joda-time - 2.9.1 + 2.9.2 ``` diff --git a/src/site/xdoc/installation.xml b/src/site/xdoc/installation.xml index 476926d6f..03bba0845 100644 --- a/src/site/xdoc/installation.xml +++ b/src/site/xdoc/installation.xml @@ -21,31 +21,32 @@ of the source code suitable for linking to the jar file in IDEs such as Eclipse.

The release notes for upgraders can be found here:

diff --git a/src/site/xdoc/upgradeto290.xml b/src/site/xdoc/upgradeto290.xml index 93ec5bd91..b3ad20e74 100644 --- a/src/site/xdoc/upgradeto290.xml +++ b/src/site/xdoc/upgradeto290.xml @@ -1,4 +1,4 @@ - + diff --git a/src/site/xdoc/upgradeto291.xml b/src/site/xdoc/upgradeto291.xml index ed616b7d4..5a59ec485 100644 --- a/src/site/xdoc/upgradeto291.xml +++ b/src/site/xdoc/upgradeto291.xml @@ -1,8 +1,8 @@ - + - Java date and time API - Upgrade from 2.8 to 2.9 + Java date and time API - Upgrade from 2.9 to 2.9.1 Stephen Colebourne diff --git a/src/site/xdoc/upgradeto292.xml b/src/site/xdoc/upgradeto292.xml new file mode 100644 index 000000000..ac5739e6a --- /dev/null +++ b/src/site/xdoc/upgradeto292.xml @@ -0,0 +1,111 @@ + + + + + Java date and time API - Upgrade from 2.9 to 2.9.2 + Stephen Colebourne + + + + +

+

+These are the release notes and advice for upgrading Joda-Time from version 2.8 to version 2.9. + +Joda-Time version 2.9.2 +----------------------- + +Joda-Time is a date and time handling library that seeks to replace the JDK +Date and Calendar classes. For Java SE 8 and later, please use java.time instead. + +This release contains one bug fix, a time-zone update and some minor internal changes. +The release runs on JDK 5 or later. + +Joda-Time is licensed under the business-friendly Apache License Version 2. +This is the same license as all of Apache, plus other open source projects such as Spring. + +** Please also check out our related projects ** +** http://www.joda.org/joda-time/related.html ** + + +Bug fixes in 2.9.2 +------------------ + - Fix bug in time-zone binary search [#332] + + - DateTimeZone data updated to version 2016a (version 2.9 had time-zone data 2015g) + + - Minor fixes to code internals [#339, #326, #344, #350, #343] + + - Better document behaviour [#325] + + +Bug fixes in 2.9.1 +------------------ +- Fix bug introduced by Long.MIN_VALUE and Long.MAX_VALUE changes [#328] + + +Enhancements in 2.9 +------------------- +- Faster parsing of time-zone identifiers [#282] + +- Added Interval.parseWithOffset(String) [#299, #296] + Provides a way to parse the fixed offset in an interval string + +- Add DateTimeFormatter methods for StringBuilder [#298] + +- Add Russian period translations [#320] + +- Add Italian period translations [#312] + +- Add Czech period translations [#313] + +- Clarify that PeriodFormatterBuilder is in an invalid state once built [#309] + +- Allow DateTime and Interval to refer to values at Long.MIN_VALUE and Long.MAX_VALUE [#297, #190] + A DateTime may be created with any millisecond value, however at the very edges there may be + some undesirable effects, for example always using UTC instead of the time-zone + +- Better error message for malformed tzdb files [#319] + +- Better error message for interval constructor [#321] + + +Compatibility between 2.8 and 2.9 +--------------------------------- +Build system - Yes + +Binary compatible - Yes + +Source compatible - Yes + +Serialization compatible - Yes + +Data compatible - Yes + - DateTimeZone data updated to version 2015g + +Semantic compatible - Yes + + +Bug fixes in 2.9 +---------------- +- Fixed to handle JDK 8u60 [#288, #291] + Without this fix, formatting a time-zone will print "+00:00" instead of "GMT" for the GMT time-zone + +- Fix parsing of basic form ISO style where year has unnecessary plus sign [#86] + For example, +20151030 will now be correctly parsed as year 2015. + +- Fix overflow bug in intervals [#315] + + + +Scala +----- +Joda-Time uses annotations from Joda-Convert. +In the Java programming language, this dependency is optional, however in Scala it is not. +Scala users must manually add the Joda-Convert v1.2 dependency. + +

+
+ + +