xref: /aosp_15_r20/external/apache-commons-lang/src/changes/release-notes.vm (revision 455610af95f3bf5f4bc8a9eda520f57e389a4c42)
1*455610afSAndroid Build Coastguard Worker## Licensed to the Apache Software Foundation (ASF) under one
2*455610afSAndroid Build Coastguard Worker## or more contributor license agreements.  See the NOTICE file
3*455610afSAndroid Build Coastguard Worker## distributed with this work for additional information
4*455610afSAndroid Build Coastguard Worker## regarding copyright ownership.  The ASF licenses this file
5*455610afSAndroid Build Coastguard Worker## to you under the Apache License, Version 2.0 (the
6*455610afSAndroid Build Coastguard Worker## "License"); you may not use this file except in compliance
7*455610afSAndroid Build Coastguard Worker## with the License.  You may obtain a copy of the License at
8*455610afSAndroid Build Coastguard Worker##
9*455610afSAndroid Build Coastguard Worker##  http://www.apache.org/licenses/LICENSE-2.0
10*455610afSAndroid Build Coastguard Worker##
11*455610afSAndroid Build Coastguard Worker## Unless required by applicable law or agreed to in writing,
12*455610afSAndroid Build Coastguard Worker## software distributed under the License is distributed on an
13*455610afSAndroid Build Coastguard Worker## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14*455610afSAndroid Build Coastguard Worker## KIND, either express or implied.  See the License for the
15*455610afSAndroid Build Coastguard Worker## specific language governing permissions and limitations
16*455610afSAndroid Build Coastguard Worker## under the License.
17*455610afSAndroid Build Coastguard Worker##
18*455610afSAndroid Build Coastguard Worker
19*455610afSAndroid Build Coastguard WorkerLicensed to the Apache Software Foundation (ASF) under one or more
20*455610afSAndroid Build Coastguard Workercontributor license agreements.  See the NOTICE file distributed with
21*455610afSAndroid Build Coastguard Workerthis work for additional information regarding copyright ownership.
22*455610afSAndroid Build Coastguard WorkerThe ASF licenses this file to You under the Apache License, Version 2.0
23*455610afSAndroid Build Coastguard Worker(the "License"); you may not use this file except in compliance with
24*455610afSAndroid Build Coastguard Workerthe License.  You may obtain a copy of the License at
25*455610afSAndroid Build Coastguard Worker
26*455610afSAndroid Build Coastguard Workerhttp://www.apache.org/licenses/LICENSE-2.0
27*455610afSAndroid Build Coastguard Worker
28*455610afSAndroid Build Coastguard WorkerUnless required by applicable law or agreed to in writing, software
29*455610afSAndroid Build Coastguard Workerdistributed under the License is distributed on an "AS IS" BASIS,
30*455610afSAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31*455610afSAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and
32*455610afSAndroid Build Coastguard Workerlimitations under the License.
33*455610afSAndroid Build Coastguard Worker
34*455610afSAndroid Build Coastguard Worker
35*455610afSAndroid Build Coastguard Worker                        ${project.name}
36*455610afSAndroid Build Coastguard Worker                            Version ${version}
37*455610afSAndroid Build Coastguard Worker                           Release Notes
38*455610afSAndroid Build Coastguard Worker
39*455610afSAndroid Build Coastguard Worker
40*455610afSAndroid Build Coastguard WorkerINTRODUCTION:
41*455610afSAndroid Build Coastguard Worker
42*455610afSAndroid Build Coastguard WorkerThis document contains the release notes for the ${version} version of Apache Commons Lang.
43*455610afSAndroid Build Coastguard WorkerCommons Lang is a set of utility functions and reusable components that should be of use in any
44*455610afSAndroid Build Coastguard WorkerJava environment.
45*455610afSAndroid Build Coastguard Worker
46*455610afSAndroid Build Coastguard WorkerLang 3.9 and onwards now targets Java 8, making use of features that arrived with Java 8.
47*455610afSAndroid Build Coastguard Worker
48*455610afSAndroid Build Coastguard WorkerFor the advice on upgrading from 2.x to 3.x, see the following page:
49*455610afSAndroid Build Coastguard Worker
50*455610afSAndroid Build Coastguard Worker    https://commons.apache.org/lang/article3_0.html
51*455610afSAndroid Build Coastguard Worker
52*455610afSAndroid Build Coastguard Worker$introduction.replaceAll("(?<!\015)\012", "
53*455610afSAndroid Build Coastguard Worker").replaceAll("(?m)^ +","")
54*455610afSAndroid Build Coastguard Worker
55*455610afSAndroid Build Coastguard Worker## N.B. the available variables are described here:
56*455610afSAndroid Build Coastguard Worker## https://maven.apache.org/plugins/maven-changes-plugin/examples/using-a-custom-announcement-template.html
57*455610afSAndroid Build Coastguard Worker##
58*455610afSAndroid Build Coastguard Worker## Hack to improve layout: replace all pairs of spaces with a single new-line
59*455610afSAndroid Build Coastguard Worker$release.description.replaceAll("  ", "
60*455610afSAndroid Build Coastguard Worker")
61*455610afSAndroid Build Coastguard Worker
62*455610afSAndroid Build Coastguard Worker## set up indent sizes. Only change indent1
63*455610afSAndroid Build Coastguard Worker#set($props=${project.properties})
64*455610afSAndroid Build Coastguard Worker#set($jiralen=$props.get("commons.jira.id").length())
65*455610afSAndroid Build Coastguard Worker## indent1 =   POOL-nnnn:
66*455610afSAndroid Build Coastguard Worker#set($blanklen=$jiralen+6)## +6 for "-nnnn:"
67*455610afSAndroid Build Coastguard Worker## must be at least as long as the longest JIRA id
68*455610afSAndroid Build Coastguard Worker#set($blanks="                                  ")
69*455610afSAndroid Build Coastguard Worker#set($indent1=$blanks.substring(0,$blanklen))
70*455610afSAndroid Build Coastguard Worker## indent2 allows for issue wrapper
71*455610afSAndroid Build Coastguard Worker#set($indent2="$indent1   ")
72*455610afSAndroid Build Coastguard Worker##
73*455610afSAndroid Build Coastguard Worker#macro ( processaction )
74*455610afSAndroid Build Coastguard Worker## Use replaceAll to fix up LF-only line ends on Windows.
75*455610afSAndroid Build Coastguard Worker#set($action=$actionItem.getAction().replaceAll("\n","
76*455610afSAndroid Build Coastguard Worker"))
77*455610afSAndroid Build Coastguard Worker## Fix up indentation for multi-line action descriptions
78*455610afSAndroid Build Coastguard Worker#set($action=$action.replaceAll("(?m)^  +",$indent2))
79*455610afSAndroid Build Coastguard Worker#if ($actionItem.getIssue())
80*455610afSAndroid Build Coastguard Worker#set($issue="$actionItem.getIssue():")
81*455610afSAndroid Build Coastguard Worker## Pad shorter issue numbers
82*455610afSAndroid Build Coastguard Worker#if ($issue.length() < $indent1.length())#set ($issue="$issue ")#end
83*455610afSAndroid Build Coastguard Worker#if ($issue.length() < $indent1.length())#set ($issue="$issue ")#end
84*455610afSAndroid Build Coastguard Worker#if ($issue.length() < $indent1.length())#set ($issue="$issue ")#end
85*455610afSAndroid Build Coastguard Worker#else
86*455610afSAndroid Build Coastguard Worker#set($issue=$indent1)
87*455610afSAndroid Build Coastguard Worker#end
88*455610afSAndroid Build Coastguard Worker#if ($actionItem.getDueTo())
89*455610afSAndroid Build Coastguard Worker#set($dueto=" Thanks to $actionItem.getDueTo().")
90*455610afSAndroid Build Coastguard Worker#else
91*455610afSAndroid Build Coastguard Worker#set($dueto="")
92*455610afSAndroid Build Coastguard Worker#end
93*455610afSAndroid Build Coastguard Workero $issue ${action}$dueto
94*455610afSAndroid Build Coastguard Worker#set($action="")
95*455610afSAndroid Build Coastguard Worker#set($issue="")
96*455610afSAndroid Build Coastguard Worker#set($dueto="")
97*455610afSAndroid Build Coastguard Worker#end
98*455610afSAndroid Build Coastguard Worker##
99*455610afSAndroid Build Coastguard Worker#if ($release.getActions().size() == 0)
100*455610afSAndroid Build Coastguard WorkerNo changes defined in this version.
101*455610afSAndroid Build Coastguard Worker#else
102*455610afSAndroid Build Coastguard WorkerChanges in this version include:
103*455610afSAndroid Build Coastguard Worker
104*455610afSAndroid Build Coastguard Worker#if ($release.getActions('add').size() !=0)
105*455610afSAndroid Build Coastguard WorkerNew features:
106*455610afSAndroid Build Coastguard Worker#foreach($actionItem in $release.getActions('add'))
107*455610afSAndroid Build Coastguard Worker#processaction()
108*455610afSAndroid Build Coastguard Worker#end
109*455610afSAndroid Build Coastguard Worker#end
110*455610afSAndroid Build Coastguard Worker
111*455610afSAndroid Build Coastguard Worker#if ($release.getActions('fix').size() !=0)
112*455610afSAndroid Build Coastguard WorkerFixed Bugs:
113*455610afSAndroid Build Coastguard Worker#foreach($actionItem in $release.getActions('fix'))
114*455610afSAndroid Build Coastguard Worker#processaction()
115*455610afSAndroid Build Coastguard Worker#end
116*455610afSAndroid Build Coastguard Worker#end
117*455610afSAndroid Build Coastguard Worker
118*455610afSAndroid Build Coastguard Worker#if ($release.getActions('update').size() !=0)
119*455610afSAndroid Build Coastguard WorkerChanges:
120*455610afSAndroid Build Coastguard Worker#foreach($actionItem in $release.getActions('update'))
121*455610afSAndroid Build Coastguard Worker#processaction()
122*455610afSAndroid Build Coastguard Worker#end
123*455610afSAndroid Build Coastguard Worker#end
124*455610afSAndroid Build Coastguard Worker
125*455610afSAndroid Build Coastguard Worker#if ($release.getActions('remove').size() !=0)
126*455610afSAndroid Build Coastguard WorkerRemoved:
127*455610afSAndroid Build Coastguard Worker#foreach($actionItem in $release.getActions('remove'))
128*455610afSAndroid Build Coastguard Worker#processaction()
129*455610afSAndroid Build Coastguard Worker#end
130*455610afSAndroid Build Coastguard Worker#end
131*455610afSAndroid Build Coastguard Worker## End of main loop
132*455610afSAndroid Build Coastguard Worker#end
133*455610afSAndroid Build Coastguard Worker
134*455610afSAndroid Build Coastguard WorkerHistorical list of changes: ${project.url}changes-report.html
135*455610afSAndroid Build Coastguard Worker
136*455610afSAndroid Build Coastguard WorkerFor complete information on ${project.name}, including instructions on how to submit bug reports,
137*455610afSAndroid Build Coastguard Workerpatches, or suggestions for improvement, see the ${project.name} website:
138*455610afSAndroid Build Coastguard Worker
139*455610afSAndroid Build Coastguard Worker${project.url}
140*455610afSAndroid Build Coastguard Worker
141*455610afSAndroid Build Coastguard WorkerDownload page: ${project.url}download_lang.cgi
142*455610afSAndroid Build Coastguard Worker
143*455610afSAndroid Build Coastguard WorkerHave fun!
144*455610afSAndroid Build Coastguard Worker-Apache Commons Team
145