jonathanmorley / oktaws

Apache License 2.0
15 stars 10 forks source link

Update aws-types requirement from 0.55.3 to 0.56.0 in /oktaws #292

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on aws-types to permit the latest version.

Changelog

Sourced from aws-types's changelog.

August 1st, 2023

Breaking Changes:

  • ⚠🎉 (server, smithy-rs#2740, smithy-rs#2759, smithy-rs#2779, smithy-rs#2827, @​hlbarber) The middleware system has been reworked as we push for a unified, simple, and consistent API. The following changes have been made in service of this goal:

    • A ServiceShape trait has been added.
    • The Plugin trait has been simplified.
    • The HttpMarker and ModelMarker marker traits have been added to better distinguish when plugins run and what they have access to.
    • The Operation structure has been removed.
    • A Scoped Plugin has been added.

    The Plugin trait has now been simplified and the Operation struct has been removed.

    Addition of ServiceShape

    Since the 0.52 release the OperationShape has existed.

    /// Models the [Smithy Operation shape].
    ///
    /// [Smithy Operation shape]: https://awslabs.github.io/smithy/1.0/spec/core/model.html#operation
    pub trait OperationShape {
        /// The ID of the operation.
        const ID: ShapeId;
    
    /// The operation input.
    type Input;
    /// The operation output.
    type Output;
    /// The operation error. [`Infallible`](https://github.com/awslabs/smithy-rs/blob/main/std::convert::Infallible) in the case where no error
    /// exists.
    type Error;
    

    }

    This allowed Plugin authors to access these associated types and constants. See the PrintPlugin as an example.

    We continue with this approach and introduce the following trait:

    /// Models the [Smithy Service shape].
    ///
    /// [Smithy Service shape]: https://smithy.io/2.0/spec/service-types.html
    pub trait ServiceShape {
        /// The [`ShapeId`] of the service.
        const ID: ShapeId;
    
    /// The version of the service.
    const VERSION: Option<&'static str>;
    

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #296.