# Swift 4.2.3

**URL:** <https://forums.swift.org/t/swift-4-2-3/21089>\
**Category:** Announcements\
**Created:** [March 1, 2019, 3:30pm UTC](https://forums.swift.org/t/swift-4-2-3/21089 "2019-03-01T15:30:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![johannesweiss](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/johannesweiss/32/38183_2.png) [@johannesweiss](https://forums.swift.org/u/johannesweiss)\
**Post date:** [March 1, 2019, 3:30pm UTC](https://forums.swift.org/t/swift-4-2-3/21089/1 "2019-03-01T15:30:03Z")

</div>

# Swift 4.2.3 for Linux

We are very happy to announce Swift 4.2.3 for Linux the February 2019 bug fix release as [planned](https://forums.swift.org/t/announcing-swift-4-2-2-and-monthly-swift-4-2-x-dot-releases-for-linux/20148). The feedback from the community was incredible and we could land 20 improvements, as announced focussing on swift-corelibs-foundation. Below, you can find the list of changes to the Swift components.

Most importantly, let's all thank the contributors for spending the time backporting the fixes, this will make a big difference for the whole Swift on Linux ecosystem.

Enjoy the new [binaries](https://swift.org/download/#swift-423) provided on [swift.org](http://swift.org) and you'll hear back from us soon opening the development for next month's release 🙌.

## swift-corelibs-foundation

- [SR-1674](https://bugs.swift.org/browse/SR-1674): NSString.doubleValue doesn't support a few formats supported by Darwin [[#1930](https://github.com/apple/swift-corelibs-foundation/pull/1930)]
- NSDecimalValue: Dont use .doubleValue for integer properties. [[#1918](https://github.com/apple/swift-corelibs-foundation/pull/1918)]
- [SR-9322](https://bugs.swift.org/browse/SR-9322): DateFormatter difference between macOS and Linux [[#1913](https://github.com/apple/swift-corelibs-foundation/pull/1913)]
- FileManager: setAttributes(ofItemAtPath:) should throw if chmod fails. [[#1906](https://github.com/apple/swift-corelibs-foundation/pull/1906)]
- Decimal: Fix .doubleValue to use \_length to only index valid mantissa elements. [[#1900](https://github.com/apple/swift-corelibs-foundation/pull/1900)]
- FileHandle.truncateFile should reposition on truncate [[#1898](https://github.com/apple/swift-corelibs-foundation/pull/1898)]
- NSDecimalNumber: Add missing init(value:) initialisers. [[#1896](https://github.com/apple/swift-corelibs-foundation/pull/1896)]
- [SR-8999](https://bugs.swift.org/browse/SR-8999): NSData contentsOf expects st\_size to be the size of the file. [[#1895](https://github.com/apple/swift-corelibs-foundation/pull/1895)]
- [SR-7608](https://bugs.swift.org/browse/SR-7608): Pipe() crashes when the underlying system call fails. [[#1893](https://github.com/apple/swift-corelibs-foundation/pull/1893)]
- [SR-9828](https://bugs.swift.org/browse/SR-9828): JSONEncoder keyEncodingStrategy does not work on Linux [[#1892](https://github.com/apple/swift-corelibs-foundation/pull/1892)]
- NSIndexPath: Make compatible with Darwin. [[#1891](https://github.com/apple/swift-corelibs-foundation/pull/1891)]
- [SR-7455](https://bugs.swift.org/browse/SR-7455): Allow NUL in Strings to match Darwin [[#1890](https://github.com/apple/swift-corelibs-foundation/pull/1890)]
- [SR-5829](https://bugs.swift.org/browse/SR-5829): Fix NSString.commonPrefix(with:options:) [[#1888](https://github.com/apple/swift-corelibs-foundation/pull/1888)]
- [SR-8560](https://bugs.swift.org/browse/SR-8560): XMLDocument on Linux crashes with a Segmentation Fault [[#1887](https://github.com/apple/swift-corelibs-foundation/pull/1887)]
- [SR-7570](https://bugs.swift.org/browse/SR-7570): Initializing XMLDocument crashes on Linux with nodePreserveAll [[#1886](https://github.com/apple/swift-corelibs-foundation/pull/1886)]
- [SR-7011](https://bugs.swift.org/browse/SR-7011): Fatal Error when Using Calendar.current.dateComponents(\_:from:to:) [[#1884](https://github.com/apple/swift-corelibs-foundation/pull/1884)]
- [SR-8689](https://bugs.swift.org/browse/SR-8689): Fix crash with NSMutableString.replaceOccurrences(of:with:options:) [[#1883](https://github.com/apple/swift-corelibs-foundation/pull/1883)]

## swift

- stdlib: check for ARM/ARM64/AArch64 more thoroughly [[#20709](https://github.com/apple/swift/pull/20709)]
- [SR-2239](https://bugs.swift.org/browse/SR-2239): add support for AArch64 variadics [[#20708](https://github.com/apple/swift/pull/20708)]

## swift-corelibs-dispatch

- [SR-9863](https://bugs.swift.org/browse/SR-9863) Retry sem\_wait on signal interrupts [[#442](https://github.com/apple/swift-corelibs-dispatch/pull/442)]

---

<div class="post-metadata">

**Author:** ![tanner0101](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tanner0101/32/675_2.png) [@tanner0101](https://forums.swift.org/u/tanner0101)\
**Post date:** [March 1, 2019, 4:28pm UTC](https://forums.swift.org/t/swift-4-2-3/21089/2 "2019-03-01T16:28:48Z")

</div>

Awesome, thanks to everyone that contributed fixes and to @johannesweiss and @kevints! These dot releases are a huge win for sever-side Swift.

---

<div class="post-metadata">

**Author:** ![Tof](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tof/32/30556_2.png) [@Tof](https://forums.swift.org/u/Tof)\
**Post date:** [March 3, 2019, 8:13pm UTC](https://forums.swift.org/t/swift-4-2-3/21089/3 "2019-03-03T20:13:27Z")

</div>

Excellent! 👍 🙂  
I just watched the docker image of Swift 4.2. Will you also update it on Ubuntu 18.04?

---

<div class="post-metadata">

**Author:** ![johannesweiss](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/johannesweiss/32/38183_2.png) [@johannesweiss](https://forums.swift.org/u/johannesweiss)\
**Post date:** [March 5, 2019, 2:58pm UTC](https://forums.swift.org/t/swift-4-2-3/21089/4 "2019-03-05T14:58:17Z")

</div>

Yes, we'll update the docker images, sorry for the delay.

---

<div class="post-metadata">

**Author:** ![johannesweiss](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/johannesweiss/32/38183_2.png) [@johannesweiss](https://forums.swift.org/u/johannesweiss)\
**Post date:** [March 11, 2019, 2:56pm UTC](https://forums.swift.org/t/swift-4-2-3/21089/5 "2019-03-11T14:56:20Z")

</div>

> [@johannesweiss](#):
>
> Yes, we'll update the docker images, sorry for the delay.

that's done now btw

---

<div class="post-metadata">

**Author:** ![Tof](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tof/32/30556_2.png) [@Tof](https://forums.swift.org/u/Tof)\
**Post date:** [March 15, 2019, 10:50am UTC](https://forums.swift.org/t/swift-4-2-3/21089/6 "2019-03-15T10:50:38Z")

</div>

Yes I saw it on GitHub the file [Dockerfile](https://github.com/apple/swift-docker/blob/75dde01ef86e98437b1206c6a58d0428dfb345a4/4.2/ubuntu/18.04/Dockerfile) was updated, thanks 🙂  
But for the [official docker image](https://hub.docker.com/_/swift) we have just Swift 4.2.3 for ubuntu 16.04  
Would it be possible to add the tag with the image for Ubuntu 18.04? 😁
