v4.0.2
onyx-dot-app/onyxv4.0.2May 28, 2026by github-actions[bot]
AI Summary
Maintenance release addressing critical memory issues, Docker configuration fixes, and logging capabilities.
Key Highlights
- Fixed API-server OOM by implementing lazy-loading for chat file bytes.
- Corrected a typo in the nginx configuration file for the no-letsencrypt compose setup.
- Added support for opt-in structured JSON logging via the LOG_FORMAT environment variable.
New Features
- Opt-in structured JSON logging
Full Release Notes
## Warning Do not upgrade to this release if you want to preserve your existing indexed documents but have not yet run the document index migration, which can be done from any version v3.x. [See additional documentation here](https://docs.onyx.app/admins/advanced_configs/opensearch_document_index_migration#opensearch-document-index-migration). See the assets to download this version and install. ## What's Changed * fix(chat): lazy-load chat file bytes to stop api-server OOM (#11439) to release v4.0 by @onyx-cherry-pick[bot] in https://github.com/onyx-dot-app/onyx/pull/11448 * fix(docker): typo in the nginx conf name in no-letsencrypt compose file (#11236) to release v4.0 by @jmelahman in https://github.com/onyx-dot-app/onyx/pull/11476 * fix(hierarchy): iterative upsert_parents to avoid RecursionError on deep chains (#11469) to release v4.0 by @onyx-cherry-pick[bot] in https://github.com/onyx-dot-app/onyx/pull/11477 * chore(deps): downgrade transformers from 5.5.4 to 4.57.6 (#11479) to release v4.0 by @jmelahman in https://github.com/onyx-dot-app/onyx/pull/11486 * fix: confluence perm sync draft 404s (#11468) to release v4.0 by @onyx-cherry-pick[bot] in https://github.com/onyx-dot-app/onyx/pull/11492 * ci: tag stable releases with major/minor/patch aliases (#11488) to release v4.0 by @jmelahman in https://github.com/onyx-dot-app/onyx/pull/11491 * feat(logging): opt-in structured JSON logs via LOG_FORMAT=json (#11490) to release v4.0 by @onyx-cherry-pick[bot] in https://github.com/onyx-dot-app/onyx/pull/11497 **Full Changelog**: https://github.com/onyx-dot-app/onyx/compare/v4.0.1...v4.0.2