chore(build): upgrade @mongodb-js/dl-center to 1.7 to bring in aws v3 sdk - #2825
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the build tooling’s dependency on @mongodb-js/dl-center to v1.7.0 so the download-center publishing flow can use the AWS SDK v3–based implementation.
Changes:
- Bump
@mongodb-js/dl-centerfrom^1.6.4to^1.7.0in@mongosh/build. - Update download-center code to match the new dl-center/AWS SDK v3 API (credentials shape, stream body handling, error shape).
- Adjust unit tests and lockfile to reflect the upgraded dependency graph.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/build/src/download-center/config.ts | Updates dl-center client construction (credentials) and JSON feed download parsing/error handling for the new SDK behavior. |
| packages/build/src/download-center/config.spec.ts | Updates stubs/assertions to match the new credential shape and streamed body API. |
| packages/build/src/download-center/artifacts.ts | Updates dl-center client construction to pass credentials via the new credentials option. |
| packages/build/src/download-center/artifacts.spec.ts | Updates assertions for the new dl-center constructor options. |
| packages/build/package.json | Bumps @mongodb-js/dl-center dependency to ^1.7.0. |
| package-lock.json | Captures the updated dependency tree (AWS SDK v3 packages, ajv update under dl-center, etc.). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
alenakhineika
approved these changes
Aug 21, 2026
nbbeeken
force-pushed
the
bump-dl-center
branch
from
August 21, 2026 20:56
04865f2 to
4f51963
Compare
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.
upgrade @mongodb-js/dl-center to 1.7 to bring in aws v3 sdk