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

Unstable serde support #15

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
525 commits
Select commit Hold shift + click to select a range
7477cfb
Add error refactor changelog entries and re-export `DisplayErrorConte…
jdisanti Nov 12, 2022
9abad1a
Do not use deprecated from_timestamp from chrono (#1980)
82marbag Nov 14, 2022
aaa8f0e
Remove left behind trailing whitespace from instrumentation closure (…
hlbarber Nov 14, 2022
4829372
Fix `update-sdk-next` GitHub Actions workflow (#1979)
jdisanti Nov 14, 2022
15f2fbb
Feature: configurable connectors for AWS clients (#1918)
Velfi Nov 14, 2022
a438b7c
Service with ConnectInfo (#1955)
82marbag Nov 15, 2022
b2528a1
Use `escape` on the body in `@httpRequestTest` protocol test generati…
hlbarber Nov 15, 2022
b43905e
Builders of builders (#1342)
david-perez Nov 15, 2022
fba88df
Revamp errors in `aws-smithy-http` (#1884)
jdisanti Nov 15, 2022
7b6d2d4
Revamp errors in `aws-smithy-json` (#1888)
jdisanti Nov 15, 2022
e36d346
Revamp errors in `aws-smithy-types` (#1893)
jdisanti Nov 15, 2022
8dfe5a1
Revamp errors in `aws-smithy-types-convert` and `aws-smithy-xml` (#1917)
jdisanti Nov 15, 2022
543cac3
Revamp errors in AWS runtime crates (#1922)
jdisanti Nov 16, 2022
4563849
Revamp errors in `aws-config` (#1934)
jdisanti Nov 16, 2022
9f0bc36
Make `SdkError::into_service_error` infallible (#1974)
jdisanti Nov 16, 2022
f13bb26
Implement RFC23 - Evolve the new service builder API (#1954)
LukeMathWalker Nov 16, 2022
a26b9ea
Fix simple.smithy (#1991)
82marbag Nov 16, 2022
7ab8f56
Add support for Endpoints 2.0 Parameters (#1953)
rcoh Nov 16, 2022
044ebea
Implement RFC 23, Part 2 - Plugin pipeline (#1971)
LukeMathWalker Nov 16, 2022
8ef985e
Improve error doc comments around logging errors (#1990)
jdisanti Nov 16, 2022
cdb4a3f
Rework enum for forward-compatibility (#1945)
ysaito1001 Nov 16, 2022
445b7fe
fix: use idiomatic method of setting smithy gradle plugin version (#1…
Velfi Nov 16, 2022
927fe30
formatting: run code cleanup on entire project (#1993)
Velfi Nov 16, 2022
06c23f6
Improve `Endpoint` panic-safety and ergonomics (#1984)
jdisanti Nov 17, 2022
1f405f6
Remove `fromCoreProtocol` in favour of `as` downcasting (#2000)
hlbarber Nov 17, 2022
c187e3d
Render full shape IDs in server error responses (#1982)
david-perez Nov 17, 2022
d99a0db
fix: use new version of deprecated fn (#1994)
Velfi Nov 17, 2022
4aca7b3
update: CargoDependency companion fn names for smithy runtime crates …
Velfi Nov 17, 2022
ed5cd6e
Improve `Plugin` toolkit (#2003)
hlbarber Nov 18, 2022
b2d280f
Multiple FromParts in handlers (#1999)
82marbag Nov 18, 2022
c520b61
Tidy up PR template slightly (#2006)
jjant Nov 18, 2022
c370c8d
Re-export service from root of the generated crate (#2010)
hlbarber Nov 18, 2022
0a610ec
Always write required query param keys, even if value is unset or emp…
Velfi Nov 18, 2022
5eeb5d7
Detect if the `uniqueItems` trait is used (#2001)
david-perez Nov 18, 2022
07967da
fix: missing Tokio feature in S3 integration test (#2017)
Velfi Nov 21, 2022
86fd8f5
Collect extractors into `request` module (#2008)
hlbarber Nov 22, 2022
0f26ead
Add const to generated enum values() (#2011)
lsr0 Nov 22, 2022
4cc2f95
Improve code generated documentation (#2019)
hlbarber Nov 22, 2022
eafbe80
Implement `@pattern` on `string` shapes (#1998)
jjant Nov 23, 2022
a1fde3b
Overhaul RustModule system to support nested modules (#1992)
rcoh Nov 23, 2022
27020be
Improve service documentation (#2020)
hlbarber Nov 25, 2022
ec9588b
@range implementation for integer shapes (#2005)
LukeMathWalker Nov 28, 2022
9a4c1f3
Fix Canary (#2016)
Velfi Nov 28, 2022
0adad6a
Implement @range on short (#2034)
LukeMathWalker Nov 29, 2022
3a9a42b
Introduce an `aws-lambda` feature. (#2035)
LukeMathWalker Nov 29, 2022
4c77965
Implement @range on long and byte shapes (#2036)
LukeMathWalker Nov 29, 2022
e1de6fa
Upgrade cargo tools (#2032)
jdisanti Nov 29, 2022
2226fef
`CODEOWNERS`: Move Python related folders to `@awslabs/smithy-rs-pyth…
unexge Nov 30, 2022
b67f492
Restore `into_make_service_with_connect_info` module (#2039)
hlbarber Nov 30, 2022
9ae16e7
RFC: RequestId for services (#1942)
82marbag Nov 30, 2022
97b9bb7
Add lambda extractors (#2038)
hlbarber Nov 30, 2022
6ca5ed2
Implement `@length` on collections (#2028)
jjant Nov 30, 2022
9057bd1
Improve extractor errors (#2041)
hlbarber Nov 30, 2022
5107021
Document the new service builder (#2021)
82marbag Dec 1, 2022
3652538
The TODO comment should not be visible in the public docs. (#2045)
LukeMathWalker Dec 1, 2022
7c86ecf
Add server SDK constraint traits RFC (#1199)
david-perez Dec 1, 2022
84ed110
Add Endpoint Resolver Implementation (#2030)
rcoh Dec 1, 2022
92bdf94
Add default for the Smithy test workspace (#1981)
rcoh Dec 1, 2022
ee6242c
Upgrade test SDK models to IDLv2 (#2049)
jdisanti Dec 1, 2022
5073a25
Various small corrections to server documentation (#2050)
hlbarber Dec 2, 2022
b7f1a57
Fix service builder docs (#2046)
82marbag Dec 2, 2022
17cb98c
Unhide new service builder and deprecate the prior (#1886)
hlbarber Dec 2, 2022
5dd5f3f
Normalize URI paths during signing (except for S3) (#2018)
ysaito1001 Dec 2, 2022
b6ab4ea
Fix inability to create service clients when `default-features = fals…
Velfi Dec 2, 2022
d02ddea
Fix server book documentation links (#2059)
hlbarber Dec 5, 2022
5487e36
Respect the sensitive trait on container shapes (#1983)
ysaito1001 Dec 5, 2022
3ecefff
Tracing output json (#2060)
82marbag Dec 6, 2022
18fc692
Remove client body callbacks (#2065)
jdisanti Dec 6, 2022
4eccaad
Implement FromParts for Option, Result (#2068)
82marbag Dec 7, 2022
6beec94
Endpoints 2.0 Integration pre-work (#2063)
rcoh Dec 7, 2022
ddf1421
allow parse_url functions to be unused (#2071)
rcoh Dec 7, 2022
31f1d35
Establish default max idle connections on default connectors (#2064)
jdisanti Dec 7, 2022
577c90b
Render a Union member of type Unit to an enum variant without inner d…
ysaito1001 Dec 7, 2022
3cdf49e
Improve client tracing spans (#2044)
jdisanti Dec 7, 2022
bf6cf75
Add `tracing` events to signing and event streams (#2057)
jdisanti Dec 7, 2022
d5bcd4f
Improve credentials tracing (#2062)
jdisanti Dec 8, 2022
6eca6a8
Don't require `thiserror` 1.0.36 (#2076)
jjant Dec 8, 2022
3b8e0ee
Add simple request concurrency tests to S3 integration test suite. (#…
Velfi Dec 8, 2022
5e1ad29
fix: make alternative async runtime timeout assert more permissive (#…
Velfi Dec 8, 2022
381467d
Add RFC for client crate organization (#1936)
jdisanti Dec 8, 2022
f54b36b
Detect constraints on event stream errors (#2069)
david-perez Dec 9, 2022
c29e3ad
Prepare 0.52.0 release of smithy-rs (#2084)
LukeMathWalker Dec 9, 2022
de979d8
Update gradle.properties
aws-sdk-rust-ci Dec 9, 2022
a15ce73
refactor: RuntimeType creation and member resolution (#2066)
Velfi Dec 9, 2022
f3e0562
Fix clippy lints and run formatter (#2080)
Velfi Dec 9, 2022
e1ba656
Fix 3 bugs in `@length`-constrained collection and map shapes (#2085)
david-perez Dec 12, 2022
adf98a3
Cut 0.52.0 release
aws-sdk-rust-ci Dec 12, 2022
c3de8a3
Separate `check-sdk-examples` step and remove it from release checks …
jjant Dec 12, 2022
b2b8e7e
Update changelog
aws-sdk-rust-ci Dec 12, 2022
9d2d088
Python: TLS Support for servers (#2002)
unexge Dec 12, 2022
3fb9096
Python: Allow injecting Lambda Context (#1985)
unexge Dec 12, 2022
30c6828
Run TODO lint against more files (#2078)
david-perez Dec 13, 2022
40245a1
Improve RustDocs for constrained types (#2095)
david-perez Dec 14, 2022
2cc7c24
Python: Use Maturin to build SDKs (#2025)
unexge Dec 14, 2022
2480d81
Import the `{input, output, error}` modules in the RustDocs service s…
david-perez Dec 14, 2022
5970ef7
Break up `RustCodegenDecorator` (#2099)
jdisanti Dec 14, 2022
6dad2fb
Fix examples check in CI (#2106)
jdisanti Dec 15, 2022
66fd6c9
Rename command to generate RustDocs in `CodegenTestCommon.kt` (#2094)
david-perez Dec 15, 2022
0dd6c82
Fix `@length`-constrained collection shapes whose members are not con…
david-perez Dec 15, 2022
59de022
update: retry config setter docs (#2109)
Velfi Dec 15, 2022
29abdc9
Enable Endpoints 2.0 (#2074)
rcoh Dec 16, 2022
9d8ed4f
Remove unused `RequestSpecModule` definition from `ServerRuntimeType`…
david-perez Dec 16, 2022
1deb644
Check all features in gradle `cargoCheck`/`cargoTest` targets (#2100)
thomas-k-cameron Dec 16, 2022
3e6adcd
Disallow ignoring a constrained shape in an event stream's closure (#…
david-perez Dec 20, 2022
3a3d121
Refactor build scripts (#2116)
LukeMathWalker Dec 20, 2022
0b4c5ab
Break `codegen-server`'s dependency on `codegen-client` (#2105)
jdisanti Dec 20, 2022
ac0d991
Fix codegen doc link (#2120)
srchase Dec 21, 2022
2e3fa57
Add initial RFC document (endpoints 2.0) (#1637)
rcoh Dec 21, 2022
bb5bbeb
Move types for AWS SDK credentials to a separate crate (#2108)
ysaito1001 Dec 21, 2022
a7e05db
order endpoint parameters deterministically (#2125)
rcoh Dec 21, 2022
839e3ce
Add RFC for improving SDK credential caching through type safety (#1842)
jdisanti Dec 21, 2022
d8fb08c
Fix RFC file names (#2128)
jdisanti Dec 22, 2022
6211a91
Add RFC for finding new home for credential types (#2082)
ysaito1001 Dec 22, 2022
42f9ad9
Simplify calculation of error shapes in `EventStreamTestTools.kt` (#2…
david-perez Dec 22, 2022
87e45f6
Request IDs (#2054)
82marbag Dec 22, 2022
a55a29d
update: tune the S3 concurrency tests to finish in about 10s (#2133)
Velfi Dec 22, 2022
9522cc6
Rename error generators (#2107)
jdisanti Dec 22, 2022
5363c41
Support @default (#1879)
82marbag Dec 23, 2022
9c54f1c
Implement `@length` on blobs (#2131)
82marbag Dec 23, 2022
51915be
Update CHANGELOG (#2136)
82marbag Dec 23, 2022
3499c11
Fix Lambda bundle naming for the SDK canary (#2135)
jdisanti Dec 23, 2022
ee049ed
Ep2 tests (#2127)
rcoh Dec 27, 2022
4e4baad
update: increase alternative-async-runtime.rs grace period to 150ms f…
Velfi Dec 28, 2022
6dbefd2
Perform some optimisations on the CI Docker image (#2138)
LukeMathWalker Dec 28, 2022
c49d596
Claim names of unpublished crates (#2137)
LukeMathWalker Dec 28, 2022
e8fcd45
Extract SdkConfig parts into decorators (#2140)
rcoh Dec 28, 2022
c0f0809
Fix CI job. (#2146)
LukeMathWalker Dec 29, 2022
83417ee
Checkout the code in the current directory. (#2147)
LukeMathWalker Dec 29, 2022
81028c6
Add required fields to the dummy package Cargo.toml (#2148)
LukeMathWalker Dec 29, 2022
a84e61a
Add instructions for running the canary locally & cleanup canary code…
rcoh Dec 30, 2022
5f07560
Move `MakeOperationGenerator`, `ResponseBindingGenerator`, and `Reque…
jjant Jan 3, 2023
88afcf8
Refactor configuration loading to parse profile files only once (#2152)
rcoh Jan 3, 2023
76ee00e
Add a test helper for creating a dummy Credentials (#2145)
ysaito1001 Jan 3, 2023
0ab5493
Redact sensitive structs in debug (#2155)
82marbag Jan 4, 2023
59f7e95
RFC: Serialization and deserialization (#1944)
thomas-k-cameron Jan 4, 2023
5392a66
Fix bug where string builtIns were not supported (#2150)
rcoh Jan 4, 2023
4750723
Create `StandardProperty` in aws-config (#2162)
rcoh Jan 4, 2023
7a6ddfb
get info logs for the canary (#2167)
rcoh Jan 4, 2023
4768926
Remove webpki feature dependency (#2170)
rcoh Jan 5, 2023
b894ff2
Remove fixes for some now not broken request tests (#2165)
david-perez Jan 5, 2023
9c7307a
Refactor attribute macro codegen (#2126)
Velfi Jan 5, 2023
84b810c
pin ignore to older version with MSRV (#2173)
rcoh Jan 6, 2023
e311ebf
Rename `PokemonService` `NotAuthorized` to `StorageAccessNotAuthorize…
hlbarber Jan 6, 2023
aaac83f
Enable FIPS and dual-stack from SDK config (#2168)
rcoh Jan 6, 2023
76f0fa9
Compile regexes for `@pattern` strings early (#2058)
jjant Jan 9, 2023
4af30b6
UPDATE for RFC30: Serialization and deserialization (#2186)
thomas-k-cameron Jan 9, 2023
fd8b2d4
Workaround bug in smithy-rules-engine (#2179)
rcoh Jan 9, 2023
f75d4f9
Undeprecate `OperationExtension` and add `Plugin` (#2157)
hlbarber Jan 10, 2023
81f435b
Update changelog with request ID (#2193)
82marbag Jan 10, 2023
53aaf96
Enforce downwards walker traversal (#2164)
hlbarber Jan 11, 2023
40da9a3
Update gradle.properties (#2199)
82marbag Jan 11, 2023
bcea15a
Update changelog
aws-sdk-rust-ci Jan 11, 2023
8d09dad
Fix query string decoding (#2201)
david-perez Jan 12, 2023
7503dab
Bump `gradle.properties` runtime crates version to 0.53.1 (#2203)
david-perez Jan 12, 2023
f5c56b6
Update changelog
aws-sdk-rust-ci Jan 12, 2023
acffa7d
Re-export runtime types in server generated crates (#1909)
82marbag Jan 17, 2023
93f4c4f
Enable streaming support for AwsJson (#2207)
82marbag Jan 17, 2023
9f90517
Support `@sparse` constrained map shapes and list shapes (#2213)
david-perez Jan 17, 2023
d040f76
Ensure SDK credential cache type safety (#2122)
ysaito1001 Jan 17, 2023
d2b6819
Slow down crate publish more (#2214)
jdisanti Jan 17, 2023
d56fd27
Remove `sdk-sync` (#2219)
jdisanti Jan 17, 2023
b08c061
update: smithy.rs.runtime.crate.version for release (#2220)
Velfi Jan 17, 2023
a0b2ac6
Do not render empty event stream errors (#2200)
82marbag Jan 18, 2023
8013166
Don't use `#[allow(unused)]` in generated code (#2211)
david-perez Jan 18, 2023
4fbfc07
Make `RequireRustBuildTool` Gradle task use `--locked` when `cargo i…
david-perez Jan 18, 2023
582ae85
update: aws-config README (#2221)
Velfi Jan 18, 2023
95dc365
Endpoint operation input tests (#2204)
rcoh Jan 18, 2023
a8627df
Add panic message when `httpMalformedRequestTests` fail (#2212)
david-perez Jan 18, 2023
1d8934f
Default HTTP status code when not set (#2224)
82marbag Jan 19, 2023
adf30a8
Derive `Eq` and `Hash` wherever possible (#2223)
david-perez Jan 19, 2023
d9ea56d
Remove old entries from CHANGELOG.next.toml (#2228)
LukeMathWalker Jan 19, 2023
10e915b
Replace Arc with SharedCredentialsProvider in credentials_provider bu…
ysaito1001 Jan 19, 2023
2529690
Rfc30/document (#2196)
thomas-k-cameron Jan 19, 2023
d11bbf3
Rfc30/cargo.toml update (#2180)
thomas-k-cameron Jan 19, 2023
5fa0f8b
Changelog fix (#2234)
rcoh Jan 19, 2023
b5de4b6
Rfc30/blob (#2181)
thomas-k-cameron Jan 19, 2023
4515ab0
RFC30/datetime (#2184)
thomas-k-cameron Jan 19, 2023
1fb1a53
Fix date format in comment (#2233)
jdisanti Jan 19, 2023
6d6d8d1
Remove MissingHttpStatusCode (#2231)
82marbag Jan 20, 2023
c05e904
AwsJson1.0 `@streaming` unique in payload (#2230)
82marbag Jan 20, 2023
8a3158d
fix: changelog entries
Velfi Jan 20, 2023
6acce65
Merge remote-tracking branch 'origin/main' into unstable-serde-support
Velfi Jan 20, 2023
a559048
formatting: run pre-commit on all files (#2236)
Velfi Jan 20, 2023
d00c6ff
fix: some serde stuff broken by Zelda in the merges
Velfi Jan 20, 2023
4436d9a
Remove old service builder machinery (#2161)
hlbarber Jan 20, 2023
4257a18
Add changelog entry for "Remove old service builder machinery" (#2242)
hlbarber Jan 23, 2023
2f4bc33
Dense maps cannot deserialize null values (#2239)
82marbag Jan 23, 2023
48ce90d
Dense lists cannot deserialize null (#2240)
82marbag Jan 23, 2023
701d294
Update changelog
aws-sdk-rust-ci Jan 24, 2023
d301e65
Add changelog entry about #2200 (#2250)
jjant Jan 25, 2023
ebdf597
Fix `OperationExtensionFuture` poll order (#2247)
hlbarber Jan 25, 2023
31ea931
Bump version to 0.54.1 in `gradle.properties` (#2249)
jjant Jan 25, 2023
0965f12
Update changelog
aws-sdk-rust-ci Jan 25, 2023
41ca31b
Add CI action to test aws-sdk-services (#2251)
rcoh Jan 25, 2023
f7c417c
Newtype FromRequest::Future (#2244)
hlbarber Jan 27, 2023
c217058
Add RFC: Providing fallback credentials on timeout (#2218)
ysaito1001 Jan 27, 2023
e6c3a4b
Replace PR bot's diff tool with one that supports pagination (#2245)
jdisanti Jan 27, 2023
980b5c4
Add fallback_on_interrupt to the ProvideCredentials trait (#2246)
ysaito1001 Jan 27, 2023
7ad342a
Copy non-service integration tests into SDK root tests directory (#2255)
jdisanti Jan 27, 2023
efd1508
Update the event stream section in RFC30 (#2243)
thomas-k-cameron Jan 27, 2023
861d1d8
Python: Support `document` type (#2188)
unexge Jan 30, 2023
c04c6ab
Add `Data limit exceeded` to build image throttle messages (#2260)
jdisanti Jan 30, 2023
392fa2a
Update smoketest models (#2252)
jdisanti Jan 30, 2023
1e9e877
Make minor fixes to the crate claim workflow (#2259)
jdisanti Jan 31, 2023
52cb0fc
Add support for `@uniqueItems` (#2232)
david-perez Feb 1, 2023
7a0bcc2
Update mentions to codegen configuration key in changelog (#2166)
david-perez Feb 1, 2023
d9c0b2e
Change the release flow to use release branches (#2253)
LukeMathWalker Feb 1, 2023
bed7b97
Reduce Docker image rebuilds (#2269)
jdisanti Feb 1, 2023
a6ef078
Remove teams from `publisher` ownership list (#2257)
jdisanti Feb 1, 2023
681d3b3
Add static stability support to IMDS credentials provider (#2258)
ysaito1001 Feb 2, 2023
074464e
Increase build image backoff time and attempts (#2267)
jdisanti Feb 2, 2023
cfd1627
Must set a member in unions (#2241)
82marbag Feb 2, 2023
031ad59
Add `runs-on` (#2273)
LukeMathWalker Feb 2, 2023
bf3575f
Add `runs-on` (#2275)
LukeMathWalker Feb 2, 2023
2a913a7
Fix job trigger. Clarify that short SHAs won't work. (#2278)
LukeMathWalker Feb 2, 2023
36d3116
Clarify what type of reference we are trying to push. (#2279)
LukeMathWalker Feb 2, 2023
097f1ca
Update gradle properties for dry runs as well. (#2280)
LukeMathWalker Feb 2, 2023
2695c7c
Get verbose logging from the branch script. (#2281)
LukeMathWalker Feb 2, 2023
1b87953
Fix trigger for following jobs. (#2282)
LukeMathWalker Feb 2, 2023
344bf3e
Fix action paths. (#2283)
LukeMathWalker Feb 2, 2023
20c4839
We need to checkout in the `smithy-rs` folder because that's an assum…
LukeMathWalker Feb 2, 2023
2682708
Use action-arguments for arguments. (#2285)
LukeMathWalker Feb 2, 2023
649f758
Fix if condition. (#2286)
LukeMathWalker Feb 2, 2023
bdabbf0
Persist the modified gradle.properties outside of the Docker context …
LukeMathWalker Feb 2, 2023
20e12f6
Use larger machines for the slowest CI jobs. (#2263)
LukeMathWalker Feb 2, 2023
27429c8
Fix paths. (#2288)
LukeMathWalker Feb 2, 2023
d9efa6b
Commit if modified (#2289)
LukeMathWalker Feb 2, 2023
3ccb2d7
Set user name and email when committing (#2290)
LukeMathWalker Feb 2, 2023
edb7158
`git push origin` fails if there is nothing to push. (#2291)
LukeMathWalker Feb 2, 2023
6d34454
Use curly braces to group together the commit and push action (#2292)
LukeMathWalker Feb 2, 2023
97daba2
Fix syntax error when grouping commands. (#2293)
LukeMathWalker Feb 2, 2023
9b7c065
[release-branches] Fix the reference that gets checked out (#2294)
LukeMathWalker Feb 2, 2023
ac7fdf2
Fix broken doc link to `tokio_stream::Stream` (#2271)
ysaito1001 Feb 2, 2023
17f9a87
Use docker login when possible (#2265)
rcoh Feb 2, 2023
afa9edb
Simplify `AdHocSection` (#2272)
jdisanti Feb 2, 2023
df5abcf
Fix CI on main and don't acquire Docker login for forks (#2295)
jdisanti Feb 3, 2023
85d8819
Collect more diagnostics. (#2297)
LukeMathWalker Feb 3, 2023
e1991fa
[release-branches] Fix working directory (#2298)
LukeMathWalker Feb 3, 2023
47f6bd8
Clone does not preserve uncommitted changes. This was leading to the …
LukeMathWalker Feb 3, 2023
3ee5d06
Make `OperationExtension` store the absolute shape ID (#2276)
hlbarber Feb 3, 2023
b9b80c3
Retrieve the output from outside the Docker context (#2300)
LukeMathWalker Feb 3, 2023
a06f21b
Fix image tagging in CI on main (#2301)
jdisanti Feb 3, 2023
f8a799d
Fix handling of repeated headers in AWS request canonicalization (#2261)
nipunn1313 Feb 3, 2023
7bf9251
Remove usage of always empty writable in `JsonParserGenerator` (#2192)
david-perez Feb 3, 2023
ca449e2
Merge remote-tracking branch 'origin/main' into unstable-serde-support
jdisanti Feb 3, 2023
0bfcdd4
Fix unused imports
jdisanti Feb 3, 2023
40a89e8
Implement serde support for `aws_smithy_types::Number` (#2185)
thomas-k-cameron Feb 4, 2023
46280e4
add line (#2311)
thomas-k-cameron Feb 16, 2023
35cd929
RFC30/Set fields to fluent builder (#2310)
thomas-k-cameron Feb 17, 2023
52865bb
Rfc30/feature gate for generated crates (#2183)
thomas-k-cameron Mar 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 54 additions & 0 deletions .cargo-deny-config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This is the config file for `cargo-deny` used in CI

# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
default = "deny"
unlicensed = "deny"
copyleft = "deny"
allow-osi-fsf-free = "neither"
allow = [
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
"Apache-2.0 WITH LLVM-exception",
"Apache-2.0",
"BSD-3-Clause",
"ISC",
"MIT",
"MPL-2.0",
"Unicode-DFS-2016",
]
confidence-threshold = 1.0
exceptions = [
{ allow = ["OpenSSL"], name = "ring", version = "*" },
]

[[licenses.clarify]]
name = "webpki"
version = "*"
expression = "MIT AND ISC"
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]

[[licenses.clarify]]
name = "ring"
expression = "MIT AND ISC AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]

# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
multiple-versions = "allow"
wildcards = "deny" # Don't allow wildcard dependencies
highlight = "all"
deny = []

# This section is considered when running `cargo deny check sources`.
# More documentation about the 'sources' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[*.{kt,kts}]
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_java_use_single_class_imports = true
ij_groovy_use_single_class_imports = true
ij_kotlin_name_count_to_use_star_import = 100
ij_kotlin_name_count_to_use_star_import_for_members = 100
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 120
# Ktlint-specific config
disabled_rules = filename, max-line-length, argument-list-wrapping, parameter-list-wrapping
9 changes: 9 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# .git-blame-ignore-revs
#
# To make use of this file when running `git blame`, add `--ignore-revs-file .git-blame-ignore-revs` to the arguments.
# To always make use of this file, run the following:
# git config blame.ignoreRevsFile .git-blame-ignore-revs
#

# Add `client` to `codegen-client` package namespace (#1711)
1a0f81ae33816c10c9d305f33ea03da23c6265ef
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/blank_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
name: Blank Issue
about: Create a blank issue.
---
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
4 changes: 3 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
- [ ] I have updated `CHANGELOG.next.toml` if I made changes to the smithy-rs codegen or runtime crates
- [ ] I have updated `CHANGELOG.next.toml` if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

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

_By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
19 changes: 10 additions & 9 deletions .github/actions/docker-build/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0

# Use this action to execute the action scripts in tools/ci-build/scripts within the Docker build image.
# Use this action to execute the action scripts in tools/ci-scripts.
name: smithy-rs Docker Build
description: Run Docker build command for smithy-rs
inputs:
# The name of the script in tools/ci-build/scripts to run
# The name of the script in tools/ci-scripts to run
action:
description: What action to run in the Docker build
required: true
Expand All @@ -15,7 +15,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/cache@v2
- uses: actions/cache@v3
name: Gradle Cache
with:
path: |
Expand All @@ -24,11 +24,12 @@ runs:
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/caches/**/*', 'gradle/wrapper/**/*') }}
restore-keys: |
${{ runner.os }}-gradle-
# Pinned to the commit hash of v1.3.0
- uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641
# Pinned to the commit hash of v2.1.0
- uses: Swatinem/rust-cache@b894d59a8d236e2979b247b80dac8d053ab340dd
with:
sharedKey: ${{ runner.os }}-${{ github.job }}
target-dir: ./smithy-rs-target
shared-key: ${{ runner.os }}-${{ github.job }}
workspaces: |
. smithy-rs-target
- name: Download all artifacts
uses: ./smithy-rs/.github/actions/download-all-artifacts
- name: Prepare build image
Expand All @@ -42,7 +43,7 @@ runs:
# from attempting to download an image from ECR since it will already exist,
# which enables testing build image modifications as part of the pull request.
if [[ -d smithy-rs-base-image ]]; then
IMAGE_TAG="$(./smithy-rs/tools/ci-build/tools-hash)"
IMAGE_TAG="$(./smithy-rs/.github/scripts/docker-image-hash)"
docker load -i smithy-rs-base-image/smithy-rs-base-image
docker tag "smithy-rs-base-image:${IMAGE_TAG}" "smithy-rs-base-image:local"
fi
Expand All @@ -51,7 +52,7 @@ runs:
# or from ECR. We disable building the image from scratch so that any mistakes in the CI
# configuration won't cause each individual action to build its own image, which would
# drastically increase the total CI time. Fail fast!
ALLOW_LOCAL_BUILD=false ./smithy-rs/tools/ci-build/acquire-build-image
ALLOW_LOCAL_BUILD=false ./smithy-rs/.github/scripts/acquire-build-image
# This runs the commands from the matrix strategy
- name: Run ${{ inputs.action }}
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/download-all-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ runs:
uses: actions/download-artifact@v3
- name: Untar artifacts
shell: bash
run: find . -maxdepth 2 -iname 'artifacts-*.tar.gz' -print -exec tar vxfz {} \;
run: find . -maxdepth 2 -iname 'artifacts-*.tar.gz' -print -exec tar xfz {} \;
Loading