From 98543e0354d0e2eaa741eeb7ff3a349c20d78424 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 4 Feb 2023 07:01:03 -0600 Subject: [PATCH] Update supported Go versions and add 1.20 to CI --- .github/workflows/ci.yml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13b73f77..aa38b205 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - go-version: [1.19] + go-version: [1.19, 1.20] pg-version: [11, 12, 13, 14, 15, cockroachdb] include: - pg-version: 11 diff --git a/README.md b/README.md index 0cb09ec5..5c9032ff 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ See CONTRIBUTING.md for setup instructions. ## Supported Go and PostgreSQL Versions -pgx supports the same versions of Go and PostgreSQL that are supported by their respective teams. For [Go](https://golang.org/doc/devel/release.html#policy) that is the two most recent major releases and for [PostgreSQL](https://www.postgresql.org/support/versioning/) the major releases in the last 5 years. This means pgx supports Go 1.18 and higher and PostgreSQL 11 and higher. pgx also is tested against the latest version of [CockroachDB](https://www.cockroachlabs.com/product/). +pgx supports the same versions of Go and PostgreSQL that are supported by their respective teams. For [Go](https://golang.org/doc/devel/release.html#policy) that is the two most recent major releases and for [PostgreSQL](https://www.postgresql.org/support/versioning/) the major releases in the last 5 years. This means pgx supports Go 1.19 and higher and PostgreSQL 11 and higher. pgx also is tested against the latest version of [CockroachDB](https://www.cockroachlabs.com/product/). ## Version Policy @@ -149,5 +149,5 @@ Explicit data mapping and scanning library for Go structs and slices. ### [github.com/stephenafamo/scan](https://github.com/stephenafamo/scan) -Type safe and flexible package for scanning database data into Go types. +Type safe and flexible package for scanning database data into Go types. Supports, structs, maps, slices and custom mapping functions.