2012-05-25 14:37:16 +00:00
|
|
|
## 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.
|
2012-09-27 12:21:51 +00:00
|
|
|
##
|
2014-01-06 20:07:26 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
2014-01-06 20:08:16 +00:00
|
|
|
${project.name}
|
2023-07-23 14:59:19 -04:00
|
|
|
Version ${version}
|
|
|
|
Release Notes
|
2012-05-25 14:37:16 +00:00
|
|
|
|
2012-09-27 12:32:45 +00:00
|
|
|
|
|
|
|
This document contains the release notes for the ${version} version of Apache Commons Lang.
|
|
|
|
Commons Lang is a set of utility functions and reusable components that should be of use in any
|
|
|
|
Java environment.
|
|
|
|
|
2019-07-18 10:09:55 -04:00
|
|
|
Lang 3.9 and onwards now targets Java 8, making use of features that arrived with Java 8.
|
2012-09-27 12:32:45 +00:00
|
|
|
|
|
|
|
For the advice on upgrading from 2.x to 3.x, see the following page:
|
|
|
|
|
2019-07-04 10:46:19 -04:00
|
|
|
https://commons.apache.org/lang/article3_0.html
|
2012-09-27 12:21:51 +00:00
|
|
|
|
2012-05-25 14:37:16 +00:00
|
|
|
$introduction.replaceAll("(?<!\015)\012", "
|
2012-09-27 12:21:51 +00:00
|
|
|
").replaceAll("(?m)^ +","")
|
2012-05-25 14:37:16 +00:00
|
|
|
|
|
|
|
## N.B. the available variables are described here:
|
2022-08-21 21:29:18 +02:00
|
|
|
## https://maven.apache.org/plugins/maven-changes-plugin/examples/using-a-custom-announcement-template.html
|
2012-09-27 12:21:51 +00:00
|
|
|
##
|
2012-05-25 14:37:16 +00:00
|
|
|
## Hack to improve layout: replace all pairs of spaces with a single new-line
|
|
|
|
$release.description.replaceAll(" ", "
|
|
|
|
")
|
|
|
|
|
2012-09-27 12:21:51 +00:00
|
|
|
## set up indent sizes. Only change indent1
|
|
|
|
#set($props=${project.properties})
|
|
|
|
#set($jiralen=$props.get("commons.jira.id").length())
|
|
|
|
## indent1 = POOL-nnnn:
|
|
|
|
#set($blanklen=$jiralen+6)## +6 for "-nnnn:"
|
|
|
|
## must be at least as long as the longest JIRA id
|
|
|
|
#set($blanks=" ")
|
|
|
|
#set($indent1=$blanks.substring(0,$blanklen))
|
|
|
|
## indent2 allows for issue wrapper
|
|
|
|
#set($indent2="$indent1 ")
|
|
|
|
##
|
|
|
|
#macro ( processaction )
|
2012-05-25 14:37:16 +00:00
|
|
|
## Use replaceAll to fix up LF-only line ends on Windows.
|
|
|
|
#set($action=$actionItem.getAction().replaceAll("\n","
|
|
|
|
"))
|
2012-09-27 12:21:51 +00:00
|
|
|
## Fix up indentation for multi-line action descriptions
|
|
|
|
#set($action=$action.replaceAll("(?m)^ +",$indent2))
|
2012-05-25 14:37:16 +00:00
|
|
|
#if ($actionItem.getIssue())
|
2012-09-27 12:21:51 +00:00
|
|
|
#set($issue="$actionItem.getIssue():")
|
|
|
|
## Pad shorter issue numbers
|
|
|
|
#if ($issue.length() < $indent1.length())#set ($issue="$issue ")#end
|
|
|
|
#if ($issue.length() < $indent1.length())#set ($issue="$issue ")#end
|
|
|
|
#if ($issue.length() < $indent1.length())#set ($issue="$issue ")#end
|
2012-05-25 14:37:16 +00:00
|
|
|
#else
|
2012-09-27 12:21:51 +00:00
|
|
|
#set($issue=$indent1)
|
2012-05-25 14:37:16 +00:00
|
|
|
#end
|
|
|
|
#if ($actionItem.getDueTo())
|
2012-09-27 12:21:51 +00:00
|
|
|
#set($dueto=" Thanks to $actionItem.getDueTo().")
|
2012-05-25 14:37:16 +00:00
|
|
|
#else
|
|
|
|
#set($dueto="")
|
|
|
|
#end
|
2012-09-27 12:21:51 +00:00
|
|
|
o $issue ${action}$dueto
|
|
|
|
#set($action="")
|
2012-05-25 14:37:16 +00:00
|
|
|
#set($issue="")
|
|
|
|
#set($dueto="")
|
2012-09-27 12:21:51 +00:00
|
|
|
#end
|
|
|
|
##
|
|
|
|
#if ($release.getActions().size() == 0)
|
|
|
|
No changes defined in this version.
|
|
|
|
#else
|
|
|
|
Changes in this version include:
|
|
|
|
|
|
|
|
#if ($release.getActions('add').size() !=0)
|
|
|
|
New features:
|
|
|
|
#foreach($actionItem in $release.getActions('add'))
|
|
|
|
#processaction()
|
2012-05-25 14:37:16 +00:00
|
|
|
#end
|
|
|
|
#end
|
|
|
|
|
|
|
|
#if ($release.getActions('fix').size() !=0)
|
|
|
|
Fixed Bugs:
|
|
|
|
#foreach($actionItem in $release.getActions('fix'))
|
2012-09-27 12:21:51 +00:00
|
|
|
#processaction()
|
2012-05-25 14:37:16 +00:00
|
|
|
#end
|
|
|
|
#end
|
|
|
|
|
|
|
|
#if ($release.getActions('update').size() !=0)
|
|
|
|
Changes:
|
|
|
|
#foreach($actionItem in $release.getActions('update'))
|
2012-09-27 12:21:51 +00:00
|
|
|
#processaction()
|
2012-05-25 14:37:16 +00:00
|
|
|
#end
|
|
|
|
#end
|
|
|
|
|
|
|
|
#if ($release.getActions('remove').size() !=0)
|
|
|
|
Removed:
|
|
|
|
#foreach($actionItem in $release.getActions('remove'))
|
2012-09-27 12:21:51 +00:00
|
|
|
#processaction()
|
2012-05-25 14:37:16 +00:00
|
|
|
#end
|
|
|
|
#end
|
|
|
|
## End of main loop
|
|
|
|
#end
|
2012-09-27 12:21:51 +00:00
|
|
|
|
|
|
|
Historical list of changes: ${project.url}changes-report.html
|
|
|
|
|
2012-05-25 14:37:16 +00:00
|
|
|
For complete information on ${project.name}, including instructions on how to submit bug reports,
|
2023-01-15 07:46:15 -05:00
|
|
|
patches, or suggestions for improvement, see the ${project.name} website:
|
2012-05-25 14:37:16 +00:00
|
|
|
|
2020-03-28 10:17:10 -04:00
|
|
|
${project.url}
|
|
|
|
|
2020-07-18 08:37:57 -04:00
|
|
|
Download page: ${project.url}download_lang.cgi
|
2020-03-28 10:17:10 -04:00
|
|
|
|
|
|
|
Have fun!
|
|
|
|
-Apache Commons Team
|
2023-11-18 09:38:45 -05:00
|
|
|
|
|
|
|
-----------------------------------------------------------------------------
|