Skip to content

Commit b3e417b

Browse files
authored
Merge pull request #381 from weaviate/feat/tokenize-endpoint
feat: tokenize endpoints + Property.TextAnalyzer + StopwordPresets (Weaviate 1.37.0+)
2 parents 0d665ce + 1b7f664 commit b3e417b

21 files changed

Lines changed: 987 additions & 207 deletions

.github/workflows/workflow-tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
workflow_call:
33

44
env:
5-
WEAVIATE_VERSION: 1.37.0-rc.0
5+
WEAVIATE_VERSION: 1.37.1
66

77
jobs:
88
auth-tests:
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Go
2525
uses: actions/setup-go@v6
2626
with:
27-
go-version: "1.25"
27+
go-version: "1.26"
2828
cache: true
2929
- name: Run tests
3030
run: WEAVIATE_VERSION=${WEAVIATE_VERSION} ./tools/run_tests.sh --auth-integration-only
@@ -52,7 +52,7 @@ jobs:
5252
- name: Set up Go
5353
uses: actions/setup-go@v6
5454
with:
55-
go-version: "1.25"
55+
go-version: "1.26"
5656
cache: true
5757
- name: Run tests
5858
run: WEAVIATE_VERSION=${WEAVIATE_VERSION} ./tools/run_tests.sh --integration-only
@@ -64,7 +64,7 @@ jobs:
6464
- name: Set up Go
6565
uses: actions/setup-go@v6
6666
with:
67-
go-version: "1.25"
67+
go-version: "1.26"
6868
cache: true
6969
- name: Run tests
7070
run: WEAVIATE_VERSION=${WEAVIATE_VERSION} ./tools/run_tests.sh --unit-only
@@ -77,7 +77,7 @@ jobs:
7777
- name: Set up Go
7878
uses: actions/setup-go@v6
7979
with:
80-
go-version: "1.25"
80+
go-version: "1.26"
8181
cache: true
8282
- name: Login to Docker Hub
8383
uses: docker/login-action@v3

go.mod

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
module github.com/weaviate/weaviate-go-client/v5
22

3-
go 1.25
3+
go 1.26
44

55
require (
66
github.com/docker/go-connections v0.6.0
77
github.com/go-openapi/strfmt v0.25.0
88
github.com/google/uuid v1.6.0
99
github.com/launchdarkly/go-semver v1.0.3
1010
github.com/stretchr/testify v1.11.1
11-
github.com/testcontainers/testcontainers-go v0.40.0
11+
github.com/testcontainers/testcontainers-go v0.41.0
1212
github.com/testcontainers/testcontainers-go/modules/weaviate v0.40.0
13-
github.com/weaviate/weaviate v1.36.0
13+
github.com/weaviate/weaviate v1.37.1
1414
go.nhat.io/grpcmock v0.33.0
15-
golang.org/x/oauth2 v0.34.0
16-
golang.org/x/sync v0.18.0
17-
google.golang.org/grpc v1.78.0
18-
google.golang.org/protobuf v1.36.10
15+
golang.org/x/oauth2 v0.35.0
16+
golang.org/x/sync v0.20.0
17+
google.golang.org/grpc v1.80.0
18+
google.golang.org/protobuf v1.36.11
1919
)
2020

2121
require (
2222
dario.cat/mergo v1.0.2 // indirect
23-
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
23+
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
2424
github.com/Microsoft/go-winio v0.6.2 // indirect
2525
github.com/VividCortex/ewma v1.2.0 // indirect
2626
github.com/alexedwards/argon2id v1.0.0 // indirect
2727
github.com/armon/go-metrics v0.4.1 // indirect
2828
github.com/aws/aws-sdk-go v1.44.298 // indirect
2929
github.com/beorn7/perks v1.0.1 // indirect
3030
github.com/bool64/shared v0.1.5 // indirect
31-
github.com/buger/jsonparser v1.1.1 // indirect
31+
github.com/buger/jsonparser v1.1.2 // indirect
3232
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
3333
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
3434
github.com/cespare/xxhash/v2 v2.3.0 // indirect
@@ -41,10 +41,10 @@ require (
4141
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
4242
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
4343
github.com/distribution/reference v0.6.0 // indirect
44-
github.com/docker/docker v28.5.1+incompatible // indirect
44+
github.com/docker/docker v28.5.2+incompatible // indirect
4545
github.com/docker/go-units v0.5.0 // indirect
4646
github.com/dustin/go-humanize v1.0.1 // indirect
47-
github.com/ebitengine/purego v0.8.4 // indirect
47+
github.com/ebitengine/purego v0.10.0 // indirect
4848
github.com/fatih/color v1.17.0 // indirect
4949
github.com/felixge/httpsnoop v1.0.4 // indirect
5050
github.com/getsentry/sentry-go v0.30.0 // indirect
@@ -53,27 +53,27 @@ require (
5353
github.com/go-ole/go-ole v1.3.0 // indirect
5454
github.com/go-openapi/analysis v0.24.1 // indirect
5555
github.com/go-openapi/errors v0.22.4 // indirect
56-
github.com/go-openapi/jsonpointer v0.22.1 // indirect
57-
github.com/go-openapi/jsonreference v0.21.3 // indirect
56+
github.com/go-openapi/jsonpointer v0.22.4 // indirect
57+
github.com/go-openapi/jsonreference v0.21.4 // indirect
5858
github.com/go-openapi/loads v0.23.2 // indirect
5959
github.com/go-openapi/runtime v0.29.2 // indirect
60-
github.com/go-openapi/spec v0.22.1 // indirect
60+
github.com/go-openapi/spec v0.22.3 // indirect
6161
github.com/go-openapi/swag v0.23.0 // indirect
62-
github.com/go-openapi/swag/conv v0.25.1 // indirect
62+
github.com/go-openapi/swag/conv v0.25.4 // indirect
6363
github.com/go-openapi/swag/fileutils v0.25.1 // indirect
64-
github.com/go-openapi/swag/jsonname v0.25.1 // indirect
65-
github.com/go-openapi/swag/jsonutils v0.25.1 // indirect
66-
github.com/go-openapi/swag/loading v0.25.1 // indirect
64+
github.com/go-openapi/swag/jsonname v0.25.4 // indirect
65+
github.com/go-openapi/swag/jsonutils v0.25.4 // indirect
66+
github.com/go-openapi/swag/loading v0.25.4 // indirect
6767
github.com/go-openapi/swag/mangling v0.25.1 // indirect
68-
github.com/go-openapi/swag/stringutils v0.25.1 // indirect
69-
github.com/go-openapi/swag/typeutils v0.25.1 // indirect
70-
github.com/go-openapi/swag/yamlutils v0.25.1 // indirect
68+
github.com/go-openapi/swag/stringutils v0.25.4 // indirect
69+
github.com/go-openapi/swag/typeutils v0.25.4 // indirect
70+
github.com/go-openapi/swag/yamlutils v0.25.4 // indirect
7171
github.com/go-openapi/validate v0.25.1 // indirect
7272
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
7373
github.com/google/btree v1.1.3 // indirect
7474
github.com/gregjones/httpcache v0.0.0-20171119193500-2bcd89a1743f // indirect
7575
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.2 // indirect
76-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2 // indirect
76+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect
7777
github.com/hashicorp/errwrap v1.1.0 // indirect
7878
github.com/hashicorp/go-hclog v1.6.3 // indirect
7979
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
@@ -89,15 +89,15 @@ require (
8989
github.com/josharian/intern v1.0.0 // indirect
9090
github.com/karrick/godirwalk v1.15.3 // indirect
9191
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
92-
github.com/klauspost/compress v1.18.0 // indirect
92+
github.com/klauspost/compress v1.18.2 // indirect
9393
github.com/lanrat/extsort v1.0.2 // indirect
9494
github.com/launchdarkly/ccache v1.1.0 // indirect
9595
github.com/launchdarkly/eventsource v1.10.0 // indirect
9696
github.com/launchdarkly/go-jsonstream/v3 v3.1.0 // indirect
9797
github.com/launchdarkly/go-sdk-common/v3 v3.4.0 // indirect
9898
github.com/launchdarkly/go-sdk-events/v3 v3.5.0 // indirect
9999
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.1 // indirect
100-
github.com/launchdarkly/go-server-sdk/v7 v7.14.1 // indirect
100+
github.com/launchdarkly/go-server-sdk/v7 v7.14.6 // indirect
101101
github.com/lufia/plan9stats v0.0.0-20240909124753-873cd0166683 // indirect
102102
github.com/magiconair/properties v1.8.10 // indirect
103103
github.com/mailru/easyjson v0.7.7 // indirect
@@ -106,12 +106,12 @@ require (
106106
github.com/mattn/go-runewidth v0.0.15 // indirect
107107
github.com/miekg/dns v1.1.68 // indirect
108108
github.com/moby/docker-image-spec v1.3.1 // indirect
109-
github.com/moby/go-archive v0.1.0 // indirect
109+
github.com/moby/go-archive v0.2.0 // indirect
110110
github.com/moby/patternmatcher v0.6.0 // indirect
111111
github.com/moby/sys/sequential v0.6.0 // indirect
112112
github.com/moby/sys/user v0.4.0 // indirect
113113
github.com/moby/sys/userns v0.1.0 // indirect
114-
github.com/moby/term v0.5.0 // indirect
114+
github.com/moby/term v0.5.2 // indirect
115115
github.com/morikuni/aec v1.0.0 // indirect
116116
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
117117
github.com/netresearch/go-cron v0.9.1 // indirect
@@ -133,16 +133,16 @@ require (
133133
github.com/russross/blackfriday/v2 v2.1.0 // indirect
134134
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
135135
github.com/sergi/go-diff v1.4.0 // indirect
136-
github.com/shirou/gopsutil/v4 v4.25.6 // indirect
136+
github.com/shirou/gopsutil/v4 v4.26.2 // indirect
137137
github.com/sirupsen/logrus v1.9.4 // indirect
138138
github.com/spaolacci/murmur3 v1.1.0 // indirect
139139
github.com/spf13/afero v1.15.0 // indirect
140140
github.com/stretchr/objx v0.5.3 // indirect
141141
github.com/swaggest/assertjson v1.9.0 // indirect
142142
github.com/tailor-platform/graphql v0.6.0 // indirect
143143
github.com/termie/go-shutil v0.0.0-20140729215957-bcacb06fecae // indirect
144-
github.com/tklauser/go-sysconf v0.3.14 // indirect
145-
github.com/tklauser/numcpus v0.9.0 // indirect
144+
github.com/tklauser/go-sysconf v0.3.16 // indirect
145+
github.com/tklauser/numcpus v0.11.0 // indirect
146146
github.com/urfave/cli/v2 v2.27.7 // indirect
147147
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
148148
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
@@ -158,25 +158,25 @@ require (
158158
go.nhat.io/wait v0.1.0 // indirect
159159
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
160160
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 // indirect
161-
go.opentelemetry.io/otel v1.38.0 // indirect
162-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.38.0 // indirect
163-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.38.0 // indirect
164-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.33.0 // indirect
165-
go.opentelemetry.io/otel/metric v1.38.0 // indirect
166-
go.opentelemetry.io/otel/sdk v1.38.0 // indirect
167-
go.opentelemetry.io/otel/trace v1.38.0 // indirect
168-
go.opentelemetry.io/proto/otlp v1.7.1 // indirect
161+
go.opentelemetry.io/otel v1.43.0 // indirect
162+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.43.0 // indirect
163+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.43.0 // indirect
164+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.43.0 // indirect
165+
go.opentelemetry.io/otel/metric v1.43.0 // indirect
166+
go.opentelemetry.io/otel/sdk v1.43.0 // indirect
167+
go.opentelemetry.io/otel/trace v1.43.0 // indirect
168+
go.opentelemetry.io/proto/otlp v1.10.0 // indirect
169169
go.uber.org/mock v0.4.0 // indirect
170170
go.yaml.in/yaml/v3 v3.0.4 // indirect
171-
golang.org/x/crypto v0.45.0 // indirect
171+
golang.org/x/crypto v0.49.0 // indirect
172172
golang.org/x/exp v0.0.0-20251113190631-e25ba8c21ef6 // indirect
173-
golang.org/x/mod v0.30.0 // indirect
174-
golang.org/x/net v0.47.0 // indirect
175-
golang.org/x/sys v0.40.0 // indirect
176-
golang.org/x/text v0.31.0 // indirect
177-
golang.org/x/tools v0.39.0 // indirect
178-
google.golang.org/genproto/googleapis/api v0.0.0-20251111163417-95abcf5c77ba // indirect
179-
google.golang.org/genproto/googleapis/rpc v0.0.0-20251111163417-95abcf5c77ba // indirect
173+
golang.org/x/mod v0.33.0 // indirect
174+
golang.org/x/net v0.52.0 // indirect
175+
golang.org/x/sys v0.42.0 // indirect
176+
golang.org/x/text v0.35.0 // indirect
177+
golang.org/x/tools v0.42.0 // indirect
178+
google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 // indirect
179+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9 // indirect
180180
gopkg.in/yaml.v3 v3.0.1 // indirect
181181
)
182182

0 commit comments

Comments
 (0)