Skip to content

Conversation

@ssestak
Copy link
Contributor

@ssestak ssestak commented Jan 8, 2026

This PR updates the macOS CI/CD workflows to newer macOS versions and bumps the Swift tools version. It also streamlines the workflow configurations and removes a redundant package definition file.

Key Features

  • Updated macOS CI/CD workflow files and their runs-on environments.
  • Upgraded actions/checkout to version v4 in CI workflows.
  • Removed explicit Xcode setup in workflows, relying on default runner environment.
  • Updated Swift tools version to 5.5 in Package.swift.
  • Deleted the Package @swift-5.5.swift file, which was a duplicate.

Workflow Changes

Old Workflow File New Workflow File Old runs-on New runs-on
.github/workflows/macos-10.15.yml .github/workflows/macos-14.yml macos-10.15 macos-14
.github/workflows/macos-11.yml .github/workflows/macos-15.yml macos-11 macos-15

Šimon Šesták added 4 commits January 7, 2026 15:25
Migrate workflows to use macOS 14 and 15 runners, update actions/checkout to v4, and remove redundant Xcode setup.
The project can now use a single Package.swift for both building and DocC generation by updating the tools version to 5.5.
…ware

- Remove hard dependency on FTNetworkTracer package
- Introduce NetworkObserver protocol with type-safe associated Context
- Support array of middlewares for multiple observers
- Zero overhead when no observers configured (empty array = no work)
- Use RequestToken pattern for type erasure while preserving type safety

Breaking change: `networkTracer: FTNetworkTracer?` replaced with
`networkObservers: [any NetworkObserver]`
Explicitly document that `didReceiveResponse` is always invoked with raw data, and `didFail` is an additional callback for errors occurring after the response is received. Update tests to assert this behavior.
@ssestak ssestak marked this pull request as ready for review January 26, 2026 09:54
…observer-middleware

 Replace FTNetworkTracer with observer middleware
@ssestak ssestak merged commit 853f321 into feature/Add-support-of-FTNetworkTracer Jan 26, 2026
@ssestak ssestak deleted the housekeep/Update-CI-tests branch January 26, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants