diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 709425554..763c4eb0a 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -5,7 +5,7 @@ on: [pull_request] jobs: codecov: container: - image: swift:6.2 + image: swift:6.3 runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 63c93712a..d0eefbe6c 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest container: - image: swift:6.2 + image: swift:6.3 steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 96afb32b3..0e22960f7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,9 +13,6 @@ jobs: fail-fast: false matrix: image: - - swift:6.1-focal - - swift:6.1-jammy - - swift:6.1-noble - swift:6.2-jammy - swift:6.2-noble - swift:6.3-jammy diff --git a/Package.swift b/Package.swift index 7db02f0f0..1d8deab5a 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 6.1 +// swift-tools-version: 6.2 import PackageDescription diff --git a/README.md b/README.md index f3555d681..25bc20bfb 100644 --- a/README.md +++ b/README.md @@ -16,16 +16,16 @@ versions and key features are supported by which OpenAPIKit versions. | OpenAPIKit | Swift | OpenAPI v3.0, v3.1 | OpenAPI v3.2 | Package Traits | |------------|-------|--------------------|--------------|----------------| -| v4.x | 5.8+ | ✅ | | | | v5.x | 5.10+ | ✅ | ✅ | | | v6.x | 6.1+ | ✅ | ✅ | ✅ | +| v7.x | 6.2+ | ✅ | ✅ | ✅ | - [Usage](#usage) - [Migration](#migration) - [Older Versions](#older-versions) - - [3.x to 4.x](#3x-to-4x) - [4.x to 5.x](#4x-to-5x) - [5.x to 6.x](#5x-to-6x) + - [6.x to 7.x](#6x-to-7x) - [Decoding OpenAPI Documents](#decoding-openapi-documents) - [Decoding Errors](#decoding-errors) - [Encoding OpenAPI Documents](#encoding-openapi-documents) @@ -58,13 +58,7 @@ versions and key features are supported by which OpenAPIKit versions. #### Older Versions - [`1.x` to `2.x`](./documentation/migration_guides/v2_migration_guide.md) - [`2.x` to `3.x`](./documentation/migration_guides/v3_migration_guide.md) - -#### 3.x to 4.x -If you are migrating from OpenAPIKit 3.x to OpenAPIKit 4.x, check out the -[v4 migration guide](./documentation/migration_guides/v4_migration_guide.md). - -Be aware of the changes to minimum Swift version and minimum Yams version -(although Yams is only a test dependency of OpenAPIKit). +- [`3.x` to `4.x`](./documentation/migration_guides/v4_migration_guide.md) #### 4.x to 5.x If you are migrating from OpenAPIKit 4.x to OpenAPIKit 5.x, check out the @@ -78,6 +72,12 @@ If you are migrating from OpenAPIKit 5.x to OpenAPIKit 6.x, check out the Be aware of the change to minimum Swift version, now Swift 6.1. +#### 6.x to 7.x +If you are migrating from OpenAPIKit 6.x to OpenAPIKit 7.x, check out the +[v7 migration guide](./documentation/migration_guides/v7_migration_guide.md). + +Be aware of the change to minimum Swift version, now Swift 6.2. + ### Decoding OpenAPI Documents Most documentation will focus on what it looks like to work with the diff --git a/documentation/migration_guides/v7_migration_guide.md b/documentation/migration_guides/v7_migration_guide.md new file mode 100644 index 000000000..478f82537 --- /dev/null +++ b/documentation/migration_guides/v7_migration_guide.md @@ -0,0 +1,6 @@ +## OpenAPIKit v7 Migration Guide + +OpenAPIKit v7 introduces no breaking code changes (yet). + +The minimum Swift version has increased to Swift 6.2. +