Skip to content

Commit a7286c6

Browse files
committed
update minimum swift version to 6.2, add migration guide, update README
1 parent 1d42ea6 commit a7286c6

6 files changed

Lines changed: 18 additions & 15 deletions

File tree

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [pull_request]
55
jobs:
66
codecov:
77
container:
8-
image: swift:6.2
8+
image: swift:6.3
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v5

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
container:
12-
image: swift:6.2
12+
image: swift:6.3
1313

1414
steps:
1515
- uses: actions/checkout@v5

.github/workflows/tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
image:
16-
- swift:6.1-focal
17-
- swift:6.1-jammy
18-
- swift:6.1-noble
1916
- swift:6.2-jammy
2017
- swift:6.2-noble
2118
- swift:6.3-jammy

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.1
1+
// swift-tools-version: 6.2
22

33
import PackageDescription
44

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ versions and key features are supported by which OpenAPIKit versions.
1616

1717
| OpenAPIKit | Swift | OpenAPI v3.0, v3.1 | OpenAPI v3.2 | Package Traits |
1818
|------------|-------|--------------------|--------------|----------------|
19-
| v4.x | 5.8+ || | |
2019
| v5.x | 5.10+ ||| |
2120
| v6.x | 6.1+ ||||
21+
| v7.x | 6.2+ ||||
2222

2323
- [Usage](#usage)
2424
- [Migration](#migration)
2525
- [Older Versions](#older-versions)
26-
- [3.x to 4.x](#3x-to-4x)
2726
- [4.x to 5.x](#4x-to-5x)
2827
- [5.x to 6.x](#5x-to-6x)
28+
- [6.x to 7.x](#6x-to-7x)
2929
- [Decoding OpenAPI Documents](#decoding-openapi-documents)
3030
- [Decoding Errors](#decoding-errors)
3131
- [Encoding OpenAPI Documents](#encoding-openapi-documents)
@@ -58,13 +58,7 @@ versions and key features are supported by which OpenAPIKit versions.
5858
#### Older Versions
5959
- [`1.x` to `2.x`](./documentation/migration_guides/v2_migration_guide.md)
6060
- [`2.x` to `3.x`](./documentation/migration_guides/v3_migration_guide.md)
61-
62-
#### 3.x to 4.x
63-
If you are migrating from OpenAPIKit 3.x to OpenAPIKit 4.x, check out the
64-
[v4 migration guide](./documentation/migration_guides/v4_migration_guide.md).
65-
66-
Be aware of the changes to minimum Swift version and minimum Yams version
67-
(although Yams is only a test dependency of OpenAPIKit).
61+
- [`3.x` to `4.x`](./documentation/migration_guides/v4_migration_guide.md)
6862

6963
#### 4.x to 5.x
7064
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
7872

7973
Be aware of the change to minimum Swift version, now Swift 6.1.
8074

75+
#### 6.x to 7.x
76+
If you are migrating from OpenAPIKit 6.x to OpenAPIKit 7.x, check out the
77+
[v7 migration guide](./documentation/migration_guides/v7_migration_guide.md).
78+
79+
Be aware of the change to minimum Swift version, now Swift 6.2.
80+
8181
### Decoding OpenAPI Documents
8282

8383
Most documentation will focus on what it looks like to work with the
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## OpenAPIKit v7 Migration Guide
2+
3+
OpenAPIKit v7 introduces no breaking code changes (yet).
4+
5+
The minimum Swift version has increased to Swift 6.2.
6+

0 commit comments

Comments
 (0)