Skip to content

Releases: swiftlang/swift-corelibs-foundation

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