Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VEND-61: Align to 2.13.0 #2

Merged
merged 175 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
4a7ebbb
Bump github/codeql-action from 3.25.8 to 3.25.10 (#396)
dependabot[bot] Jun 14, 2024
569ae85
Bump codecov/codecov-action from 4.4.1 to 4.5.0 (#398)
dependabot[bot] Jun 14, 2024
affb6b5
Bump actions/checkout from 4.1.6 to 4.1.7 (#397)
dependabot[bot] Jun 14, 2024
dd32100
Javadoc
garydgregory Jun 18, 2024
13bb605
Javadoc
garydgregory Jun 23, 2024
6352dca
Drop CodeQL
garydgregory Jun 29, 2024
6a21371
Drop CodeQL
garydgregory Jun 29, 2024
cf78f94
Revert "Drop CodeQL"
garydgregory Jun 29, 2024
0d104b8
Revert "Drop CodeQL"
garydgregory Jun 29, 2024
3d287e3
Drop codecov.io
garydgregory Jun 29, 2024
fd739ef
Bump github/codeql-action from 3.25.10 to 3.25.11 (#401)
dependabot[bot] Jul 5, 2024
2aba7d1
Bump commons-logging:commons-logging from 1.3.2 to 1.3.3 (#399)
dependabot[bot] Jul 5, 2024
6ada0c6
Bump commons-logging:commons-logging from 1.3.2 to 1.3.3 #399
garydgregory Jul 5, 2024
69683ea
Remove redundant keywords
garydgregory Jul 9, 2024
52c66aa
Use final
garydgregory Jul 9, 2024
3367ced
Bump actions/upload-artifact from 4.3.3 to 4.3.4 (#402)
dependabot[bot] Jul 12, 2024
d3bd07b
Normalize instance variable names in tests
garydgregory Jul 14, 2024
759a88c
Use import not FQCN
garydgregory Jul 14, 2024
db958c7
Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.15.0 (#404)
dependabot[bot] Jul 17, 2024
583f269
Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.15.0 #404
garydgregory Jul 17, 2024
ee5d7a9
Bump github/codeql-action from 3.25.11 to 3.25.12 (#405)
dependabot[bot] Jul 19, 2024
da714d5
Javadoc
garydgregory Jul 21, 2024
f5a4211
Add Java 22 to the GitHub CI build
garydgregory Jul 22, 2024
33762a6
Add Java 23-ea as an experimental build
garydgregory Jul 22, 2024
51f3e98
Add Java 24-ea as an experimental build
garydgregory Jul 22, 2024
8277232
Bump github/codeql-action from 3.25.12 to 3.25.14 (#406)
dependabot[bot] Jul 26, 2024
0b5ca3c
Remove useless comments
garydgregory Jul 26, 2024
ffffbb8
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-…
garydgregory Jul 26, 2024
4124a54
Use Javadoc @link
garydgregory Jul 29, 2024
e6ab693
Use Javadoc @link
garydgregory Jul 29, 2024
414974b
Use Javadoc @link
garydgregory Jul 29, 2024
f3e2858
Use Javadoc @link
garydgregory Jul 29, 2024
5d610dc
Use Javadoc @code and @link
garydgregory Jul 29, 2024
a2f6667
Bump org.apache.commons:commons-parent from 71 to 72
garydgregory Jul 30, 2024
560ffcc
Bump org.hamcrest:hamcrest from 2.2 to 3.0 (#409)
dependabot[bot] Aug 2, 2024
27a7818
Bump org.hamcrest:hamcrest from 2.2 to 3.0 #409
garydgregory Aug 2, 2024
c9cfd33
Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#408)
dependabot[bot] Aug 2, 2024
80e0237
Put Hamcreset last on the classpath
garydgregory Aug 2, 2024
3ae4669
Undo bump org.hamcrest:hamcrest from 2.2 to 3.0
garydgregory Aug 2, 2024
7cd898c
Undo bump org.hamcrest:hamcrest from 2.2 to 3.0
garydgregory Aug 2, 2024
54e94fd
Bump github/codeql-action from 3.25.14 to 3.25.15 (#407)
dependabot[bot] Aug 2, 2024
2a4e520
Try a different way to initial tests for GitHub failures
garydgregory Aug 3, 2024
4d23c5e
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-…
garydgregory Aug 3, 2024
082ded3
Use assertThrows()
garydgregory Aug 3, 2024
01d4211
Bump org.hamcrest:hamcrest from 2.2 to 3.0 (#410)
dependabot[bot] Aug 3, 2024
ffe8d43
Bump org.hamcrest:hamcrest from 2.2 to 3.0 #410
garydgregory Aug 3, 2024
49fa99a
Use assertThrows()
garydgregory Aug 3, 2024
a03b858
Use assertThrows()
garydgregory Aug 3, 2024
5a2f734
Use try-with-resources
garydgregory Aug 3, 2024
4a7a657
Javadoc
garydgregory Aug 6, 2024
df42238
Bump org.apache.commons:commons-lang3 from 3.15.0 to 3.16.0 (#412)
dependabot[bot] Aug 7, 2024
b8f3139
Bump org.apache.commons:commons-lang3 from 3.15.0 to 3.16.0 #412
garydgregory Aug 7, 2024
86acffa
Bump actions/setup-java from 4.2.1 to 4.2.2 (#414)
dependabot[bot] Aug 9, 2024
e44d82c
Bump github/codeql-action from 3.25.15 to 3.26.0 (#416)
dependabot[bot] Aug 9, 2024
1f044b0
Bump actions/upload-artifact from 4.3.4 to 4.3.6 (#415)
dependabot[bot] Aug 9, 2024
69b5d9d
Bump org.slf4j:slf4j-simple from 2.0.13 to 2.0.15 (#413)
dependabot[bot] Aug 9, 2024
0752fd0
Bump org.slf4j:slf4j-simple from 2.0.13 to 2.0.15 #413
garydgregory Aug 9, 2024
651c925
Javadoc
garydgregory Aug 12, 2024
8768eda
Bump github/codeql-action from 3.26.0 to 3.26.2 (#417)
dependabot[bot] Aug 16, 2024
536d956
Bump org.slf4j:slf4j-simple from 2.0.15 to 2.0.16 (#418)
dependabot[bot] Aug 16, 2024
49c846f
Bump org.slf4j:slf4j-simple from 2.0.15 to 2.0.16 #418
garydgregory Aug 16, 2024
adfcfbc
Bump org.apache.commons:commons-parent from 72 to 73 (#420)
dependabot[bot] Aug 18, 2024
04dcb7d
Bump org.apache.commons:commons-parent from 72 to 73 (#420)
garydgregory Aug 18, 2024
0b4c934
Bump commons-logging:commons-logging from 1.3.3 to 1.3.4 (#423)
dependabot[bot] Aug 19, 2024
2c13212
Bump commons-logging:commons-logging from 1.3.3 to 1.3.4 #423
garydgregory Aug 19, 2024
25aa107
Add support for ignoring non-fatal SQL state codes. (#421)
johnou Aug 19, 2024
6cc5ada
Add support for ignoring non-fatal SQL state codes. #421
garydgregory Aug 19, 2024
fb4106d
Add support for ignoring non-fatal SQL state codes #421
garydgregory Aug 19, 2024
f6fbc21
Bump version to feature
garydgregory Aug 19, 2024
f57c9fe
Avoid object creation when invoking isDisconnectionSqlException. (#422)
johnou Aug 19, 2024
e31c128
Avoid object creation when invoking isDisconnectionSqlException. #422
garydgregory Aug 19, 2024
aa04de7
Sort members
garydgregory Aug 19, 2024
9473630
Sort imports
garydgregory Aug 19, 2024
088e4a7
Use final
garydgregory Aug 19, 2024
936d4d4
Bump github/codeql-action from 3.26.2 to 3.26.4 (#424)
dependabot[bot] Aug 23, 2024
e8cc314
Bump org.apache.commons:commons-parent from 73 to 74 (#426)
dependabot[bot] Aug 29, 2024
8774ea5
Bump org.apache.commons:commons-parent from 73 to 74 #426
garydgregory Aug 29, 2024
200cd6f
Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 (#427)
dependabot[bot] Aug 29, 2024
5492859
Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 #427
garydgregory Aug 29, 2024
d5914a1
Bump github/codeql-action from 3.26.4 to 3.26.6 (#428)
dependabot[bot] Aug 30, 2024
e1960bd
Use Assertions.assertInstanceOf()
garydgregory Sep 1, 2024
476048e
Bump actions/upload-artifact from 4.3.6 to 4.4.0 (#429)
dependabot[bot] Sep 6, 2024
40fc857
Convert cascading if-else to switch
garydgregory Sep 12, 2024
4ee88ee
Convert cascading if-else to switch
garydgregory Sep 12, 2024
010b028
Convert cascading if-else to switch
garydgregory Sep 12, 2024
1743fdd
Convert cascading if-else to switch
garydgregory Sep 12, 2024
78eca7e
Convert cascading if-else to switch
garydgregory Sep 12, 2024
6d1153f
Convert cascading if-else to switch
garydgregory Sep 12, 2024
d909180
Bump actions/setup-java from 4.2.2 to 4.3.0 (#431)
dependabot[bot] Sep 13, 2024
5cafbb3
CI builds: Replace Java 22 with Java 23
garydgregory Sep 19, 2024
09f7209
Bump github/codeql-action from 3.26.6 to 3.26.8 (#433)
dependabot[bot] Sep 20, 2024
0071815
Add dependency-review.yml to GitHub CI
garydgregory Sep 20, 2024
7d932ac
Also run DR on push
garydgregory Sep 23, 2024
295cb32
Bump github/codeql-action from 3.26.8 to 3.26.9 (#434)
dependabot[bot] Sep 27, 2024
b6955bf
Bump actions/setup-java from 4.3.0 to 4.4.0 (#435)
dependabot[bot] Sep 27, 2024
391e51b
Pin GitHub action versions
garydgregory Sep 28, 2024
c519311
Bump org.apache.commons:commons-parent from 74 to 76 (#436)
dependabot[bot] Sep 29, 2024
1b1c81d
Bump org.apache.commons:commons-parent from 74 to 76 #436
garydgregory Sep 29, 2024
98933fe
Make test more readable and maintainable, and less verbose
garydgregory Oct 1, 2024
1d71ab4
Bump actions/checkout from 4.1.7 to 4.2.0 (#438)
dependabot[bot] Oct 4, 2024
171dd1e
Bump github/codeql-action from 3.26.9 to 3.26.11 (#439)
dependabot[bot] Oct 4, 2024
de897d5
Fix Javadoc on Java 23
garydgregory Oct 6, 2024
2fc0bbd
The Java 23 build is no longer experimental
garydgregory Oct 6, 2024
7faad73
Bump org.apache.commons:commons-parent from 76 to 77 (#441)
dependabot[bot] Oct 9, 2024
8df7aca
Bump org.apache.commons:commons-parent from 76 to 77 #441
garydgregory Oct 9, 2024
77c21e7
Bump github/codeql-action from 3.26.11 to 3.26.12 (#442)
dependabot[bot] Oct 11, 2024
80ffd54
Bump actions/upload-artifact from 4.4.0 to 4.4.3 (#445)
dependabot[bot] Oct 11, 2024
097b2dc
Bump actions/checkout from 4.2.0 to 4.2.1 (#444)
dependabot[bot] Oct 11, 2024
9d805e0
Bump actions/cache from 4.0.2 to 4.1.1 (#443)
dependabot[bot] Oct 11, 2024
e995fc7
Fix GH badge
garydgregory Oct 14, 2024
f352219
Bump github/codeql-action from 3.26.12 to 3.26.13 (#446)
dependabot[bot] Oct 18, 2024
3c438d4
Bump org.apache.commons:commons-parent from 77 to 78 (#449)
dependabot[bot] Oct 22, 2024
93e27b3
Bump org.apache.commons:commons-parent from 77 to 78 #449
garydgregory Oct 22, 2024
795cbab
Bump actions/dependency-review-action from 4.3.4 to 4.3.5 (#450)
dependabot[bot] Oct 25, 2024
4f3820f
Bump actions/cache from 4.1.1 to 4.1.2 (#454)
dependabot[bot] Oct 25, 2024
52e032c
Bump actions/setup-java from 4.4.0 to 4.5.0 (#453)
dependabot[bot] Oct 25, 2024
a45209f
Bump github/codeql-action from 3.26.13 to 3.27.0 (#452)
dependabot[bot] Oct 25, 2024
2859c8e
Bump actions/checkout from 4.2.1 to 4.2.2 (#451)
dependabot[bot] Oct 25, 2024
0e290f5
Only run actions/dependency-review-action on pull_request
garydgregory Nov 1, 2024
21d22b8
Bump actions/dependency-review-action from 4.3.5 to 4.4.0 (#455)
dependabot[bot] Nov 2, 2024
0493353
PoolableConnectionFactory.destroyObject() method behaves incorrectly on
garydgregory Nov 3, 2024
13af332
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-…
garydgregory Nov 3, 2024
b85809e
Fix up action types
garydgregory Nov 4, 2024
65fe477
Remove old code comments
garydgregory Nov 4, 2024
f12500a
DelegatingConnection.setSchema(String) should delegate to Jdbc41Bridge
garydgregory Nov 4, 2024
566203d
Javadoc
garydgregory Nov 4, 2024
a3f8a1a
Add @FunctionalInterface to SwallowedExceptionListener
garydgregory Nov 4, 2024
2e8eb15
Update action description
garydgregory Nov 4, 2024
fab4c78
Javadoc
garydgregory Nov 4, 2024
4582d02
Javadoc
garydgregory Nov 4, 2024
cd77365
Javadoc: Add missing @deprecated description
garydgregory Nov 4, 2024
2216da5
Javadoc: Fix build warnings
garydgregory Nov 4, 2024
d73cae3
Use preferred spelling for "cannot"
garydgregory Nov 5, 2024
20b6140
Fix dependency-review.yml for PR only
garydgregory Nov 8, 2024
de8f2ed
Bump github/codeql-action from 3.27.0 to 3.27.4 (#456)
dependabot[bot] Nov 15, 2024
5f7ff5a
Javadoc: Use semantic tag <strong> instead of style tag <b>
garydgregory Nov 15, 2024
cf7e602
Add support for ignoring non-fatal SQL state codes
garydgregory Nov 21, 2024
4e780c7
Return a set with predictable iteration order from
garydgregory Nov 21, 2024
578d8f1
Bump github/codeql-action from 3.27.4 to 3.27.5 (#457)
dependabot[bot] Nov 22, 2024
809fc00
Bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#458)
dependabot[bot] Nov 22, 2024
8042827
Add missing Javadoc comments and descriptions
garydgregory Nov 22, 2024
c8e69df
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-…
garydgregory Nov 22, 2024
80722a5
Move important fixed to the top
garydgregory Nov 22, 2024
04fcba6
Remove unused package-private constructor
garydgregory Nov 22, 2024
504d5fe
Remove unused package-private constructor
garydgregory Nov 22, 2024
17fa273
Javadoc
garydgregory Nov 22, 2024
8dc0e02
Internal refactoring using generics
garydgregory Nov 22, 2024
f246d38
Javadoc
garydgregory Nov 22, 2024
28ef140
Javadoc
garydgregory Nov 22, 2024
8cfe1bd
Use try-with-resources
garydgregory Nov 22, 2024
95ef723
Fix generics warning
garydgregory Nov 22, 2024
0b9a005
Fix possible NullPointerException in PoolingConnection.close()
garydgregory Nov 22, 2024
cb11686
Add Jdbc41BridgeTest
garydgregory Nov 23, 2024
a697f46
Internal refactoring using lambdas
garydgregory Nov 23, 2024
b4d4809
Add to Jdbc41BridgeTest
garydgregory Nov 23, 2024
cef23df
Add basic missing tests in TestDelegatingConnection
garydgregory Nov 23, 2024
26ab567
org.apache.commons.dbcp2.datasources.TestFactory is now a
garydgregory Nov 23, 2024
0d50e48
Internal refactoring
garydgregory Nov 23, 2024
f1e8e53
org.apache.commons.dbcp2.datasources.TestFactory is now a
garydgregory Nov 23, 2024
39f907e
Javadoc
garydgregory Nov 23, 2024
b0d29ce
Internal refactoring
garydgregory Nov 23, 2024
cf9cfb7
Use static import for Assertions
garydgregory Nov 23, 2024
092a0b0
Javadoc
garydgregory Nov 23, 2024
14cab25
Internal refactoring in DelegatingDatabaseMetaData
garydgregory Nov 23, 2024
0ae9acc
Raise the bar for JaCoCo checks
garydgregory Nov 23, 2024
5cf904c
Javadoc
garydgregory Nov 23, 2024
35c72f6
Add and document @SuppressWarnings
garydgregory Nov 23, 2024
c7273d9
Adjust the bar for JaCoCo checks on Java 24-ea on GitHub
garydgregory Nov 23, 2024
9ab70db
PerUserPoolDataSource.registerPool() incorrectly replacing a
garydgregory Nov 23, 2024
d368426
Javadoc
garydgregory Nov 23, 2024
4157240
Add missing Javadoc and missing Javadoc elements
garydgregory Nov 23, 2024
2b75ac7
Prepare for the next release candidate
garydgregory Nov 23, 2024
3cccba8
Prepare for the next release candidate
garydgregory Nov 23, 2024
c7c38f9
Merge tag 'rel/commons-dbcp-2.13.0' into DBCP_2_X_NX_BRANCH
kevinleturc Dec 13, 2024
3812a91
VEND-61: Update version to 2.13.0-NX01-SNAPSHOT
kevinleturc Dec 13, 2024
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
14 changes: 7 additions & 7 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
persist-credentials: false
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -58,7 +58,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # 3.25.8
uses: github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # 3.27.5
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -69,7 +69,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@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # 3.25.8
uses: github/codeql-action/autobuild@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # 3.27.5

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # 3.25.8
uses: github/codeql-action/analyze@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # 3.27.5
59 changes: 0 additions & 59 deletions .github/workflows/coverage.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 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.

name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Dependency Review PR'
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
18 changes: 9 additions & 9 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,24 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
java: [ 11, 17, 21 ]
java: [ 11, 17, 21, 23 ]
experimental: [false]
# include:
# - java: 22-ea
# experimental: true
include:
- java: 24-ea
experimental: true

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
persist-credentials: false
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
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@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
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 @@ -41,12 +41,12 @@ jobs:
steps:

- name: "Checkout code"
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # 2.3.3
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # 2.4.0
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -58,13 +58,13 @@ jobs:
publish_results: true

- name: "Upload artifact"
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # 4.3.3
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 4.4.3
with:
name: SARIF file
path: results.sarif
retention-days: 5

- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # 3.25.8
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # 3.27.5
with:
sarif_file: results.sarif
9 changes: 4 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@
Contributing to Apache Commons DBCP
======================

You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to
the open source community. Before you dig right into the code there are a few guidelines that we need contributors to
follow so that we can have a chance of keeping on top of things.
Have you found a bug or have an idea for a cool new feature? Contributing code is a great way to give something back to the open-source community.
Before you dig right into the code, we need contributors to follow a few guidelines to have a chance of keeping on top of things.

Getting Started
---------------
Expand All @@ -62,7 +61,7 @@ Making Changes

+ Create a _topic branch_ for your isolated work.
* Usually you should base your branch on the `master` branch.
* A good topic branch name can be the JIRA bug id plus a keyword, e.g. `DBCP-123-InputStream`.
* A good topic branch name can be the JIRA bug ID plus a keyword, e.g. `DBCP-123-InputStream`.
* If you have submitted multiple JIRA issues, try to maintain separate branches and pull requests.
+ Make commits of logical units.
* Make sure your commit messages are meaningful and in the proper format. Your commit message should contain the key of the JIRA issue.
Expand All @@ -72,7 +71,7 @@ Making Changes
+ 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.
+ Check for unnecessary whitespace with `git diff` -- check before committing.
+ Make sure you have added the necessary tests for your changes, typically in `src/test/java`.
+ Run all the tests with `mvn clean verify` to assure nothing else was accidentally broken.
+ Run all the tests with `mvn clean verify` to ensure nothing else was accidentally broken.

Making Trivial Changes
----------------------
Expand Down
10 changes: 5 additions & 5 deletions NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache Commons DBCP
Copyright 2001-2024 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).
Apache Commons DBCP
Copyright 2001-2024 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).
52 changes: 52 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,56 @@
Apache Commons DBCP
Version 2.13.0
RELEASE NOTES

The Apache Commons DBCP team is pleased to announce the release of Apache Commons DBCP 2.13.0.

Apache Commons DBCP software implements Database Connection Pooling.

This is a minor release, including bug fixes and enhancements.

Changes
-------
New features:
* Add support for ignoring non-fatal SQL state codes #421. Thanks to Johno Crawford, Gary Gregory.
* Add @FunctionalInterface to SwallowedExceptionListener. Thanks to Johno Crawford, Gary Gregory.
* Add missing Javadoc comments and descriptions. Thanks to Gary Gregory.
* Add tests, raise the bar for JaCoCo checks. Thanks to Gary Gregory.

Fixed Bugs
----------
* Avoid object creation when invoking isDisconnectionSqlException #422. Thanks to Johno Crawford.
* DBCP-599: PoolableConnectionFactory.destroyObject() method behaves incorrectly on ABANDONED connection, issue with unhandled AbstractMethodError. DelegatingConnection.abort(Executor) should delegate to Jdbc41Bridge Thanks to denixx baykin, Phil Steitz, Gary Gregory.
* DelegatingConnection.setSchema(String) should delegate to Jdbc41Bridge. Thanks to Gary Gregory.
* Fix possible NullPointerException in PoolingConnection.close(). Thanks to Gary Gregory.
* PerUserPoolDataSource.registerPool() incorrectly replacing a CPDSConnectionFactory into managers map before throwing an IllegalStateException. Thanks to Gary Gregory.
* Fix PMD UnnecessaryFullyQualifiedName in AbandonedTrace. Thanks to Gary Gregory.
* Fix PMD UnnecessaryFullyQualifiedName in PoolableCallableStatement. Thanks to Gary Gregory.
* Fix PMD UnnecessaryFullyQualifiedName in PoolablePreparedStatement. Thanks to Gary Gregory.
* Fix PMD UnnecessaryFullyQualifiedName in Utils. Thanks to Gary Gregory.
* Fix PMD UnnecessaryFullyQualifiedName in LocalXAConnectionFactory. Thanks to Gary Gregory.
* Fix SpotBugs MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT in PerUserPoolDataSource. Thanks to Gary Gregory.
* Fix SpotBugs MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT in SharedPoolDataSource. Thanks to Gary Gregory.

Changes
-------
* Bump org.apache.commons:commons-parent from 66 to 78 #360, #371, #395, #420, #426, #436, #441, #449. Thanks to Gary Gregory.
* Bump commons-logging:commons-logging from 1.3.0 to 1.3.4 #368, #399, #423. Thanks to Gary Gregory, Dependabot.
* Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0 #404, #412, #427. Thanks to Gary Gregory, Dependabot.
* Bump org.hamcrest:hamcrest from 2.2 to 3.0 #410. Thanks to Gary Gregory, Dependabot.
* Bump org.slf4j:slf4j-simple from 2.0.13 to 2.0.16 #413, #418. Thanks to Gary Gregory, Dependabot.


The list of changes is here: https://commons.apache.org/proper/commons-dbcp/changes-report.html

For complete information on Apache Commons DBCP, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Commons DBCP website:

https://commons.apache.org/proper/commons-dbcp/

Download page: https://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi

-----------------------------------------------------------------------------
Apache Commons DBCP
Version 2.12.0
RELEASE NOTES

Expand Down
Loading
Loading