185 posts with the tag “Swift”

See all tags

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.

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

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.

Development

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

Introducing Swift Distributed Actors

Apple announced Swift Distributed Actors, a new open-source package for server-side Swift that provides a complete cluster library for the experimental distributed actor language feature, released early to gather community feedback.

Development

Swift-DocC is Now Open Source

Apple introduced Swift-DocC at WWDC21 as a new documentation compiler for Swift frameworks and packages, now released as open source with support for macOS and Linux.

Development

Swift 5.5 Released!

Swift 5.5 is a major release introducing powerful concurrency features like async/await, structured concurrency, and Actors, alongside other enhancements.

Development

Package Collections

Swift 5.5 introduces package collections to the Swift Package Manager, enabling curated lists of packages to simplify discovery and adoption for specific tasks.

Development

Swift 5.4 Released!

Swift 5.4 introduces new language features like multiple variadic parameters, extended implicit member syntax, result builders, and support for overloading local functions and property wrappers for local variables.

Development

Introducing Swift Collections

Swift Collections is a new open-source package that adds advanced data structures like Deque, OrderedSet, and OrderedDictionary to extend the Swift Standard Library’s offerings beyond Array, Set, and Dictionary.

Development

Introducing SwiftNIO SSH

SwiftNIO SSH is a new open-source Swift package for the Swift Server ecosystem, providing a programmatic implementation of the SSHv2 protocol for building custom SSH clients and servers.

Development

Introducing Swift Service Discovery

Swift Service Discovery is a new open-source package for the Swift Server ecosystem, providing a standard API for service discovery backends like DNS or key-value stores, without implementing the functionality itself.

Development

Announcing Swift Algorithms

Swift Algorithms is a new open-source package offering a suite of generic sequence and collection algorithms, such as chunking, combinations, permutations, and random sampling, designed to replace error-prone loops with clear, performant code.

Development

Introducing Swift Atomics

Swift Atomics is a new open-source package enabling low-level atomic operations in Swift, allowing systems programmers to build concurrent data structures safely.

Development

Swift System is Now Open Source

Swift System is a new open-source library for Apple platforms and Linux, providing idiomatic, type-safe interfaces to system calls and low-level types, replacing error-prone C interfaces like the open function.

Development

Introducing Swift on Windows

The Swift project now offers downloadable toolchain images for Windows, enabling developers to build and run Swift code on this platform.

Development

Swift 5.3 released!

Swift 5.3 enhances developer productivity with language refinements, better diagnostics, faster code completion, and improved build times.

Development

Introducing Swift Cluster Membership

Swift Cluster Membership is a new open-source Swift package for server applications, providing reusable, runtime agnostic implementations of cluster membership protocols for distributed systems like databases and key-value stores.