Skip to content

Releases: swiftlang/swift-corelibs-foundation

Swift 6.0.3 Release

13 Dec 07:05
26a599c
Compare
Choose a tag to compare

What's Changed

  • [6.0] build: Repair the build on WASI platform by @MaxDesiatov in #5053
  • [6.0] Add stub for Testing module by @jmschonfeld in #5078
  • [CFXMLInterface] Remove spurious include path. by @al45tair in #5102
  • Fix a leak when mutating CharacterSet by moving away from _SwiftNSCharacterSet wrapper by @parkera in #5110
  • Fixed an infinite loop caused by force casting NSError to CocoaError by @parkera in #5116
  • Ensure that NSCharacterSet always returns an NSObject on copy by @parkera in #5120
  • [6.0.x] Add a thread-safe implementation of Process.currentDirectoryURL by @jakepetroules in #5096
  • Move __CFAllocatorRespectsHintZeroWhenAllocating (6.0) by @parkera in #5127
  • [6.0.x] Fix crash when using WebSockets with URLSession.shared by @jrflat in #5131
  • [Musl] Add back missing autolink arguments, fix CFPosixSpawnFileActionsChdir. by @al45tair in #5143

Full Changelog: swift-6.0.2-RELEASE...swift-6.0.3-RELEASE

Swift 5.10.1 Release

06 Jun 19:04
635aecd
Compare
Choose a tag to compare
Merge pull request #4960 from etcwilde/ewilde/remove-removed-timezones

[5.10] Removing checks for deleted timezones

Swift 5.10 Release

06 Mar 15:50
19e5eb0
Compare
Choose a tag to compare

What's Changed

  • Fix tests assuming that the temporary directory doesn't include symlinks by @tristanlabelle in #4723
  • Fix typo in doc comment by @valeriyvan in #4716
  • JSONDecoder.readString(): throw on invalid UTF-8 by @ruihe774 in #4675
  • Foundation/Unit: add {m,u,p,n}second units to UnitDuration by @AndrewSB in #4708
  • Use macOS instead of OSX by @AtariDreams in #4640
  • waitUntilExit: ignore RunLoop.run()'s return value by @fischman-bcny in #4740
  • Foundation: implement Bundle.init(for:) on Windows by @compnerd in #4744
  • Move the size check to be the first thing checked in CFAllocator functions by @AtariDreams in #4641
  • Foundation: add some type conversion extensions for Windows by @compnerd in #4747
  • Foundation: support file system representation for long paths by @compnerd in #4746
  • Foundation: simplify handler handling by @compnerd in #4751
  • Tests: correct spelling of /dev/null on Windows by @compnerd in #4753
  • Foundation: correct directory iteration on Windows by @compnerd in #4745
  • Foundation: avoid unnecessary disk IO on windows file enumeration by @compnerd in #4748
  • Windows long paths support by @compnerd in #4750
  • Do not chdir before calling posix_spawn by @Lukasa in #4606
  • Revert "Do not chdir before calling posix_spawn" by @shahmishal in #4764
  • Windows: extend some type conversion definitions by @compnerd in #4766
  • Foundation: support long file paths for FileHandle on Windows by @compnerd in #4768
  • Fix available attributes by @woxtu in #4770
  • Foundation: Windows long file support in FileManager.createDirectory by @compnerd in #4771
  • Foundation: adjust _fileExists for NT style paths by @compnerd in #4773
  • Fix a concurrency bug in the TestFileHandle.test_readToEndOfFileAndNotify() unit test. by @grynspan in #4787
  • Add Sendable to Date, DateComponents and Data by @FranzBusch in #4777
  • Foundation: unmask Windows events on the main RunLoop by @compnerd in #4759
  • Foundation: adjust moveFile to support long paths on Windows by @compnerd in #4784
  • Foundation: use NT-style paths for CopyFileW by @compnerd in #4793
  • Foundation: improve relative path computation for iteration on Windows by @compnerd in #4797
  • Remove an invalid file reference by @woxtu in #4796
  • Fix UserDefaults.string(forKey:) behavior by @woxtu in #4780
  • Fix UserDefaults.integer(forKey:) behavior by @woxtu in #4781
  • Foundation: make _moveItem resilient to multiple volumes by @compnerd in #4800
  • Fix UserDefaults.float(forKey:) behavior by @woxtu in #4782
  • Foundation: adjust _NSCleanupTemporaryFile on Windows by @compnerd in #4801
  • Foundation: alter NSData.contents(of:options:) on Windows by @compnerd in #4802
  • Fix UserDefaults.double(forKey:) behavior by @woxtu in #4783
  • Fix the way known locations are generated on windows by @darinf in #4805
  • Fix JSONDecoder.decode(_,from:) behavior by @ypli-chn in #4807
  • Cherry pick #4827 by @FranzBusch in #4829
  • [5.10] Cherry-pick Fix divergent overwrite behavior of FileManager.copyItem(at:to:) on Linux and Windows by @gwynne in #4825
  • [5.10] Cherry-pick Ensure URLSession and curl agree on the host #4836 by @jrflat in #4853

New Contributors

Full Changelog: swift-5.9.2-RELEASE...swift-5.10-RELEASE

swift-4.2.2-RELEASE

05 Feb 01:48
af89a49
Compare
Choose a tag to compare
Merge pull request #1797 from Kaiede/conditionalBridgeFor4.2

Swift 4.2.1 Release

10 Nov 17:28
Compare
Choose a tag to compare
Various Cookie fixes (#1706)

* Various Cookie fixes

- Add support for additional Set-Cookie formats that web servers can return
- Properly handle HTTP header parsing to extract values since values can contain colons
- Make sure to set cookies on redirect requests
- Use setValue instead of addValue when applying cookies to requests otherwise,
  Cookie header might contain: cookie1=value1,cookie1=value1; cookie2=value2
- New unit tests for cookie formats and redirect with Set-Cookie

(cherry picked from commit 97a93b5d4c1fca906254172896086183021ef374)

* Remove two-digit year cookie format support & unit test (fails on Ubuntu 14.04) (#1707)

Swift 4.2 Release

26 Sep 22:52
7b50d79
Compare
Choose a tag to compare
swift-4.2-RELEASE

Merge pull request #1643 from maksimorlovich/swift-4.2-branch