Skip to content

Commit 355e91c

Browse files
committed
Merge branch 'release/5.9.2_beta_3'
2 parents 6db53f4 + 7e1826b commit 355e91c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+290
-19
lines changed

TSPL.docc/GuidedTour/AboutSwift.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ and it continues to evolve with new features and capabilities.
4848
Our goals for Swift are ambitious.
4949
We can’t wait to see what you create with it.
5050

51+
> Beta Software:
52+
>
53+
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
54+
>
55+
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
56+
5157
<!--
5258
This source file is part of the Swift.org open source project
5359

TSPL.docc/GuidedTour/Compatibility.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
Learn what functionality is available in older language modes.
44

5-
This book describes Swift 5.9,
6-
the default version of Swift that's included in Xcode 15.
7-
You can use Xcode 15 to build targets
8-
that are written in either Swift 5.9, Swift 4.2, or Swift 4.
5+
This book describes Swift 5.9.2,
6+
the default version of Swift that's included in Xcode 15.1.
7+
You can use Xcode 15.1 to build targets
8+
that are written in either 5.9.2, Swift 4.2, or Swift 4.
99

1010
<!--
1111
- test: `swift-version`
1212
1313
```swifttest
14-
>> #if swift(>=5.9.1)
14+
>> #if swift(>=5.9.3)
1515
>> print("Too new")
16-
>> #elseif swift(>=5.9)
16+
>> #elseif swift(>=5.9.2)
1717
>> print("Just right")
1818
>> #else
1919
>> print("Too old")
@@ -22,10 +22,10 @@ that are written in either Swift 5.9, Swift 4.2, or Swift 4.
2222
```
2323
-->
2424

25-
When you use Xcode 15 to build Swift 4 and Swift 4.2 code,
26-
most Swift 5.9 functionality is available.
25+
When you use Xcode 15.1 to build Swift 4 and Swift 4.2 code,
26+
most Swift 5.9.2 functionality is available.
2727
That said,
28-
the following changes are available only to code that uses Swift 5.9 or later:
28+
the following changes are available only to code that uses 5.9.2 or later:
2929

3030
- Functions that return an opaque type require the Swift 5.1 runtime.
3131
- The `try?` expression doesn't introduce an extra level of optionality
@@ -35,20 +35,26 @@ the following changes are available only to code that uses Swift 5.9 or later:
3535
For example, `UInt64(0xffff_ffff_ffff_ffff)` evaluates to the correct value
3636
rather than overflowing.
3737

38-
Concurrency requires Swift 5.9 or later,
38+
Concurrency requires 5.9.2 or later,
3939
and a version of the Swift standard library
4040
that provides the corresponding concurrency types.
4141
On Apple platforms, set a deployment target
4242
of at least iOS 13, macOS 10.15, tvOS 13, or watchOS 6.
4343

44-
A target written in Swift 5.9 can depend on
44+
A target written in 5.9.2 can depend on
4545
a target that's written in Swift 4.2 or Swift 4,
4646
and vice versa.
4747
This means, if you have a large project
4848
that's divided into multiple frameworks,
49-
you can migrate your code from Swift 4 to Swift 5.9
49+
you can migrate your code from Swift 4 to 5.9.2
5050
one framework at a time.
5151

52+
> Beta Software:
53+
>
54+
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
55+
>
56+
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
57+
5258
<!--
5359
This source file is part of the Swift.org open source project
5460

TSPL.docc/GuidedTour/GuidedTour.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2450,6 +2450,12 @@ anyCommonElements([1, 2, 3], [3])
24502450
Writing `<T: Equatable>`
24512451
is the same as writing `<T> ... where T: Equatable`.
24522452

2453+
> Beta Software:
2454+
>
2455+
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
2456+
>
2457+
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
2458+
24532459
<!--
24542460
This source file is part of the Swift.org open source project
24552461

TSPL.docc/LanguageGuide/AccessControl.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,12 @@ but a public type alias can't alias an internal, file-private, or private type.
14871487
```
14881488
-->
14891489

1490+
> Beta Software:
1491+
>
1492+
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
1493+
>
1494+
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
1495+
14901496
<!--
14911497
This source file is part of the Swift.org open source project
14921498

TSPL.docc/LanguageGuide/AdvancedOperators.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,6 +1561,12 @@ see <doc:Attributes#resultBuilder>.
15611561
TODO: generic operators
15621562
-->
15631563

1564+
> Beta Software:
1565+
>
1566+
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
1567+
>
1568+
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
1569+
15641570
<!--
15651571
This source file is part of the Swift.org open source project
15661572

TSPL.docc/LanguageGuide/AutomaticReferenceCounting.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,6 +1512,12 @@ paragraph = nil
15121512
For more information about capture lists,
15131513
see <doc:Expressions#Capture-Lists>.
15141514

1515+
> Beta Software:
1516+
>
1517+
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
1518+
>
1519+
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
1520+
15151521
<!--
15161522
This source file is part of the Swift.org open source project
15171523

TSPL.docc/LanguageGuide/BasicOperators.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,6 +1231,12 @@ but the overall intention is clearer to the reader.
12311231
Readability is always preferred over brevity;
12321232
use parentheses where they help to make your intentions clear.
12331233

1234+
> Beta Software:
1235+
>
1236+
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
1237+
>
1238+
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
1239+
12341240
<!--
12351241
This source file is part of the Swift.org open source project
12361242

TSPL.docc/LanguageGuide/ClassesAndStructures.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,12 @@ see [Manual Memory Management](https://developer.apple.com/documentation/swift/s
710710
QUESTION: what's the deal with tuples and reference types / value types?
711711
-->
712712

713+
> Beta Software:
714+
>
715+
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
716+
>
717+
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
718+
713719
<!--
714720
This source file is part of the Swift.org open source project
715721

TSPL.docc/LanguageGuide/Closures.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,6 +1332,12 @@ As a result,
13321332
the value of the `customerProvider` argument
13331333
must be allowed to escape the function's scope.
13341334

1335+
> Beta Software:
1336+
>
1337+
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
1338+
>
1339+
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
1340+
13351341
<!--
13361342
This source file is part of the Swift.org open source project
13371343

TSPL.docc/LanguageGuide/CollectionTypes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,6 +1469,12 @@ Swift's `Dictionary` type doesn't have a defined ordering.
14691469
To iterate over the keys or values of a dictionary in a specific order,
14701470
use the `sorted()` method on its `keys` or `values` property.
14711471

1472+
> Beta Software:
1473+
>
1474+
> This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
1475+
>
1476+
> Learn more about using [Apple's beta software](https://developer.apple.com/support/beta-software/).
1477+
14721478
<!--
14731479
This source file is part of the Swift.org open source project
14741480

0 commit comments

Comments
 (0)