Commit 6ef966ec authored by AWS SDK Rust Bot's avatar AWS SDK Rust Bot
Browse files

Update changelog

parent 4e4a0ee2
Loading
Loading
Loading
Loading

.changelog/1747668519.md

deleted100644 → 0
+0 −13
Original line number Diff line number Diff line
---
applies_to:
- aws-sdk-rust
- client
authors:
- aajtodd
references:
- smithy-rs#4135
breaking: false
new_feature: false
bug_fix: true
---
fix simple rules behavior with `RuleMode::MatchAny`

.changelog/1747668565.md

deleted100644 → 0
+0 −27
Original line number Diff line number Diff line
---
applies_to:
- client
- aws-sdk-rust
authors:
- aajtodd
references:
- smithy-rs#4135
breaking: false
new_feature: true
bug_fix: false
---
Introduce a new `repeatedly()` function to `aws-smithy-mocks` sequence builder to build mock rules that behave as an
infinite sequence.

```rust
let rule = mock!(aws_sdk_s3::Client::get_object)
    .sequence()
    .http_status(503, None)
    .times(2)        // repeat the last output twice before moving onto the next response in the sequence
    .output(|| GetObjectOutput::builder()
        .body(ByteStream::from_static(b"success"))
        .build()
    )
    .repeatedly()    // repeat the last output forever
    .build();
```

.changelog/crc-fast-feature.md

deleted100644 → 0
+0 −10
Original line number Diff line number Diff line
---
applies_to: ["client", "aws-sdk-rust"]
authors: ["landonxjames"]
references: ["aws-sdk-rust#1291"]
breaking: false
new_feature: false
bug_fix: true
---

Removing the `optimize_crc32_auto` feature flag from the `crc-fast` dependency of the `aws-smithy-checksums` crate since it was causing build issues for some customers.

.changelog/unknown-debug.md

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
---
applies_to: ["client"]
authors: ["landonxjames"]
references: ["smithy-rs#4137"]
breaking: false
new_feature: false
bug_fix: true
---

Fix bug with enum codegen

When the first enum generated has the `@sensitive` trait the opaque type
underlying the `UnknownVariant` inherits that sensitivity. This means that
it does not derive `Debug`. Since the module is only generated once this
causes a problem for non-sensitive enums that rely on the type deriving
`Debug` so that they can also derive `Debug`. We manually add `Debug` to
the module so it will always be there since the `UnknownVariant` is not
modeled and cannot be `@sensitive`.
+31 −0
Original line number Diff line number Diff line
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
May 19th, 2025
==============
**New this release:**
- :tada: (client, [smithy-rs#4135](https://github.com/smithy-lang/smithy-rs/issues/4135)) Introduce a new `repeatedly()` function to `aws-smithy-mocks` sequence builder to build mock rules that behave as an
    infinite sequence.

    ```rust
    let rule = mock!(aws_sdk_s3::Client::get_object)
        .sequence()
        .http_status(503, None)
        .times(2)        // repeat the last output twice before moving onto the next response in the sequence
        .output(|| GetObjectOutput::builder()
            .body(ByteStream::from_static(b"success"))
            .build()
        )
        .repeatedly()    // repeat the last output forever
        .build();
    ```
- :bug: (client, [aws-sdk-rust#1291](https://github.com/awslabs/aws-sdk-rust/issues/1291)) Removing the `optimize_crc32_auto` feature flag from the `crc-fast` dependency of the `aws-smithy-checksums` crate since it was causing build issues for some customers.
- :bug: (client, [smithy-rs#4137](https://github.com/smithy-lang/smithy-rs/issues/4137)) Fix bug with enum codegen

    When the first enum generated has the `@sensitive` trait the opaque type
    underlying the `UnknownVariant` inherits that sensitivity. This means that
    it does not derive `Debug`. Since the module is only generated once this
    causes a problem for non-sensitive enums that rely on the type deriving
    `Debug` so that they can also derive `Debug`. We manually add `Debug` to
    the module so it will always be there since the `UnknownVariant` is not
    modeled and cannot be `@sensitive`.
- :bug: (client, [smithy-rs#4135](https://github.com/smithy-lang/smithy-rs/issues/4135)) fix simple rules behavior with `RuleMode::MatchAny`


May 15th, 2025
==============
**New this release:**
Loading