This is an automated email from the ASF dual-hosted git repository.
jgemignani pushed a commit to branch Dev_Multiple_Labels
in repository https://gitbox.apache.org/repos/asf/age.git
The following commit(s) were added to refs/heads/Dev_Multiple_Labels by this
push:
new 041096f5 Update GitHub Actions and driver dependencies (#2283)
041096f5 is described below
commit 041096f57bf6c30f746cdcd514060f341e5dccd1
Author: John Gemignani <[email protected]>
AuthorDate: Sat Dec 20 14:28:23 2025 -0800
Update GitHub Actions and driver dependencies (#2283)
NOTE: This PR used AI tools and a human.
Updated GitHub Actions and driver dependencies to latest versions
GitHub Actions:
- actions/cache v3 → v4
- actions/setup-python v4 → v5
- actions/setup-go v3 → v5
- actions/setup-java v3 → v4
- actions/setup-node v3 → v4
- Go test matrix: 1.20/1.21 → 1.21/1.22/1.23
Driver dependencies:
- Go: minimum version 1.19 → 1.21
- Python: antlr4-python3-runtime 4.11.1 → 4.13.2
- JDBC: postgresql 42.6.0 → 42.7.4, antlr4 4.12.0 → 4.13.2,
commons-text 1.10.0 → 1.12.0, junit 5.9.3 → 5.11.3,
testcontainers 1.18.0 → 1.20.4, slf4j 2.0.7 → 2.0.16
- Node.js: pg >=6.0.0 → >=8.0.0, typescript 4.x → 5.7.2,
jest 26.x → 29.7.0, eslint 7.x → 9.17.0
These updates address security fixes (postgresql driver), improve
compatibility with current language runtimes, and use supported
versions of build tooling.
modified: .github/workflows/go-driver.yml
modified: .github/workflows/installcheck.yaml
modified: .github/workflows/jdbc-driver.yaml
modified: .github/workflows/nodejs-driver.yaml
modified: .github/workflows/python-driver.yaml
modified: drivers/golang/go.mod
modified: drivers/jdbc/lib/build.gradle.kts
modified: drivers/nodejs/package.json
modified: drivers/python/pyproject.toml
---
.github/workflows/go-driver.yml | 4 ++--
.github/workflows/installcheck.yaml | 2 +-
.github/workflows/jdbc-driver.yaml | 2 +-
.github/workflows/nodejs-driver.yaml | 2 +-
.github/workflows/python-driver.yaml | 2 +-
drivers/golang/go.mod | 2 +-
drivers/jdbc/lib/build.gradle.kts | 16 ++++++++--------
drivers/nodejs/package.json | 25 +++++++++++--------------
drivers/python/pyproject.toml | 2 +-
9 files changed, 27 insertions(+), 30 deletions(-)
diff --git a/.github/workflows/go-driver.yml b/.github/workflows/go-driver.yml
index ee09242e..8f8a9a12 100644
--- a/.github/workflows/go-driver.yml
+++ b/.github/workflows/go-driver.yml
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- go-version: [ '1.20', '1.21' ]
+ go-version: [ '1.21', '1.22', '1.23' ]
defaults:
run:
@@ -25,7 +25,7 @@ jobs:
run: docker compose up -d
- name: Set up Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
diff --git a/.github/workflows/installcheck.yaml
b/.github/workflows/installcheck.yaml
index 78456ba2..7d99ce97 100644
--- a/.github/workflows/installcheck.yaml
+++ b/.github/workflows/installcheck.yaml
@@ -16,7 +16,7 @@ jobs:
echo "PG_COMMIT_HASH=$(git ls-remote
https://git.postgresql.org/git/postgresql.git refs/heads/REL_17_STABLE | awk
'{print $1}')" >> $GITHUB_ENV
- name: Cache PostgreSQL 17
- uses: actions/cache@v3
+ uses: actions/cache@v4
id: pg17cache
with:
path: ~/pg17
diff --git a/.github/workflows/jdbc-driver.yaml
b/.github/workflows/jdbc-driver.yaml
index 29452d46..e52466cb 100644
--- a/.github/workflows/jdbc-driver.yaml
+++ b/.github/workflows/jdbc-driver.yaml
@@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Java
- uses: actions/setup-java@v3
+ uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
diff --git a/.github/workflows/nodejs-driver.yaml
b/.github/workflows/nodejs-driver.yaml
index cc5a8d62..d6b63951 100644
--- a/.github/workflows/nodejs-driver.yaml
+++ b/.github/workflows/nodejs-driver.yaml
@@ -22,7 +22,7 @@ jobs:
run: docker compose up -d
- name: Set up Node
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: latest
diff --git a/.github/workflows/python-driver.yaml
b/.github/workflows/python-driver.yaml
index 92c4f40b..9c3a5328 100644
--- a/.github/workflows/python-driver.yaml
+++ b/.github/workflows/python-driver.yaml
@@ -22,7 +22,7 @@ jobs:
run: docker compose up -d
- name: Set up python
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: '3.12'
diff --git a/drivers/golang/go.mod b/drivers/golang/go.mod
index e212c432..76c9d928 100644
--- a/drivers/golang/go.mod
+++ b/drivers/golang/go.mod
@@ -19,7 +19,7 @@
module github.com/apache/age/drivers/golang
-go 1.19
+go 1.21
require (
github.com/antlr/antlr4/runtime/Go/antlr/v4
v4.0.0-20230321174746-8dcc6526cfb1
diff --git a/drivers/jdbc/lib/build.gradle.kts
b/drivers/jdbc/lib/build.gradle.kts
index 0b63bc5a..fc158eae 100644
--- a/drivers/jdbc/lib/build.gradle.kts
+++ b/drivers/jdbc/lib/build.gradle.kts
@@ -30,19 +30,19 @@ repositories {
}
dependencies {
- implementation("org.postgresql:postgresql:42.6.0")
- api("org.apache.commons:commons-text:1.10.0")
- antlr("org.antlr:antlr4:4.12.0")
+ implementation("org.postgresql:postgresql:42.7.4")
+ api("org.apache.commons:commons-text:1.12.0")
+ antlr("org.antlr:antlr4:4.13.2")
- testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.3")
+ testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
- testImplementation("org.testcontainers:testcontainers:1.18.0")
- testImplementation("org.postgresql:postgresql:42.6.0")
+ testImplementation("org.testcontainers:testcontainers:1.20.4")
+ testImplementation("org.postgresql:postgresql:42.7.4")
- testImplementation("org.slf4j:slf4j-api:2.0.7")
- testImplementation("org.slf4j:slf4j-simple:2.0.7")
+ testImplementation("org.slf4j:slf4j-api:2.0.16")
+ testImplementation("org.slf4j:slf4j-simple:2.0.16")
}
tasks.generateGrammarSource {
diff --git a/drivers/nodejs/package.json b/drivers/nodejs/package.json
index 9f88bc2b..d3a7c60f 100644
--- a/drivers/nodejs/package.json
+++ b/drivers/nodejs/package.json
@@ -30,22 +30,19 @@
"author": "Alex Kwak <[email protected]>",
"dependencies": {
"antlr4ts": "^0.5.0-alpha.4",
- "pg": ">=6.0.0"
+ "pg": ">=8.0.0"
},
"devDependencies": {
- "@types/jest": "^26.0.20",
- "@types/pg": "^7.14.10",
- "@typescript-eslint/eslint-plugin": "^4.22.1",
- "@typescript-eslint/parser": "^4.22.1",
+ "@types/jest": "^29.5.14",
+ "@types/pg": "^8.11.10",
+ "@typescript-eslint/eslint-plugin": "^8.18.1",
+ "@typescript-eslint/parser": "^8.18.1",
"antlr4ts-cli": "^0.5.0-alpha.4",
- "eslint": "^7.25.0",
- "eslint-config-standard": "^16.0.2",
- "eslint-plugin-import": "^2.22.1",
- "eslint-plugin-jest": "^24.3.6",
- "eslint-plugin-node": "^11.1.0",
- "eslint-plugin-promise": "^4.3.1",
- "jest": "^26.6.3",
- "ts-jest": "^26.5.1",
- "typescript": "^4.1.5"
+ "eslint": "^9.17.0",
+ "eslint-plugin-import": "^2.31.0",
+ "eslint-plugin-jest": "^28.10.0",
+ "jest": "^29.7.0",
+ "ts-jest": "^29.2.5",
+ "typescript": "^5.7.2"
}
}
diff --git a/drivers/python/pyproject.toml b/drivers/python/pyproject.toml
index 18112381..e4e52f4e 100644
--- a/drivers/python/pyproject.toml
+++ b/drivers/python/pyproject.toml
@@ -37,7 +37,7 @@ classifiers = [
]
dependencies = [
"psycopg",
- "antlr4-python3-runtime==4.11.1",
+ "antlr4-python3-runtime==4.13.2",
]
[project.urls]