Skip to content

Conversation

@derekwolpert
Copy link
Contributor

@derekwolpert derekwolpert commented Oct 23, 2025

Issue

None associated with this issue

Description

Looks like the latest release of the @aws-sdk/middleware-expect-continue package (v3.916.0) accidentally left a debug console.log statement within its changes. Any possibility to get this PR merged, and a new release cut? As-is, this debug logging is polluting the stdout of a handful of my projects (and I imagine a bunch of other people are impacted by this as well).

console.log({
sendHeader,
bodyLength,
threshold: options.expectContinueHeader,
});

Appears the debug logging was added in: #7450

Testing

None

Additional context

None

Checklist

  • If the PR is a feature, add integration tests (*.integ.spec.ts).
  • If you wrote E2E tests, are they resilient to concurrent I/O?
  • If adding new public functions, did you add the @public tag and enable doc generation on the package?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Removed console log for sendHeader and bodyLength.
@derekwolpert derekwolpert requested a review from a team as a code owner October 23, 2025 21:20
@kuhe kuhe merged commit b8da1d2 into aws:main Oct 24, 2025
@kuhe
Copy link
Contributor

kuhe commented Oct 24, 2025

Thanks for fixing this. I'm going to deprecate the affected version on NPM once the new version is released.

The expected time of the next release is later today.

@derekwolpert
Copy link
Contributor Author

Thanks @kuhe, much appreciated 🙏

@kuhe
Copy link
Contributor

kuhe commented Oct 24, 2025

The fix was released in https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.917.0

https://www.npmjs.com/package/@aws-sdk/middleware-expect-continue/v/3.917.0

v3.916.0 has been deprecated with message:

@aws-sdk/middleware-expect-continue v3.916.0 contains an accidental console.log statement (#7454), please upgrade to v3.917.0+

Since people are most likely not using this package directly, the way to upgrade is to install the latest version of @aws-sdk/client-s3.

https://www.npmjs.com/package/@aws-sdk/client-s3/v/3.917.0

@github-actions
Copy link

github-actions bot commented Nov 8, 2025

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants