Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid making FsBuilder aware of http-body version at interface level #3101

Merged
merged 9 commits into from
Oct 27, 2023

Conversation

ysaito1001
Copy link
Contributor

Motivation and Context

Follow up on #3088

Description

This PR reverts ByteStream::read_with_body_0_4_from, ByteStream::from_path_body_0_4, and ByteStream::from_file_body_0_4 to the old names since from a customers' point of view, FsBuilder should not mention anything about an http-body version at the API level.

FsBuilder is currently an opt-in feature (with rt-tokio enabled) and we make it tied to http-body-0-4-x by requiring rt-tokio including a dependency on http-body version 0.4.x.

Testing

Relied on the existing tests in CI

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates

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

@ysaito1001 ysaito1001 requested review from a team as code owners October 25, 2023 20:34
@github-actions
Copy link

Copy link
Collaborator

@rcoh rcoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! lgtm

@rcoh rcoh force-pushed the ysaito/do-not-make-fs-builder-http-body-version-aware branch from 6f910d9 to 66dc4b0 Compare October 26, 2023 14:28
@rcoh rcoh enabled auto-merge October 26, 2023 14:28
@github-actions
Copy link

@github-actions
Copy link

@rcoh rcoh added the breaking-change This will require a breaking change label Oct 26, 2023
@github-actions
Copy link

@github-actions
Copy link

@rcoh rcoh added this pull request to the merge queue Oct 27, 2023
Merged via the queue into main with commit 882ebaf Oct 27, 2023
40 of 41 checks passed
@rcoh rcoh deleted the ysaito/do-not-make-fs-builder-http-body-version-aware branch October 27, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This will require a breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants