Commit Graph

36475 Commits

Author SHA1 Message Date
Yuneng Jiang
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
stuxf
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-berri
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
stuxf
ca316f082c
chore: update security.md (#24871) 2026-03-31 13:13:18 -07:00
ishaan-berri
a8e002dbf6
Merge branch 'main' into fix-schema-drift 2026-03-31 13:13:10 -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-berri
7833eee344
Merge pull request #24868 from BerriAI/ishaan-berri-patch-1
Update security.md
2026-03-31 10:27:28 -07:00
ishaan-berri
1110a206ae
Update security.md 2026-03-31 10:27:13 -07:00
ishaan-berri
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-berri
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 Reyna
9942d59631
fix(lint): apply Black formatting to 14 files (#24532) 2026-03-31 07:45:55 -07:00
Krrish Dholakia
08be1e52ae
Merge pull request #24839 from BerriAI/litellm_new_ci_cd_improvements
docs: cleanup docs
2026-03-30 22:05:03 -07:00
ishaan-berri
f0518c1d98
Merge pull request #24840 from BerriAI/litellm_version_bump_1_83_0
[Infra] Bump Version to 1.83.0
2026-03-30 22:00:22 -07:00
Yuneng Jiang
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 Jiang
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-berri
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 Jiang
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 Jiang
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
ishaan-berri
360c4f47a9
Merge pull request #24829 from BerriAI/litellm_pin_axios
[Security] - Pin `axios=1.13.6`
2026-03-30 20:28:22 -07:00
Ishaan Jaffer
f636c3b3b7 pin axios 2026-03-30 20:20:23 -07:00
Ishaan Jaffer
81028b9682 use mock tests for assembly AI 2026-03-30 19:59:32 -07:00
Krrish Dholakia
5c1f2e04b2
Merge pull request #24828 from BerriAI/claude/infallible-mahavira
bump: litellm-proxy-extras 0.4.61 → 0.4.62 for schema changes
2026-03-30 19:52:52 -07:00
ishaan-berri
ead71c90ae
Merge pull request #24826 from BerriAI/litellm_/dazzling-jackson
[Fix] Failure callbacks silently skipped when customLogger not initialized
2026-03-30 19:50:33 -07:00
Krrish Dholakia
4f42e783e7 bump: litellm-proxy-extras 0.4.61 → 0.4.62 for schema changes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 19:49:32 -07:00
Ishaan Jaffer
f1e7aa9dbb db_migration_disable_update_check 2026-03-30 19:46:18 -07:00
Ishaan Jaffer
3fbe7d1059 prisma_schema_sync 2026-03-30 19:40:25 -07:00
Krrish Dholakia
35742bc3f0
Merge pull request #24827 from BerriAI/litellm_use_dynamic_db
test: use dynamic db
2026-03-30 19:39:48 -07:00
Krrish Dholakia
5d6c76aa1a
Merge pull request #24823 from jaydns/fixes
chore: fixes
2026-03-30 19:35:40 -07:00
Krrish Dholakia
37440c28b7 test: use dynamic db 2026-03-30 19:33:52 -07:00
Yuneng Jiang
3308fb92cd
Merge remote-tracking branch 'origin/main' into litellm_/dazzling-jackson 2026-03-30 19:28:28 -07:00
Ishaan Jaffer
632beb0db0 fix new_budget 2026-03-30 19:25:33 -07:00
Yuneng Jiang
86dd36e12a
[Fix] Initialize customLogger in failure handlers to ensure callbacks fire
The sync and async failure handlers guarded plain-function callbacks with
`customLogger is not None`, but customLogger was only initialized in the
success handler path. If a request failed without any prior success in the
process, the failure callback was silently skipped.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 19:18:30 -07:00
Krrish Dholakia
0cf4b05991 test: remove bad e2e tests - e2e failing due to low rate limits on ci/cd 2026-03-30 19:18:10 -07:00
Krrish Dholakia
c6f1f8b6b3 fix: move to new vertex credentials 2026-03-30 19:16:05 -07:00
jayden
9ca1560501
chore: fix test 2026-03-30 19:14:01 -07:00
Krrish Dholakia
40074fffe1
Merge pull request #24824 from BerriAI/litellm_fix_test_redis_and_azure_mock
[Fix] Use correct Redis env vars and fix Azure AD token test mocking
2026-03-30 19:12:45 -07:00