Commit Graph
36511 Commits
Author SHA1 Message Date
Yuneng JiangandClaude Opus 4.6 296dd3e8a2 [Infra] Fix pyproject.toml pins for Poetry Python 3.9 compatibility
Pin pyproject.toml deps from PyPI resolution of `pip install litellm[proxy]==1.83.0`
instead of Docker freeze versions. Docker builds (requirements.txt) and PyPI installs
(pyproject.toml) are independent dependency paths. Some packages pinned to 3.9-compatible
versions where latest requires >=3.10.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 00:25:38 -07:00
Yuneng JiangandClaude Opus 4.6 5f63873dca [Infra] Pin all Docker build dependencies to exact versions
Pin every dependency across all Docker builds so upgrades are intentional.
Verified by building all 3 production images and diffing pip freeze against
known-good v1.83.0-nightly baselines — zero version drift.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 00:05:39 -07:00
yuneng-jiangandGitHub 33c3f13443 Merge pull request #24880 from stuxf/fix/codeql-ui-alerts
fix: resolve CodeQL high-severity alerts in UI components
2026-03-31 18:23:56 -07:00
ryan-crabbe-berriandGitHub 2f1cfb0548 Merge pull request #24751 from BerriAI/litellm_ryan-march-28
litellm ryan march 28
2026-03-31 17:25:30 -07:00
yuneng-jiangandGitHub a320dcc198 Merge pull request #24881 from BerriAI/litellm_release_action
[Infra] Add release workflow with cosign verification
2026-03-31 17:08:04 -07:00
ishaan-berriandGitHub 94e0f44798 Merge pull request #24882 from BerriAI/worktree-piped-exploring-patterson
docs: JWT → Virtual Key Mapping guide
2026-03-31 16:34:47 -07:00
Ishaan Jaffer cbb84b6650 docs: add mermaid sequence diagram for JWT → key resolution flow 2026-03-31 16:33:27 -07:00
Ishaan Jaffer 64ec11df8b docs: fix unused import, clarify Claude Code JWT env var 2026-03-31 16:32:17 -07:00
Ishaan Jaffer f357177338 docs: add jwt_key_mapping to sidebar under Authentication 2026-03-31 16:31:27 -07:00
Ishaan Jaffer d3175a8262 docs: link JWT → Virtual Key Mapping from token_auth page 2026-03-31 16:31:23 -07:00
Ishaan Jaffer 83546cc57d docs: JWT → Virtual Key Mapping guide 2026-03-31 16:31:20 -07:00
Yuneng JiangandClaude Opus 4.6 8071691ffc [Fix] Address review feedback on release workflow
- Use nullish coalescing for potentially null response body
- Create release as draft first, then publish atomically to avoid partial-release state
- Pin cosign.pub URL to release tag instead of main branch

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 16:26:20 -07:00
userandClaude Opus 4.6 d12f8490bf fix: resolve CodeQL high-severity alerts in UI components
Source fixes:
- page.tsx: add explicit isValidReturnUrl() check at redirect site
- public_model_hub.tsx: replace() → replaceAll() for all wildcard occurrences
- CodeSnippets.tsx: escape backslashes before quotes in generated Python
- TeamGuardrailsTab.tsx: escape backslashes before quotes in generated YAML

CodeQL suppressions for false positives:
- ChatUI.tsx: sessionStorage for apiKey/apiKeySource (sessionStorage is
  correct per project policy — scoped to tab, cleared on close)
- ChatUI.tsx: setInputMessage(prompt) where prompt is a hardcoded literal
- mcp_server_edit.tsx, create_mcp_server.tsx: sessionStorage for OAuth state
- useMcpOAuthFlow.tsx, useUserMcpOAuthFlow.tsx: sessionStorage wrappers
- LoginPage.tsx: localStorage.getItem for worker URL in SSO flow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 23:06:05 +00:00
Yuneng JiangandClaude Opus 4.6 05368d9b1a [Infra] Add cosign verification section to release notes
Prepend Docker image signature verification instructions to auto-generated
release notes, using the cosign public key committed to the repo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 15:46:34 -07:00
Ishaan Jaffer 5ebc7b53b4 docs fix 2026-03-31 14:46:13 -07:00
ishaan-berriandGitHub c86cf98aff Merge pull request #24877 from BerriAI/litellm_release_action
[Infra] Add release workflow and cosign public key
2026-03-31 14:44:23 -07:00
Ishaan Jaffer b587b41c60 docs v1.83.0 2026-03-31 14:39:26 -07:00
Yuneng JiangandClaude Opus 4.6 0112e53046 [Infra] Add release workflow and cosign public key
Add create-release.yml workflow triggered via workflow_dispatch to create
GitHub releases with auto-generated notes. Add cosign public key for
container image signature verification.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 14:30:27 -07:00
7066c895f6 chore: harden npm supply chain — pin overrides, enforce npm ci, add ignore-scripts (#24838)
* chore: harden npm supply chain — pin overrides, enforce npm ci, add ignore-scripts

Replace open-ended >= version overrides with exact pins matching lockfile
versions across all 6 package.json files. Remove dead overrides for packages
not present in lockfiles. Switch CI and devcontainer from npm install to
npm ci for deterministic lockfile-based installs.

Add .npmrc to all 7 JS project directories with ignore-scripts=true (blocks
postinstall RAT vectors like the axios@1.14.1 supply chain attack) and
min-release-age=3d (refuses packages published <3 days ago, requires npm
>=11.10). Remove Yarn-only resolutions field from docs/my-website.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* chore: bump sharp to 0.33.5 in docs, add docs .npmrc

sharp 0.32.x uses postinstall to download native binaries, which breaks
with ignore-scripts=true. sharp 0.33+ distributes via optionalDependencies
instead, making it compatible with the new .npmrc hardening.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* chore: remove docs .npmrc to fix Vercel deploy

Vercel's build for docs/my-website uses npm install which needs
sharp 0.32.6's postinstall script. Since we don't control Vercel's
build process, remove the .npmrc from docs rather than fight it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* chore: Dockerfile npm ci + nvm checksum verification

- Replace npm install with npm ci in Dockerfile.non_root,
  Dockerfile.custom_ui, and spend-logs/Dockerfile for deterministic
  lockfile-based installs
- Replace curl-pipe-bash nvm install with download-then-verify pattern
  in build_admin_ui.sh, build_ui.sh, and build_ui_custom_path.sh
- Update nvm from v0.38.0 (2021) to v0.40.4 (Jan 2026) with SHA256
  checksum verification before execution

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: macOS sha256sum compat + clarify min-release-age scope

- Use shasum -a 256 fallback on macOS where sha256sum is unavailable
- Clarify in .npmrc comments that min-release-age only protects local
  npm install, not npm ci (used in CI)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 13:41:37 -07:00
ishaan-berriandGitHub 134b01d530 Merge pull request #24078 from vanhtuan0409/fix-schema-drift
fix(schema): restore MCP server fields dropped by schema_sync migration
2026-03-31 13:17:38 -07:00
stuxfandGitHub ca316f082c chore: update security.md (#24871) 2026-03-31 13:13:18 -07:00
ishaan-berriandGitHub a8e002dbf6 Merge branch 'main' into fix-schema-drift 2026-03-31 13:13:10 -07:00
Ishaan Jaffer 4b5ca49cd2 fix: map file_url -> file_id in Responses->Completions translation 2026-03-31 12:59:01 -07:00
Krrish Dholakia 7046a58885 docs: tell people to report security issues on github - easier tracking 2026-03-31 11:30:25 -07:00
ishaan-berriandGitHub 7833eee344 Merge pull request #24868 from BerriAI/ishaan-berri-patch-1
Update security.md
2026-03-31 10:27:28 -07:00
ishaan-berriandGitHub 1110a206ae Update security.md 2026-03-31 10:27:13 -07:00
ishaan-berriandGitHub 26e9b0e8b7 Merge pull request #24867 from BerriAI/ishaan-berri-patch-1
Update security.md with new bug bounty
2026-03-31 10:23:51 -07:00
ishaan-berriandGitHub 5435858965 Update security.md 2026-03-31 10:23:31 -07:00
Krrish Dholakia 50a52f62e3 fix: fix wording 2026-03-31 08:46:12 -07:00
Krrish Dholakia d47faaad0f docs: update security update, with new release information 2026-03-31 08:45:50 -07:00
Joe ReynaandGitHub 9942d59631 fix(lint): apply Black formatting to 14 files (#24532) 2026-03-31 07:45:55 -07:00
Krrish DholakiaandGitHub 08be1e52ae Merge pull request #24839 from BerriAI/litellm_new_ci_cd_improvements
docs: cleanup docs
2026-03-30 22:05:03 -07:00
ishaan-berriandGitHub f0518c1d98 Merge pull request #24840 from BerriAI/litellm_version_bump_1_83_0
[Infra] Bump Version to 1.83.0
v1.83.0-nightly
2026-03-30 22:00:22 -07:00
Yuneng JiangandClaude Opus 4.6 51830de709 update poetry.lock for version bump
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:58:53 -07:00
Yuneng JiangandClaude Opus 4.6 6a23fab43c bump version to 1.83.0, litellm-proxy-extras to 0.4.62
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:56:27 -07:00
Krrish Dholakia ee4116a450 docs: cleanup docs 2026-03-30 21:55:03 -07:00
Ishaan Jaffer 0ea05469bc test_completion_azure 2026-03-30 21:54:27 -07:00
Ishaan Jaffer be553c7204 fix aporia 2026-03-30 21:49:31 -07:00
ishaan-berriandGitHub 77e6546e55 Merge pull request #24837 from BerriAI/lllm_build_and_test_fail
[Test] Move test_add_and_delete_model to Mock Test
2026-03-30 21:41:28 -07:00
Ishaan Jaffer d259892f69 test fix 2026-03-30 21:39:24 -07:00
Yuneng JiangandClaude Opus 4.6 e014dfb8e0 fix: mock encrypt_value_helper in lifecycle test
CI fails because LITELLM_MASTER_KEY is not set, causing
encrypt_value_helper to error on NoneType.encode(). Patch it
to pass through values unencrypted in the test.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:36:40 -07:00
Ishaan Jaffer 823e7b2a9d test_completion_azure 2026-03-30 21:36:35 -07:00
Ishaan Jaffer 3034ac26f7 fix 2026-03-30 21:33:47 -07:00
Yuneng JiangandClaude Opus 4.6 b48c037712 test: replace test_add_and_delete_models integration test with mock
Skip the integration test that requires a live proxy and OPENAI_API_KEY
(removed from CI/CD). Add deterministic mock test covering the same
add → delete → double-delete-fails lifecycle.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:30:57 -07:00
Ishaan Jaffer 669d2a6d8b test_router_init_azure_service_principal_with_secret_with_environment_variables 2026-03-30 21:15:53 -07:00
Ishaan Jaffer 8c6a67dae1 test_bedrock_embedding_cohere 2026-03-30 21:08:51 -07:00
Ishaan Jaffer a7bfe0c540 test_completion_azure 2026-03-30 21:07:49 -07:00
Ishaan Jaffer 9b46d88371 test_completion_azure 2026-03-30 21:07:41 -07:00
Krrish Dholakia cbd6253f9c test: skip chromium/firefox check - TODO: move to a dynamic db 2026-03-30 20:55:27 -07:00
Krrish Dholakia 1746d392ea fix: fix linting errors 2026-03-30 20:51:35 -07:00