Repository navigation
chore(release): backport #44345, #47670, #47969, #48055, #48103, #48110 to stable/1.104.x - #48076
Merged
yuneng-berri merged 10 commits intoOct 23, 2026
Merged
Conversation
Update certifi, Rust trust roots, and the Docker CA bundle to remove emSign ECC Root CA - G3 Require the fixed certifi release in litellm-core and retain libssl3 in Docker runtimes for Prisma compatibility Co-authored-by: shin-berri <shin-laptop@berri.ai> (cherry picked from commit f2118fc)
…atibility (#47969) * fix(security): bump grpcio and boto3 so their bundled CA files drop the compromised eMudhra roots grpc ignores SSL_CERT_FILE and verifies every channel against its own bundled roots.pem. In 1.78.0 that file still trusts emSign ECC Root CA - G3 and AAA Certificate Services, so Vertex AI, Google KMS, Chirp STT and OTLP gRPC exporters (Arize) accept all 14 advisory chains. 1.84.1 is the first release whose roots.pem drops both roots. botocore uses certifi when it is installed and falls back to its bundled cacert.pem otherwise. Through 1.43.116 that file still trusts AAA Certificate Services. Requiring boto3 1.43.117 pulls in botocore 1.43.117, the first release whose cacert.pem rejects all 14 advisory chains, so the fallback stays safe if certifi is ever absent * fix(docker): provide OpenSSL 3 when generating Prisma engines (cherry picked from commit 52166b5)
yuneng-berri
had a problem deploying
to
e2e-changed
October 23, 2026 19:10 — with
GitHub Actions
Error
yucheng-berri
approved these changes
Oct 23, 2026
* fix(deps): upgrade Python dependencies * fix(deps): lock patched Python dependency versions * fix(otel): preserve JSON export with the updated SDK * test(otel): cover JSON export with the updated SDK * test(otel): update SDK log records and worker discovery * fix(ui): align Lens peer dependency with patched Next.js * fix(otel): hand the AgentOps exporter a session it owns for the JWT header OpenTelemetry 1.45 moved the OTLP HTTP exporter's requests.Session behind a transport, so writing the minted JWT to the exporter's private _session raised, was swallowed, and every AgentOps batch went out unauthenticated. The exporter now creates the session, passes it through the public session= argument and sets the Authorization header on it The tests now drive a real export, serving the token endpoint with respx and capturing the OTLP POST with requests_mock, instead of reading SDK internals * fix(otel): skip FastAPI instrumentation once the app has started opentelemetry-instrumentation-fastapi 0.66b1 wraps build_middleware_stack instead of calling add_middleware, so instrumenting an app whose middleware stack is already built no longer raises. The call silently did nothing while we still registered the global response propagator. Check the built stack up front and skip both, which is what the existing test expects * test(otel): assert exported requests and span flags instead of SDK internals OpenTelemetry 1.45 dropped the exporter's private _headers and sets the W3C random-trace-id flag on new traces, so traceresponse ends in -03. The Langtrace and Langfuse tests now export through requests_mock and check the URL and headers the collector receives, and the traceresponse tests expect the server span's own trace flags * fix(deps): bump dashboard zod to 4.6.6 and make the vendored Lens use it zod 4.6.5 is flagged by the dependency scan and blocks osv-scan on every PR. A root bump alone leaves the vendored Lens tarball, which pins zod 4.6.5 exactly, on its own nested copy, so a top-level zod override points every consumer at the root version and the lock carries a single zod 4.6.6 * test(ui): stub the tag summary fetch the client panel retry refreshes Retrying the model breakdown refetches /tag/summary, which this integration test left on the real network. When that request failed before the assertion, the panel switched to its summary error and unmounted the model row, so the test passed or failed by timing * fix(deps): drop the duplicated Lens override from the dashboard package.json * style(ui): format the client panel fetch stub Backport notes for stable 1.104.x. The dependency files (pyproject.toml, uv.lock, the dashboard package.json and package-lock.json) were left out of this pick and are re-derived on the line in the following commits ClientUsagePanel.integration.test.tsx does not exist on this line, so its stub hunk is dropped test_otel_v2_mount.py keeps the line's version because the traceresponse tests the squash edits are not on this line test_litellm_logging.py keeps the line's version because the Langtrace export test the squash edits is not on this line test_opentelemetry.py keeps the line's trace import without SpanLimits, which only the newer tests on main use --------- Co-authored-by: Yuneng Jiang <yuneng@berri.ai> (cherry picked from commit 8f9894f)
…ore, Brotli and Pillow Moves the OpenTelemetry API, SDK and OTLP exporter pins to 1.45.1 and the FastAPI instrumentation to 0.66b1 in every group, logfire to 5.2.0, and splits Pillow so Python 3.11 and newer get 13.0.0 while 3.10 stays on 12.3.0, matching main The lock is re-derived on this line with uv 0.11.7. GitPython goes to 3.2.1, graphql-core to 3.2.12, Brotli to 1.2.1 and pypdf to 6.21.1 inside their existing ranges, and the OpenTelemetry 1.45 line pulls in opentelemetry-exporter-http-transport and opentelemetry-exporter-otlp-common. No other package moves Brotli 1.2.1 is still inside the 3-day release window, so it gets its own exclude-newer-package cutoff
Moves next to 16.4.1, zod to 4.6.6, vite to 7.3.7, vitest and @vitest/ui to 4.1.12, and raises the sharp override to ^0.35.5, matching main. @vitest/coverage-v8 goes to 4.1.12 with them because it peers on the exact vitest version A top-level zod override points every nested consumer at the root copy, so the lock carries a single zod 4.6.6 instead of keeping knip's nested 4.4.3 npm install also refreshed rollup, chai, obug, std-env and tinyrainbow to newer releases although the bumped packages accept the locked ones. Those entries are kept at their previous versions, the same versions main resolves, so the lock only moves the packages above and their platform builds
* refactor(dashboard): migrate to zod 4 and openai 6
Bump the dashboard to real zod 4.6.5 and openai 6.49.0 so every module
imports from bare "zod" instead of "zod/v4". Ports the ten files that
still used the zod 3 API (error params, record, passthrough, strict,
email/date validators, union discriminator codes) and adapts the
LiteAdmin tool schemas and form plumbing where openai 6 and zod 4
changed behaviour.
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* style(dashboard): prettier format zod 4 schema files
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* fix(dashboard): restore system one missing state message under zod 4
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Backport notes for stable 1.104.x. package.json and package-lock.json were restored from the line and only openai moves to 6.49.0, since zod is already on 4.6.6 here. The lock change is openai plus the 21 packages only openai 4 needed
agent_identity.ts and the systemOneUI schemas.ts and validatePayload.test.ts do not exist on this line, so their hunks are dropped
build_auto_router_routing_test_request.ts keeps the line's jev-only schema with the record key and loose() from this change, and its default({}) becomes prefault({}) so the saved JEV config defaults are still parsed in under zod 4
jev_classifier_config.ts keeps the line's plain object schema, because the provider transform and refine this change edits are not on this line
---------
Co-authored-by: Yujong Lee <yujong@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
(cherry picked from commit 0c86d6b)
Raises the vitest floor to ^4.1.12 and moves the locked vite to 8.3.4, matching main. The lock only moves the vitest packages, vite, and what vite 8.3.4 requires, which is rolldown 1.2.14 with its bindings and @oxc-project/types, postcss 8.5.30 and nanoid 3.3.20
(cherry picked from commit e82a3c6)
yuneng-berri
had a problem deploying
to
e2e-changed
October 23, 2026 22:28 — with
GitHub Actions
Error
Redoes #48110 on this line. The lock moves mlflow, mlflow-skinny and mlflow-tracing to 3.17.2, pypdf to 6.21.2 and setuptools to 84.1.0 inside their existing ranges. mlflow 3.17.2 and pypdf 6.21.2 are still inside the 3-day exclude-newer window, so they get their own exclude-newer-package cutoffs, matching main. The lock was regenerated with uv 0.11.7
yuneng-berri
had a problem deploying
to
e2e-changed
October 23, 2026 22:39 — with
GitHub Actions
Error
This branch was successfully deployed
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.
TLDR
Problem this solves:
How it solves it:
User Flow
Before: a team on the current stable/1.104.x image still verifies outbound TLS against bundles that include the eMudhra roots
After: the same request is checked against bundles without those roots
Picks
#47670 (
f2118fc767) asba74025478and #47969 (52166b51a1) as97c2c560c1, both withgit cherry-pick -xin upstream merge order and with the original authors kept. No bump commit. v1.104.6 is the line's tip version and it is not published anywhere yet (DockerHub and GHCR both 404, no git tag, no release branch), so these picks ride the pending 1.104.6Adaptation notes
packaging/litellm-core/does not exist on this line, so fix(security): stop trusting the compromised eMudhra root CA #47670's certifi floor for that package is dropped. The rootpyproject.tomlfloor is keptdocker/Dockerfile.non_rootkeeps this line'sPROXY_EXTRAS_SOURCEbuild arg next to the new wolfi digestsuv.lockhunk conflicted, so the lock was regenerated on the line with uv 0.11.7, the line's ownUV_IMAGEpin. It moves exactly what upstream moved and nothing else, boto3 1.43.1 -> 1.43.117, botocore 1.43.6 -> 1.43.117, grpcio 1.78.0 -> 1.84.1 and s3transfer 0.17.0 -> 0.19.3uv.lockchange applied cleanly and moves only certifi 2026.4.22 -> 2026.10.19Dependency picks
The second half of this PR backports #48055, which clears the dependency scan findings on main, together with the main commits it needs on this line and the cosign key rotation from #48103. #44345 (
0c86d6bfc9) as285d52bb63, #48055 (8f9894fbd6) as16287b7133, #48103 (e82a3c6469) as883deaf08b, all withgit cherry-pick -xand the original authors kept#44345 is main's zod 4 and openai 6 migration, which stable/1.106.x already ships. Without it zod 4 breaks the LiteAdmin tools, because openai 4.104's
zodFunctioncannot read zod 4 schemas. Files that do not exist on this line were dropped from the pick,build_auto_router_routing_test_request.tsalso swaps.default({})for.prefault({})because this line's schema differs from main's, and openai moves to 6.49.0 as in #44345#48055's own
pyproject.toml,uv.lockand dashboard lock changes were left out of the pick and redone on the line, because main's locks have moved far from this line's5758936e8dmoves opentelemetry-api, -sdk and -exporter-otlp 1.33.1 -> 1.45.1, opentelemetry-instrumentation-fastapi 0.54b1 -> 0.66b1, logfire 4.6.0 -> 5.2.0. It also moves pypdf 6.19.0 -> 6.21.1, GitPython 3.1.62 -> 3.2.1, graphql-core 3.2.8 -> 3.2.12 and Brotli 1.2.0 -> 1.2.1 inside their ranges, and splits Pillow into 12.3.0 for Python 3.10 and 13.0.0 for 3.11 and newer, like main. Brotli 1.2.1 gets its ownexclude-newer-packagecutoff because it is still inside the 3-day window. The lock was regenerated with uv 0.11.7, so it stays on revision 3, and nothing else movedbee14f41e9dashboard deps,2b157b4151vscode-extension vite and vitest,c3b9a751b3the rebuilt bundle. The dashboard moves to next 16.4.1, zod 4.6.6, vite 7.3.7 and vitest 4.1.12, with a top-levelzodoverride so every copy dedupes to one. Only the entries those bumps need were changed in the npm locks1a026cc38credoes build(deps): bump mlflow, pypdf and setuptools to clear osv-scan #48110 on the line. It moves mlflow, mlflow-skinny and mlflow-tracing 3.15.0 -> 3.17.2, pypdf 6.21.1 -> 6.21.2 and setuptools 83.0.0 -> 84.1.0 inside their ranges, with exclude-newer-package cutoffs for mlflow and pypdf like main. Nothing else moved, and the line's mlflow tests pass (5 of 5)Relevant issues
Backports #47670 and #47969. Same fix the 1.106 request in #47904 asks for
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
ca_check.pyreads the CA file each library actually verifies against and looks for the two eMudhra rootsBefore (a742ca3)
uv.lockpins ata742ca3693After (97c2c56)
uv sync --frozen --all-extras --all-groups && uv run --frozen python ca_check.pyDependency picks
The OTel JSON exporter check is the standalone smoke script from #48055. It exports a real span to a local HTTP collector, with OpenTelemetry 1.45.1 installed
Before (
97c2c560c1, this branch before the dependency picks)After (
883deaf08b)osv-scanner scan source --config osv-scanner.toml -L uv.lock -L ui/litellm-dashboard/package-lock.json -L vscode-extension/package-lock.jsonno longer reports GitPython, graphql-core, Brotli, OpenTelemetry, mlflow, pypdf, setuptools, next, zod, sharp, vite or vitest. The dashboard lock is clean. 1627 passed and 0 failed in the targeted OTel set, against 1619 passed and 0 failed before. The full dashboard suite passes 11430 of 11430, and the LiteAdminagent.test.tspasses 77 of 77, including the strict JSON schema case. The base run had 9 timing failures in the two auto-router integration files that pass when run aloneType
Bug Fix
Caveats (if any)
Medium
@azure/msal-nodeadvisory published on 2026-10-23 (fix only in 7.x)litellm/proxy/_experimental/out/is rebuilt so the shipped UI carries the new packages, which is most of the file countpyproject.tomlchanged, so this needs two reviewerstscerror setpyproject.tomlchanges (certifi floor, boto3 floor, grpcio pin) need two reviewersLow
exclude-newer-packageoverrides and their TODOs as they are on mainFinal Attestation