What changed in URLSession.shared?
Asked on 06/11/2025
1 search
The context provided does not mention any specific changes to URLSession.shared
from the WWDC sessions. However, it does mention that if you're using URLSession
for HTTP networking, you don't need to change any of your code to benefit from new features like first-class Connect by name support, composability, mobility, and built-in security. This suggests that URLSession
continues to be a robust choice for HTTP networking without requiring modifications to existing code.
For more detailed information, you might want to check the session titled "Use structured concurrency with Network framework" from WWDC 2025, which discusses networking improvements in general.

Use structured concurrency with Network framework
Network framework is the best way to make low-level network connections on Apple platforms — and in iOS, iPadOS, and macOS 26, it’s a perfect fit for your structured concurrency code. We’ll explore how you can make connections, send and receive data and framed messages, listen for incoming connections, and browse the network for services. We’ll also cover key best practices along the way.

Get ahead with quantum-secure cryptography
Learn how to protect your app’s sensitive user data from the emerging threat of quantum computing, and safeguard user privacy. We’ll explore different quantum attacks, their impact on existing cryptographic protocols, and how to defend against them using quantum-secure cryptography. You’ll learn how to use quantum-secure TLS to secure network data, and use CryptoKit’s quantum-secure APIs for securing application data.

Embracing Swift concurrency
Join us to learn the core Swift concurrency concepts. Concurrency helps you improve app responsiveness and performance, and Swift is designed to make asynchronous and concurrent code easier to write correctly. We’ll cover the steps you need to take an app through from single-threaded to concurrent. We’ll also help you determine how and when to make the best use of Swift concurrency features – whether it’s making your code more asynchronous, moving it to the background, or sharing data across concurrent tasks.