apache-commons-cli/apache-commons-cli.changes

290 lines
13 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Mon Apr 29 11:36:14 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
- Rebased patch CLI-253-workaround.patch to new version.
- Updated apache-commons-cli-build.xml to new version.
- Update to 1.7:
* New features:
- Add and use a Converter interface and implementations without
using BeanUtils #216. Fixes CLI-321. Thanks to Claude Warren,
Gary Gregory.
- Add Maven property project.build.outputTimestamp for build
reproducibility. Thanks to Gary Gregory.
- Add '-' as an option char and implemented extensive tests
#217. Fixes CLI-322. Thanks to Claude Warren, Gary Gregory.
- Make adding OptionGroups and Options to existing Options
easier #230. Fixes CLI-324. Thanks to Claude Warren, Gary
Gregory.
- Added Supplier<T> defaults for getParsedOptionValue #229.
Fixes CLI-323. Thanks to Claude Warren, Gary Gregory.
- Make Option.getKey() public #239. Fixes CLI-326. Thanks to
Claude Warren, Gary Gregory.
- Add builder factory CommandLine#builder(). Thanks to Claude
Warren, Gary Gregory.
* Fixes:
- Inconsistent behavior in key/value pairs (Java property
style). Fixes CLI-312. Thanks to Claude Warren, Gary Gregory.
- Avoid NullPointerException in
Util.stripLeadingAndTrailingQuotes(String). Thanks to Gary
Gregory.
- Awkward behavior of Option.builder() for multiple optional
args. Fixes CLI-320. Thanks to Paul King, Claude Warren.
- Properties from multiple arguments with value separator.
#237. Fixes CLI-325. Thanks to Claude Warren.
- Fix for expected textual date values. #244. Fixes CLI-327.
Thanks to Claude Warren, Gary Gregory.
- Option.Builder.option("") should throw
IllegalArgumentException instead of
ArrayIndexOutOfBoundsException. Thanks to Gary Gregory.
- Avoid NullPointerException in
CommandLine.getOptionValues(Option|String). Thanks to Gary
Gregory.
* Updates:
- Bump commons-parent from 64 to 69 #256. Thanks to Gary
Gregory.
- Update the tests to JUnit 5 #238. Thanks to Elric, Gary
Gregory.
- Bump tests commons-io:commons-io from 2.16.0 to 2.16.1 #258.
Thanks to Dependabot, Gary Gregory.
- Includes changes from version 1.6:
* Fixes:
- [StepSecurity] ci: Harden GitHub Actions #176. Thanks to
step-security-bot, Gary Gregory.
- Inconsistent date format in changes report. Fixes CLI-318.
Thanks to Alexander Veit, Gary Gregory.
- Fix NPE in CommandLine.resolveOption(String). Fixes CLI-283.
Thanks to Dilraj Singh, Gary Gregory.
- CommandLine.addOption(Option) should not allow a null Option.
Fixes CLI-283. Thanks to Dilraj Singh, Gary Gregory.
- CommandLine.addArgs(String) should not allow a null String.
Fixes CLI-283. Thanks to Gary Gregory.
- Site docs: "Usage Scenarios" refers to deprecated methods.
Fixes CLI-303. Thanks to Julian Schilling, Gary Gregory.
- NullPointerException thrown by CommandLineParser.parse().
Fixes CLI-317. Thanks to Philippe Bastiani, Sruteesh Kumar
Paramata, Gary Gregory.
- StringIndexOutOfBoundsException thrown by
CommandLineParser.parse(). Fixes CLI-313. Thanks to Dominik
Stadler, HUNG LU, Sruteesh Kumar Paramata.
* Updates:
- Fix SpotBugs Error: Medium: Method intentionally throws
RuntimeException. [org.apache.commons.cli.Option] At
Option.java:[lines 417-423]
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION Thanks to Gary Gregory.
- Fix SpotBugs Error: Medium: Method intentionally throws
RuntimeException. [org.apache.commons.cli.Option] At
Option.java:[lines 446-450]
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION Thanks to Gary Gregory.
- Fix SpotBugs Error: Medium: Method intentionally throws
RuntimeException. [org.apache.commons.cli.Option] At
Option.java:[lines 474-478]
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION Thanks to Gary Gregory.
- Use EMPTY_STRING_ARRAY constant. #102. Thanks to Ken Dombeck.
- Fix site links that are broken #155. Thanks to Arturo Bernal.
- Use Math.max() #111. Delete unused assignment #112. Thanks to
Arturo Bernal.
- Add github/codeql-action. Thanks to Dependabot, Gary Gregory.
- Bump Java from 7 to 8. Thanks to Gary Gregory.
- Bump actions/cache from 2.1.7 to 3.0.10 #97, #130, #132.
Thanks to Dependabot, Gary Gregory.
- Bump actions/checkout from 3 to 3.1.0 #133. Thanks to Gary
Gregory, Dependabot.
- Bump actions/setup-java from 2 to 3.6.0 #136. Thanks to Gary
Gregory.
- Bump spotbugs from 4.5.3 to 4.7.3 #96, #107, #113, #125,
#138. Thanks to Gary Gregory, Dependabot.
- Bump spotbugs-maven-plugin from 4.5.3.0 to 4.7.3.0 #98, #108,
#115, #117, #126, #145. Thanks to Dependabot.
- Bump commons-parent from 52 to 64 #100, #128, #151, #158.
Thanks to Dependabot, Gary Gregory.
- Bump maven-antrun-plugin from 3.0.0 to 3.1.0 #103. Thanks to
Dependabot.
- Bump maven-javadoc-plugin from 3.3.2 to 3.4.1 #105, #120.
Thanks to Dependabot.
- Bump maven-pmd-plugin from 3.16.0 to 3.19.0 #110, #124.
Thanks to Dependabot.
- Bump jacoco-maven-plugin from 0.8.7 to 0.8.8. Thanks to Gary
Gregory.
- Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 #121. Thanks
to Gary Gregory.
- Bump japicmp-maven-plugin from 0.15.4 to 0.16.0. Thanks to
Gary Gregory.
- Update JUnit 4 to 5 vintage. Thanks to Gary Gregory.
-------------------------------------------------------------------
Tue Feb 20 10:25:28 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Thu Sep 21 05:39:25 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Build with java source/target levels 8
-------------------------------------------------------------------
Thu Dec 16 16:26:28 UTC 2021 - David Anes <david.anes@suse.com>
- Rebased patch CLI-253-workaround.patch to new version.
- Updated build XML file to new version.
- Harmonized the use of X.Y.X strings everywhere.
- Updated new source locations from Apache.
- Added 'apache-commons-cli-rpmlintrc' to silence 'package-with-huge-docs' warning (Javadoc generates many files...)
- Update to 1.5:
* New features:
- (CLI-217) Accommodate toggling partial matching in DefaultParser. Thanks to Rubin Simons.
- (CLI-274) Option parser type EXISTING_FILE_VALUE not check file existing Thanks to Béla Schaum.
- (CLI-271) CommandLine.getXXX and CommandLine.hasXXX should accept an Option as a parameter Thanks to Christoph Läubrich.
- (CLI-276) Adjust access-modifier of checkRequiredOptions() to protected. Thanks to Jason Dillon.
- (CLI-282) TypeHandler should throw ParseException for an unsupported class. Thanks to Alex Nordlund.
- Added setter for Builder.option #33. Thanks to Waldemar Sojka, Gary Gregory.
- Add Option unit tests #76. Thanks to Waldemar Sojka, Gary Gregory.
* Fixed bugs:
- Fix NPE in DefaultParser.isLongOption(String). Thanks to Gary Gregory.
- (CLI-279) @param or @return lines should end with a period in CommandLine.java Thanks to Krishna Mohan Rao Kandunoori.
- Replace deprecated FindBugs with SpotBugs. Thanks to Gary Gregory.
- Replace CLIRR with JApiCmp. Thanks to Gary Gregory.
- Option Javadocs grammar nits #55. Thanks to Elliotte Rusty Harold.
- Minor Improvements #57, #61. Thanks to Arturo Bernal, Gary Gregory.
- (CLI-254) Input "test" gets parsed as test, quotes die #58. Thanks to stoty.
- (CLI-287) Allow whitespace-only header and footer #26. Thanks to MrQubo, Gary Gregory.
* Updates:
- (CLI-294) Update Java from version 5 to 7.
- Docs: Replace OptionBuilder in usage page #30. Thanks to Mincong Huang.
- Remove deprecated sudo setting. #36. Thanks to dengliming.
- Bump junit:junit from 4.12 to 4.13.2, #53, #60. Thanks to Gary Gregory, Dependabot.
- Bump commons-parent from 48 to 52. Thanks to Dependabot.
- Bump maven-pmd-plugin from 3.12.0 to 3.15.0, #44, #54, #67. Thanks to Dependabot.
- Bump actions/checkout from v2.3.1 to v2.3.5 #46, #72. Thanks to Dependabot.
- Bump actions/setup-java from v1.4.2 to v2 #50. Thanks to Dependabot, Gary Gregory.
- Bump maven-antrun-plugin from 1.7 to 3.0.0 #43. Thanks to Dependabot.
- Bump maven-checkstyle-plugin from 2.15 to 3.1.2 #41. Thanks to Gary Gregory.
- Bump checkstyle to 9.0.1 #68. Thanks to Gary Gregory.
- Bump actions/cache from 2 to 2.1.6 #64, #65. Thanks to Dependabot.
- Bump commons.animal-sniffer.version 1.19 -> 1.20. Thanks to Gary Gregory.
- Bump maven-bundle-plugin 5.1.1 -> 5.1.2. Thanks to Gary Gregory.
- Bump biz.aQute.bndlib.version 5.1.2 -> 6.0.0. Thanks to Gary Gregory.
- Bump spotbugs from 4.4.1 to 4.4.2 #70. Thanks to Dependabot.
- Bump spotbugs-maven-plugin from 4.4.1 to 4.4.2.2 #71. Thanks to Dependabot.-
-------------------------------------------------------------------
Fri Feb 12 12:54:07 UTC 2021 - Fridrich Strba <fstrba@suse.com>
- Add OSGi manifest to the build files.
- Set java source/target levels to 6
-------------------------------------------------------------------
Mon Mar 25 17:19:16 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Remove pom parent, since we don't use it when not building with
maven
-------------------------------------------------------------------
Tue Feb 5 13:30:36 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Trim bias from description; update RPM groups.
-------------------------------------------------------------------
Tue Feb 5 12:10:09 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Clean-up the spec file
- Removed patch:
* commons-cli-1.4-jdk9.patch
+ not needed since we are not building with maven
- Added patch:
* CLI-253-workaround.patch
+ [CLI-253] Prevent "Unrecognized option: --null" when handling
long opts in PosixParser
-------------------------------------------------------------------
Tue Oct 23 17:55:39 UTC 2018 - Fridrich Strba <fstrba@suse.com>
- Upgrade to version 1.4
- Modify the build.xml.tar.bz2 to build with source/target 8 and
adapt for the commons-cli-1.4
- Modified patch:
* commons-cli-1.2-jdk9.patch -> commons-cli-1.4-jdk9.patch
+ Rediff the remaining hunk to the changed context of pom.xml
-------------------------------------------------------------------
Tue May 15 06:21:41 UTC 2018 - fstrba@suse.com
- Modified patch:
* commons-cli-1.2-jdk9.patch
+ Build with source and target 8 to prepare for a possible
removal of 1.6 compatibility
- Run fdupes on the documentation
-------------------------------------------------------------------
Fri Sep 29 06:41:14 UTC 2017 - fstrba@suse.com
- Don't condition the maven defines on release version, but on
_maven_repository being defined
-------------------------------------------------------------------
Thu Sep 14 09:33:27 UTC 2017 - fstrba@suse.com
- Added patch:
* commons-cli-1.2-jdk9.patch
- Specify java source and target level 1.6 in order to allow
building with jdk9
-------------------------------------------------------------------
Fri May 19 08:41:33 UTC 2017 - tchvatal@suse.com
- Fix build with new javapackages-tools
-------------------------------------------------------------------
Wed Mar 18 09:37:41 UTC 2015 - tchvatal@suse.com
- Fix build with new javapackages-tools
-------------------------------------------------------------------
Thu Dec 4 18:55:52 UTC 2014 - p.drouand@gmail.com
- Remove java-devel dependency; not needed anymore
-------------------------------------------------------------------
Fri Jun 27 11:14:46 UTC 2014 - tchvatal@suse.com
- Fix the pom providing on 13.2
-------------------------------------------------------------------
Sat Mar 8 18:22:40 UTC 2014 - badshah400@gmail.com
- For openSUSE >= 13.1 remove all references to maven scripts as
these do not work; fixes building for openSUSE >= 13.1
- Lots of specfile formatting cleanups
- Move old %changelog section entries to .changes with proper
formatting
- Add copyright info to spec file.
-------------------------------------------------------------------
Mon Dec 12 23:47:58 UTC 2011 - dmacvicar@suse.de
- rename apache-cli to apache-commons-cli
- add java() provides
-------------------------------------------------------------------
Tue Jul 19 10:07:32 UTC 2011 - dmacvicar@suse.de
- converted to build with ant:ant
- removed reference to non existing target/osgi/MANIFEST
in maven-build.xml
-------------------------------------------------------------------
Tue Nov 09 00:00:00 UTC 2010 - chris.spike@arcor.de
- Removed maven* BRs in favour of apache-commons-parent
- Added deprecated groupId to depmap for compatibility reasons
-------------------------------------------------------------------
Mon Oct 18 00:00:00 UTC 2010 - chris.spike@arcor.de
- Removed Epoch
-------------------------------------------------------------------
Sun Oct 03 00:00:00 UTC 2010 - chris.spike@arcor.de
- Rename and rebase from jakarta-commons-cli