Blog

Dockerfile makes adding optional Swift dependencies easier

When deploying Vapor apps in Docker, omitting libcurl4 and libxml2 can reduce the image size from 233 MB to 189 MB.

Development

Swift Extension for Visual Studio Code

The Swift Extension for Visual Studio Code offers a cross-platform development environment for Swift on macOS, Linux, and Windows, addressing the lack of a first-class IDE outside Apple’s ecosystem.

Development

Enable SQL Query Logging

Fluent drivers, such as FluentPostgreSQL, log generated SQL at the debug level by default, aligning with Swift Server Workgroup (SSWG) guidelines to keep logs non-intrusive.

Development

Swift language announcements from WWDC22

Swift 5.6 and 5.7 bring major updates to the type system, concurrency, and ecosystem, with 5.6 laying the groundwork and 5.7 introducing features like shorthand optional unwrapping, regex literals, and enhanced generics with primary associated types and existential type improvements.

Development

Monthly update #0386 • June 2022

Monthly update 386 • June 2022 • 2022-06-01 - 2022-06-30

Monthly Updates

The Midnight Library by Matt Haig

Matt Haig’s The Midnight Library follows Nora Seed, a woman overwhelmed by regret, who attempts suicide and finds herself in a magical library between life and death.

Books

Announcing the Language Workgroup

The Swift.org website is now open source, inviting community contributions to enhance its role as a central hub for all Swift users, supported by the new Swift Website Workgroup (SWWG) to guide its development.

Development

Vapor URLEncodedFormDecoder Security Vulnerability

We've just released Vapor 4.61.1 which contains a fix for a security vulnerability in Vapor's URLEncodedFormDecoder.

Development

Monthly update #0385 • May 2022

Monthly update 385 • May 2022 • 2022-05-01 - 2022-05-31

Monthly Updates

Vapor FileMiddleware Security Vulnerability

We've just released Vapor 4.60.3 which contains a fix for a security vulnerability in Vapor's FileMiddleware.

Development

Adding a database table index

Fluent, a Swift ORM, lacks native support for adding database table indexes during creation or migration due to complexities across supported databases, but you can achieve this using SQLKit.

Development

Mechanical Watch

In the world of modern portable devices, it may be hard to believe that merely a few decades ago the most convenient way to keep track of time was a mechanical watch.

Gems

Monthly update #0384 • April 2022

Monthly update 384 • April 2022 • 2022-04-01 - 2022-04-30

Monthly Updates

Sunsetting Quiet

Unfortunately the time has come to say goodbye to Quiet. It served us all for almost 6 years. In that time I enjoyed the feedback you have given.

Projects

SSWG 2021 Annual Update

The Swift Server Workgroup (SSWG) welcomed Adam Fowler, Fabian Fett, and Patrick Freed as new members on September 3, 2021, replacing Johannes Weiss after his three-year tenure.

Development

Monthly update #0383 • March 2022

Monthly update 383 • March 2022 • 2022-03-01 - 2022-03-31

Monthly Updates

Introducing Swift Async Algorithms

The Swift Async Algorithms package, introduces algorithms tailored for AsyncSequence in Swift 5.5, focusing on seamless async/await integration, time-based operations like debounce and throttle, and cross-platform, open-source development.

Development

Swift.org Website is Now Open Source

The Swift.org website is now an open-source project, welcoming community contributions to enhance its role as a hub for all Swift users, not just contributors.

Development

Swift 5.6 Released!

Swift 5.6 introduces type system enhancements like type placeholders and explicit existential types with the any keyword, improves pointer interactions with temporary buffers and relaxed diagnostics, and refines concurrency safety by suppressing Sendable diagnostics by default.

Development

Monthly update #0382 • February 2022

Monthly update 382 • February 2022 • 2022-02-01 - 2022-02-28

Monthly Updates

The next steps for Vapor

Vapor, a popular Swift web framework, is planning its next major release, Vapor 5, which will fully embrace Swift Concurrency by eliminating EventLoopFutures and leveraging AsyncSequences, actors, and Sendable conformances for improved performance and safety.

Development

Monthly update #0381 • January 2022

Monthly update 381 • January 2022 • 2022-01-01 - 2022-01-31

Monthly Updates

GPS

Global Positioning System is, without a doubt, one of the most useful inventions of the late 20th century. It made it significantly easier for ships, airplanes, cars, and hikers to figure out where they are with high degree of accuracy.

Gems

Monthly update #0380 • December 2021

Monthly update 380 • December 2021 • 2021-12-01 - 2021-12-31

Monthly Updates

Reflecting on the year 2021

Reflection on the year 2021, checking progress of the goals, and some numbers.

Journal