-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Summary
Today we are releasing new versions of the following packages. This represents our first minor version release and includes some breaking changes that improve API consistency and align with Python standards.
Package | Previous Version | New Version |
---|---|---|
smithy-core | v0.0.2 | v0.1.0 |
smithy-http | v0.0.1 | v0.1.0 |
smithy-json | v0.0.1 | v0.1.0 |
smithy-aws-core | v0.0.3 | v0.1.0 |
smithy-aws-event-stream | v0.0.1 | v0.1.0 |
aws-sdk-signers | v0.0.3 | v0.1.0 |
Breaking Changes
While we do our best to minimize breaking changes, some updates were necessary to ensure long-term consistency and maintainability. For full details, please refer to the CHANGELOG.md
in each package’s directory. Below we’ve highlighted the most important customer-facing breaking changes.
smithy-core
- All exceptions in
smithy_core.exceptions
now use theError
suffix instead ofException
, aligning with PEP 8:- Example:
SmithyException
→SmithyError
- Example:
aws-sdk-signers
Parameter renames in SigV4Signer.sign
and AsyncSigV4Signer.sign
:
signing_properties
→properties
http_request
→request
AsyncEventSigner
changes:
signing_properties
andidentity
were removed from the constructor and are now required arguments to thesign
method asproperties
andidentity
.event_encoder_cls
argument was removed from thesign
method and added to the constructor.
smithy-aws-core
AWS Credential resolvers have been moved from credentials_resolvers
to the identity
module.
Before:
from smithy_aws_core.credentials_resolvers import EnvironmentCredentialsResolver
After:
from smithy_aws_core.identity import EnvironmentCredentialsResolver
smithy-aws-event-stream
- The
signer
argument was removed from theAWSEventPublisher
constructor and replaced by asigning_config
parameter (typeSigningConfig
).
Thank You
We appreciate your patience as we continue improving these packages. If you encounter issues or have questions, please don’t hesitate to reach out—we are here to help.