Skip to content

Commit 0b23120

Browse files
committed
Move to use maven changes-report
Need to simplify process of releasing
1 parent e441ee9 commit 0b23120

File tree

6 files changed

+176
-124
lines changed

6 files changed

+176
-124
lines changed

RELEASE-NOTES.txt

Lines changed: 5 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Joda-Time version 2.9.6
1+
Joda-Time release notes
22
-----------------------
33

44
Joda-Time is a date and time handling library that seeks to replace the JDK
@@ -12,126 +12,11 @@ This is the same license as all of Apache, plus other open source projects such
1212
** Please also check out our related projects **
1313
** http://www.joda.org/joda-time/related.html **
1414

15-
Changes in 2.9.7
16-
----------------
17-
- DateTimeZone data updated to version 2016j
18-
19-
20-
Changes in 2.9.6
21-
----------------
22-
- Support conversion of old TimeZone where name has digits other than ASCII [#381]
23-
24-
25-
Changes in 2.9.5
26-
----------------
27-
- Add Norwegian period translations [#378]
28-
29-
- Add Duration.dividedBy(long,RoundingMode) [#69, #379]
30-
31-
- DateTimeZone data updated to version 2016i
32-
33-
- Fixed bug where clock read twice when comparing two nulls in DateTimeComparator [#404]
34-
35-
- Fixed minor issues with historic time-zone data [#373]
36-
37-
- Fix bug in time-zone binary search [#332, #386]
38-
The fix in v2.9.2 caused problems when the time-zone being parsed
39-
was not the last element in the input string. New approach uses a
40-
different approach to the problem.
41-
42-
- Update tests for JDK 9 [#394]
43-
44-
- Close buffered reader correctly in zone info compiler [#396]
45-
46-
- Handle locale correctly zone info compiler [#397]
47-
48-
49-
Changes in 2.9.4
50-
----------------
51-
- DateTimeZone data updated to version 2016d
52-
53-
- Loading time-zone provider now occurs in a privileged block [#327, #375]
54-
55-
56-
Changes in 2.9.3
57-
----------------
58-
- DateTimeZone data updated to version 2016c
59-
60-
- Make DateTimeUtils.SYSTEM_MILLIS_PROVIDER public [#357]
61-
62-
- Fix bug when adding months at the maximum limits of integer [#361]
63-
64-
- Add Turkish period translations [#364]
65-
66-
67-
Changes in 2.9.2
68-
----------------
69-
- DateTimeZone data updated to version 2016a (version 2.9 had time-zone data 2015g)
70-
71-
- Fix bug in time-zone binary search [#332]
72-
73-
- Minor fixes to code internals [#339, #326, #344, #350, #343]
74-
75-
- Better document behaviour [#325]
76-
77-
78-
Changes in 2.9.1
79-
----------------
80-
- Fix bug introduced by Long.MIN_VALUE and Long.MAX_VALUE changes [#328]
81-
82-
83-
Enhancements in 2.9
84-
-------------------
85-
- Faster parsing of time-zone identifiers [#282]
86-
87-
- Added Interval.parseWithOffset(String) [#299, #296]
88-
Provides a way to parse the fixed offset in an interval string
89-
90-
- Add DateTimeFormatter methods for StringBuilder [#298]
91-
92-
- Add Russian period translations [#320]
93-
94-
- Add Italian period translations [#312]
95-
96-
- Add Czech period translations [#313]
97-
98-
- Clarify that PeriodFormatterBuilder is in an invalid state once built [#309]
99-
100-
- Allow DateTime and Interval to refer to values at Long.MIN_VALUE and Long.MAX_VALUE [#297, #190]
101-
A DateTime may be created with any millisecond value, however at the very edges there may be
102-
some undesirable effects, for example always using UTC instead of the time-zone
103-
104-
- Better error message for malformed tzdb files [#319]
105-
106-
- Better error message for interval constructor [#321]
107-
108-
109-
Compatibility between 2.8 and 2.9
110-
---------------------------------
111-
Build system - Yes
112-
113-
Binary compatible - Yes
114-
115-
Source compatible - Yes
116-
117-
Serialization compatible - Yes
118-
119-
Data compatible - Yes
120-
- DateTimeZone data updated to version 2015g
121-
122-
Semantic compatible - Yes
123-
124-
125-
Bug fixes in 2.9
126-
----------------
127-
- Fixed to handle JDK 8u60 [#288, #291]
128-
Without this fix, formatting a time-zone will print "+00:00" instead of "GMT" for the GMT time-zone
129-
130-
- Fix parsing of basic form ISO style where year has unnecessary plus sign [#86]
131-
For example, +20151030 will now be correctly parsed as year 2015.
132-
133-
- Fix overflow bug in intervals [#315]
13415

16+
Release notes
17+
-------------
18+
From v2.9.7, Joda-Time release notes are found here:
19+
http://www.joda.org/joda-time/changes-report.html
13520

13621

13722
Scala

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,18 @@
754754
<showSuccess>true</showSuccess>
755755
</configuration>
756756
</plugin>
757+
<plugin>
758+
<groupId>org.apache.maven.plugins</groupId>
759+
<artifactId>maven-changes-plugin</artifactId>
760+
<version>${maven-changes-plugin.version}</version>
761+
<reportSets>
762+
<reportSet>
763+
<reports>
764+
<report>changes-report</report>
765+
</reports>
766+
</reportSet>
767+
</reportSets>
768+
</plugin>
757769
</plugins>
758770
</reporting>
759771

src/changes/changes.xml

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
3+
<document>
4+
<properties>
5+
<title>Changes</title>
6+
<author>Stephen Colebourne</author>
7+
</properties>
8+
<body>
9+
10+
<!-- types are add, fix, remove, update -->
11+
<release version="2.9.7" date="2016-12-19" description="v2.9.7">
12+
<action dev="jodastephen" type="update">
13+
DateTimeZone data updated to version 2016j.
14+
</action>
15+
</release>
16+
17+
<release version="2.9.6" date="2016-11-10" description="v2.9.6">
18+
<action dev="jodastephen" type="fix">
19+
Support conversion of old TimeZone where name has digits other than ASCII [#381]
20+
</action>
21+
</release>
22+
23+
<release version="2.9.5" date="2016-11-03" description="v2.9.5">
24+
<action dev="jodastephen" type="add">
25+
Add Norwegian period translations [#378]
26+
</action>
27+
<action dev="jodastephen" type="add">
28+
Add Duration.dividedBy(long,RoundingMode) [#69, #379]
29+
</action>
30+
<action dev="jodastephen" type="update">
31+
DateTimeZone data updated to version 2016i
32+
</action>
33+
<action dev="jodastephen" type="fix">
34+
Fixed bug where clock read twice when comparing two nulls in DateTimeComparator [#404]
35+
</action>
36+
<action dev="jodastephen" type="fix">
37+
Fixed minor issues with historic time-zone data [#373]
38+
</action>
39+
<action dev="jodastephen" type="fix">
40+
Fix bug in time-zone binary search [#332, #386]
41+
The fix in v2.9.2 caused problems when the time-zone being parsed
42+
was not the last element in the input string. New approach uses a
43+
different approach to the problem.
44+
</action>
45+
<action dev="jodastephen" type="fix">
46+
Update tests for JDK 9 [#394]
47+
</action>
48+
<action dev="jodastephen" type="fix">
49+
Close buffered reader correctly in zone info compiler [#396]
50+
</action>
51+
<action dev="jodastephen" type="fix">
52+
Handle locale correctly zone info compiler [#397]
53+
</action>
54+
</release>
55+
56+
<release version="2.9.4" date="2016-05-27" description="v2.9.4">
57+
<action dev="jodastephen" type="update">
58+
DateTimeZone data updated to version 2016d
59+
</action>
60+
<action dev="jodastephen" type="fix">
61+
Loading time-zone provider now occurs in a privileged block [#327, #375]
62+
</action>
63+
</release>
64+
65+
<release version="2.9.3" date="2016-03-27" description="v2.9.3">
66+
<action dev="jodastephen" type="update">
67+
DateTimeZone data updated to version 2016c
68+
</action>
69+
<action dev="jodastephen" type="add">
70+
Make DateTimeUtils.SYSTEM_MILLIS_PROVIDER public [#357]
71+
</action>
72+
<action dev="jodastephen" type="fix">
73+
Fix bug when adding months at the maximum limits of integer [#361]
74+
</action>
75+
<action dev="jodastephen" type="add">
76+
Add Turkish period translations [#364]
77+
</action>
78+
</release>
79+
80+
<release version="2.9.2" date="2016-01-28" description="v2.9.2">
81+
<action dev="jodastephen" type="update">
82+
DateTimeZone data updated to version 2016a (version 2.9 had time-zone data 2015g)
83+
</action>
84+
<action dev="jodastephen" type="fix">
85+
Fix bug in time-zone binary search [#332]
86+
</action>
87+
<action dev="jodastephen" type="fix">
88+
Minor fixes to code internals [#339, #326, #344, #350, #343]
89+
</action>
90+
<action dev="jodastephen" type="add">
91+
Better document behaviour [#325]
92+
</action>
93+
</release>
94+
95+
<release version="2.9.1" date="2015-11-12" description="v2.9.1">
96+
<action dev="jodastephen" type="fix">
97+
Fix bug introduced by Long.MIN_VALUE and Long.MAX_VALUE changes [#328]
98+
</action>
99+
</release>
100+
101+
<release version="2.9" date="2016-10-24" description="v2.9">
102+
<action dev="jodastephen" type="update">
103+
DateTimeZone data updated to version 2015g
104+
</action>
105+
<action dev="jodastephen" type="add">
106+
Faster parsing of time-zone identifiers [#282]
107+
</action>
108+
<action dev="jodastephen" type="add">
109+
Added Interval.parseWithOffset(String) [#299, #296]
110+
Provides a way to parse the fixed offset in an interval string
111+
</action>
112+
<action dev="jodastephen" type="add">
113+
Add DateTimeFormatter methods for StringBuilder [#298]
114+
</action>
115+
<action dev="jodastephen" type="add">
116+
Add Russian period translations [#320]
117+
</action>
118+
<action dev="jodastephen" type="add">
119+
Add Italian period translations [#312]
120+
</action>
121+
<action dev="jodastephen" type="add">
122+
Add Czech period translations [#313]
123+
</action>
124+
<action dev="jodastephen" type="add">
125+
Clarify that PeriodFormatterBuilder is in an invalid state once built [#309]
126+
</action>
127+
<action dev="jodastephen" type="add">
128+
Allow DateTime and Interval to refer to values at Long.MIN_VALUE and Long.MAX_VALUE [#297, #190]
129+
A DateTime may be created with any millisecond value, however at the very edges there may be
130+
some undesirable effects, for example always using UTC instead of the time-zone
131+
</action>
132+
<action dev="jodastephen" type="fix">
133+
Better error message for malformed tzdb files [#319]
134+
</action>
135+
<action dev="jodastephen" type="fix">
136+
Better error message for interval constructor [#321]
137+
</action>
138+
<action dev="jodastephen" type="fix">
139+
Fixed to handle JDK 8u60 [#288, #291]
140+
Without this fix, formatting a time-zone will print "+00:00" instead of "GMT" for the GMT time-zone
141+
</action>
142+
<action dev="jodastephen" type="fix">
143+
Fix parsing of basic form ISO style where year has unnecessary plus sign [#86]
144+
For example, +20151030 will now be correctly parsed as year 2015.
145+
</action>
146+
<action dev="jodastephen" type="fix">
147+
Fix overflow bug in intervals [#315]
148+
</action>
149+
150+
</release>
151+
152+
</body>
153+
</document>

src/site/markdown/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Various documentation is available:
3131
* The [key concepts](key.html) and [chronology](cal.html) guides
3232
* The [Javadoc](apidocs/index.html)
3333
* The list of [FAQ](faq.html)s.
34-
* The [change notes](installation.html) for each release
34+
* The [change notes](changes-report.html) for each release
3535
* The [GitHub](https://github.com/JodaOrg/joda-time) source repository
3636

3737

@@ -129,7 +129,7 @@ Joda-Time is licenced under the business friendly <a href="license.html">Apache
129129

130130
[Release 2.9.6](download.html) is the current latest release.
131131
This release is considered stable and worthy of the 2.x tag.
132-
See the [upgrade notes](installation.html) for full details.
132+
See the [change notes](changes-report.html) for full details.
133133

134134
Joda-Time requires Java SE 5 or later and has [no dependencies](dependencies.html).
135135
There is a *compile-time* dependency on [Joda-Convert](http://www.joda.org/joda-convert/),

src/site/site.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@
125125
</menu>
126126

127127
<menu name="Releases">
128-
<item name="Release notes" href="installation.html"/>
128+
<item name="Release notes" href="changes-report.html"/>
129+
<item name="Old release notes" href="installation.html"/>
129130
<item name="Dependency info" href="dependency-info.html"/>
130131
<item name="Download" href="download.html"/>
131132
</menu>

src/site/xdoc/installation.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ The binary download also includes joda-time-sources.jar, which is a jar file
1919
of the source code suitable for linking to the jar file in IDEs such as Eclipse.
2020
</p>
2121
<p>
22-
The release notes for upgraders can be found here:
22+
The <a href="changes-report.html">release notes</a> for upgraders can be found here:
2323
<ul>
24+
<li><a href="changes-report.html">Version 2.9 and later</a></li>
2425
<li><a href="upgradeto296.html">Version 2.9.6</a></li>
2526
<li><a href="upgradeto295.html">Version 2.9.5</a></li>
2627
<li><a href="upgradeto294.html">Version 2.9.4</a></li>

0 commit comments

Comments
 (0)