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

fix(client-s3): revert MRAP customizations #2759

Merged
merged 1 commit into from Sep 7, 2021

Conversation

AllanZhengYP
Copy link
Contributor

@AllanZhengYP AllanZhengYP commented Sep 7, 2021

Reverts 3d07ed2, 49da47b

The @aws-sdk/client-s3@3.29.0 released with MRAP dataplane customization that instroduces
aws-crt dependency. The dependency takes up too much disk space that blocks
Lambda users deploying S3 client with certain deployers.

Rollback the change to unblock these users. The MRAP users that's not affected
by the dependency size can ping to the older version @aws-sdk/client-s3@3.29.0

Issue

Resolves #2750 #2747

Testing

TBD

Additional context

P52174768


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

The @aws-sdk/client-s3@3.29.0 released with MRAP customization that instroduces
`aws-crt` dependency. The dependency takes up too much disk space that blocks
Lambda users deploying S3 client with certain deployers.

Rollback the change to unblock these users. The MRAP users that's not affected
by the dependency size can ping to the older version `@aws-sdk/client-s3@3.29.0`
Copy link

@TingDaoK TingDaoK left a comment

Choose a reason for hiding this comment

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

wrong account. Sorry...

@AllanZhengYP AllanZhengYP merged commit cfb3fff into aws:main Sep 7, 2021
@oliversalzburg
Copy link

aws-crt also dramatically complicates using the SDK, as it introduces native code compilation. Glad to see this reverted.

AllanZhengYP added a commit to AllanZhengYP/aws-sdk-js-v3 that referenced this pull request Sep 17, 2021
AllanZhengYP added a commit to AllanZhengYP/aws-sdk-js-v3 that referenced this pull request Sep 18, 2021
AllanZhengYP added a commit that referenced this pull request Sep 20, 2021
…s point (#2796)

* Revert "fix(client-s3): revert MRAP customizations (#2759)"

This reverts commit cfb3fff.

* chore: update mrap packages dependencies

* feat(middleware-sdk-s3): dynamically import aws-crt package optional dependencies

* feat(middleware-user-agent): track if aws-crt is available at runtime

* chore: update crt signer loading error message

* chore(middleware-sdk-s3): add crt package to dev dependency and track usage

This makes sure the type of CRT package is available and the Lerna builds
packages in right order--build crt signer package before buiding s3 middleware
package.

* docs(client-s3): add docs to Bucket members on using MRAP

* chore(signature-v4-crt): update crt version to ^1.9.7

* fix(client-s3): address PR feedbacks
@github-actions
Copy link

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 Sep 23, 2021
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.

@aws-sdk/client-s3 (@aws-sdk/signature-v4-crt) 3.29.0 introduces aws-crt and deprecated dependencies
6 participants