Commit Graph

120 Commits

Author SHA1 Message Date
AWS SDK Rust Bot 2cb76641b6 Update changelog 2022-08-31 09:48:52 +00:00
AWS SDK Rust Bot db48039065 Update changelog 2022-08-04 01:37:32 +00:00
AWS SDK Rust Bot 700cee65ca Update changelog 2022-07-20 17:48:27 +00:00
AWS SDK Rust Bot 334f6dd203 Update changelog 2022-06-28 23:05:33 +00:00
AWS SDK Rust Bot 5b49350037 Update changelogs 2022-06-22 21:20:42 +00:00
AWS SDK Rust Bot 7b5954ed8f Update changelogs 2022-06-09 22:53:53 +00:00
AWS SDK Rust Bot 9db2a737c4 Update changelogs 2022-05-13 17:56:33 +00:00
Russell Cohen 9b6210c105
Release (#1351)
* Bump version numbers in gradle.properties

* Add auto-changelog script

* Update models, holding back S3

* Update CI to 1.58.1
2022-04-28 22:24:21 +00:00
Zelda Hessler c5e2ce5083
update: gradle.properties for release (#1324)
* update: gradle.properties for release

* update: aws.sdk.version to 0.10.1
fix: changelog
2022-04-14 16:08:11 -05:00
Zelda Hessler 7885dc7197
Release 2022 04 14 (#1323)
* undo: MSRV bump
* update: changelog
2022-04-14 18:10:15 +00:00
Zelda Hessler d16ee113ad
Prepare for 2022-04-13 release (#1317)
* update: models for release

* update: Changelogs for release
update: gradle properties for release
2022-04-13 11:00:30 -05:00
John DiSanti 61b0a8a8e5
Prepare for release (#1261)
* Update AWS models

* Version bump

* Revert S3 model update

* Update changelogs

* Update endpoints config
2022-03-17 14:18:46 -07:00
John DiSanti f7e1f0836e
Prepare for `v0.38.0` release (#1223)
* Update changelogs

* Update AWS models

* Version bump
2022-02-24 19:51:00 +00:00
Russell Cohen 058f28e4a6
Release 0.7.0 (#1202)
* Update changelogs

* Sync models

* bump versions
2022-02-18 10:31:13 -05:00
John DiSanti ed3daf613e
Prepare smithy-rs `0.36.0` release (#1122)
* Version bump

* Update service models

* Update changelogs
2022-01-26 10:47:42 -08:00
Zelda Hessler f4d3910f22
prepare for release of 0.35.2/0.5.2 (#1103) 2022-01-20 14:06:33 -08:00
Russell Cohen 18998f3ff3
Changelogs (#1090)
* Update changelogs

* Update versions
2022-01-19 14:58:50 -08:00
Zelda Hessler c7ff41707c
release v0.35.0 (#1088)
* release v0.35.0

* update: aws models
2022-01-19 16:23:44 +00:00
Russell Cohen 2b90cc9b11
Cut release (#1055) 2022-01-10 18:19:44 +00:00
Zelda Hessler 9be54c9ee6
prepare for release of smithy-rs 0.34 (#1047)
* prepare for release

* remove: extra backtick
2022-01-06 19:04:35 +00:00
Russell Cohen 35ac555e0f
Release v0.33.1 (#980)
* Bump version

* Changelogs
2021-12-15 12:46:07 -05:00
Russell Cohen b9d5923ab3
Release 0.3.0 / 0.33.0 (#974)
* Fixup changelog generation

* Delete superceded changlog guidance

* Update changelogs

* Bump version numbers
2021-12-14 16:43:17 -05:00
Russell Cohen d4bc9d60b0
Changelog Automation (#922)
* Automate changelog update process

* Update PR template

* Update references

* Cleanups and comments
2021-12-03 11:47:52 -08:00
Russell Cohen e7cbcfffbe
Prune extra xmlns from generated XML (#892)
* Prune extra xmlns from generated XML

* Fix tests impacted by namespace serialization

* Update changelogs
2021-12-03 10:45:30 -05:00
Russell Cohen 88fc76801f
Fixes for generated docs (#920)
* Fixes for generated doc

- Avoid generating `#Examples` when no examples exist
- Fix typo

* Split out client customizations

* Update changelogs

* Fix generated READMEs
2021-12-02 20:52:10 +00:00
John DiSanti b1835a145f
Version bump to fix crates.io conflict with aws-sigv4 (#919) 2021-12-01 22:06:46 -08:00
Russell Cohen 71fef7aacc
version numbers and changelogs (#910) 2021-12-01 18:48:40 +00:00
Russell Cohen 4b12d80d9f
prepare alpha release (#889) (#913) 2021-12-01 12:28:56 -06:00
Russell Cohen cc82edf173
docs.rs metadata & license linter & fixes (#904)
* Lint & fix docs.rs + LICENSEs

* Clippy fixups

* Update changelogs

* Fix reverse condition & make repo_root lazy_static

* Update copyright
2021-12-01 12:26:47 +01:00
Zelda Hessler 692bf94ba3
Feature: add TimeoutError variant to SdkError (#886)
* feature: add TimeoutError variant to SdkError
add: TimeoutError variant to ImdsError
update: tests broken by new variant

* update: changelogs

* add: new inner timeout error RequestTimeoutError
update: tests broken by new inner error
rename: aws_smithy_client::hyper_ext::TimeoutError to HttpTimeoutError
add: missing dep to integration test

* revert: IMDS error change
update: content for HttpTimeoutError
fix: clippy lint

* add: back the source method to HttpTimeoutError
update: connector timeout tests
remove: TODO
2021-11-23 16:26:31 +00:00
Russell Cohen 32a09ecda6
set appropriate minimum httpbody version (#883)
* set appropriate minimum httpbody version

* Update changelogs

* changelog

* HTTP Body version in generated code

Co-authored-by: Zelda Hessler <zhessler@amazon.com>
2021-11-22 11:16:55 -05:00
Zelda Hessler a9a691b6b4
Feature: Fine-grained Timeout Configuration (#831)
* add: TimeoutConfig
add: provider to fetch timeout from profile
add: provider to fetch timeout from environment
add: default provider for TimeoutConfigs
update: aws_config::Config to support timeout conf
update: rustdoc lint

* add: TimeoutConfigBuilder::merge_with test

* update: changelogs

* add: timeout_config to client and builder
add: generic timeout service
add: non-working timeout layer

* add: timeout layer/service with configurable duration
add: test that ensures timeout service works

* fix: eliminate useless clones

* feature: Kotlin decorator for TimeoutConfig
add: tests for timeout-related codegen
update: incorrect package path in RetryConfigDecorator.kt
fix: outdated aws-config timeout config code

* remove: link to struct in external crate
fix: outdated doc test
fix: add missing import to doc test
fix: copypaste error in doc test
update: outdated lint name

* update: comment on Builder::timeout_config panics
add: test ensuring timeouts can't be infinite
update: use a floating point number in a timeout doc
update: message for failed profile load to mention that profile will be skipped
remove: commented out code
update: attempt to make difference between api_call_timeout and api_call_attempt_timeout clearer
update: outdated doc comments
update: TimeoutConfigError descriptions

* formatting: arrange imports in aws_smithy_client lib.rs
add: todo for improving timeout error categorization

* update: var parsers to work without needless allocations
update: improve example for default timeout config provider
update: improve example for default retry config provider
fix: unhelpful doc comment for TimeoutLayerFuture<T>
remove: outdated TODO

* fix: various typos in docs
add: PR links to changelogs
format: doc references to structs to look nicer
add: note about expected form and unit of timeout config data
update: expand ProfileFileTimeoutConfigProvider example

* fix: relocate provider config tests to the correct package/directory
remove: unimplemented timeouts from `Settings`

* add: S3 integration test for timeouts
update: re-enable TimeoutLayers
add: "list_of_set_timeouts" logging helper to TimeoutConfig
refactor: the way TimeoutService handles futures so that it can work better with no timeout set
add: helper structs to make creating timeout services easier

* update: split timeout_config example into multiple lines

* fix: Clippy lints

* fix: outdated test

* fix: more clippy lints

* fix: typo
add: TimeoutConfig example

* Update CHANGELOG.md

Co-authored-by: Russell Cohen <rcoh@amazon.com>

* Update aws/rust-runtime/aws-config/src/default_provider.rs

Co-authored-by: Russell Cohen <rcoh@amazon.com>

* Update aws/rust-runtime/aws-config/src/default_provider.rs

Co-authored-by: Russell Cohen <rcoh@amazon.com>

* Update aws/rust-runtime/aws-config/src/default_provider.rs

Co-authored-by: Russell Cohen <rcoh@amazon.com>

* Update aws/rust-runtime/aws-config/src/default_provider.rs

Co-authored-by: Russell Cohen <rcoh@amazon.com>

* Update aws/rust-runtime/aws-config/src/default_provider.rs

Co-authored-by: Russell Cohen <rcoh@amazon.com>

* Update aws/rust-runtime/aws-config/src/default_provider.rs

Co-authored-by: Russell Cohen <rcoh@amazon.com>

* feature: user-configurable AsyncSleep impls
update: fallback to sleep impl that sleeps forever instead of sleep impl being optional

* Update rust-runtime/aws-smithy-types/src/timeout.rs

Co-authored-by: John DiSanti <jdisanti@amazon.com>

* update: changelogs
format: SleepImplDecorator.kt
update: TimeoutConfig doc
remove: list_of_set_timeouts in favor of Debug impl for TimeoutConfig

* Apply suggestions from code review

Co-authored-by: John DiSanti <jdisanti@amazon.com>

* fix: broken macro doc test by ignoring it
fix: outdated struct ref in doc
fix: outdated generated doc

* fix: mode broken doc tests

* fix: broken doc test

* attempt to fix CI-only doc test error

* add: moduleUseName method to CodegenContext
remove: pub use reexports from timeout and sleep impl decorators
add: pub use reexports to aws_config for timeout and retry configs
undo: default_sleep_impl changes
attempt to add tokio time feature to S3 integration test

* Update timeout.rs

* Apply suggestions from code review

Co-authored-by: John DiSanti <jdisanti@amazon.com>

* refactor: consolidate timeout parsing logic
rename: `RetryConfigBuilder::merge_with` to `RetryConfigBuilder::take_unset_from`
refactor: move timeout parsing tests to timeouts.rs
add: entry to SDK changelog noting the renaming
remove: redundant feature from s3 integration test Cargo.toml
update: various setters added by this PR to have the same form as our preexisting setters
add: extra info to the warning emitted when ConfigLoader calls default_async_sleep and gets None

* fix: tests broken when implementing suggestions

* update: doc hide sleep_impl for aws_types::Config
remove: leftover comment

Co-authored-by: Russell Cohen <rcoh@amazon.com>
Co-authored-by: John DiSanti <jdisanti@amazon.com>
2021-11-19 21:16:24 +00:00
Russell Cohen cab7de3faf
Add / fix smithy-client docs (#855)
* Add / fix smithy-client docs

* Rework hyper impls to be a regular public module instead of pub use

* clarify comments, fix changelog

* cleanup code in docs

* Add doc linking

* Update rust-runtime/aws-smithy-client/src/hyper_ext.rs

Co-authored-by: John DiSanti <jdisanti@amazon.com>

* fix changelog

* SDK changelog docs

Co-authored-by: John DiSanti <jdisanti@amazon.com>
2021-11-19 20:41:25 +00:00
Zelda Hessler 0bc5523f2e
Release preparation v0.29.0/v0.0.26-alpha (#874)
Co-authored-by: John DiSanti <jdisanti@amazon.com>
2021-11-18 22:41:00 +00:00
Florian Richter ee6e210047
docs: fixed examples url (#862)
* docs: fixed examples url

* docs: updated README files

* Update CHANGELOG.md

* Update SDK_CHANGELOG.md

Co-authored-by: Russell Cohen <rcoh@amazon.com>
2021-11-15 09:33:37 -06:00
John DiSanti 72eae556ae
Relegate `chrono` to an optional feature in a new conversion crate (#849)
* Refactor Instant to use `time` instead of `chrono`
* Rename methods on Instant to have a consistent naming scheme.
* Remove built-in Instant conversions.
* Remove `chrono` from `aws-sigv4`
* Re-export `Instant` from service crates
* Implement `aws-smithy-types-convert`
* Rename `Instant` to `DateTime`
* Make date-time formatting operations fallible
* Add initial changelog entries
* Update changelog
* Make DateTime to SystemTime conversion fallible
* Incorporate review feedback
* Fix merge issues
* Fix examples
* Fix doc comments
* Fix unused import warning when using `convert-chrono` feature exclusively
2021-11-11 16:01:30 -08:00
John DiSanti 3ae9bcf78f
Prepare `v0.28.0-alpha` release (#852) (#854) 2021-11-11 11:53:06 -08:00
Matteo Bigoi d215bb0815
Update MSRV to 1.54.0 (#844) 2021-11-10 12:51:31 +00:00
Russell Cohen 50d812bf9d
Cut release v0.27.0-alpha.2 (#847) 2021-11-09 18:15:17 +00:00
John DiSanti 758fc313bf
Add accessor methods to generated structs (#842)
* Add accessor methods to generated structs

* Update changelogs

* Don't emit empty impl blocks

* Incorporate feedback

* Fix builder method conflict

* Don't emit empty impls for errors with only a message
2021-11-08 14:51:52 -08:00
John DiSanti 4a1261f9db
Fix bug in epoch second parsing and improve tests (#834)
* Implement time format/parse test suite generator

* Run generated test suite against `aws-smithy-types`

* Fix minor difference with test suite HTTP date formatting

* Fix bugs discovered in epoch seconds parsing

* Reduce allocations in epoch seconds formatting

* Update changelogs

* Improve test data format

* Remove unsafe from epoch-seconds parsing and increase test coverage

* Add fuzz test suite for date-time parsing to `aws-smithy-types`
2021-11-04 22:33:09 +00:00
Russell Cohen c8a940be89
Unknown variants (#818)
* Add symbol provider support for renaming union variants

* Generate errors when serializing unknown variants in JSON

* Add support for serializing Unknown variants in XML

* Support optionally generating the unknown variant

* Add support for parsing unknown JSON variants

* Add unknown union support to XML

* fixup tests & clippy

* backup changes to mk-generated

* Support the unknown variant for event streams

* fix compilation warning

* fix awsquery serializer tests

* Remove conversion & lint supression

* Remove unused custom attributes

* remove some more pointless conversions

* Fix test indentation

* CR feedback

* Update Changelogs

* Remove usages of toPascalCase

* Fix eventstream error message

* Fix braces in server codegen

* Fix doublequoted string issue
2021-11-04 14:54:05 +00:00
Russell Cohen 643f2eee17
Update versions and changelog (#832) 2021-11-03 17:07:53 +00:00
Russell Cohen caf52ee6f5
Fix docs on union converters (#826)
* Fix docs on union converters

* update changelog

* Fix generation when escaping happens

* clarify docs
2021-11-02 17:27:23 -04:00
Russell Cohen bd37a9c640
Add check for incomplete_message from Hyper (#815)
Co-authored-by: Zelda Hessler <zelda.hessler@pm.me>
2021-10-27 14:45:35 -04:00
Russell Cohen ad588131f0
Refactor generation of versions to support generating crate versions … (#808)
* Refactor generation of versions to support generating crate versions directly

* Update changelog

* Fix generated SDK version during tests
2021-10-27 13:58:09 -04:00
Russell Cohen c0fa7f0b92
Upgrade to Smithy 1.12 (#812)
* Upgrade to Smithy 1.12

* update changelog

* Add protocol test

* Remove S3 customization: S3 content length fixed upstream

* Delete unuse S3 customization

Co-authored-by: Zelda Hessler <zelda.hessler@pm.me>
2021-10-26 21:19:52 +00:00
Russell Cohen d341c6eec7
Change `make_operation(..)` to be an async function (#797)
* Change `make_operation(..)` to be an async function

As part of the work towards glacier customizations, calling `make_operation(..)` needs to be able to perform asyncrhonous operations like potentially reading the body. To enable this and other future requirements, we now always generate make_operation as an async function.

* Add CR to changelog

* Fix server tests
2021-10-21 17:32:17 -04:00
John DiSanti 84b6098598
Prepare for a release (#790)
* Update AWS models

* Version bump

* Update changelog

* Correct version numbers in changelog
2021-10-20 18:56:43 +00:00
John DiSanti 6c9402b40d
Improve generated documentation (#779)
* Fill in missing generated documentation for S3

* Document the `smithy-types` runtime crate

* Fix wildcard imports

* Normalize doc notes

* Fix some CI issues

* Incorporate feedback

* Fix `EnumGeneratorTest`

* Fix more CI issues

* Fix server codegen tests

* Fix more doc issues

* Update changelogs

* Update aws/SDK_CHANGELOG.md

Co-authored-by: Russell Cohen <russell.r.cohen@gmail.com>

* Update aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsEndpointDecorator.kt

Co-authored-by: Russell Cohen <russell.r.cohen@gmail.com>

* Run pre-commit on all Kotlin files

* Use `emptySection`

* Fix namespace in doc comments
2021-10-20 18:34:25 +00:00