Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
5331074
Reuse AbstractStreamBuilder.getChannel(Channel)
garydgregory Oct 2, 2025
028dd62
Improve `FileUtils.forceDelete()` tests on Windows (#791)
ppkarwasz Oct 2, 2025
c2ee341
Bump ossf/scorecard-action from 2.4.2 to 2.4.3 (#792)
dependabot[bot] Oct 3, 2025
ac2d382
Bump github/codeql-action from 3.30.4 to 3.30.6 (#793)
dependabot[bot] Oct 3, 2025
07d2cd9
Bump actions/dependency-review-action from 4.7.3 to 4.8.0 (#794)
dependabot[bot] Oct 3, 2025
45578a7
Add missing `read` argument validation in `IOUtils` (#795)
ppkarwasz Oct 3, 2025
8178f48
Fix inconsistent exception in `IOUtils.toByteArray` (#796)
ppkarwasz Oct 4, 2025
6b41b2e
IOUtils.toByteArray now throws EOFException when not enough data is
garydgregory Oct 4, 2025
d190051
Better exception messages
garydgregory Oct 4, 2025
26e5aa9
Don't override JUnit messages to say the same thing
garydgregory Oct 4, 2025
66706b4
Javadoc
garydgregory Oct 7, 2025
eed5803
Javadoc
garydgregory Oct 7, 2025
c174b65
Bump org.apache.commons:commons-parent from 88 to 89
garydgregory Oct 8, 2025
806ada5
Fix typos
garydgregory Oct 8, 2025
5ad31b0
Bump github/codeql-action from 3.30.6 to 4.30.7 (#797)
dependabot[bot] Oct 10, 2025
12084ca
Bump commons.bytebuddy.version from 1.17.7 to 1.17.8 (#798)
dependabot[bot] Oct 10, 2025
e19519a
[test] Bump commons.bytebuddy.version from 1.17.7 to 1.17.8
garydgregory Oct 10, 2025
b95cbfa
PMD: Discontinue using Rule name
garydgregory Oct 11, 2025
2542ebc
Fixes interface discovery in `CloseShieldChannel` (#800)
ppkarwasz Oct 14, 2025
a0a6db8
Fix interface discovery in `CloseShieldChannel` #800
garydgregory Oct 14, 2025
5c6a2e6
Don't need need this entry since we have one already for the new class
garydgregory Oct 14, 2025
f51d19c
Sort members
garydgregory Oct 14, 2025
08573a6
Fixes issues in `CloseShieldChannel` (#799)
ppkarwasz Oct 16, 2025
13c52f9
More precise generics for CloseShieldChannelHandler.SUPPORTED_INTERFACES
garydgregory Oct 16, 2025
c28dc1b
Minor refactoring in CloseShieldChannelTest
garydgregory Oct 16, 2025
5a5c6ae
Bump actions/dependency-review-action from 4.8.0 to 4.8.1 (#802)
dependabot[bot] Oct 17, 2025
3c5166e
Bump github/codeql-action from 4.30.7 to 4.30.8 (#803)
dependabot[bot] Oct 17, 2025
f76ee12
Fix concurrency issue in `IOUtils.skip` (#801)
ppkarwasz Oct 17, 2025
9f75849
Sort members
garydgregory Oct 17, 2025
3925b50
Use final
garydgregory Oct 17, 2025
0698bd9
Reduce internal boilerplate
garydgregory Oct 17, 2025
2707d1f
Prevent classloader memory leak in `ScratchBytes`/`ScratchChars` (#804)
ppkarwasz Oct 19, 2025
ee8dd06
Fix grammar
garydgregory Oct 19, 2025
d9714be
Java 25 builds are no longer experimental
garydgregory Oct 21, 2025
af17dc6
Javadoc
garydgregory Oct 23, 2025
1cf65a6
Fix javadoc to indicate the correct class that is built. (#806)
hawjo01 Oct 24, 2025
5677c90
Bump github/codeql-action from 4.30.8 to 4.30.9 (#807)
dependabot[bot] Oct 24, 2025
5954478
Bump org.apache.commons:commons-parent from 89 to 90 (#808)
dependabot[bot] Oct 24, 2025
347d1df
[javadoc] Fix XmlStreamReader Javadoc to indicate the correct class t…
garydgregory Oct 24, 2025
d92ebcc
Bump org.apache.commons:commons-parent from 89 to 90 #808
garydgregory Oct 24, 2025
f92f7a0
Add some basic requirements documentation.
garydgregory Oct 24, 2025
8b290be
Merge branch 'master' of https://github.com/apache/commons-io.git
garydgregory Oct 24, 2025
f11570f
Use new Oak leaf logotype
garydgregory Oct 30, 2025
e81bb0a
Bump org.apache.commons:commons-parent from 90 to 91
garydgregory Oct 30, 2025
bc01dee
Bump github/codeql-action from 4.30.9 to 4.31.2 (#811)
dependabot[bot] Oct 31, 2025
ad875d5
Bump actions/upload-artifact from 4.6.2 to 5.0.0 (#810)
dependabot[bot] Oct 31, 2025
3d6a7e1
Javadoc
garydgregory Nov 1, 2025
d715865
Add dependabot email [skip ci]
sebbASF Nov 1, 2025
9e51118
Use HTTPS in URL
garydgregory Nov 2, 2025
34a961c
Use HTTPS in URL
garydgregory Nov 2, 2025
0f499d0
Use new oak logo
garydgregory Nov 2, 2025
adcf135
Add license header
garydgregory Nov 2, 2025
f141f09
Prepare for the next release candidate
garydgregory Nov 4, 2025
54073d3
Prepare for the release candidate 2.21.0 RC1
garydgregory Nov 4, 2025
764a439
Upgrade from deprecated macos-13 to macos-latest in GitHub CI
garydgregory Nov 5, 2025
7c357c1
Typo
garydgregory Nov 5, 2025
ae5e7be
Fix typos
garydgregory Nov 6, 2025
e6ef23e
Bump to next development version
garydgregory Nov 6, 2025
b5bc190
Merge branch 'release'
garydgregory Nov 6, 2025
f107caf
Updates for the next release
garydgregory Nov 6, 2025
0071af0
Updates for the next release
garydgregory Nov 7, 2025
3f6d4ff
Typo
garydgregory Nov 7, 2025
ccc02e7
Javadoc
garydgregory Nov 8, 2025
f07af41
No need to override project/issueManagement/system
garydgregory Nov 8, 2025
3c659ec
Bump commons-codec:commons-codec from 1.19.0 to 1.20.0 (#812)
dependabot[bot] Nov 10, 2025
524ab6d
Bump commons-codec:commons-codec from 1.19.0 to 1.20.0 #812
garydgregory Nov 10, 2025
baf2c57
Bump github/codeql-action from 4.31.2 to 4.31.3 (#815)
dependabot[bot] Nov 14, 2025
60f411c
Bump actions/dependency-review-action from 4.8.1 to 4.8.2 (#813)
dependabot[bot] Nov 14, 2025
6c44e82
Bump org.apache.commons:commons-parent from 91 to 92 (#816)
dependabot[bot] Nov 14, 2025
6a003a6
Bump org.apache.commons:commons-parent from 91 to 92 #816
garydgregory Nov 14, 2025
adf79ee
Bump commons.bytebuddy.version from 1.17.8 to 1.18.1 (#814)
dependabot[bot] Nov 14, 2025
2227467
Bump commons.bytebuddy.version from 1.17.8 to 1.18.1 #814
garydgregory Nov 14, 2025
0e5b109
Dependabot => quarterly
sebbASF Nov 15, 2025
7aeb468
Bump commons-lang3 from 3.19.0 to 3.20.0
garydgregory Nov 16, 2025
2758094
Use HTTPS to download XML Schema
garydgregory Nov 21, 2025
ffc7299
Bump CodeQL 4.31.4
garydgregory Nov 21, 2025
a47e410
Bump actions/checkout from v5.0.0 to v6.0.0
garydgregory Nov 21, 2025
e9aeb4c
Bump org.apache.commons:commons-parent from 92 to 93
garydgregory Nov 22, 2025
dcdbdf3
Fix Apache RAT plugin console warnings
garydgregory Nov 23, 2025
7001cee
Javadoc
garydgregory Nov 28, 2025
903b4d4
Bump github/codeql-action from 4.31.4 to 4.31.5
garydgregory Nov 28, 2025
6678f81
Bump github/codeql-action from 4.31.4 to 4.31.5
garydgregory Nov 28, 2025
4e6c051
Bump github/codeql-action from 4.31.5 to 4.31.6
garydgregory Dec 1, 2025
313950c
Bump github/codeql-action from 4.31.5 to 4.31.6
garydgregory Dec 1, 2025
62d7cbe
Bump commons.bytebuddy.version from 1.18.1 to 1.18.2
garydgregory Dec 3, 2025
0309fe3
Bump actions/checkout from 6.0.0 to 6.0.1
garydgregory Dec 3, 2025
05e4956
Bump actions/setup-java from 5.0.0 to 5.1.0
garydgregory Dec 4, 2025
a665202
Fix benchmarks
garydgregory Dec 5, 2025
d2e39b6
Javadoc
garydgregory Dec 5, 2025
013aae2
Bump github/codeql-action from 4.31.6 to 4.31.7
garydgregory Dec 5, 2025
d0af7d5
Ask for details on AI usage in creating a pull request
garydgregory Dec 5, 2025
3557766
Add NetBean IDE metadata files to .gitignore
garydgregory Dec 6, 2025
208887b
ByteArraySeekableByteChannel.position|truncate(long) shouldn't throw …
garydgregory Dec 8, 2025
8f66b32
ByteArraySeekableByteChannel.position|truncate(long) shouldn't throw …
garydgregory Dec 8, 2025
68be2fb
Add and use IOUtils.closeQuietly(Closeable, Throwable) (#818)
garydgregory Dec 11, 2025
6b20316
Add and use IOUtils.closeQuietly(Closeable, Throwable) #818
garydgregory Dec 11, 2025
55c6b20
Bump next version to feature level
garydgregory Dec 11, 2025
85ef57b
Bump github/codeql-action from 4.31.7 to 4.31.8
garydgregory Dec 12, 2025
5e08e76
Bump actions/cache from 4.3.0 to 5.0.1
garydgregory Dec 12, 2025
11c0562
Javadoc
garydgregory Dec 13, 2025
b953e19
Javadoc: Add missing </li> tags
garydgregory Dec 13, 2025
56f1f77
Fix malformed Javadoc comments
garydgregory Dec 13, 2025
42fe06c
Bump github/codeql-action from 4.31.8 to 4.31.9
garydgregory Dec 17, 2025
a053988
Bump actions/upload-artifact from 5.0.0 to 6.0.0
garydgregory Dec 19, 2025
1f80529
Replace JUnit @DisplayName to make Maven output meaningful
garydgregory Dec 20, 2025
65f8e5d
Sppedup IOUtils.contentEquals(Reader, Reader)
garydgregory Dec 24, 2025
21ac358
Remove unused import
garydgregory Dec 24, 2025
8e88c6e
Javadoc
garydgregory Dec 24, 2025
6f2b06b
Fix: The type parameter T is hiding the type T
garydgregory Dec 24, 2025
c5adbaf
Remove @SuppressWarnings("deprecation")
garydgregory Dec 24, 2025
90c9d39
Fix deprecation comments and end sentence with a period
garydgregory Dec 25, 2025
37d17bc
Javadoc: Normalize spelling
garydgregory Dec 26, 2025
09e6e36
Variable: Normalize spelling
garydgregory Dec 26, 2025
e6fe8dc
Javadoc: Fix double the
garydgregory Dec 26, 2025
930f1fb
Javadoc: Normalize and fix spelling
garydgregory Dec 26, 2025
aa9110f
Bump notice file end year from 2025 to 2026
garydgregory Dec 29, 2025
64e2ab4
Javadoc typos
garydgregory Dec 30, 2025
6652857
Javadoc: Empty Javadoc line before the 1st tag.
garydgregory Dec 31, 2025
575c111
Javadoc: The @deprecated tag should be last.
garydgregory Dec 31, 2025
4a950c1
Bump commons.bytebuddy.version from 1.18.2 to 1.18.3 (#820)
dependabot[bot] Jan 1, 2026
f156ec0
Bump commons.bytebuddy.version from 1.18.2 to 1.18.3 #820
garydgregory Jan 1, 2026
ddb72e4
Fix XML Schema xsi:schemaLocation name (as opposed to URI)
garydgregory Jan 1, 2026
b53aa6e
Better description
garydgregory Jan 1, 2026
8279b7f
Bump org.apache.commons:commons-parent from 93 to 94
garydgregory Jan 2, 2026
b36ebae
Javadoc
garydgregory Jan 4, 2026
8f4d853
Bump github/codeql-action from 4.31.9 to 4.31.10
garydgregory Jan 12, 2026
7246479
Bump org.apache.commons:commons-parent from 94 to 95.
garydgregory Jan 12, 2026
4cf10f9
Fix TODO comment
garydgregory Jan 18, 2026
bec4d9b
Revert "Fix TODO comment"
garydgregory Jan 18, 2026
c28ac9a
Better parameter name
garydgregory Jan 18, 2026
e156e77
Remove extra blank lines
garydgregory Jan 18, 2026
d886319
Add org.apache.commons.io.FilenameUtilsTest.testGetFullPathNoEndSepar…
garydgregory Jan 18, 2026
3434b04
Add more to FilenameUtilsTest.testGetFullPathNoEndSeparator_IO_771()
garydgregory Jan 18, 2026
3f79f1b
Javadoc
garydgregory Jan 19, 2026
3ce2774
ReadAheadInputStream.close() doesn't always close its filtered input
garydgregory Jan 19, 2026
5e39dd4
Prepare for the next release candidate
garydgregory Jan 19, 2026
ed2de75
[IO-884] IOUtils.contentEquals(Reader,Reader) makes an invalid
garydgregory Jan 21, 2026
2862268
Bump commons.rc.version from RC1 to RC2
garydgregory Jan 21, 2026
1fe472c
Bump commons.bytebuddy.version from 1.18.3 to 1.18.4
garydgregory Jan 21, 2026
a207334
Bump org.apache.commons:commons-parent from 95 to 96
garydgregory Jan 21, 2026
283db9f
Bump actions/setup-java from 5.1.0 to 5.2.0
garydgregory Jan 22, 2026
3901b51
Add IOUtilsTest.testToByteArray_InputStream_Empty()
garydgregory Jan 22, 2026
7bc386f
Add JUnit assertions
garydgregory Jan 23, 2026
a9a571d
Bump actions/checkout from 6.0.1 to 6.0.2
garydgregory Jan 23, 2026
f8e2332
Rename new method
garydgregory Jan 24, 2026
60a5f98
Sort members
garydgregory Jan 25, 2026
9c6ed7a
Merge if expressions that have the same true block
garydgregory Jan 25, 2026
994da0a
Prepare for the next release candidate
garydgregory Jan 25, 2026
40b954f
Bump github/codeql-action from 4.31.10 to 4.31.11
garydgregory Jan 26, 2026
2eb4ff6
Rename new method
garydgregory Jan 26, 2026
e026bf9
ReadAheadInputStream now restores the current thread's interrupt flag
garydgregory Jan 28, 2026
ec8254e
Update test to match InterruptedException guidelines
garydgregory Jan 28, 2026
35cf21f
Update test to match InterruptedException guidelines
garydgregory Jan 28, 2026
dc65429
Update test to match InterruptedException guidelines
garydgregory Jan 28, 2026
a1ed47c
Update test to match InterruptedException guidelines
garydgregory Jan 28, 2026
c9e7cd7
Update test to match InterruptedException guidelines
garydgregory Jan 28, 2026
e6ada97
FileAlterationMonitor.stop(long) now restores the current thread's
garydgregory Jan 28, 2026
c1f13a5
FileCleaningTracker now restores the current thread's interrupt flag
garydgregory Jan 28, 2026
a2f3ab9
ThreadMonitor.run() now restores the current thread's interrupt flag
garydgregory Jan 28, 2026
82a97a5
ThrottledInputStream.throttle() now restores the current thread's
garydgregory Jan 28, 2026
e061d95
Bump github/codeql-action from 4.31.11 to 4.32.0
garydgregory Jan 28, 2026
b83664f
Bump commons-codec:commons-codec from 1.20.0 to 1.21.0.
garydgregory Jan 29, 2026
ada9744
ThrottledInputStream.throttle() doesn't preserve the original
garydgregory Jan 30, 2026
b662958
Test fix for ReadAheadInputStream now restores the current thread's
garydgregory Jan 30, 2026
9882f7d
Change timeout for testCloseInterrupt to 30 seconds
garydgregory Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ notifications:
pullrequests: issues@commons.apache.org
jira_options: link label
jobs: notifications@commons.apache.org
issues_bot_dependabot: notifications@commons.apache.org
pullrequests_bot_dependabot: notifications@commons.apache.org
# commits_bot_dependabot: dependabot@commons.apache.org
issues_bot_dependabot: dependabot@commons.apache.org
pullrequests_bot_dependabot: dependabot@commons.apache.org
issues_bot_codecov-commenter: notifications@commons.apache.org
pullrequests_bot_codecov-commenter: notifications@commons.apache.org
6 changes: 2 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
day: "friday"
interval: "quarterly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "friday"
interval: "quarterly"
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Before you push a pull request, review this list:

- [ ] Read the [contribution guidelines](CONTRIBUTING.md) for this project.
- [ ] Read the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html) if you use Artificial Intelligence (AI).
- [ ] I used AI to create any part of, or all of, this pull request.
- [ ] I used AI to create any part of, or all of, this pull request. Which AI tool was used to create this pull request, and to what extent did it contribute?
- [ ] Run a successful build using the default [Maven](https://maven.apache.org/) goal with `mvn`; that's `mvn` on the command line by itself.
- [ ] Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied. This may not always be possible, but it is a best-practice.
- [ ] Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied. This may not always be possible, but it is a best practice.
- [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
- [ ] Each commit in the pull request should have a meaningful subject line and body. Note that a maintainer may squash commits during the merge process.
10 changes: 5 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -62,7 +62,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # 3.29.5
uses: github/codeql-action/init@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -73,7 +73,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # 3.29.5
uses: github/codeql-action/autobuild@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -87,4 +87,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # 3.29.5
uses: github/codeql-action/analyze@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: 'Dependency Review PR'
uses: actions/dependency-review-action@595b5aeba73380359d98a5e087f648dbb0edce1b # v4.7.3
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2
22 changes: 6 additions & 16 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
java: [ 8, 11, 17, 21 ]
os: [ubuntu-latest, windows-latest, macos-latest]
java: [ 8, 11, 17, 21, 25 ]
experimental: [false]
# Keep the same parameter order as the matrix above
include:
Expand All @@ -48,16 +48,6 @@ jobs:
java: 21
experimental: false
deploy: true
# Experimental builds: Java 25-ea
- os: ubuntu-latest
java: 25
experimental: true
- os: windows-latest
java: 25
experimental: true
- os: macos-latest
java: 25
experimental: true
# Experimental builds: Java 26-ea
- os: ubuntu-latest
java: 26-ea
Expand All @@ -70,19 +60,19 @@ jobs:
experimental: true
fail-fast: false
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: 'temurin'
distribution: ${{ runner.os == 'macOS' && matrix.java == '8' && 'zulu' || 'temurin' }}
java-version: ${{ matrix.java }}
# these values cause the plugin to set up the Maven settings.xml file
server-id: apache.snapshots.https # Value of the distributionManagement/repository/id field of the pom.xml
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
steps:

- name: "Checkout code"
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # 2.4.2
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # 2.4.3
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -59,13 +59,13 @@ jobs:
publish_results: true

- name: "Upload artifact"
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # 6.0.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # 3.29.5
uses: github/codeql-action/upload-sarif@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
with:
sarif_file: results.sarif
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
### https://raw.github.com/github/gitignore/14b7566ce157ce95b07006466bacee160f242284/maven.gitignore

target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties


site-content
/.classpath
/.project
/.settings/

### Ignore IntelliJ files
# Ignore IntelliJ files
/.idea/
*.iml
/bin/

### Ignore Visual Studio code files
# Ignore Visual Studio code files
/.vscode/

# NetBeans files
nb-configuration.xml
nbactions.xml
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Making Changes
+ Respect the original code style:
+ Only use spaces for indentation; you can check for unnecessary whitespace with `git diff` before committing.
+ Create minimal diffs - disable _On Save_ actions like _Reformat Source Code_ or _Organize Imports_. If you feel the source code should be reformatted create a separate PR for this change first.
+ Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied. This may not always be possible but is a best-practice.
+ Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied. This may not always be possible but is a best practice.
Unit tests are typically in the `src/test/java` directory.
+ Run a successful build using the default [Maven](https://maven.apache.org/) goal with `mvn`; that's `mvn` on the command line by itself.
+ Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
Expand Down Expand Up @@ -110,7 +110,6 @@ Additional Resources
+ [Contributor License Agreement][cla]
+ [General GitHub documentation](https://help.github.com/)
+ [GitHub pull request documentation](https://help.github.com/articles/creating-a-pull-request/)
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)

[cla]:https://www.apache.org/licenses/#clas
[jira]:https://issues.apache.org/jira/browse/IO
2 changes: 1 addition & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache Commons IO
Copyright 2002-2025 The Apache Software Foundation
Copyright 2002-2026 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Apache Commons IO

[![Java CI](https://github.com/apache/commons-io/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-io/actions/workflows/maven.yml)
[![Maven Central](https://img.shields.io/maven-central/v/commons-io/commons-io?label=Maven%20Central)](https://search.maven.org/artifact/commons-io/commons-io)
[![Javadocs](https://javadoc.io/badge/commons-io/commons-io/2.20.0.svg)](https://javadoc.io/doc/commons-io/commons-io/2.20.0)
[![Javadocs](https://javadoc.io/badge/commons-io/commons-io/2.22.0.svg)](https://javadoc.io/doc/commons-io/commons-io/2.22.0)
[![CodeQL](https://github.com/apache/commons-io/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/commons-io/actions/workflows/codeql-analysis.yml)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-io/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-io)

Expand All @@ -69,7 +69,7 @@ Alternatively, you can pull it from the central Maven repositories:
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.20.0</version>
<version>2.22.0</version>
</dependency>
```

Expand All @@ -90,7 +90,7 @@ There are some guidelines which will make applying PRs easier for us:
+ Respect the existing code style for each file.
+ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
+ Before you pushing a PR, run `mvn` (by itself), this runs the default goal, which contains all build checks.
+ Before you push a PR, run `mvn` (without arguments). This runs the default goal which contains all build checks.
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`

If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
Expand All @@ -112,7 +112,6 @@ Additional Resources
+ [Apache Commons Homepage](https://commons.apache.org/)
+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/IO)
+ [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD)
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)

Apache Commons Components
-------------------------
Expand Down
Loading
Loading