Commit 8f82eac
Dev/1.30 (#275)
* Add support for defining generative config at query-time (dynamic RAG)
* Fix unit test
* Again fix unit test
* Add concurrency limit to CI on a per branch basis to cancel old runs
* Add test of string-only usage with runtime generative
* Add factory to produce user friendly gen runtime config objects
* Remove `it.only` from test
* Update CI images
* Update name of version checker method
* Update to use latest proto with optional model fix in openai
* Fix unit test
* Update CI images
* merge
* Add ability to define tenant-level perms for `data` and `tenants` perms
* Make the next publish job push a next tag (add bash script to do this automatically in future)
* 3.5.0-beta.0
* Fix action typo, add generic to catch this in future
* 3.5.0-beta.1
* Fix broken add/remove permissions method
* 3.5.0-beta.2
* Make fixes in response to user feedback
* Improvements: (#279)
- Fixes bad typing of `GenerativeConfigRuntime`
- adds mocks for this usage
- renames `generativeConfigRuntime` to `generativeParameters` to match Python naming
* Use REST instead of gRPC for `tenants.getByName` when available due to filtering issues with rbac
* Add back tests of unsupported error throwing for <1.25
* chore: update OpenAPI schema
* feat: enable dynamic user management, add db/oidc namespaces
* refactor: re-use common code snippets
* test: extend integration test suite
* refactor(test): use concise Promise.all
* feat(breaking): include user types in user assignments
* chore: format and lint
* test: activate test case for 'oidc' users
* chore: lint and format
* refactor: replace .reduce with .map where possible
Rewrote other .reduce occurences in a more succinct manner
* test: use valid tenant name
* refactor: collect optional parameters in an object
* test: add test case w/ includePermissions=true
* chore: lint and format
* Add missing modules and module params for
- `baseURL` in `generative-anthropic`
- `videoIntervalSeconds` in `multi2vec-google`
- `outputEncoding` in `Multi2VecVoyageAIConfig`
- the entire `text2vec-nvidia` module
* fix: expect no response for /activate and /deactivate
* fix: allow expected code only for instances of WeaviateUnexpectedStatusCodeError
* refactor: declare types in **/types.ts
* test: await on all expectations which should resolve/reject
* refactor: replace postNoBody with a more explicit postReturn<null, R>
* chore: add documentation for dynamic user management
* chore: lint and format
* test: use different port binding for backup/unit.test.ts
Seems like Node 18 does not automatically 'resolve'
port collisions, so 2 test running Express servers
on the same ports will interfere with one another.
* feat: add revokeKey option to /deactivate
* Remove `--tag next` from CI publish in preparation for merging
---------
Co-authored-by: dyma solovei <dyma@weaviate.io>1 parent d0b7ac2 commit 8f82eac
File tree
39 files changed
+3159
-584
lines changed- .github/workflows
- ci
- src
- collections
- backup
- configure
- types
- config/types
- deserialize
- generate
- query
- serialize
- tenants
- types
- connection
- grpc
- openapi
- proto/v1
- roles
- users
- utils
- test
39 files changed
+3159
-584
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
77 | | - | |
| 83 | + | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
| |||
133 | 139 | | |
134 | 140 | | |
135 | 141 | | |
136 | | - | |
| 142 | + | |
File mode changed.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| 173 | + | |
| 174 | + | |
172 | 175 | | |
173 | 176 | | |
174 | 177 | | |
| |||
223 | 226 | | |
224 | 227 | | |
225 | 228 | | |
| 229 | + | |
| 230 | + | |
226 | 231 | | |
227 | 232 | | |
228 | 233 | | |
| |||
363 | 368 | | |
364 | 369 | | |
365 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
366 | 387 | | |
367 | 388 | | |
368 | 389 | | |
| |||
541 | 562 | | |
542 | 563 | | |
543 | 564 | | |
| 565 | + | |
| 566 | + | |
544 | 567 | | |
545 | 568 | | |
546 | 569 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
169 | 171 | | |
170 | 172 | | |
171 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
172 | 190 | | |
173 | 191 | | |
174 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| 67 | + | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| |||
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| 88 | + | |
| 89 | + | |
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| |||
0 commit comments