Swift

See all tags

220 posts

Development

Vapor HTTP Error Handling Security Vulnerability

We've just released Vapor 4.84.2 which contains a fix for a security vulnerability in Vapor's error handling.

Development

Debugging Improvements in Swift 5.9

Swift 5.9 enhances debugging with three key improvements to the compiler and LLDB. The p and po commands now use the faster dwim-print command, avoiding persistent result variables and enabling po to print Swift objects from raw addresses.

Development

Swift 5.9 Released

Swift 5.9 introduces a powerful macro system for expressive libraries, parameter packs for flexible generic APIs, and ownership features like consume and noncopyable types to optimize low-level code performance.

Development

SSWG 2023 Annual Update

The Swift Server Workgroup (SSWG) has released its 2023 annual update, reflecting on community progress and outlining priorities for the year.

Development

Introducing Swift HTTP Types

Apple announced Swift HTTP Types, a new open-source package providing shared, Swift-first currency types for HTTP operations, enhancing code sharing between clients and servers.

Development

My App Store Screenshots Flow

Creating 975 screenshots for the App Store is a daunting task if done manually. For my app, Quiet, I need screenshots for multiple devices and languages, and framing them nicely with labels adds even more work.

Development

Introducing Swift OpenAPI Generator

Apple released Swift OpenAPI Generator, a set of open-source libraries that automate HTTP communication for clients and servers using the OpenAPI specification.

Development

I am happy with TipKit

Over the years I became more convinced that onboarding flows were users are educated are not working. It is much better to educate people in context and when needed.

Development

On Device Machine Learning

I loved how during the WWDC Keynote and The State of Union not once the term AI was used. AI is an hype word and could mean a lot of things. Love how Apple keeps saying “On Device Machine Learning”.

Development

Using Upcoming Feature Flags

Swift 5.8 introduces a flexible mechanism to adopt upcoming features via the -enable-upcoming-feature compiler flag and the hasFeature() condition, allowing developers to incrementally prepare for Swift 6 while maintaining source compatibility.

Development

Upcoming changes to Vapor with Sendable

The Vapor team is implementing Sendable annotations across its repositories, starting with a significant pull request, to enhance safety in Swift Concurrency, following a challenging but unsuccessful attempt to use actors for some internals.

Development

Penny Update

The Vapor team announced a new update for Penny, their Discord bot, enhancing it to post Swift Evolution proposal updates in the #swift-evolution channel, with an option for users to follow these updates on their own servers.

Development

PostgresNIO Security Vulnerability

We released PostgresNIO 1.14.2 last week, which contains a security fix for a vulnerability in PostgresNIO's TLS support. This has been designated as CVE-2023-31136.

Development

Updating Vapor's Templates for Swift 5.8

The Vapor team has updated its project templates to support Swift 5.8, adopting a unified target with the @main syntax for application entry points, aligning with Swift’s modern features and enabling asynchronous setup functions.

Development

Foundation Package Preview Now Available

The Swift Core Team is restructuring the Swift project by organising workgroups into steering groups and workgroups to enhance community contributions and focus.

Development

Foundation Package Preview Now Available

The preview of a new, unified Foundation package, written in Swift, is now available on GitHub, offering faster, safer, and more approachable implementations for types like AttributedString, JSONEncoder, and Calendar, with more to be added.

Development

Swift 5.8 Released!

Swift 5.8 introduces features to prepare for Swift 6, including the hasFeature directive and conditional attributes for incremental adoption, alongside enhancements like concise magic file names and regex literals.

Development

Introducing Swift Certificates and Swift ASN.1

Apple has released two new open-source Swift packages, swift-certificates and swift-asn1, to provide a faster, safer implementation of X.509 certificates for TLS security.

Development

What We're Working On: March 2023

The Vapor team has launched a monthly blog series to share updates on their work, increase transparency, and outline future plans for the framework.

Development

The Swift Programming Language book now published with DocC

The Swift Programming Language book (TSPL) is now published using Swift-DocC starting with Swift 5.8, enabling content contributions under the Swift Documentation Workgroup’s guidance.

Development

New Year, New Me

The Vapor team has launched a new design for their blog, marking the initial step in updating all Vapor websites to reflect the framework’s maturity and provide a consistent, modern look.

Development

The Future of Foundation

Apple announced a new open-source Foundation project, rewritten in Swift to eliminate C code wrapping, improve performance, and simplify contributions.

Development

Swift project in 2023

The Swift Core Team has shared a roadmap for the next year, highlighting plans across workgroups, though these are not tied to specific releases and may evolve.

Development

Swift 5.7 Released!

Swift 5.7, officially released, brings significant updates including shorthand syntax for optional unwrapping and closures, enhanced generics with a rewritten type checker for better performance, and improved data race safety with new concurrency annotations.

Development

Announcing SwiftNIO IMAP

The Swift Server Workgroup introduced SwiftNIO IMAP, a new open-source package for parsing and encoding IMAPv4 messages, offering type-safe Swift data structures, high performance, and integration with SwiftNIO.