Blog

Gems

Baraye

A beautiful song that is now the soundtrack of the protests in Iran.

Gems

Sound

Invisible and relentless, sound is seemingly just there, traveling through our surroundings to carry beautiful music or annoying noises. In this article I’ll explain what sound is, how it’s created and propagated.

Monthly Updates

Monthly update #0389 • September 2022

Monthly update 389 • September 2022 • 2022-09-01 - 2022-09-30

    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.

    Monthly Updates

    Monthly update #0388 • August 2022

    Monthly update 388 • August 2022 • 2022-08-01 - 2022-08-31

      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.

      Books

      The College Scam by Charlie Kirk

      Charlie Kirk’s The College Scam: How America's Universities Are Bankrupting and Brainwashing Away the Future of America's Youth challenges the value of traditional college education, arguing it burdens students with debt while promoting progressive ideologies.

      Monthly Updates

      Monthly update #0387 • July 2022

      Monthly update 387 • July 2022 • 2022-07-01 - 2022-07-31

        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.

        Monthly Updates

        Monthly update #0386 • June 2022

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

          Books

          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.

          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.

          Monthly Updates

          Monthly update #0385 • May 2022

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

            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.

            Gems

            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.

            Monthly Updates

            Monthly update #0384 • April 2022

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

              Projects

              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.