Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
658 commits
Select commit Hold shift + click to select a range
5df4feb
feat: add move dynamic generative providers
bevzzz Oct 22, 2025
71f38c3
chore: remove Azure-related config from OpenAI
bevzzz Oct 22, 2025
ebcc566
feat: add dynamic provider static factories
bevzzz Oct 22, 2025
1489e07
feat: extend generative functionality to async client
bevzzz Oct 22, 2025
2d07f1f
chore: rename generativeProvider -> dynamicProvider
bevzzz Oct 22, 2025
8db5598
chore: remove redundant method from ProviderMetadata interface
bevzzz Oct 22, 2025
effe557
chore: add dynamic index configuration
bevzzz Oct 23, 2025
4beac88
refactor: extend TaggedUnion in VectorIndex
bevzzz Oct 23, 2025
c90ac75
fix: register custom type adapter factory for Dynamic vector index
bevzzz Oct 23, 2025
f935ee2
feat: add reranker module configurations
bevzzz Oct 24, 2025
8eb6403
feat: define PhoneNumber and GeoCoordinates data type
bevzzz Oct 24, 2025
f051af9
feat: read/write PhoneNumber and GeoCoordinates data
bevzzz Oct 24, 2025
b49b215
feat: add API to request cluster/nodes info
bevzzz Oct 23, 2025
3af98a7
feat: extend cluster/nodes to async client
bevzzz Oct 23, 2025
3519f91
chore: fix javadoc
bevzzz Oct 23, 2025
365ad8b
test: use random container name
bevzzz Oct 23, 2025
24eb60b
test: set RAFT_JOIN value for follower nodes only
bevzzz Oct 23, 2025
35612a0
chore: delete redundant import
bevzzz Oct 28, 2025
b73e8b3
refactor: introduce enum for node status
bevzzz Oct 28, 2025
ddda202
feat: sort listed backups by starting time
bevzzz Oct 30, 2025
1c006d9
feat: add replication API
bevzzz Oct 30, 2025
50bba9e
feat: extends replication to async client
bevzzz Oct 30, 2025
d15dcb2
feat: add text2vec-cohere vectorizer
bevzzz Oct 24, 2025
3dd1de8
feat: add text2vec-huggingface module
bevzzz Oct 27, 2025
1428b6a
feat: add text2vec-morph vectorizer
bevzzz Oct 27, 2025
647f43d
feat: add text2vec-model2vec vectorizer
bevzzz Oct 27, 2025
3f5f261
chore: standardize namic in text2vec-weaviate vectorizer
bevzzz Oct 27, 2025
7416e7e
feat: add text2vec-voyageai vectorizer
bevzzz Oct 27, 2025
e817c2f
feat: add text2vec-transformers vectorizer
bevzzz Oct 27, 2025
29a3134
chore: add Google's vectorizers
bevzzz Oct 27, 2025
b64120b
feat: add text2vec-openai vectorizer
bevzzz Oct 27, 2025
9ea6daf
feat: add text2vec-ollama vectorizer
bevzzz Oct 27, 2025
742e604
feat: add text2vec-mistral vectorizer
bevzzz Oct 27, 2025
883c4a6
feat: add text2vec-nvidia vectorizer
bevzzz Oct 27, 2025
4f69040
feat: add Jina vectorizers
bevzzz Oct 27, 2025
2daee10
feat: add text2vec-databricks vectorizer
bevzzz Oct 27, 2025
dc5ef5b
feat: add Azure OpenAI vectorizer
bevzzz Oct 27, 2025
ef4f729
feat: add ref2vec-centroid vectorizer
bevzzz Oct 27, 2025
52bf46d
fix: remove sourceProperties from ref2vec
bevzzz Oct 27, 2025
b1778ff
chore: add AWS vectorizer module
bevzzz Oct 27, 2025
9b48883
feat: multi2vec-aws module
bevzzz Oct 27, 2025
1183dde
feat: muli2vec-nvidia module
bevzzz Oct 27, 2025
dc6208b
feat: add multi2vec-cohere module
bevzzz Oct 27, 2025
dff5336
feat: add multi2multivec-jinaai and multi2vec-bind vectorizer modules
bevzzz Oct 27, 2025
0a26323
feat: add multi2vec-voyageai
bevzzz Oct 27, 2025
390371b
feat: add multi2vec-jinaai module
bevzzz Oct 27, 2025
b785dcf
feat: add multi2vec-google vectorizer
bevzzz Oct 27, 2025
56bf387
feat: register vectorizer adapters in the type adapter factory
bevzzz Oct 27, 2025
48c156f
feat: provide separate builder for AWS sagemaker/bedrock
bevzzz Oct 27, 2025
ae99fbb
chore: fix inconsistencies
bevzzz Oct 27, 2025
3e0cf09
feat: add static factories for vectorizer modules
bevzzz Oct 28, 2025
f42edc6
chore: fix imports
bevzzz Oct 28, 2025
c2ee8fe
test: fix connection to Transformers container
bevzzz Oct 28, 2025
919d17b
chore: add converters and type checkers for VectorConfig variants
bevzzz Oct 28, 2025
35011da
fix: rename file
bevzzz Oct 28, 2025
a48297e
test: migrate to model2vec container for tests
bevzzz Oct 29, 2025
2f033f5
chore: use consistent spelling for module names
bevzzz Oct 29, 2025
f8817c9
refactor: provide separate builders for VertexAI / AiStudio modules
bevzzz Nov 5, 2025
d98b0e9
refactor: provide separate builders for VertexAI / AiStudio generativ…
bevzzz Nov 5, 2025
3837028
test: update syntax in tests
bevzzz Nov 5, 2025
eb86b07
build: upgrade dependencies
bevzzz Nov 5, 2025
509aa7a
test: use smaller model
bevzzz Nov 5, 2025
cc828e2
feat: set connection / query / insert timeouts
bevzzz Nov 3, 2025
8eb2452
fix: do not require collection name if CollectionHandle sub-methods
bevzzz Nov 3, 2025
f53e5b7
chore: add useful overloads
bevzzz Nov 3, 2025
c3ab4fd
feat: return CollectionHandle(-Async) from client.collections.create()
bevzzz Nov 3, 2025
d01aad9
feat: provide overload for includeVector to fetch named vectors
bevzzz Nov 3, 2025
c89e393
feat: allow overAll aggregation with only the GroupBy argument
bevzzz Nov 3, 2025
ef603d1
chore: rename TEXT metrics to correspond to Python
bevzzz Nov 3, 2025
50078cf
feat: support pagination with filters
bevzzz Nov 4, 2025
04dab2b
feat: add 'cache' parameter for RQ
bevzzz Nov 4, 2025
9e3627a
feat: add Target to aggregate-hybrid queries
bevzzz Nov 4, 2025
e9f6f97
feat: add nearVector overloads for float[][] input
bevzzz Nov 4, 2025
d16ee10
feat: add Target to aggregate-nearVector queries
bevzzz Nov 4, 2025
4b1f774
feat: add Target to aggregate-nearText queries
bevzzz Nov 4, 2025
bafaa24
feat: add Target to aggregate-media queries
bevzzz Nov 4, 2025
a72529c
chore: don't expose Metadata.VECTOR
bevzzz Nov 4, 2025
f277ad8
Release 6.0.0-M2 version
bevzzz Nov 6, 2025
d516363
Update version to next snapshot version
bevzzz Nov 6, 2025
7989d14
refactor: use dedicated WriteWeaviateObject in .data operations
bevzzz Nov 19, 2025
8b1d3c8
refactor: use dedicated QueryWeaviateObject in .query
bevzzz Nov 19, 2025
4eee004
chore: rename IWeaviateObject -> WeaviateObject
bevzzz Nov 19, 2025
037ffdb
fix: adjust as per failing tests
bevzzz Nov 19, 2025
48399a4
fix: use clientId from OIDC config on the server
bevzzz Nov 11, 2025
a19626f
Rename generated, autocut, byId and module parameters
g-despot Nov 19, 2025
523378c
Minor update
g-despot Nov 19, 2025
9226f8f
chore: rename QueryWeaviateObject -> ReadWeaviateObject
bevzzz Nov 19, 2025
6c10a0f
chore: add .vectors to WeaviateObject interface
bevzzz Nov 19, 2025
e0b7d24
Rename where to filter
g-despot Nov 19, 2025
d9b18d4
Update README
g-despot Nov 19, 2025
dc8ef11
Add voyageAI dimensions
databyjp Nov 19, 2025
80c8f23
typo
databyjp Nov 19, 2025
7ac1059
Rename dynamic to generative
g-despot Nov 20, 2025
19803f6
fix: reassign stub after applying grpcMaxMessageSize
bevzzz Nov 17, 2025
ace668c
chore: add missing overload for insertMany
bevzzz Nov 18, 2025
c810c9f
test: add a test case for grpcMaxMessageSize
bevzzz Nov 18, 2025
6fd1b9f
Update return types and rename object deletion
g-despot Nov 21, 2025
d1a10ad
Fix failing test
g-despot Nov 21, 2025
1246970
feat: add isNull / isNotNull filter
bevzzz Nov 19, 2025
c79f2d0
feat: add filters for create/update time
bevzzz Nov 19, 2025
85671ab
feat: add dedicated UUID filter methods
bevzzz Nov 20, 2025
f4cb335
fix: remove unimplemented method Filter.references
bevzzz Nov 20, 2025
c9b8a1d
feat: implement filtering by property length
bevzzz Nov 20, 2025
a84eea3
test: add missing import
bevzzz Nov 21, 2025
d3dd00f
test: use new syntax for inserting objects
bevzzz Nov 21, 2025
77dace1
test: get tenant from inserted object
bevzzz Nov 21, 2025
089bc42
fix: return NearVectorTarget from static factories for vector search
bevzzz Nov 20, 2025
a064968
feat: add overloads to construct NearVector with float[]([])
bevzzz Nov 20, 2025
33a4908
test: add test for updating quantization
bevzzz Nov 20, 2025
0cbf4d5
fix: send original value of skipDefaultQuantization in update requests
bevzzz Nov 20, 2025
7592240
chore: provide TaggedUnion helpers in Quantization interface
bevzzz Nov 20, 2025
2ad1cd1
chore: add includeVector options to Paginator
bevzzz Nov 20, 2025
bfa9311
feat: add where-filter to aggregations
bevzzz Nov 20, 2025
bd965f0
feat: read unnamed vectors from query responses
bevzzz Nov 20, 2025
47612b3
ci: sign artifacts at 'deploy' stage
bevzzz Nov 20, 2025
0db2af2
feat: add rerank() argument to nearText / nearAudio
bevzzz Nov 21, 2025
815dab2
feat: add rerank argument to other vector-based queries
bevzzz Nov 21, 2025
fdfde03
feat: add option to retrive generative provider metadata
bevzzz Nov 21, 2025
868c373
test: disable tests that's causing side-effects
bevzzz Nov 21, 2025
ebd252a
chore: fix malformed import
bevzzz Nov 21, 2025
120f37b
chore: enforce minimal server version
bevzzz Oct 29, 2025
b50ede5
test: add unit tests for SemanticVersion
bevzzz Oct 29, 2025
6ed1e50
chore: fix javadoc
bevzzz Oct 29, 2025
d8f6c27
chore: set minimal server version to 1.31
bevzzz Oct 29, 2025
f3ffb08
test: upgrate Surefire to 3.5.4
bevzzz Nov 4, 2025
d506d44
ci: run tests in parallel
bevzzz Nov 4, 2025
8092930
test: remove ALL-UNNAMED opens from test config
bevzzz Nov 4, 2025
cb343fd
ci: extend test matrix to 2 latest Weaviate versions
bevzzz Nov 5, 2025
0cdd765
ci: fix syntax
bevzzz Nov 5, 2025
6692b51
chore: use smaller image
bevzzz Nov 5, 2025
33851ab
debug(ci): do not cache model2vec image
bevzzz Nov 5, 2025
d752fca
ci(fix): do not save model2vec image
bevzzz Nov 5, 2025
e47d5d8
ci(fix): use correct version tag
bevzzz Nov 5, 2025
c586f35
chore: user lookup-only restore in Docker Cache step
bevzzz Nov 5, 2025
59b920b
ci(fix): move env definition
bevzzz Nov 5, 2025
db33322
ci: disable fail-fast
bevzzz Nov 5, 2025
8c514b7
ci: skip GPG signing for tests job
bevzzz Nov 5, 2025
17ade05
chore: skip tests that require a later version
bevzzz Nov 6, 2025
dc00bb9
ci: expand test matrix
bevzzz Nov 6, 2025
405915d
ci: disable some tests for earlier versions
bevzzz Nov 6, 2025
64975ac
ci: raise minimal required version to 1.32
bevzzz Nov 6, 2025
87dde16
fix: use mutable list
bevzzz Nov 6, 2025
acfdc3e
test: fix skip syntax
bevzzz Nov 6, 2025
1ddcba9
build: drop Lombok dependency
bevzzz Nov 6, 2025
a35c490
Update Weaviate versions
g-despot Nov 21, 2025
5f57300
Free workflow disk space step
g-despot Nov 21, 2025
c6baca2
Free workflow disk space step
g-despot Nov 21, 2025
bb0172e
Fix failing TCs
g-despot Nov 21, 2025
5c17a8f
Update replication factor
g-despot Nov 21, 2025
ecf34e2
Fix cluster creation
g-despot Nov 21, 2025
567d00b
Update bindNodes
g-despot Nov 21, 2025
cebe368
Revert changes
g-despot Nov 21, 2025
0701323
Add missing env var
g-despot Nov 21, 2025
7fd6c2a
chore: enforce minimal server version
bevzzz Oct 29, 2025
e59035c
test: add unit tests for SemanticVersion
bevzzz Oct 29, 2025
00a2564
chore: fix javadoc
bevzzz Oct 29, 2025
98982f0
chore: set minimal server version to 1.31
bevzzz Oct 29, 2025
d87e77f
ci: run tests in parallel
bevzzz Nov 4, 2025
db0e712
test: remove ALL-UNNAMED opens from test config
bevzzz Nov 4, 2025
ba1c62f
ci: extend test matrix to 2 latest Weaviate versions
bevzzz Nov 5, 2025
4ac373e
ci: fix syntax
bevzzz Nov 5, 2025
6293630
chore: use smaller image
bevzzz Nov 5, 2025
80bf822
debug(ci): do not cache model2vec image
bevzzz Nov 5, 2025
dc43ad7
ci(fix): do not save model2vec image
bevzzz Nov 5, 2025
3e7a36b
ci(fix): use correct version tag
bevzzz Nov 5, 2025
92b3c9d
chore: user lookup-only restore in Docker Cache step
bevzzz Nov 5, 2025
98718f8
ci(fix): move env definition
bevzzz Nov 5, 2025
1361fb1
ci: disable fail-fast
bevzzz Nov 5, 2025
58e0fa9
ci: skip GPG signing for tests job
bevzzz Nov 5, 2025
092721c
chore: skip tests that require a later version
bevzzz Nov 6, 2025
8802d85
ci: expand test matrix
bevzzz Nov 6, 2025
8cc1932
ci: disable some tests for earlier versions
bevzzz Nov 6, 2025
dfc1a0f
ci: raise minimal required version to 1.32
bevzzz Nov 6, 2025
cfba78e
fix: use mutable list
bevzzz Nov 6, 2025
23561bf
test: fix skip syntax
bevzzz Nov 6, 2025
cafdb5a
Update src/it/java/io/weaviate/containers/Weaviate.java
g-despot Nov 21, 2025
3628044
Update Double to Float
g-despot Nov 21, 2025
42edd3a
ci: update release script to recognize -rc version suffix
bevzzz Nov 21, 2025
a2e1d0b
Release 6.0.0-rc1 version
bevzzz Nov 21, 2025
ef43960
Update version to next snapshot version
bevzzz Nov 21, 2025
80f0fdf
test: fix docker container version
bevzzz Nov 21, 2025
40b0d75
Revert "Update version to next snapshot version"
bevzzz Nov 21, 2025
7fa6ff5
Revert "Release 6.0.0-rc1 version"
bevzzz Nov 21, 2025
782eaed
ci: use RC for release candidate versions
bevzzz Nov 21, 2025
cffe50c
Release 6.0.0-RC1 version
bevzzz Nov 21, 2025
d8d7647
Update version to next snapshot version
bevzzz Nov 21, 2025
2b73c02
Revert "build: drop Lombok dependency"
bevzzz Nov 21, 2025
d4afb6e
Revert "Update version to next snapshot version"
bevzzz Nov 21, 2025
97edfc4
Revert "Release 6.0.0-RC1 version"
bevzzz Nov 21, 2025
0f9b0aa
chore: upgrade dependencies
bevzzz Nov 21, 2025
f4444db
Release 6.0.0-RC1 version
bevzzz Nov 21, 2025
4c1b4f4
Update version to next snapshot version
bevzzz Nov 21, 2025
661bf6d
fix(config.update): guard against null quantizer
bevzzz Nov 22, 2025
592c247
feat: add dimensions field to Text2VecCohereVectorizer
databyjp Nov 21, 2025
d9525fb
feat: add dimensions field to Multi2VecCohereVectorizer
databyjp Nov 21, 2025
895c433
fix typo
databyjp Nov 22, 2025
a390de6
chore: remove unused builder parameter
bevzzz Nov 25, 2025
590261d
spike: use a single WeaviateObject interface
bevzzz Nov 25, 2025
8971aee
refactor: re-unite Read-/WriteWeaviateObject
bevzzz Nov 25, 2025
57f693a
chore: rename XWriteWeaviateObject -> WeaviateObject
bevzzz Nov 25, 2025
a9f8613
chore: rename Reference -> ObjectReference and IReference -> Reference
bevzzz Nov 25, 2025
4b5121d
chore: add TODO
bevzzz Nov 25, 2025
1e85787
refactor: store 1 UUID per ObjectReference
bevzzz Nov 25, 2025
ffd6348
chore: remove sketches
bevzzz Nov 25, 2025
7d1de91
chore: remove TODO
bevzzz Nov 25, 2025
f3185d7
chore: add UUID and Vectors to grouped query object returns
bevzzz Nov 25, 2025
952e352
chore: guard against invalid UUIDs
bevzzz Nov 25, 2025
7752ce2
Release 6.0.0-RC2 version
bevzzz Nov 25, 2025
1775799
Update version to next snapshot version
bevzzz Nov 25, 2025
bb74fe1
Migrate oidc AUTH tests to descope
dirkkul Nov 26, 2025
e11b519
Disable OIDC test
g-despot Nov 26, 2025
0b1cdbc
Remove chunk size argument
g-despot Nov 26, 2025
6fc1a8a
model-provider-updates
databyjp Nov 26, 2025
969a8da
feat: add missing fields to GoogleGenerative, NvidiaGenerative and Xa…
databyjp Nov 26, 2025
ac975c4
Java vectorizer config updates
databyjp Nov 26, 2025
72351c5
feat: Updates to Text2VecJinaAiVectorizer and Text2VecTransformersVec…
databyjp Nov 26, 2025
657865a
refactor: Remove outputEncoding field from Multi2VecNvidiaVectorizer …
databyjp Nov 26, 2025
2161e56
Removed 'outputEncoding' as deprecated and has no effect
databyjp Nov 26, 2025
36c7098
syntax
databyjp Nov 27, 2025
c7b2f8c
Sting isn't a primitive apparently
databyjp Nov 27, 2025
01982ba
more bugfixes
databyjp Nov 27, 2025
89a946d
Update tests
databyjp Nov 27, 2025
426cb39
Refactor stopSequences initialization in generative classes
databyjp Nov 27, 2025
a66297f
Update generative module references from "generative-palm" to "genera…
databyjp Nov 27, 2025
ecffe5d
typo :/
databyjp Nov 27, 2025
6ae0479
Minor fixes
g-despot Nov 27, 2025
463c719
Fix typo
g-despot Nov 27, 2025
ff017bc
Fix Cohere and remove lazy list initialization
g-despot Nov 27, 2025
0aab6b1
Fix baseURL
g-despot Nov 27, 2025
4c40ed8
Release 6.0.0 version
bevzzz Nov 27, 2025
8e80cbe
Update version to next snapshot version
bevzzz Nov 27, 2025
3dabeca
fix: serialize vectorizer sourceProperties to properties
antas-marcin Dec 1, 2025
f7bbb7b
Add compression options to enum
databyjp Nov 27, 2025
3fc0c7b
Apply suggestions from code review
databyjp Nov 27, 2025
5788664
Release 6.0.1 version
antas-marcin Dec 3, 2025
44fa43c
Update version to next snapshot version
antas-marcin Dec 3, 2025
d6c3620
feat(config): add support for object TTL
bevzzz Dec 29, 2025
6d5a87f
test: skip object TTL test for <v1.35
bevzzz Dec 29, 2025
ae1b86c
chore: update OIDC provider config for tests
bevzzz Dec 29, 2025
179f577
test(oidc): await token expiry
bevzzz Dec 30, 2025
d41aba2
feat: add X-Weaviate-Client header and improve BuildInfo
mpartipilo Jan 15, 2026
bb6dab9
feat: refactor client version handling and update BuildInfo structure
mpartipilo Jan 16, 2026
bd8abba
Rename ClientVersionTest to ConfigTest
mpartipilo Jan 16, 2026
3a77887
Make header version string static in Config class
mpartipilo Jan 16, 2026
b75812d
chore(config): fix typo in Sharding config
bevzzz Jan 19, 2026
8373acb
fix(vectorindex): return booleans from isHnsw/Flat/Dynamic methods
bevzzz Jan 19, 2026
a075bbf
chore(v6): post-rebase cleanup
bevzzz Jan 20, 2026
8ba8a1f
Merge branch 'main' into v6-rebased
bevzzz Jan 20, 2026
40dc4fd
Merge branch 'main' into v6-rebased
bevzzz Jan 20, 2026
2e1492c
chore(build): bump properties
bevzzz Jan 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ci related folders
# CI related resources
/.github/ @weaviate/core
decrypt_secret.sh @weaviate/core
secrets.tar.gp @weaviate/core
13 changes: 9 additions & 4 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
name: Create Release
on:
push:
# run only on tags
tags:
- '**'
pull_request:
# Release a new SNAPSHOT version every time a PR is merged to v6.
types: [closed]
branches: ['v6']

jobs:
release:
name: Deploy
if: startsWith(github.ref, 'refs/tags')
if: >
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags'))
|| (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Unpack secrets
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
Expand Down Expand Up @@ -39,7 +44,7 @@ jobs:
retention-days: 1
gh-release:
name: Create a GitHub Release
if: startsWith(github.ref, 'refs/tags')
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
needs: [ release ]
steps:
Expand Down
131 changes: 111 additions & 20 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,118 @@ on:
branches:
- main
pull_request:
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true

env:
IMG2VEC: cr.weaviate.io/semitechnologies/img2vec-pytorch:resnet50
MINIO: minio/minio
MODEL2VEC: cr.weaviate.io/semitechnologies/model2vec-inference:minishlab-potion-base-4M
DOCKER_IMAGES_TAR: docker-images.tar

jobs:
tests:
name: Tests
docker-cache:
name: Cache shared Docker images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Docker Hub
if: ${{ !github.event.pull_request.head.repo.fork }}
uses: docker/login-action@v2
with:
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
- name: Run Build
run: mvn -DskipTests clean package
- name: Run Tests
env:
OKTA_DUMMY_CI_PW: ${{ secrets.OKTA_DUMMY_CI_PW }}
WCS_DUMMY_CI_PW: ${{ secrets.WCS_DUMMY_CI_PW }}
OKTA_CLIENT_SECRET: ${{ secrets.OKTA_CLIENT_SECRET }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
OPENAI_APIKEY: ${{ secrets.OPENAI_APIKEY }}
run: |
mvn clean test
- name: Login to Docker Hub
if: ${{ !github.event.pull_request.head.repo.fork }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- id: cache-check
uses: actions/cache/restore@v4
env:
DOCKER_CACHE_KEY: docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
with:
path: ${{ env.DOCKER_IMAGES_TAR }}
key: ${{ env.DOCKER_CACHE_KEY }}
lookup-only: true # Only check if cache exists, don't download
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: false
- name: Pull images
if: steps.cache-check.outputs.cache-hit != 'true'
run: |
docker pull $IMG2VEC
docker pull $MINIO
# docker pull $MODEL2VEC
docker save $IMG2VEC $MINIO -o $DOCKER_IMAGES_TAR
- name: Cache images
if: steps.cache-check.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
env:
DOCKER_CACHE_KEY: docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
with:
path: ${{ env.DOCKER_IMAGES_TAR }}
key: ${{ env.DOCKER_CACHE_KEY }}

maven-cache:
name: Cache Maven dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "17"
cache: "maven"
- run: mvn dependency:go-offline

test:
name: Test
runs-on: ubuntu-latest
needs: [docker-cache, maven-cache]
strategy:
fail-fast: false
matrix:
WEAVIATE_VERSION: ["1.32.24", "1.33.11", "1.34.7", "1.35.2"]
steps:
- uses: actions/checkout@v4

- uses: actions/cache/restore@v4
env:
DOCKER_CACHE_KEY: docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
with:
path: ${{ env.DOCKER_IMAGES_TAR }}
key: ${{ env.DOCKER_CACHE_KEY }}
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: false
- name: Load Docker images
run: |
if [ -f $DOCKER_IMAGES_TAR ]; then
docker load -i $DOCKER_IMAGES_TAR
fi
- uses: actions/setup-java@v4
name: Setup JDK
with:
distribution: "zulu"
java-version: "17"
cache: "maven"

- name: Run Tests (v${{ matrix.WEAVIATE_VERSION }})
env:
OKTA_DUMMY_CI_PW: ${{ secrets.OKTA_DUMMY_CI_PW }}
WCS_DUMMY_CI_PW: ${{ secrets.WCS_DUMMY_CI_PW }}
OKTA_CLIENT_SECRET: ${{ secrets.OKTA_CLIENT_SECRET }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
OPENAI_APIKEY: ${{ secrets.OPENAI_APIKEY }}
WEAVIATE_VERSION: ${{ matrix.WEAVIATE_VERSION }}
run: mvn verify -Dgpg.skip
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
target/
# maven-lombok-plugin
.factorypath
# Surefire statistics for optimized execution time
.surefire-*
18 changes: 17 additions & 1 deletion CONTRIBUTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributing works pretty easy. You can do a pull request or you can commit if you are part of a Weaviate team.

### Code of Conduct
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)


Expand All @@ -27,6 +27,22 @@ AKA: smart commits

If you create a pull request without smart commits, the pull request will be [squashed into](https://blog.github.com/2016-04-01-squash-your-commits/) one git commit.

### Updating dependencies

It's a good practice to periodically check for possible dependency upgrades. Ideally, we should do it before every release.

```sh
mvn versions:display-property-updates
```

If appropriate, update dependency version with this command:

```sh
mvn versions:update-properties
```

Commit all version upgrades in a single commit, unless there's a good reason not to.

### Contributor License Agreement

Contributions to Weaviate Java client must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution; this simply gives us permission to use and redistribute your contributions as part of Weaviate Java client. Go to [this page](https://weaviate.io/service/contributor-license-agreement) to read the current agreement.
Expand Down
Loading