From 6f900b444720eaeaebefb9d6cfdae7061e3b2d35 Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Tue, 30 Sep 2025 00:57:16 -0700 Subject: [PATCH 1/2] Update Go (#1203) * Update minimum supported Go to 1.24.0. * Update Go build to 1.25.x. * Update PostgreSQL testing versions. Signed-off-by: SuperQ --- .circleci/config.yml | 16 +++++++--------- .promu.yml | 2 +- README.md | 2 +- go.mod | 2 -- 4 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1a33deccf..9a69135e6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ executors: # This must match .promu.yml. golang: docker: - - image: cimg/go:1.24 + - image: cimg/go:1.25 jobs: test: @@ -23,7 +23,7 @@ jobs: integration: docker: - - image: cimg/go:1.24 + - image: cimg/go:1.25 - image: << parameters.postgres_image >> environment: POSTGRES_DB: circle_test @@ -73,13 +73,11 @@ workflows: matrix: parameters: postgres_image: - - circleci/postgres:11 - - circleci/postgres:12 - - circleci/postgres:13 - - cimg/postgres:14.9 - - cimg/postgres:15.4 - - cimg/postgres:16.0 - - cimg/postgres:17.0 + - cimg/postgres:13.22 + - cimg/postgres:14.19 + - cimg/postgres:15.14 + - cimg/postgres:16.10 + - cimg/postgres:17.6 - prometheus/build: name: build parallelism: 3 diff --git a/.promu.yml b/.promu.yml index 5f915289f..c9bb51e78 100644 --- a/.promu.yml +++ b/.promu.yml @@ -1,6 +1,6 @@ go: # This must match .circle/config.yml. - version: 1.24 + version: 1.25 repository: path: github.com/prometheus-community/postgres_exporter build: diff --git a/README.md b/README.md index bcb3d9b3d..b0da9c077 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Prometheus exporter for PostgreSQL server metrics. -CI Tested PostgreSQL versions: `11`, `12`, `13`, `14`, `15`, `16`, `17`. +CI Tested PostgreSQL versions: `13`, `14`, `15`, `16`, `17`. ## Quick Start This package is available for Docker: diff --git a/go.mod b/go.mod index 6b3c13cc5..f9f265b4b 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module github.com/prometheus-community/postgres_exporter go 1.24.0 -toolchain go1.24.1 - require ( github.com/DATA-DOG/go-sqlmock v1.5.2 github.com/alecthomas/kingpin/v2 v2.4.0 From 86cae5d344f04fbf18dce1c04c976f3678aaf1f6 Mon Sep 17 00:00:00 2001 From: Matteo Pace Date: Mon, 24 Nov 2025 15:13:17 +0100 Subject: [PATCH 2/2] update VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index e115db893..f12103294 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.18.1-tetrate-v0 +0.18.1-tetrate-v1