days
-1
0
hours
0
-1
minutes
-5
-2
seconds
-5
-3
search
Have a pull request?

Apple’s Swift announces version 5.2 release process

Sarah Schlothauer
swift
© Shutterstock / Mano Kors

Are you a fan of Swift? Version 5.2 is on its way. Recently, Swift released a blog detailing its release process. The motivation and goals of Swift 5.2 include quality and performance improvements. Do you have an idea for a change? Make sure you are familiar with the process and the language’s philosophy, scope, and goals.

The Swift programming language moves towards version 5.2. Originally developed by Apple and released in 2014, Swift uses the Objective-C runtime library and is intended to be used as a replacement for C-based languages, such as C, C++, and Objective-C.

Version 5.2 aims to significantly improve the language’s quality and performance. Let’s take a look into the release process, what’s planned, what repositories will be impacted, and what the release managers are considering for inclusion.

Awaiting 5.2

Mark your calendars. According to the release process blog:

On November 5, 2019 the swift-5.2-branch branch will be cut, and this will contain the changes that will be released in Swift 5.2. After the branch is cut, changes can be landed on the branch via pull request if the meet the criteria for the release.

Cutoff dates for the indexstore-db, sourcekit-lsp, swift-llbuild, and swift-package-manager to be announced in the future. (They extend beyond November 5th.)

Keep track of the development’s build queue. Downloadable snapshots of the release branch will be posted regularly, and once 5.2 is released, the final builds will be posted along with the downloadable snapshots.

Making changes

Have an idea for a change? How do you go about making a proposal?

Don’t be too hasty. Before you submit a PR, view the commonly rejected changes and familiarize yourself with the list. These include commonly suggested changes that are unlikely to be accepted, along with an explanation of why/why not.

SEE ALSO: DevOpsCon 2019 Opening Keynote: Silos are dead. Long live Silos

You should also read about the evolution process, including the scope, direction, and future goals of the language.

Pull requests for the release branch must include some well-researched information including:

  • an explanation of the fix or ehnancement
  • assessment of the change’s impact or its importance
  • potential risks
  • SR issue if the change fixes an issue on bugs.swift.org
  • information regarding testing and if further testing needs to be done
  • technical code review by one or more code owner regarding the impacted components.

iOS growth

There’s some good news about the state of the language in the mobile realm. A recent blog post by macOS and iOS developer Alexandre Colucci/Timac examines Apple’s usage of Swift in iOS 13.

According to MacWorld, iOS 13.1 released to the public on September 19, 2019. It didn’t just release dark mode and fix the emoji octopus anatomy. It also included a number of binaries using Swift.

SEE ALSO: How To Make Loveliness: an HTML treasure hunt

According to Alexandre Colucci’s blog post, Apple’s use of Swift more than doubled from iOS 12. Compare this to iOS 9, which included only one binary using the language. Now it is used in familiar apps such as Health, Reminders, FindMy, and several more.

Colucci reports, “If we exclude the Swift libraries, iOS 13.1 contains 141 binaries using Swift, more than doubling the number from iOS 12”.

Congrats on the growth!

Author
Sarah Schlothauer

Sarah Schlothauer

All Posts by Sarah Schlothauer

Sarah Schlothauer is an assistant editor for JAXenter.com. She received her Bachelor's degree from Monmouth University and is currently enrolled at Goethe University in Frankfurt, Germany where she is working on her Masters. She lives in Frankfurt with her husband and cat.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of