swift-book icon indicating copy to clipboard operation
swift-book copied to clipboard

Version Compatibility page Swift book has incorrect information about version required for concurrency

Open rtharston opened this issue 3 years ago • 3 comments

Describe the bug

The second to last paragraph of the Version Compatibility page of the Swift book incorrectly states concurrency requires '5.7 or later'. It should state '5.5 or later'. (My guess is someone did a 'replace all'.)

The same paragraph also says to, "set a deployment target of at least iOS 15, macOS 12, tvOS 15, or watchOS 8.0" which was correct at the time Swift 5.5 was released, but since Xcode 13.2 it is possible to use Swift Concurrency (but not all the new APIs) back to "macOS Catalina 10.15, iOS 13, tvOS 13, and watchOS 6".

To Reproduce

Steps to reproduce the behavior:

  1. Go to Version Compatibility
  2. Scroll down to second to last paragraph
  3. See error

Expected behavior

State facts.

Actual behavior

State mix of old facts and new find-and-replace error.

Screenshots

image

Environment details

N/A

Swift.org version/commit hash

Swift 5.7 book (that is all I could find)

Additional context

N/A

rtharston avatar Jun 07 '22 22:06 rtharston

@amartini51

tomerd avatar Jun 07 '22 22:06 tomerd

The Swift book is now open source! 🎉

@rtharston We would appreciate it if you opened a new issue on the apple/swift-book repo instead to make sure this gets taken care of. Thanks! 🙂

alexandersandberg avatar Aug 31 '22 04:08 alexandersandberg

Transferred to the TSPL repo and re-opened.

amartini51 avatar Aug 31 '22 17:08 amartini51

Wooh! Glad the book is now open source so we can more directly help with these fixes.

Thanks @amartini51 for reopening and moving this for me. 😀

rtharston avatar Sep 12 '22 17:09 rtharston