Repository navigation
Feat/introduce web client - #307
Merged
Merged
Conversation
…ipt-client into web/split-nice-grpc-connection
- Refactor into a monorepo composed for four packages: - @weaviate/core: shared functionality - @weaviate/node: Node-client that uses `grpc-js` and `fs` - @weaviate/web: Browser-client that uses `nice-grpc` and `FileReader` - @weaviate/test: Tests the public APIs of the core/node pkgs - Replace `jest` with `vitest` - Use `pnpm` for managing the monorepo - Use dependency injection to pipe node/browser deps into the common functionality of the client
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
…into feat/introduce-web-client
|
Great to see you again! Thanks for the contribution. |
…into feat/introduce-web-client
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
☢️ The following Vulnerabilities (CVEs) have been detected
| PACKAGE | FILE | CVE ID | INSTALLED VERSION | FIXED VERSION | ||
|---|---|---|---|---|---|---|
| ws | ./pnpm-lock.yaml | CVE-2026-48779 | 8.18.2 | 5.2.5, 6.2.4, 7.5.11, 8.21.0 | View in code |
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
🛡️ The following SAST misconfigurations have been detected
| NAME | FILE | ||
|---|---|---|---|
| Regular Expression Injection Vulnerability in User Input | ...ts/packages.test.mjs | View in code |
☢️ The following Vulnerabilities (CVEs) have been detected
| PACKAGE | FILE | CVE ID | INSTALLED VERSION | FIXED VERSION | ||
|---|---|---|---|---|---|---|
| ws | ./pnpm-lock.yaml | CVE-2026-48779 | 8.18.2 | 5.2.5, 6.2.4, 7.5.11, 8.21.0 | View in code | |
| ws | ./pnpm-lock.yaml | CVE-2026-45736 | 8.18.2 | 8.20.1 | View in code |
Note: The scan should have failed if no policies were configured in warn-only mode.
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
☢️ The following Vulnerabilities (CVEs) have been detected
| PACKAGE | FILE | CVE ID | INSTALLED VERSION | FIXED VERSION | ||
|---|---|---|---|---|---|---|
| ws | ./pnpm-lock.yaml | CVE-2026-48779 | 8.18.2 | 5.2.5, 6.2.4, 7.5.11, 8.21.0 | View in code | |
| ws | ./pnpm-lock.yaml | CVE-2026-45736 | 8.18.2 | 8.20.1 | View in code |
…into feat/introduce-web-client
- re-export interfaces like Aggregate in node/web with their media types specified - ensure weaviateV2 is only accessible from weaviate-client - reintroduce client.batch and throw an error if accessed from @weaviate/web - ensure connection.close() does something in @weaviate/node - ensure connection.reconnect() uses new transports - ensure channelOptions are correctly set for @weaviate/node - add missing retryMiddleware to both pkgs
…this filestructure
…nd relaxing type in nearMedia/nearImage
…methods' args & returns
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
☢️ The following Vulnerabilities (CVEs) have been detected
| PACKAGE | FILE | CVE ID | INSTALLED VERSION | FIXED VERSION | ||
|---|---|---|---|---|---|---|
| @grpc/grpc-js | ./pnpm-lock.yaml | CVE-2026-101916 | 1.14.4 | 1.13.6, 1.14.5 | View in code | |
| ws | ./pnpm-lock.yaml | CVE-2026-48779 | 8.18.2 | 5.2.5, 6.2.4, 7.5.11, 8.21.0 | View in code | |
| ws | ./pnpm-lock.yaml | CVE-2026-45736 | 8.18.2 | 8.20.1 | View in code |
bevzzz
reviewed
Oct 5, 2026
bevzzz
approved these changes
Oct 5, 2026
bevzzz
left a comment
Collaborator
There was a problem hiding this comment.
Pretty rad that this PR manages to shave ~6K while providing more functionality!
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@weaviate/core: shared functionality@weaviate/node: Node-client that usesnice-grpcandfs@weaviate/web: Browser-client that usesnice-grpc-webandFileReader@weaviate/test: Tests the public APIs of the core/node pkgspnpmfor managing the monorepo@weaviate/denopackage too with its own deno-specific libs injected in to closeCan't connect by Deno #309
/grpc-webendpoint weaviate#12024weaviate-clientfails to bundle on Cloudflare Workers due tohttp2dependency #145