Skip to content

Bump bundled Weaviate to 1.39.13 to align with Dify 1.18.0 - #462

Merged
BorisPolonsky merged 3 commits into
masterfrom
weaviate-version-update
Oct 29, 2026
Merged

BorisPolonsky merged 3 commits into
masterfrom
weaviate-version-update

Conversation

@BorisPolonsky

@BorisPolonsky BorisPolonsky commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Why

Dify 1.17.1 moved its bundled Weaviate from 1.27 to the 1.39 series
(langgenius/dify#38214), and 1.18.0 pinned 1.39.13 — where Weaviate's
bug and security backports land. This chart tracks that move.

Changes

  • weaviate subchart 17.3.3 → 17.8.3
  • Default weaviate image 1.27.27 → 1.39.13
  • Carry new subchart defaults into values.yaml:
    • storage.name: weaviate-data — PVC names are now prefixed
      (weaviate-data-weaviate-0), replacing storage.fullnameOverride
    • authorization.rbac (disabled by default)
    • New OIDC options: skip_client_id_check, namespace_claim,
      global_principal_claim

Upgrade notes

Weaviate does not support skipping minor versions — existing 1.27
volumes must be stepped through every minor with graceful stops before
reaching 1.39. Fresh installs and external Weaviate deployments are
unaffected.

- Update Chart.yaml/Chart.lock dependency and values.yaml image tag
- Add storage.name PVC prefix and RBAC config options from upstream chart
@BorisPolonsky BorisPolonsky changed the title Bump bundled Weaviate to 1.39.13 to align with Dify 1.17.1/1.18.0 Bump bundled Weaviate to 1.39.13 to align with Dify 1.18.0 Oct 29, 2026
@BorisPolonsky
BorisPolonsky merged commit 55af63c into master Oct 29, 2026
22 checks passed
@BorisPolonsky
BorisPolonsky deleted the weaviate-version-update branch October 30, 2026 07:32
BorisPolonsky added a commit that referenced this pull request Oct 30, 2026
## Summary

- Upgrade default image tags (`api`, `web`, `agentBackend`, `localSandbox`) from 1.17.0 to 1.18.0
- Dify 1.18.0 requires an authenticated local sandbox, so:
  - `shellctlAuthToken` now defaults to `global.internalApiKey` when unset — consistent with other auth values (e.g. `agentBackend.auth.apiToken`, `sandbox.auth.apiKey`)
  - Local sandbox now enforces the auth token via an explicit `shellctl serve --require-auth-token` command, configurable through the new `localSandbox.command` value
  - `global.internalApiKey` defaults to a non-empty placeholder so the fallback yields a valid shared token on fresh installs (set your own value in production)
- Sync `values.schema.json` for the new `localSandbox.command` value

## Upgrade note

- 1.18.0 DB migrations are not automatically reversible — back up your database before running `helm upgrade`
- **Bundled Weaviate 1.27 → 1.39.13 (#462) requires a manual stepped migration (no minor-skipping, PVCs renamed)** — follow the [Weaviate server migration path](https://docs.dify.ai/en/self-host/deploy/troubleshooting/weaviate-server-migration-path) before upgrading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant