Commit Graph

439 Commits

Author SHA1 Message Date
7dcf3d3a2e
upgrade to nominated zig 2024.3.0-mach (0.12.0-dev.3180+83e578a18)
Some checks failed
aws-zig mach nominated build / build-zig-nightly (push) Failing after 28m36s
aws-zig nightly build / build-zig-nightly (push) Failing after 57s
There were significant changes to the way HTTP operates since 0.11,
effecting client operations, but more substantially, the server
implementation, which effected the test harness.

std.http.Headers was removed, including the getFirstValue function, which
needed to be replicated. On the plus side, a std.http.Header struct was
added, identical to our own structure, so I have removed out own header
in favor of stdlib.

On the Http client side, I have switched to use the fetch API. Proxy
support is built in, but we are using (mostly) our own implementation
for now, with the remaining conversion left as a TODO item. Raw URIs are
now supported, so the workaround for issue 17015 has been removed. Large
payloads should also be fixed, but this has not been tested.

The standard library now adds the content-length header
(unconditionally), which is a decision of dubious nature. I have removed
the addition of content-length, which also means it is not present
during signing. This should be allowed.

Dependency loop on fieldTransformer was fixed. This should have been
a problem on zig 0.11, but was not. This effected the API for the json
parsing, but we were not using that. At the call site, these did not
need to be specified as references.

With the http server no longer doing all the allocations it once was,
the test harness now has a lot more allocations to perform. To alleviate
the bookeeping, this was moved to an Arena allocator. The client,
which is really what is under test, continues to use the allocator
passed.
2024-04-02 09:27:42 -07:00
d442671275
upgrade zig build gen build command to zig 0.12
This removes the copied Package.zig as we can now use the actual package
manager and look at our available dependencies in build.zig. This may
break again later as I believe lazy dependencies are planned, which will
have us search for a solution to tell the build system we're expecting
this dependency.
2024-03-30 15:26:24 -07:00
213627c305
update README to latest zig nominated 2024-03-30 08:25:50 -07:00
47ab9f6064
update service list, add S3 back 2024-03-30 08:25:21 -07:00
866a89d8ae
add sudo to actions 2024-03-30 08:17:59 -07:00
b8df9e3610
attempt to address github action complaints 2024-03-30 08:17:59 -07:00
d1d0b294d7
seperate github workflows 2024-03-30 08:17:58 -07:00
8a80cbda4a
Action incompatibility across gitea/github makes this a bit too tough rn 2024-03-30 08:17:57 -07:00
444173afd2
rename jobs 2024-03-30 08:17:56 -07:00
b6cdb6f7a7
move workflow actions to .github for use on both platforms 2024-03-30 08:17:56 -07:00
f7106d0904
add nightly, with versioning 2024-03-30 08:17:55 -07:00
3f5e49662f
start a 0.12 branch 2024-03-30 08:17:40 -07:00
6df02b1074
switch sqs query test (json) with sts query test (xml) and fix response parsing
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 5m22s
2024-02-29 20:41:03 -08:00
55298f7575
skip sqs, which changed from query to json protocol, and update S3 test
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m18s
2024-02-29 16:59:10 -08:00
298f895bfe
update aws models to 2024-02-28 release
Some checks failed
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 4m39s
2024-02-29 13:54:50 -08:00
79d73cf09f
support for enum, document, and...dear lord...unit 2024-02-29 13:53:32 -08:00
3a027b6cd9
codegen support for more reserved words 2024-02-29 13:49:57 -08:00
69d8151ac8
make sigv4_name and arn_namespace optional 2024-02-29 13:49:21 -08:00
2db4188dbc
more logging to help codegen debug 2024-02-29 13:46:58 -08:00
2c9a80e363
update snake case to handle space followed by single character at end of string 2024-02-29 13:43:48 -08:00
d06c8da3bb
update README - S3 support seems more there than not rn 2024-02-29 08:18:14 -08:00
e46a008bc5
update service list
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m32s
2024-02-24 09:50:30 -08:00
31324c7e83
support for server verification of clients that do not pass x-amz-content-sha256
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 5m17s
2024-02-24 09:43:36 -08:00
ed48901c92
update service list - getting close
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m22s
2024-02-22 12:16:41 -08:00
7e3796d416
update service list
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m21s
2024-02-16 08:35:24 -08:00
69da301de2
ec2 gets tls 1.3
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m56s
2024-02-07 07:21:09 -08:00
7f80ae45f0
update TLS 1.2-only service list
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m54s
2024-01-31 11:15:14 -08:00
dd1d86476c
update service list
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m4s
2024-01-27 11:46:27 -08:00
888f763bbe
update service list
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 3m52s
2024-01-23 16:37:02 -08:00
fcf456137f
exclude zig-develop* branches from main build CI
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m46s
2024-01-22 14:27:45 -08:00
a5929c2d5e
Merge pull request #2 from melhindi/replace_var_with_const
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 4m24s
Replace var with const where applicable - this passes all tests on v0.11
2024-01-22 10:36:23 -08:00
melhindi
7a5fa0bb2e Replace var with const where applicable
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m37s
2024-01-18 13:43:45 +01:00
645cc1d7ca
update README to reflect good/bad/ugly on TLS 1.3 support
Some checks failed
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Has been cancelled
2024-01-09 15:43:46 -08:00
14666da73f
clean up build (includes two fixes for arm 32 bit)
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 5m38s
2024-01-09 15:22:03 -08:00
90e690ffc2
add package publish step
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 8m55s
2024-01-08 14:53:48 -08:00
69535b20d0
actions runs expire, use generic package instead 2024-01-08 14:45:49 -08:00
c0cfe8ba51
significant progress made, so removing "services with support" section
Some checks failed
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Failing after 8m28s
2024-01-08 13:45:23 -08:00
2d7f20a9b1
update services list 2024-01-08 13:43:07 -08:00
d08d0f338f
Using ".?" actually causes a panic, which we do not want in this path
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m20s
NOTE: This only fixes the top level Authorization header. A malformed
header can still cause havoc
2023-10-25 00:00:11 -07:00
825d93720a
add verifiyServerRequest/change verify to WASM-friendly type
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 8m20s
2023-10-22 10:25:07 -07:00
ed96e2ff66
support for >16KiB requests
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m44s
2023-10-21 10:20:09 -07:00
de914ccedf
update dependency in example
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 6m59s
2023-09-15 09:35:14 -07:00
db19041b96
fix memory leak when AWS_ENDPOINT_URL is used
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m4s
2023-09-15 09:05:53 -07:00
5d13b48da6
adjust modules
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 9m27s
2023-09-14 15:11:03 -07:00
f8b6b3e521
make aws_signing module ready 2023-09-14 14:06:35 -07:00
4e4920e782
add dependency tree 2023-09-14 14:05:35 -07:00
ab38d4c71e
update service list 2023-09-14 14:05:12 -07:00
ff1e6f4cf3
aws_signing: provide signing verification based on a server http request
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m41s
2023-09-08 21:45:36 -07:00
0e48c6f79b
clean up test logging/add header logging in test 2023-09-08 21:43:20 -07:00
6ae8b68786
allow static signing iime in aws.zig/use static time for testing 2023-09-08 21:42:38 -07:00