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.
Development
Server Guides Now on Swift.org
The Swift Server Workgroup has relocated its open-source guides for Swift on Server development to the now open-source swift.org website.
Development
Vapor's Next Steps with async/await
Vapor is updating its supported Swift versions to a minimum of Swift 5.6 to align with Swift 6 and prepare for Vapor 5, focusing on back-deploying async/await to older OSes, ensuring safety in a concurrent environment, and adopting Sendable for compile-time data race checks.
Development
Announcing the Documentation Workgroup
The Documentation Workgroup has been formed to enhance the Swift documentation experience, focusing on guiding tools like Swift-DocC and defining contribution processes for documentation tooling.
Development
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
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.
We've just released Vapor 4.61.1 which contains a fix for a security vulnerability in Vapor's URLEncodedFormDecoder.
Development
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
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
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.