16 Commits
Author SHA1 Message Date
Cory Benfield 86458a336b Update BoringSSL to 8eb25be6fa18d475291122887a7bccd3762ff236 (#607)
As a standard pattern, the vendoring script needed some changes, as did
our internal code.

The biggest change here is that BoringSSL has changed its name mangling
scheme. This causes us to no longer need to explicitly write the prefix
out anymore: in fact, doing that causes compiler errors. So this patch
rewrites the code to resolve that issue.

Along the way, I've also added some checks for making sure the name
mangling is correct.
2026-10-09 17:19:47 +00:00
Rafael Cepeda 73f8803df4 Enable x25519_MLKEM768 by default (#582)
Default `TLSConfiguration.curves` is now [`.x25519_MLKEM768`, `.x25519`,
`.secp384r1`], enabling post-quantum hybrid key exchange out of the box.
Users can still set curves to nil to fall back to BoringSSL's built-in
curve list, or override with any custom set.

Updated `quantum-secure-tls.md` to reflect that PQ is enabled by default
and document how to customise or disable it.
2026-06-01 17:24:41 +01:00
Rick Newton-RogersandGeorge Barnett 3f337058cc Drop Swift 6.0 (#576)
Motivation:

Swift 6.0 is no longer supported, we should bump the tools version and
remove it from our CI.

Modifications:

* Bump the Swift tools version to Swift 6.1
* Remove Swift 6.0 jobs where appropriate in main.yml, pull_request.yml

Result:

Code reflects our support window.

---------

Co-authored-by: George Barnett <gbarnett@apple.com>
2026-04-07 12:07:47 +00:00
Rick Newton-Rogers fad35ae01f Enable Swift 6.3 jobs in CI (#574)
Motivation:

Swift 6.3 has been released, we should add it to our CI coverage.

Modifications:

Add additional Swift 6.3 jobs where appropriate in main.yml,
pull_request.yml

Result:

Improved test coverage.
2026-04-01 15:34:34 +01:00
Rick Newton-Rogers 0d3c933ee2 switch from main to 0.0.7 for swiftlang workflows (#570)
Motivation

* `@main` references to `swiftlang/github-workflows` are deprecated.

Modifications

* Replace `@main` with `@0.0.7` in all workflow files.
* Update benchmark thresholds so CI passes. These seemed to have the
wrong filenames so I'm not sure how it ever worked.
* Add tolerance to benchmarks in line with NIO

Result

* Workflow files reference a pinned version of
`swiftlang/github-workflows`.
2026-02-27 14:11:55 +00:00
Rick Newton-Rogers b2b043a881 Enable Swift 6.2 jobs in CI (#558)
Motivation:

Swift 6.2 has been released, we should add it to our CI coverage.

Modifications:

Add additional Swift 6.2 jobs where appropriate in main.yml,
pull_request.yml

Result:

Improved test coverage.
2025-09-22 12:45:52 +00:00
George Barnett f76bfe9041 Remove per-benchmark wiggle room (#546)
Motivation:

The benchmarks have a 2000 alloc wiggle room defined at the per-test
level. It's not obvious why this is there as the numbers seem stable.
Their presence allows for improvements/regressions to go unnoticed which
isn't good.

Modifications:

- Remove the wiggle room
- Rename the benchmark target from NIOSSHBenchmarks to NIOSSLBenchmarks

Result:

Easier to catch regressions/improvements
2025-07-04 13:21:19 +01:00
Rick Newton-Rogers 4b38f35946 Drop Swift 5.9 (#536)
Motivation:

Swift 5.9 is no longer supported, we should bump the tools version and
remove it from our CI.

Modifications:

* Bump the Swift tools version to Swift 5.10
* Remove Swift 5.9 jobs where appropriate in main.yml, pull_request.yml

Result:

Code reflects our support window.
2025-05-05 12:13:41 +01:00
Cory BenfieldandGeorge Barnett 5bedffa3ae Lock in strict concurrency adoption (#530)
Co-authored-by: George Barnett <gbarnett@apple.com>
2025-04-11 16:42:10 +01:00
Cory Benfield 1c130a82a7 Clean up Sendability errors in pipelines and promises (#524) 2025-04-11 08:59:11 +00:00
Honza Dvorsky f5a8495acd Update the allocations count benchmark threshold for nightly-main (#514)
## Summary

Allocations regressed by 3 around Feb 2, 2025. While that's being
investigated, let's get CI back to green by bumping the threshold
temporarily.

## Test Plan

CI should pass again.
2025-03-10 13:25:27 +00:00
Rick Newton-Rogers abde2d8a6c Delete Thresholds/nightly-6.1 symlink (#512)
Following on from https://github.com/apple/swift-nio-ssl/pull/511 delete
`Thresholds/nightly-6.1` which is no longer needed now that the shared
benchmarks workflow has been updated
2025-03-07 12:10:51 +00:00
Rick Newton-Rogers ad730525ec move nightly-next thresholds and add legacy symlink (#511)
Move nightly-next thresholds and add legacy symlink; see
https://github.com/apple/swift-nio/pull/3122
2025-03-03 15:42:59 +00:00
Rick Newton-Rogers d137b0c229 update benchmark thresholds to nightly 6.1 (#505) 2025-01-30 14:38:30 +00:00
Cory Benfield 3ee8d53556 Update BoringSSL to 059585c8dadc7c8170c788f8c89843ee1c5b8f11 (#495) 2024-11-28 16:10:21 +00:00
Rick Newton-Rogers 75e5a978e8 Switch allocation benchmarks to GHA (#488)
### Motivation:

This will allow us to decommission the old CI hooks.

### Modifications:

* Migrate the existing tests to use the package-benchmark framework.
* Delete the obsolete integration tests
* Remove allocations test references from the docker files.

### Result:

Allocation counts are checked using GitHub Actions.
2024-10-25 16:17:41 +01:00