|
1 |
| -CHANGELOG |
2 |
| -========= |
| 1 | +# CHANGELOG |
3 | 2 |
|
4 | 3 | _**Note:** This is in reverse chronological order, so newer entries are added to the top._
|
5 | 4 |
|
@@ -58,6 +57,8 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
|
58 | 57 |
|
59 | 58 | ## Swift 5.7
|
60 | 59 |
|
| 60 | +### 2022-09-12 (Xcode 14.0) |
| 61 | + |
61 | 62 | * [SE-0327][]:
|
62 | 63 |
|
63 | 64 | There are a few notable changes in Swift 5.7 with respect to SE-0327.
|
@@ -172,6 +173,7 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
|
172 | 173 | `String`, `Regex` and arbitrary `Collection` types.
|
173 | 174 |
|
174 | 175 | * [SE-0329][]:
|
| 176 | + |
175 | 177 | New types representing time and clocks were introduced. This includes a protocol `Clock` defining clocks which allow for defining a concept of now and a way to wake up after a given instant. Additionally a new protocol `InstantProtocol` for defining instants in time was added. Furthermore a new protocol `DurationProtocol` was added to define an elapsed duration between two given `InstantProtocol` types. Most commonly the `Clock` types for general use are the `SuspendingClock` and `ContinuousClock` which represent the most fundamental clocks for the system. The `SuspendingClock` type does not progress while the machine is suspended whereas the `ContinuousClock` progresses no matter the state of the machine.
|
176 | 178 |
|
177 | 179 | ```swift
|
@@ -643,8 +645,7 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
|
643 | 645 | }
|
644 | 646 | ```
|
645 | 647 |
|
646 |
| -Swift 5.6 |
647 |
| ---------- |
| 648 | +## Swift 5.6 |
648 | 649 |
|
649 | 650 | ### 2022-03-14 (Xcode 13.3)
|
650 | 651 |
|
@@ -876,8 +877,7 @@ Swift 5.6
|
876 | 877 | }
|
877 | 878 | ```
|
878 | 879 |
|
879 |
| -Swift 5.5 |
880 |
| ---------- |
| 880 | +## Swift 5.5 |
881 | 881 |
|
882 | 882 | ### 2021-09-20 (Xcode 13.0)
|
883 | 883 |
|
@@ -1294,8 +1294,7 @@ Swift 5.5
|
1294 | 1294 | Asynchronous for loops use asynchronous sequences, defined by the protocol
|
1295 | 1295 | `AsyncSequence` and its corresponding `AsyncIterator`.
|
1296 | 1296 |
|
1297 |
| -Swift 5.4 |
1298 |
| ---------- |
| 1297 | +## Swift 5.4 |
1299 | 1298 |
|
1300 | 1299 | ### 2021-04-26 (Xcode 12.5)
|
1301 | 1300 |
|
@@ -1460,8 +1459,7 @@ Swift 5.4
|
1460 | 1459 | let _: Foo? = .bar.anotherFoo.getFoo().optionalFoo?.optionalFoo![]
|
1461 | 1460 | ```
|
1462 | 1461 |
|
1463 |
| -Swift 5.3 |
1464 |
| ---------- |
| 1462 | +## Swift 5.3 |
1465 | 1463 |
|
1466 | 1464 | ### 2020-09-16 (Xcode 12.0)
|
1467 | 1465 |
|
@@ -1681,8 +1679,7 @@ Swift 5.3
|
1681 | 1679 | closure's capture list in addition to the existing 'use `self.` explicitly'
|
1682 | 1680 | fix-it.
|
1683 | 1681 |
|
1684 |
| -Swift 5.2 |
1685 |
| ---------- |
| 1682 | +## Swift 5.2 |
1686 | 1683 |
|
1687 | 1684 | ### 2020-03-24 (Xcode 11.4)
|
1688 | 1685 |
|
@@ -1878,8 +1875,7 @@ Swift 5.2
|
1878 | 1875 | print(s[0])
|
1879 | 1876 | ```
|
1880 | 1877 |
|
1881 |
| -Swift 5.1 |
1882 |
| ---------- |
| 1878 | +## Swift 5.1 |
1883 | 1879 |
|
1884 | 1880 | ### 2019-09-20 (Xcode 11.0)
|
1885 | 1881 |
|
@@ -2118,8 +2114,7 @@ Swift 5.1
|
2118 | 2114 | `Array` and `ContiguousArray` now have `init(unsafeUninitializedCapacity:initializingWith:)`,
|
2119 | 2115 | which provides access to the array's uninitialized storage.
|
2120 | 2116 |
|
2121 |
| -Swift 5.0 |
2122 |
| ---------- |
| 2117 | +## Swift 5.0 |
2123 | 2118 |
|
2124 | 2119 | ### 2019-03-25 (Xcode 10.2)
|
2125 | 2120 |
|
@@ -2383,8 +2378,7 @@ Swift 5.0
|
2383 | 2378 | }
|
2384 | 2379 | ```
|
2385 | 2380 |
|
2386 |
| -Swift 4.2 |
2387 |
| ---------- |
| 2381 | +## Swift 4.2 |
2388 | 2382 |
|
2389 | 2383 | ### 2018-09-17 (Xcode 10.0)
|
2390 | 2384 |
|
@@ -2632,8 +2626,7 @@ Swift 4.2
|
2632 | 2626 | conditionally conforms to `P`, will succeed when the conditional
|
2633 | 2627 | requirements are met.
|
2634 | 2628 |
|
2635 |
| -Swift 4.1 |
2636 |
| ---------- |
| 2629 | +## Swift 4.1 |
2637 | 2630 |
|
2638 | 2631 | ### 2018-03-29 (Xcode 9.3)
|
2639 | 2632 |
|
@@ -2779,8 +2772,7 @@ Swift 4.1
|
2779 | 2772 |
|
2780 | 2773 | If you wish to provide your own implementation of `==`/`hashValue`, you still can; a custom implementation will replace the one synthesized by the compiler.
|
2781 | 2774 |
|
2782 |
| -Swift 4.0 |
2783 |
| ---------- |
| 2775 | +## Swift 4.0 |
2784 | 2776 |
|
2785 | 2777 | ### 2017-09-19 (Xcode 9.0)
|
2786 | 2778 |
|
@@ -3068,8 +3060,7 @@ Swift 4.0
|
3068 | 3060 | #define LIMITED (SMALL || TINY) // now imported as Bool.
|
3069 | 3061 | ```
|
3070 | 3062 |
|
3071 |
| -Swift 3.1 |
3072 |
| ---------- |
| 3063 | +## Swift 3.1 |
3073 | 3064 |
|
3074 | 3065 | ### 2017-03-27 (Xcode 8.3)
|
3075 | 3066 |
|
@@ -3197,8 +3188,7 @@ Swift 3.1
|
3197 | 3188 | subsequence after dropping the longest subsequence satisfying a
|
3198 | 3189 | predicate.
|
3199 | 3190 |
|
3200 |
| -Swift 3.0 |
3201 |
| ---------- |
| 3191 | +## Swift 3.0 |
3202 | 3192 |
|
3203 | 3193 | ### 2016-09-13 (Xcode 8.0)
|
3204 | 3194 |
|
@@ -3880,8 +3870,7 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
|
3880 | 3870 | person.valueForKeyPath(#keyPath(Person.bestFriend.lastName))
|
3881 | 3871 | ```
|
3882 | 3872 |
|
3883 |
| -Swift 2.2 |
3884 |
| ---------- |
| 3873 | +## Swift 2.2 |
3885 | 3874 |
|
3886 | 3875 | ### 2016-03-21 (Xcode 7.3)
|
3887 | 3876 |
|
@@ -4096,8 +4085,7 @@ Swift 2.2
|
4096 | 4085 | construct Selectors to ensure that they are well-formed Objective-C
|
4097 | 4086 | selectors and that there is an `@objc` method with that selector.
|
4098 | 4087 |
|
4099 |
| -Swift 2.1 |
4100 |
| ---------- |
| 4088 | +## Swift 2.1 |
4101 | 4089 |
|
4102 | 4090 | ### 2015-10-21 (Xcode 7.1)
|
4103 | 4091 |
|
@@ -4166,8 +4154,7 @@ Swift 2.1
|
4166 | 4154 | For example, it is legal to assign a function of type `Any -> Int` to a
|
4167 | 4155 | variable of type `String -> Any`. **(19517003)**
|
4168 | 4156 |
|
4169 |
| -Swift 2.0 |
4170 |
| ---------- |
| 4157 | +## Swift 2.0 |
4171 | 4158 |
|
4172 | 4159 | ### 2015-09-17 (Xcode 7.0)
|
4173 | 4160 |
|
@@ -5117,8 +5104,7 @@ Swift 2.0
|
5117 | 5104 | * The `SinkType` protocol and `SinkOf` struct have been removed from the standard
|
5118 | 5105 | library in favor of `(T) -> ()` closures. **(21663799)**
|
5119 | 5106 |
|
5120 |
| -Swift 1.2 |
5121 |
| ---------- |
| 5107 | +## Swift 1.2 |
5122 | 5108 |
|
5123 | 5109 | ### 2015-04-08 (Xcode 6.3)
|
5124 | 5110 |
|
@@ -5631,8 +5617,7 @@ Swift 1.2
|
5631 | 5617 |
|
5632 | 5618 | **(17627758)**
|
5633 | 5619 |
|
5634 |
| -Swift 1.1 |
5635 |
| ---------- |
| 5620 | +## Swift 1.1 |
5636 | 5621 |
|
5637 | 5622 | ### 2014-12-02 (Xcode 6.1.1)
|
5638 | 5623 |
|
@@ -5740,8 +5725,7 @@ Swift 1.1
|
5740 | 5725 | need to replace its `convertFromXXX` static methods with the
|
5741 | 5726 | corresponding initializer.
|
5742 | 5727 |
|
5743 |
| -Swift 1.0 |
5744 |
| ---------- |
| 5728 | +## Swift 1.0 |
5745 | 5729 |
|
5746 | 5730 | ### 2014-09-15 (Xcode 6.0)
|
5747 | 5731 |
|
|
0 commit comments