Releases: swiftlang/swift-foundation
Releases · swiftlang/swift-foundation
Swift 6.1 Release
What's Changed
- Correctly set .fileTypeSymlink on windows by @jmschonfeld in #773
- Bare minimum [U]Int128 support for JSON encode/decode by @stephentyrone in #767
- Update README by @parkera in #796
- URL: Don't standardize relative file paths by @jrflat in #792
- [CMake] Resolve module map conflict with duplicate in SDK by @jmschonfeld in #789
- [CMake] Fix macro install rpath by @jmschonfeld in #793
- Remove unneccessary _FileManagerImpl.delegate by @jmschonfeld in #801
- Update swift-syntax repository link in README.md by @lamtrinhdev in #805
- Add explicit include of
wasi/libc-environ.h
by @kateinoigakukun in #786 - Add explicit void type parameter to C functions without parameters by @kateinoigakukun in #775
- Exclude EREMOTE definition for WASI platform by @kateinoigakukun in #778
- Throw
.featureUnsupported
when attempting to create temp files on WASI by @kateinoigakukun in #779 - Fix
operatingSystemVersion
on WASI by @kateinoigakukun in #782 - Guard out extended or fs attributes related code on WASI by @kateinoigakukun in #784
- Guard out user/group related code on WASI by @kateinoigakukun in #783
- Skip sticky-bit check in
isDeletableFile
on WASI by @kateinoigakukun in #785 - Implement
_copyRegularFile
for WASI withoutsendfile
by @kateinoigakukun in #787 - Port
LockedState
and_ThreadLocal
to WASI without any locking by @kateinoigakukun in #780 - Upgrade SwiftFoundationICU to version 74 by @iCharlesHu in #802
- Prevent null character in Windows home directory by @jrflat in #808
- Adding some more tests for [U]Int128 in BinaryInteger+FormatStyleTests.swift and JSONEncoderTests.swift by @lamtrinhdev in #806
- Add WASI platform conditions for libc imports and word size by @kateinoigakukun in #776
- Add compatibility path for invalid UTF8 data by @parkera in #815
- Remove _typeByName lookup of _FoundationNSNumberInitializer by @jmschonfeld in #817
- Remove FoundationPreview umbrella module by @jmschonfeld in #818
- Enable wasi-libc emulation features by @kateinoigakukun in #777
- Add FoundationNetworking hook for reading contents of remote URL by @jmschonfeld in #820
- rdar://132940984 (Regression: Swift Decoding of Double.greatestFiniteMagnitude as Int causes a crash) by @kperryua in #827
- Add JSON benchmarks and make benchmark package build for more targets by @parkera in #810
- do not import stdatomic as it doesn't work with c++ interop on windows by @hyp in #830
- Use platform shims for clock_gettime to support wasi-libc by @kateinoigakukun in #781
- [wasm] Fall back to a default chunk size when
st_blksize
is not available by @kateinoigakukun in #835 - Add note about 'swift package update' to build process documentation by @jmschonfeld in #837
- Fix ProcessInfo.processName for Windows by @iCharlesHu in #839
- Enable WMO by @jmschonfeld in #832
- FoundationMacros: use cross-compilation to build for host by @compnerd in #714
- Port directory enumeration related code to WASI by @kateinoigakukun in #836
- [android] fix the LP32 armv7/i686 android build by @hyp in #846
- [main] Get Swift-Foundation building against MUSL for Swift Static SDK by @etcwilde in #848
- Resolved an arithmetic overflow error in Decimal division caused by improper upcasting by @iCharlesHu in #850
- Fix hard-coded path to
FoundationEssentialsTests
resources by @xedin in #855 - Hide Windows magic environment values from ProcessInfo.environment by @iCharlesHu in #853
- Add requirements to only run DecimalTests.testCrashingDivision on 64 bit devices by @iCharlesHu in #856
- [Android] Use the Bionic module in more places by @finagolfin in #842
- Use fallback home directory on Windows by @jmschonfeld in #854
- URL.fileSystemPath should drop all trailing slashes by @jrflat in #852
- Fix Windows symlink handling in FileManager APIs by @jmschonfeld in #858
- FileManager.fileExists(atPath:) should follow symlinks on Windows by @jmschonfeld in #859
- Fix Windows home directory for specific user by @jmschonfeld in #861
- Autolink wasi-libc emulation libraries by @kateinoigakukun in #843
- URL(filePath: path, directoryHint: .notDirectory) should strip trailing slashes by @jrflat in #867
- Remove the
#include <setjmp.h>
from_CStdlib.h
by @kateinoigakukun in #873 - Automatically build FoundationMacros for local CMake builds by @jmschonfeld in #844
- [docs] Fix typo issue at Foundation_Build_Process.md by @lamtrinhdev in #876
- subpathsOfDirectory(atPath:) should throw on empty paths by @jmschonfeld in #869
- Update wording and link in evolution.md by @lamtrinhdev in #814
- Remove RegexBuilder conditional in Package manifest by @jmschonfeld in #879
- Decimal bin compat: remove the usage of @_cdecl from 'public' methods defined in NSDecimal.h by @iCharlesHu in #880
- Fix NSURLComponents bridging with percent-encoding by @jrflat in #831
- URL.host should not return percent-encoded host by @jrflat in #875
- [android] don't enable WMO as the old driver fails to build with WMO … by @hyp in #851
- Formatting performance improvements by @parkera in #884
- URLComponents: support http(s)+unix schemes by @jrflat in #883
- [cmake] Add missing locale_notifications.swift by @etcwilde in #885
- Correct available version macOS 10.10 for String+Essentials.swift by @lamtrinhdev in #886
- Re-enable disabled tests due to ICU-74 by @iCharlesHu in #890
- Change @_nonSendable to unavailable extensions by @jmschonfeld in #892
- Set
SWIFT_SYSTEM_NAME
for macro project in CMake by @jmschonfeld in #896 - Fix deleteLastPathComponent() for paths with trailing / by @rjmansfield in #897
- ProcessInfoTests.testOperatingSystemIsAtLeastVersion should not run on visionOS by @iCharlesHu in #894
- Implement negative power support to pow(_ x: Decimal, _ y: Int). by @iCharlesHu in #895
- Add a test to make sure ProcessInfo can deliver the correct thermal state and power state on all platforms by @iCharlesHu in #905
- Modernize and update gitignore by @parkera in #911
- Fix macro source location by @etcwilde in #910
- [Proposal] SF-NNNN Extending Calendar.RecurrenceRule.End by @hristost in #893
- Add
.count
and.date
properties toCalendar.RecurrenceRule.End
by @hristost in https://github....
Swift 6.0.3 Release
What's Changed
- [6.0] Fix hard-coded path to
FoundationEssentialsTests
resources by @xedin in #887 - 6.0: Fix WASI support by @MaxDesiatov in #825
- [6.x] Set SWIFT_SYSTEM_NAME for macro project in CMake by @jmschonfeld in #898
- [6.0] URL.host should not return percent-encoded host by @jrflat in #902
- [6.0] URLComponents: support http(s)+unix schemes by @jrflat in #903
- [6.0.x] Fix windows creation of relative symlinks to directories by @jmschonfeld in #940
- [6.0][Android] Enable more code and tests (#871) by @finagolfin in #923
- [6.0.x] [Windows] Fix incorrect TimeZone.current lookup logic by @jmschonfeld in #978
- [6.0.x]
URL
path bug fixes by @jrflat in #969 - [6.0.x] Fetching user/group info causes race conditions (#994) by @jmschonfeld in #998
- [6.0.x] URL: Appending to an empty file path results in an absolute path (#988) by @jrflat in #1019
- [6.0.x] String+Path performance improvements and bug fixes by @jrflat in #1013
- [6.0.x] URL.deletingLastPathComponent() should append .. in special cases by @jrflat in #1022
- [6.0.x] Restore URL.host bracket stripping for compatibility by @jrflat in #1023
Full Changelog: swift-6.0.2-RELEASE...swift-6.0.3-RELEASE