Skip to content

Commit f7edbc3

Browse files
committed
Dropped support for Go < 1.23
1 parent 4a19be1 commit f7edbc3

3 files changed

Lines changed: 24 additions & 22 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
fail-fast: false
88
matrix:
9-
go: ["1.24", "1.23", "1.22", "1.21"]
9+
go: ["1.24", "1.23"]
1010
steps:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-go@v5
@@ -24,7 +24,5 @@ jobs:
2424
cd pgvector
2525
make
2626
sudo make install
27-
- if: ${{ matrix.go == '1.24' }}
28-
run: go get -u ./...
2927
- run: go generate ./test/ent && go mod tidy
3028
- run: go test -v

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## 0.2.4 (unreleased)
1+
## 0.3.0 (unreleased)
22

33
- Added distance functions for Ent
4+
- Dropped support for Go < 1.23
45

56
## 0.2.3 (2025-01-15)
67

go.mod

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module github.com/pgvector/pgvector-go
22

3-
go 1.21
3+
go 1.23.0
44

55
require (
6-
entgo.io/ent v0.13.1
7-
github.com/ankane/disco-go v0.1.0
6+
entgo.io/ent v0.14.3
7+
github.com/ankane/disco-go v0.1.2
88
github.com/go-pg/pg/v10 v10.11.0
9-
github.com/jackc/pgx/v5 v5.6.0
9+
github.com/jackc/pgx/v5 v5.7.2
1010
github.com/jmoiron/sqlx v1.3.5
1111
github.com/lib/pq v1.10.9
1212
github.com/uptrace/bun v1.1.12
@@ -17,32 +17,35 @@ require (
1717
)
1818

1919
require (
20-
ariga.io/atlas v0.19.1-0.20240203083654-5948b60a8e43 // indirect
21-
github.com/agext/levenshtein v1.2.1 // indirect
22-
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
23-
github.com/go-openapi/inflect v0.19.0 // indirect
20+
ariga.io/atlas v0.31.1-0.20250212144724-069be8033e83 // indirect
21+
github.com/agext/levenshtein v1.2.3 // indirect
22+
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
23+
github.com/bmatcuk/doublestar v1.3.4 // indirect
24+
github.com/go-openapi/inflect v0.21.0 // indirect
2425
github.com/go-pg/zerochecker v0.2.0 // indirect
25-
github.com/google/go-cmp v0.6.0 // indirect
26+
github.com/google/go-cmp v0.7.0 // indirect
2627
github.com/google/uuid v1.6.0 // indirect
27-
github.com/hashicorp/hcl/v2 v2.13.0 // indirect
28+
github.com/hashicorp/hcl/v2 v2.23.0 // indirect
2829
github.com/jackc/pgpassfile v1.0.0 // indirect
2930
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
30-
github.com/jackc/puddle/v2 v2.2.1 // indirect
31+
github.com/jackc/puddle/v2 v2.2.2 // indirect
3132
github.com/jinzhu/inflection v1.0.0 // indirect
3233
github.com/jinzhu/now v1.1.5 // indirect
33-
github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect
34+
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
3435
github.com/rogpeppe/go-internal v1.9.0 // indirect
3536
github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect
3637
github.com/vmihailenco/bufpool v0.1.11 // indirect
3738
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
3839
github.com/vmihailenco/tagparser v0.1.2 // indirect
3940
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
40-
github.com/zclconf/go-cty v1.8.0 // indirect
41-
golang.org/x/crypto v0.25.0 // indirect
42-
golang.org/x/mod v0.17.0 // indirect
43-
golang.org/x/sync v0.7.0 // indirect
44-
golang.org/x/sys v0.22.0 // indirect
45-
golang.org/x/text v0.16.0 // indirect
41+
github.com/zclconf/go-cty v1.16.2 // indirect
42+
github.com/zclconf/go-cty-yaml v1.1.0 // indirect
43+
golang.org/x/crypto v0.36.0 // indirect
44+
golang.org/x/mod v0.24.0 // indirect
45+
golang.org/x/sync v0.12.0 // indirect
46+
golang.org/x/sys v0.31.0 // indirect
47+
golang.org/x/text v0.23.0 // indirect
48+
golang.org/x/tools v0.31.0 // indirect
4649
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
4750
mellium.im/sasl v0.3.1 // indirect
4851
)

0 commit comments

Comments
 (0)