Releases: apple/swift-system
1.6.2
Bug-fix release to fix a build error on Amazon Linux 2.
An important non-feature is the adoption of the availability macro, with thanks to @rauhul.
What's Changed
- Fix typedef errors on platforms with _ASM_GENERIC_INT headers by @jrflat in #254
- Replace bespoke availability system by @rauhul in #232
Full Changelog: 1.6.1...1.6.2
1.6.1
1.6.0
What's Changed
- Add io_uring support to System by @Catfish-Man in #208
- Fix API documentation links in README.md by @azarovalex in #234
New Contributors
- @Catfish-Man made their first contribution in #208
- @azarovalex made their first contribution in #234
Full Changelog: 1.5.0...1.6.0
1.5.0
This release includes a few changes for Windows support. In particular, @jakepetroules added support for extended path handling in Win32 API, which by itself justifies a minor version change.
What's Changed
- Enable Windows CI by @jakepetroules in #227
- Transparently add the
\\?\
prefix to Win32 calls for extended length path handling by @jakepetroules in #226 - Fix Windows path parsing when the package is built in release configuration by @owenv in #230
- Add Android imports to tests by @marcprux in #225
New Contributors
- @jakepetroules made their first contribution in #227
- @owenv made their first contribution in #230
- @marcprux made their first contribution in #225
Full Changelog: 1.4.2...1.5.0
System 1.4.2
This release adds preliminary support for FreeBSD and OpenBSD targets.
What's Changed
- Remove non-breaking spaces from Windows syscall adapter by @ADKaster in #210
- Guard errnos not available on FreeBSD by @michael-yuji in #212
- CSystem: Set build and install interfaces on included headers by @ADKaster in #209
- Add FreeBSD errno and open options by @michael-yuji in #214
- [cmake] Install libraries in standard directories by @Steelskin in #213
- OpenBSD support. by @3405691582 in #215
New Contributors
- @ADKaster made their first contribution in #210
- @michael-yuji made their first contribution in #212
- @Steelskin made their first contribution in #213
Full Changelog: 1.4.1...1.4.2
System 1.4.1
This is a bug-fix release for Windows targets.
What's Changed
- Use
GetTempPathW
instead ofGetTempPath2W
, as it is more widely available.
New Contributors
Full Changelog: 1.4.0...1.4.1
System 1.4.0
This release adds Sendable
conformances to FilePath
and its family of types.
What's New
- Sendable conformances for
FilePath
- Implement FilePath's
pipe()
function for Windows - Support for WASI
- Support for OpenBSD
What's Changed
- Support OpenBSD. by @3405691582 in #113
- Add Sendable conformances (except FileDescriptor) by @ffried in #115
- Enable Swift Package Index documentation and add API doc link by @Kyle-Ye in #149
- Support Windows ARM64 by @hjyamauchi in #151
- Require Swift 5.9
- And many minor bug fixes and updates
New Contributors
- @krzyzanowskim made their first contribution in #109
- @3405691582 made their first contribution in #113
- @ffried made their first contribution in #115
Full Changelog: 1.3.2...1.4.0
System 1.3.2
This release fixes a security issue in the Decodable
implementation of FilePath
.
What's Fixed
- This release fixes
FilePath
decoding. Internal invariants ofFilePath
are now enforced in the initializer used by theDecodable
protocol,FilePath.init(from:)
.
New Contributors
- @stephentyrone made their first contribution in #189, cherry-picked here.
Full Changelog: 1.3.1...1.3.2
System 1.3.1
This release addresses build issues
What's Fixed
String.init(platformString:)
is now a disfavored overload, in order to work around a Swift language issue.- Exclude
CMakeLists.txt
files from consideration by the Swift Package Manager.
New Contributors
- @jmschonfeld made their first contribution in #161, cherry-picked here.
- @kateinoigakukun made their first contribution in #182, cherry-picked here.
Full Changelog: 1.3.0...1.3.1
System 1.3.0
1.3.0 release
This release primarily addresses a number of platform support issues.
What's New
- Support for visionOS
- Support for musl libc
What's Changed
- swift-system now requires Swift 5.8
- The
Collection
conformance of theSystemString
has been improved. This makes it compatible with the Swift 6.0 standard library, in whichArray
'sreplaceSubrange()
has become stricter about the correctness of theCollection
types it handles. - The cmake configuration now understands more spellings for Arm64, improving compatibility with Windows compilers.
- Adapted two syscall wrappers to support unusual nullability annotations in Android's NDK 26. The package needs this to build against recent NDKs.
New Contributors
- @MaxDesiatov made their first contribution in #133, cherry-picked here.
- @finagolfin made their first contribution in #148, cherry-picked here.
- @hjyamauchi made their first contribution in #151, cherry-picked here.
- @noahpistilli made their first contribution in #152, adapted here.
Full Changelog: 1.2.1...1.3.0