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

[pull] main from awslabs:main #43

Open
wants to merge 1,736 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1736 commits
Select commit Hold shift + click to select a range
57e6be9
chore(experimentalIdentityAndAuth): move private methods to `ClientBo…
Jan 11, 2024
1ae1f4c
feat: inline cjs index (#1113)
kuhe Jan 11, 2024
9939f82
feat: use inline cjs build (#1146)
kuhe Jan 17, 2024
1d85e7d
Version NPM packages
aws-smithy-automation Jan 17, 2024
2b1bf05
fix: check runtime exports to generate esm annotation list (#1147)
kuhe Jan 19, 2024
3769699
Version NPM packages
aws-smithy-automation Jan 19, 2024
280ef3a
feat: defer loading of credential-provider-imds in util-defaults-mode…
kuhe Jan 29, 2024
a985fef
fix: set noEmitHelpers=false (#1151)
kuhe Feb 5, 2024
958ffaa
feat: generate unified error dispatcher (#1150)
kuhe Feb 5, 2024
ceb489e
fix: return throwDefaultError as never (#1155)
kuhe Feb 5, 2024
1b36797
Version NPM packages
aws-smithy-automation Feb 6, 2024
88980bc
fix: handle multi-part token paths in paginator (#1160)
kuhe Feb 7, 2024
74d1aa5
Version NPM packages
aws-smithy-automation Feb 7, 2024
1e23f96
feat: add checked socket exhaustion warning when throughput is slow (…
kuhe Feb 19, 2024
d70a00a
feat: allow http(s).Agent ctor arg in lieu of instance (#1165)
kuhe Feb 21, 2024
929801b
feat: enable ctor arg passthrough for requestHandler (#1167)
kuhe Feb 22, 2024
7baf4b1
Version NPM packages
aws-smithy-automation Feb 22, 2024
3b37740
feat: enable ctor arg passthrough for requestHandler (Java codegen) (…
kuhe Feb 22, 2024
dd0d9b4
fix(core): retry after clock skew correction (#1170)
kuhe Feb 27, 2024
3357fda
Version NPM packages
aws-smithy-automation Feb 27, 2024
8fd5196
Process sso-session names with config prefix separator (#1173)
trivikr Feb 27, 2024
beea449
Version NPM packages
aws-smithy-automation Feb 28, 2024
5c98400
fix: import _json function at call sites (#1174)
kuhe Feb 28, 2024
64cd9c8
chore: update smithy to 1.45.0 (#1172)
milesziemer Feb 28, 2024
eea7af7
fix(credential-provider-imds): credential expiration extension log me…
davecardwell Feb 29, 2024
3e30223
fix: use 9.0.1 for uuid (#1177)
kuhe Feb 29, 2024
e136eb9
chore(credential-provider-imds): export IMDS endpoint for v3 utils #5…
siddsriv Mar 6, 2024
a0eede1
Version NPM packages
aws-smithy-automation Mar 6, 2024
49640d6
fix: allow error deserializers to populate error response body (#1180)
kuhe Mar 7, 2024
43f3e1e
feat: encoders accept strings (#1176)
kuhe Mar 7, 2024
85a275d
Version NPM packages
aws-smithy-automation Mar 7, 2024
32e3f6f
fix(types): use SerdeFunctions type as serde plugin input, but call s…
kuhe Mar 7, 2024
9275e12
Version NPM packages
aws-smithy-automation Mar 7, 2024
511206e
reduce buffer copies (#867)
kuhe Mar 12, 2024
8e8f351
fix(util-base64): allow arrays to stand in for Uint8Array (runtime on…
kuhe Mar 12, 2024
199d9aa
Version NPM packages
aws-smithy-automation Mar 12, 2024
d929795
docs: add more information about BLOB values in structures (#1182)
kuhe Mar 12, 2024
50ee058
chore: update gradle version to 8.2.1 (#1186)
hpmellema Mar 13, 2024
9b911fb
chore: resolve smithy build warnings to reduce build noise (#1187)
hpmellema Mar 13, 2024
a489419
chore: update dependabot configuration to group gradle and github act…
hpmellema Mar 13, 2024
94e511f
chore: bulk upgrade of java dependencies (#1189)
hpmellema Mar 13, 2024
6d72e8c
chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#838)
dependabot[bot] Mar 13, 2024
b97c4f4
chore(deps): bump get-func-name from 2.0.0 to 2.0.2 (#968)
dependabot[bot] Mar 13, 2024
c67f715
chore(deps): bump ip from 2.0.0 to 2.0.1 (#1166)
dependabot[bot] Mar 13, 2024
470632b
chore(deps): bump aws-actions/configure-aws-credentials from 2 to 4 (…
dependabot[bot] Mar 13, 2024
b3877fa
chore(deps): bump actions/checkout from 3 to 4 (#1193)
dependabot[bot] Mar 13, 2024
ca65811
chore(deps): bump actions/setup-java from 3 to 4 (#1194)
dependabot[bot] Mar 13, 2024
50c41bf
chore(deps-dev): bump yarn from 1.22.10 to 1.22.22 (#1199)
dependabot[bot] Mar 13, 2024
ec65eb1
chore(deps): bump actions/setup-node from 3 to 4 (#1195)
dependabot[bot] Mar 13, 2024
9fd07df
chore(deps): bump gradle/wrapper-validation-action from 1 to 2 (#1196)
dependabot[bot] Mar 13, 2024
4a5fdf0
chore: apply smithy formatter to test model (#1204)
hpmellema Mar 13, 2024
38f9a61
chore: bulk upgrade npm dependencies (#1202)
hpmellema Mar 13, 2024
e78b263
chore: update to use new smithy gradle plugins (#1203)
hpmellema Mar 13, 2024
a90890d
chore: update gradle build script to use jreleaser for packaging and …
hpmellema Mar 13, 2024
9462d00
chore: add workflow to keep smithy gradle plugin up to date (#1207)
hpmellema Mar 14, 2024
661f1d6
feat: allow commands to be constructed without arg if all arg fields …
kuhe Mar 14, 2024
a53fe36
Version NPM packages
aws-smithy-automation Mar 14, 2024
ae49717
Add deprecation message in shape docs (#1209)
trivikr Mar 15, 2024
a17478e
Use map instead of isEmpty when writing shape docs (#1210)
trivikr Mar 15, 2024
ea953e1
Move documentation before release tag and deprecation (#1211)
trivikr Mar 15, 2024
47555d3
Move deprecation after description in docs (#1212)
trivikr Mar 15, 2024
2ae3d07
fix: empty the contents of the dependencyVersions.properties file whe…
kuhe Mar 18, 2024
e03a10a
chore: make consistent uuid version (#1215)
kuhe Mar 19, 2024
66f2b66
Bump codegen version to 0.20.0 (#1223)
milesziemer Mar 27, 2024
1a5332f
Version NPM packages
aws-smithy-automation Mar 29, 2024
3d9d603
update smithyVersion to 1.47.0 (#1225)
kuhe Apr 2, 2024
9961e59
feat: give SigV4 its own header formatter to avoid import of entire e…
kuhe Apr 4, 2024
cc54b8d
fix(middleware-endpoint): check for s3 arn parts (#1227)
bitIO Apr 4, 2024
928e995
Version NPM packages
aws-smithy-automation Apr 4, 2024
6e4f8d4
Bump codegen version to 0.20.1
AndrewFossAWS Apr 5, 2024
2e090d7
fix(signature-v4): uri escape path (#1224) (#1226)
zirkelc Apr 11, 2024
ef92c8a
Version NPM packages
aws-smithy-automation Apr 11, 2024
ca9cb13
Fix typo in `HttpResponse` docs (#958)
k35o Apr 11, 2024
cad7ae0
fix: check dependencies when adding imports (#1239)
kuhe Apr 12, 2024
2414695
Update Gradle build script dependencies (#1241)
syall Apr 12, 2024
2239905
chore(package.json): bump engines to node >= 16.0.0 (#1249)
trivikr Apr 30, 2024
de5c29a
Add service client doc generator only when typedoc is selected (#1253)
trivikr May 1, 2024
cb4d520
Add @tsconfig/node16 as a dependency (#1254)
trivikr May 1, 2024
5f817e9
Extend tsconfig from @tsconfig/node16 (#1255)
trivikr May 1, 2024
79162c1
Bump @types/node to 16.x (#1257)
trivikr May 1, 2024
671aa70
chore: update engines to node16 (#1258)
kuhe May 7, 2024
3500f34
feat: improve support for fetch and web-streams in Node.js (#1256)
kuhe May 8, 2024
fc3af97
Run Typescript Test CI on all supported Node versions (#1261)
syall May 8, 2024
7a7c84d
fix: type transforms account for no-args operation methods (#1262)
kuhe May 8, 2024
0ee4d33
Remove eslint prettier utilities (#1264)
trivikr May 9, 2024
74a4554
Bump prettier to 3.2.5 (#1265)
trivikr May 9, 2024
ebf55a3
Bump eslint to 8.57.0 (#1266)
trivikr May 9, 2024
5bafab6
Update CI to be more resilient (#1269)
syall May 9, 2024
269d358
Bump yarn to 3.8.2 (#1270)
trivikr May 9, 2024
3c9c07b
Bump jest to 29.x (#1271)
trivikr May 9, 2024
c110563
improve util-endpoints debug msg (#1268)
king4sam May 10, 2024
5060cde
Bump karma test dependencies (#1273)
trivikr May 10, 2024
e76e736
feat(node-http-handler): improve stream collection performance (#1272)
kuhe May 10, 2024
620e39b
Bump TypeScript to ~5.2.x in smithy JS packages (#1275)
trivikr May 10, 2024
534128e
Version NPM packages
aws-smithy-automation May 10, 2024
cc9fa00
fix(fetch-http-handler): set duplex on request when body present (#1279)
kuhe May 14, 2024
be063c6
Version NPM packages
aws-smithy-automation May 14, 2024
ab3a90f
chore(core): enable package exports in smithy/core (#1281)
kuhe May 21, 2024
128d35f
chore: update smithyVersion to 1.49.0 (#1285)
kuhe May 21, 2024
659a690
Bump codegen version to 0.21.0 (#1286)
sugmanue May 22, 2024
764047e
fix: serialize milliseconds for DateTime and EpochSeconds timestamp f…
kuhe May 29, 2024
1cdd3be
chore: add logging for CredentialsProviderError (#1290)
kuhe May 29, 2024
5c88174
Version NPM packages
aws-smithy-automation May 30, 2024
3689c94
fix(smithy-client): truncate timestamp at 000 millis (#1295)
kuhe May 30, 2024
63207bc
Version NPM packages
aws-smithy-automation May 30, 2024
f9c5008
fix(core): set module export fields (#1297)
siddsriv Jun 4, 2024
05b2fb2
Version NPM packages
aws-smithy-automation Jun 4, 2024
3798bc1
Export types with `export type` (#1284)
libre-man Jun 5, 2024
cf9d6fe
Bump codegen version to 0.21.1
kstich Jun 5, 2024
78cb9a8
Validate resolvedHost from httpRequestTests (#1300)
trivikr Jun 6, 2024
38da900
feat(types): add accountId to the credential identity interface (#1240)
siddsriv Jun 12, 2024
b137126
Version NPM packages
aws-smithy-automation Jun 12, 2024
3c23a83
chore: update @aws-crypto/* to 5.2.0 series (#1306)
kuhe Jun 13, 2024
d777776
Version NPM packages
aws-smithy-automation Jun 14, 2024
2ac8112
chore(deps): bump braces from 3.0.2 to 3.0.3 (#1303)
dependabot[bot] Jun 14, 2024
235f219
chore(deps): bump follow-redirects from 1.15.2 to 1.15.6 (#1208)
dependabot[bot] Jun 14, 2024
2b2e8e7
chore(deps): bump tar from 6.1.13 to 6.2.1 (#1238)
dependabot[bot] Jun 14, 2024
aec00b0
chore: update changeset cli version (#1307)
kuhe Jun 14, 2024
dddbe3c
Fix logic for deciding whether to write a default input body (#1304)
haydenbaker Jun 17, 2024
fedce37
fix(fetch-http-handler): move keepalive check to constructor (one-tim…
kuhe Jun 17, 2024
c210f78
Version NPM packages
aws-smithy-automation Jun 17, 2024
9ff2027
chore: reduce build output with debug flag, clean downlevel types fol…
kuhe Jun 17, 2024
c16e014
fix(node-http-handler): add logger option and clear timeout on errors…
kuhe Jun 18, 2024
c2a5595
chore: switch to platform AbortController & Signal implementations af…
kuhe Jun 18, 2024
1239f8d
Version NPM packages
aws-smithy-automation Jun 18, 2024
1d11480
fix(util-waiter): return stringified result object in case of failure…
trivikr Jun 20, 2024
b69b742
Version NPM packages
aws-smithy-automation Jun 21, 2024
4784fb9
Adding support for setting the fetch API credentials mode (#1317)
qnesingh Jun 27, 2024
d952a6a
Version NPM packages
aws-smithy-automation Jun 27, 2024
8654804
chore: update smithyVersion to 1.50.0 (#1320)
trivikr Jul 2, 2024
759bf43
feat: automatic idempotency tokens for header values (#1327)
kuhe Jul 3, 2024
f31cc5f
fix(http): remove AbortSignal event listeners when requests complete …
paulbrimicombe Jul 8, 2024
978b724
Version NPM packages
aws-smithy-automation Jul 8, 2024
d88521e
fix(shared-ini-file-loader): read config files from paths relative to…
Flackus Jul 9, 2024
35bf43f
Version NPM packages
aws-smithy-automation Jul 9, 2024
6aac850
chore(middleware-content-length): remove log statement in test (#1325)
syall Jul 10, 2024
796567d
chore(protocol-http): guidance for HttpRequest cloning (#1333)
kuhe Jul 12, 2024
ed4d2b0
feat(codegen): add set of builtin plugins (#1321)
syall Jul 15, 2024
ae8bf5c
Make sha256 required parameter for SigV4 constructor (#1335)
trivikr Jul 15, 2024
7cd258f
feat(util-stream): splitStream and headStream utilities (#1336)
kuhe Jul 15, 2024
53cd7ac
Version NPM packages
aws-smithy-automation Jul 15, 2024
11b9cd9
fix: exclude CustomEndpoints plugin from Endpoints 2.0 services (#1337)
kuhe Jul 15, 2024
ac1677e
add default endpoint to protocol test stub (#1338)
kuhe Jul 16, 2024
1cfe243
fix(util-stream): avoid compilation of type parameter in global Reada…
kuhe Jul 17, 2024
9d22987
Version NPM packages
aws-smithy-automation Jul 17, 2024
9624938
chore(middleware-apply-body-checksum): request copying with clone met…
syall Jul 18, 2024
86862ea
chore(protocol-http): switch to HttpRequest static clone method (#1345)
kuhe Jul 18, 2024
3d72b04
feat(credential-provider-imds): source accountId from IMDS (#1247)
siddsriv Jul 24, 2024
ab12d79
feat: omit endpoint params from generation in the client interface (#…
siddsriv Jul 24, 2024
4a40961
feat: add support for accountId in configValueProvider (#1252)
siddsriv Jul 24, 2024
e145ae7
Version NPM packages
aws-smithy-automation Jul 24, 2024
a7843ad
fix(event-streams): use member name as :event-type header value (#1349)
kuhe Jul 24, 2024
3ea4789
Initialize removeSignalEventListener as an empty function (#1351)
trivikr Jul 26, 2024
1e4e6ae
Version NPM packages
aws-smithy-automation Jul 26, 2024
c86fa19
Bump fast-xml-parser to 4.4.1 (#1353)
trivikr Jul 29, 2024
a40e1e9
feat(experimentalIdentityAndAuth): enable identity and auth by defaul…
kuhe Jul 30, 2024
052221a
Version NPM packages
aws-smithy-automation Jul 30, 2024
354d175
fix: use string join instead of templates (#1354)
kuhe Jul 30, 2024
dbed2af
fix: enforce consistent plugin additional parameter ordering (#1355)
kuhe Jul 31, 2024
670553a
chore(id-auth-sra): set command instance ref on smithy context (#1357)
kuhe Aug 1, 2024
efcbbf4
Version NPM packages
aws-smithy-automation Aug 1, 2024
ca9e649
Remove redundant getStaticContextParams function (#1359)
trivikr Aug 1, 2024
e77488b
Bump codegen version to 0.22.0 (#1361)
haydenbaker Aug 7, 2024
b352cc1
fix(eventstream-serde-universal): mark test code for exclusion (#1364)
kuhe Aug 7, 2024
7d4691c
Version NPM packages
aws-smithy-automation Aug 7, 2024
fa63800
Populate memberName as contextParams value (#1365)
trivikr Aug 12, 2024
5865b65
feat(cbor): add Smithy RPCv2 CBOR protocol generator (#1280)
kuhe Aug 16, 2024
4c692ae
Version NPM packages
aws-smithy-automation Aug 16, 2024
8b3d752
feat: add protocol resolution priority system (#1370)
kuhe Aug 19, 2024
77db9e7
Do not take protocol and port from custom Endpoint (#1374)
trivikr Aug 27, 2024
165e04a
Process String Array parameters in Endpoints (#1376)
trivikr Aug 27, 2024
2dad138
Add string array to EndpointParameters (#1358)
trivikr Aug 28, 2024
e94028b
Include ./dist/es in published ssdk package files to fix ESM entrypoi…
bmv437 Aug 28, 2024
a2bb933
Process Operation Context Params in Endpoints (#1379)
trivikr Aug 29, 2024
c8c53ae
fix(endpoints): resolve service-specific endpoint once per client (#1…
kuhe Sep 3, 2024
12d9afe
Use TypeScriptClientCodegenPlugin in tests (#1387)
trivikr Sep 5, 2024
9f3f2f5
fix(types): fix client type transforms (#1389)
kuhe Sep 5, 2024
c86a02c
feat(node-http-handler): defer socket event listener attachment (#1384)
kuhe Sep 5, 2024
1ff575c
feat(util-endpoint): add endpoint ruleset cache (#1385)
kuhe Sep 6, 2024
c3d0955
Fix 0.22.0 release date (#1390)
gosar Sep 6, 2024
b5c6241
Add docs to use updated TypeScript Codegen Plugins (#1388)
trivikr Sep 7, 2024
5510e83
fix(node-http-handler): call socket methods if socket is defined (#1392)
kuhe Sep 9, 2024
d8df7bf
feat(smithy-client): add handler cache (#1383)
kuhe Sep 9, 2024
f95b9c3
Version NPM packages
aws-smithy-automation Sep 9, 2024
3a0bf5d
fix(smithy-rpcv2-cbor): update @smithy/* package versions (#1394)
trivikr Sep 10, 2024
fc056f7
Bump codegen version to 0.23 (#1393)
sugmanue Sep 10, 2024
918c402
Use spread operator for Command endpoint params when necessary (#1396)
trivikr Sep 10, 2024
cf9257e
feat(fetch-http-handler): add customization option for requestInit (#…
kuhe Sep 12, 2024
65f2381
fix: use workspace package versions in protocol test codegen (#1399)
kuhe Sep 13, 2024
b2be4f3
Version NPM packages
aws-smithy-automation Sep 13, 2024
5306c73
feat: IDE type navigation assistance for command classes (#1373)
kuhe Sep 13, 2024
c0bbe8f
chore: ignore private packages when running changesets actions (#1401)
kuhe Sep 13, 2024
e7b438b
fix(types): add interface stub for RequestInit (#1403)
kuhe Sep 13, 2024
b12dc1d
Version NPM packages
aws-smithy-automation Sep 13, 2024
08fbedf
fix(node-http-handler): fix invalid usage of parsed url (#1408)
Defman Sep 20, 2024
71b163b
Version NPM packages
aws-smithy-automation Sep 20, 2024
0d5ab1d
fix(node-http-handler): omit setting cache setting on request init wh…
nicksrandall Sep 20, 2024
69a7e62
chore: update protocol test codegen output (#1410)
kuhe Sep 20, 2024
806cc7f
fix: sort query parameter keys after encoding (#1404)
r-izumida Sep 20, 2024
2406750
Version NPM packages
aws-smithy-automation Sep 20, 2024
64600d8
fix(codegen): allow empty string field values for headers (#1412)
siddsriv Sep 24, 2024
18dd957
fix(core): add compatibility redirect for submodule types (#1415)
kuhe Sep 24, 2024
35676e0
Version NPM packages
aws-smithy-automation Sep 24, 2024
dfb0664
chore: use lowercase headers in middleware-compression (#1416)
kuhe Sep 25, 2024
41a96d4
Bump codegen version to 0.24.0
kstich Sep 27, 2024
a4c1285
fix(signature-v4): add hoistable headers config (#1421)
kuhe Sep 30, 2024
8051551
Version NPM packages
aws-smithy-automation Sep 30, 2024
75e0125
fix(protocols): fix header serde, handle unset union payloads (#1417)
kuhe Oct 3, 2024
e8b99b1
Version NPM packages
aws-smithy-automation Oct 4, 2024
5c4370a
fix: skip streaming data for union check in readPayload (#1426)
kuhe Oct 4, 2024
84bec05
feat: allow feature identification on the smithy context (#1424)
kuhe Oct 7, 2024
205cefb
feat: recursively merge package.json scripts field from build configu…
kuhe Oct 7, 2024
72faecc
fix: add uuid types when adding uuid (#1428)
kuhe Oct 8, 2024
d07b0ab
chore: feature detection for gzip and endpoint override (#1429)
kuhe Oct 15, 2024
98d7424
chore: upgrade smithyVersion=1.51.0 (#1433)
kuhe Oct 16, 2024
536fb7f
chore: add default accepts header for rpcv2Cbor (#1427)
kuhe Oct 16, 2024
f4e0bd9
feat(util-stream): create checksum stream adapters (#1409)
kuhe Oct 17, 2024
c257049
feat(fetch-http-handler): improve performance, replace FileReader wit…
richarddd Oct 18, 2024
140751e
Upgrade smithyVersion=1.52.0 (#1434)
trivikr Oct 18, 2024
5de4524
Version NPM packages
aws-smithy-automation Oct 21, 2024
ccdd49f
fix(util-stream): add bundler metadata for the ChecksumStream file (#…
kuhe Oct 21, 2024
ef24835
Version NPM packages
aws-smithy-automation Oct 21, 2024
c8d257b
fix: allow blobs in Node.js splitStream fn (#1439)
kuhe Oct 23, 2024
cd1929b
test: convert tests to vitest (#1440)
kuhe Oct 30, 2024
0d9cee8
removes smithy-team from codeowners (#1442)
kuhe Nov 1, 2024
49958f2
feat: allow undefined when property optional for exactOptionalPropert…
kuhe Nov 12, 2024
c6ef519
fix: avoid self referencing import for external build transforms (#1453)
kuhe Nov 14, 2024
012775c
Version NPM packages
aws-smithy-automation Nov 14, 2024
fcd5ca8
fix: prevent infinite recursion with NoUndefined and RecursiveRequire…
gschwart Nov 14, 2024
7877c9e
Version NPM packages
aws-smithy-automation Nov 14, 2024
7f0bf78
Bump codegen version to 0.25.0 (#1456)
kuhe Nov 18, 2024
9c40f7b
fix(core): use unique symbol to indicate tags for cbor serialization …
kuhe Nov 21, 2024
430021a
Version NPM packages
aws-smithy-automation Nov 21, 2024
f4e1a45
fix(node-http-handler): skip sending body without waiting for a timeo…
bolt-juri-gavshin Nov 25, 2024
0bec374
Update README.md to use new logo (#1463)
hpmellema Nov 27, 2024
b52b4e8
add support for error cause in transient error checks (#1461)
jtmthf Dec 2, 2024
a257792
fix: binding the methods to the context (#1466)
massi-ang Dec 6, 2024
50d8c54
Version NPM packages
aws-smithy-automation Dec 9, 2024
8950c05
feat(util-waiter): aggregate observed responses in waiter response (#…
kuhe Dec 9, 2024
7c8345f
Version NPM packages
aws-smithy-automation Dec 9, 2024
70275bd
remove String extension in LazyJsonString (#1468)
kuhe Dec 9, 2024
ce56edf
Version NPM packages
aws-smithy-automation Dec 9, 2024
941cc0e
chore(codegen): resolve obj and array JS literals from JMESPath types…
siddsriv Dec 10, 2024
0480559
Process Map in function parameter list (#1472)
trivikr Dec 16, 2024
7fa6e5e
pass client config to loadNodeConfig calls (#1471)
kuhe Dec 17, 2024
e27d42d
fix for operationContextParam codegen (#1475)
kuhe Dec 19, 2024
7f17426
type-fix for LazyJsonString call interface (#1476)
kuhe Dec 19, 2024
35aad30
Version NPM packages
aws-smithy-automation Dec 19, 2024
5e73108
fix(node-http-handler): call socket.setTimeout instead of request.set…
kuhe Dec 23, 2024
d8446cf
Version NPM packages
aws-smithy-automation Dec 23, 2024
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
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
15 changes: 15 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["@aws-smithy/*"],
"privatePackages": {
"tag": false,
"version": false
}
}
File renamed without changes.
13 changes: 1 addition & 12 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,13 +1,2 @@
# The JS team owns everything by default
* @awslabs/aws-sdk-js-team
* @smithy-lang/aws-sdk-js-team

# These libraries are only intended for use with the SSDK.
smithy-typescript-ssdk-libs/* @awslabs/smithy

# These integs tests are mostly for the SSDK integrations
smithy-typescript-integ-tests/* @awslabs/smithy

# These are all specific to SSDK functionality.
smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/ServerCommandGenerator.java @awslabs/smithy
smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/ServerGenerator.java @awslabs/smithy
smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/ServerSymbolVisitor.java @awslabs/smithy
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@

*Description of changes:*

If one or more of the packages in the `/packages` directory has been modified, be sure `yarn changeset add` has been run and its output has
been committed and included in this pull request. See CONTRIBUTING.md.

---
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
43 changes: 43 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
version: 2
updates:
- package-ecosystem: "gradle"
# Look for `build.gradle.kts` file in the `root` directory
directory: "/"
# Check for updates every wednesday
schedule:
interval: "weekly"
day: "wednesday"
groups:
test-deps:
patterns:
- "org.junit.jupiter:*"
- "org.hamcrest:*"
# Ignore major version updates
update-types:
- "minor"
- "patch"
gradle-deps:
# Ignore major version updates
update-types:
- "minor"
- "patch"
open-pull-requests-limit: 10
- package-ecosystem: "npm"
# Look for `yarn.lock` file in the `root` directory
directory: "/"
# Check for updates every wednesday
schedule:
interval: "weekly"
day: "wednesday"
- package-ecosystem: "github-actions"
directory: "/"
# Check for updates every wednesday
schedule:
interval: "weekly"
day: "wednesday"
groups:
github:
# Ignore major version updates
update-types:
- "minor"
- "patch"
124 changes: 99 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,63 +8,137 @@ on:

jobs:
build:
runs-on: ubuntu-latest
name: Java ${{ matrix.java }}
runs-on: ${{ matrix.os }}
name: Java ${{ matrix.java }} ${{ matrix.os }}
strategy:
matrix:
java: [8, 11]
java: [17]
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
distribution: 'corretto'

- name: clean and build
run: ./gradlew clean build -Plog-tests

protocol-tests:
runs-on: ${{ matrix.os }}
name: Protocol Tests
strategy:
matrix:
java: [17]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- uses: actions/setup-node@v4
with:
node-version: 16
cache: "yarn"

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'corretto'

- name: clean and build
run: ./gradlew clean build -Plog-tests
- name: Install dependencies
run: yarn
- name: Build packages
run: yarn build
- name: Run protocol tests
run: yarn test:protocols

lint-typescript:
runs-on: ubuntu-latest
name: TypeScript Lint
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '14'
node-version: 16
cache: "yarn"
- name: Install dependencies
run: cd smithy-typescript-ssdk-libs && yarn
run: yarn
- name: Run eslint
run: cd smithy-typescript-ssdk-libs && yarn lint
run: yarn lint --concurrency=3

test-typescript:
runs-on: ubuntu-latest
name: TypeScript Test
runs-on: smithy-typescript_ubuntu-latest_8-core
name: TypeScript Test ${{ matrix.node }}
needs: ['ensure-typescript-packages-have-changesets', 'lint-typescript', 'ensure-typescript-formatted']
strategy:
fail-fast: false
matrix:
node: [16, 18, 20, 22]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '14'
node-version: ${{ matrix.node }}
cache: "yarn"
- uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
- name: Install dependencies
run: cd smithy-typescript-ssdk-libs && yarn
- name: Run tests
run: cd smithy-typescript-ssdk-libs && yarn test
run: yarn
- name: Build packages
run: yarn build
- name: Run unit tests
run: yarn test
- name: Run integration tests
run: |
yarn config set enableImmutableInstalls false
yarn test:integration

ensure-typescript-formatted:
runs-on: ubuntu-latest
name: Ensure TypeScript is formatted
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '14'
node-version: 16
cache: "yarn"
- name: Install dependencies
run: cd smithy-typescript-ssdk-libs && yarn
run: yarn
- name: Run the code formatter
run: cd smithy-typescript-ssdk-libs && yarn format
run: yarn format
# This checks the output of git diff. If it's not empty (i.e there were
# changes) it'll return a non-zero error code.
- name: Ensure there are no changes from running the formatter
run: test -z "$(git diff)"
run: |
git diff
test -z "$(git diff)"

ensure-typescript-packages-have-changesets:
runs-on: ubuntu-latest
name: Ensure TypeScript packages have changesets
steps:
- uses: actions/checkout@v4
# Include full git history needed for `yarn changeset status`
with:
ref: ${{github.event.pull_request.head.sha}}
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 16
cache: "yarn"
- name: Install
run: yarn
- name: Ensure changesets exist for each changed package
run: yarn changeset status --since=origin/main
70 changes: 70 additions & 0 deletions .github/workflows/release-npm-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: release-npm-packages

on:
workflow_dispatch: # on button click

jobs:
release:
name: Release TypeScript packages to NPM
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{secrets.PUSH_TOKEN}}
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Version
id: version
run: |
yarn changeset version
echo "porcelain=$(git status --porcelain | wc -l)" >> $GITHUB_OUTPUT
- name: Configure AWS Credentials
id: credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-west-2
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
role-session-name: SmithyTypeScriptGitHubRelease
audience: sts.amazonaws.com
- name: Commit
id: commit
if: steps.version.outputs.porcelain != '0'
run: |
git config --global user.email "[email protected]"
git config --global user.name "Smithy Automation"
git add .
git commit -m 'Version NPM packages'
git push
- name: Fetch NPM token
id: token
if: steps.commit.outcome == 'success'
run: |
aws configure --profile token set role_arn ${{ secrets.TOKEN_ROLE }}
aws configure --profile token set credential_source Environment
npm_token=$(aws secretsmanager get-secret-value --region us-west-2 --secret-id=SMITHY_PUBLISH_npmToken --query SecretString --output text --profile token)
echo "::add-mask::$npm_token"
echo "NPM_TOKEN=$npm_token" >> $GITHUB_ENV
- name: Stage Release
id: stage
if: steps.token.outcome == 'success'
run: |
yarn stage-release --concurrency=1
- name: Release
id: release
uses: changesets/action@v1
if: steps.stage.outcome == 'success'
with:
publish: yarn release
env:
NPM_TOKEN: ${{ env.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Failure Nofitication
if: ${{ failure() }}
run: aws cloudwatch put-metric-data --namespace SmithyTypeScriptPublish --metric-name NpmPackagePublishFailure --value 1
53 changes: 53 additions & 0 deletions .github/workflows/release-npm-ssdk-libs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: release-npm-ssdk-libs

on:
workflow_dispatch: # on button click

jobs:
release:
name: Release to SSDK lib packages to NPM
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Configure AWS Credentials
id: credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-west-2
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
role-session-name: SmithyTypeScriptGitHubRelease
audience: sts.amazonaws.com
- name: Fetch NPM token
id: token
run: |
aws configure --profile token set role_arn ${{ secrets.TOKEN_ROLE }}
aws configure --profile token set credential_source Environment
npm_token=$(aws secretsmanager get-secret-value --region us-west-2 --secret-id=SMITHY_PUBLISH_npmToken --query SecretString --output text --profile token)
echo "::add-mask::$npm_token"
echo "NPM_TOKEN=$npm_token" >> $GITHUB_ENV
- name: Stage Release
id: stage
if: steps.token.outcome == 'success'
run: |
yarn stage-release --concurrency=1
- name: Release
id: release
uses: changesets/action@v1
if: steps.stage.outcome == 'success'
with:
publish: yarn release
env:
NPM_TOKEN: ${{ env.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Failure Nofitication
if: ${{ failure() }}
run: aws cloudwatch put-metric-data --namespace SmithyTypeScriptPublish --metric-name NpmPackagePublishFailure --value 1
Loading