Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new Weaviate 1.29 features #261

Merged
merged 20 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
dcbd03f
Update protos to use latest available on `main`
tsmith023 Feb 3, 2025
c9a4a48
Hook up new grpc backend, fix aggregate.hybrid bug, update CI images
tsmith023 Feb 6, 2025
6ff4803
Fix npm run docs script
tsmith023 Feb 6, 2025
e66e075
Remove redundant file
tsmith023 Feb 6, 2025
a3567f8
Fix unit tests
tsmith023 Feb 6, 2025
261c566
Rollback to 1.28.2 in CI due to testcontainers issue
tsmith023 Feb 6, 2025
1da8950
Skip test in <1.26 due to missing maxVectorDistance
tsmith023 Feb 6, 2025
0bec64e
Update swagger stubs and impl accordingly
tsmith023 Feb 6, 2025
6e362a0
Replace testcontainers rbac tests with compose stack
tsmith023 Feb 6, 2025
afb3153
Add implementation for aggregate groupby
tsmith023 Feb 7, 2025
7dc89a1
Change `as any` to `as Record<string, any>` for a narrower condition
tsmith023 Feb 7, 2025
c7be3f2
Merge pull request #259 from weaviate/grpc/refactor-aggregate
tsmith023 Feb 7, 2025
8151e1f
Several refactorings:
tsmith023 Feb 10, 2025
5aa2b03
Respond to review comments
tsmith023 Feb 12, 2025
1b67dbf
Merge pull request #263 from weaviate/1.29/refactor-rbac-for-new-server
tsmith023 Feb 12, 2025
3f440ad
Refactor RBAC to use new CRUD roles actions, update CI
tsmith023 Feb 13, 2025
33e93ce
Update roles API to use latest schema and align with recent py changes
tsmith023 Feb 17, 2025
a5b3c49
Update CI image
tsmith023 Feb 17, 2025
5146541
Merge pull request #266 from weaviate/1.29/align-roles-api-with-py-cl…
tsmith023 Feb 17, 2025
954f0c9
Update CI image to release 1.29
tsmith023 Feb 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ on:

env:
WEAVIATE_124: 1.24.26
WEAVIATE_125: 1.25.28
WEAVIATE_126: 1.26.13
WEAVIATE_127: 1.27.9
WEAVIATE_128: 1.28.2
WEAVIATE_125: 1.25.30
WEAVIATE_126: 1.26.14
WEAVIATE_127: 1.27.11
WEAVIATE_128: 1.28.4
WEAVIATE_129: 1.29.0

jobs:
checks:
Expand Down Expand Up @@ -39,9 +40,10 @@ jobs:
{ node: "22.x", weaviate: $WEAVIATE_125},
{ node: "22.x", weaviate: $WEAVIATE_126},
{ node: "22.x", weaviate: $WEAVIATE_127},
{ node: "18.x", weaviate: $WEAVIATE_128},
{ node: "20.x", weaviate: $WEAVIATE_128},
{ node: "22.x", weaviate: $WEAVIATE_128}
{ node: "22.x", weaviate: $WEAVIATE_128},
{ node: "18.x", weaviate: $WEAVIATE_129},
{ node: "20.x", weaviate: $WEAVIATE_129},
{ node: "22.x", weaviate: $WEAVIATE_129}
]
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion ci/compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ function compose_down_all {
}

function all_weaviate_ports {
echo "8078 8080 8081 8082 8083 8085 8086 8087 8088 8089 8090"
echo "8078 8080 8081 8082 8083 8085 8086 8087 8088 8089 8090 8091"
}
31 changes: 31 additions & 0 deletions ci/docker-compose-rbac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
version: '3.4'
services:
weaviate-rbac:
command:
- --host
- 0.0.0.0
- --port
- '8085'
- --scheme
- http
- --write-timeout=600s
image: semitechnologies/weaviate:${WEAVIATE_VERSION}
ports:
- 8091:8085
- 50062:50051
restart: on-failure:0
environment:
ENABLE_MODULES: "generative-dummy,reranker-dummy"
PERSISTENCE_DATA_PATH: "./data-weaviate-0"
CLUSTER_IN_LOCALHOST: "true"
CLUSTER_GOSSIP_BIND_PORT: "7100"
CLUSTER_DATA_BIND_PORT: "7101"
RAFT_BOOTSTRAP_EXPECT: "1"
AUTHENTICATION_APIKEY_ENABLED: "true"
AUTHENTICATION_APIKEY_ALLOWED_KEYS: 'viewer-key,editor-key,admin-key,custom-key'
AUTHENTICATION_APIKEY_USERS: 'viewer-user,editor-user,admin-user,custom-user'
AUTHORIZATION_RBAC_ENABLED: "true"
AUTHORIZATION_ADMIN_USERS: "admin-user"
AUTHORIZATION_VIEWER_USERS: "viewer-user"
...
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"format": "prettier --write --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**'",
"format:check": "prettier --check --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**'",
"format:dist": "prettier --write --no-error-on-unmatched-pattern '**/dist/**/*.{ts,js}'",
"schema": "./tools/refresh_schema.sh",
"protos": "./tools/refresh_protos.sh",
"refresh-schema": "./tools/refresh_schema.sh",
"refresh-protos": "./tools/refresh_protos.sh",
"docs": "typedoc --plugin typedoc-plugin-extras --favicon public/favicon.ico --out docs/ src/"
},
"repository": {
Expand Down
Loading
Loading