WebKit Features in Safari 18.5
Safari 18.5 is a modest follow-up to 18.4, headlined by Declarative Web Push arriving on macOS: push notifications delivered as a standardized JSON payload without requiring Service Workers, which simplifies implementation, saves battery, and removes the penalties for undisplayed notifications. The rest is bug fixes, including a WebSocket-in-WebWorker freeze, a CSS grid min-content sizing overflow, a Lockdown Mode image-format restriction, Service Worker download interruptions, and Web Extension permission handling.
Related posts
- WebKit Features in Safari 18.4
WebKit mediumAdeptSafari 18.4 ships 84 new web platform features, 184 resolved issues and 13 deprecations. Highlights include Declarative Web Push for Home Screen web apps on iOS/iPadOS, which delivers notifications without a Service Worker, and the CSS shape() function for responsive clip paths using CSS units. Other additions include ::details-content styling and animation for <details>, sideways writing modes, text-autospace for CJK spacing, view-transition-name: match-element, and alpha/Display P3 support in the color input. Web Inspector gains device viewport presets in Responsive Design Mode, per-app JSContext auto-inspection, and source map ignoreList support.
- Meet Declarative Web Push
WebKit mediumAdeptDeclarative Web Push lets sites subscribe via window.pushManager and send a standardized JSON payload (keyed by "web_push": 8030 with a required title and navigate URL) that the browser displays as a notification without any service worker JavaScript. An installed service worker can optionally replace the proposed notification, and the declarative payload serves as a fallback if it fails, so WebKit no longer revokes subscriptions for missed notifications. Subscriptions also survive ITP deleting service worker registrations. Rewriting existing service worker PushEvent handlers to render the same JSON keeps messages backwards compatible with browsers that lack support. It is available in iOS/iPadOS 18.4 and the macOS 15.5 beta.
- WebKit Features in Safari 18.0
WebKit mediumAdeptSafari 18.0 ships 53 new web platform features, 25 deprecations and 209 fixes in WebKit alongside iOS 18, macOS Sequoia and visionOS 2. Notable additions include the View Transitions API, CSS Style Queries for custom properties, currentcolor and system colors in Relative Color Syntax, transitions on `display`, unprefixed `backdrop-filter`, and `content-visibility`. Web apps on Mac can now capture in-scope links and run extensions, and visionOS 2 adds WebXR immersive-vr sessions with transient-pointer input and hand tracking, plus Fullscreen API support for spatial photos and panoramas. Code samples show how to use the new CSS and JavaScript APIs.
- WebKit Features in Safari 16.1
WebKit mediumAdeptSafari 16.1 brings Web Push to macOS Ventura using the standard Push API, Notifications API and Service Workers, delivered via Apple Push Notification service. Sites that already follow best practices work without an Apple Developer membership, but they need feature detection rather than browser sniffing, and servers must allow push.apple.com subdomains. The release extends passkeys to all Safari 16 platforms, with advice to support cross-device sign-in and conditional mediation for AutoFill. It also adds animated AVIF, Scroll to Text Fragment and window capture via getDisplayMedia, along with CSS, forms and accessibility fixes that bring its Interop 2022 score to 93.3%.
- News from WWDC22: WebKit Features in Safari 16 Beta
WebKit easyNoviceSafari 16 beta adds Container Queries (size queries plus cqw/cqh/cqi/cqb/cqmin/cqmax units), CSS Subgrid, Web Push on macOS Ventura via the standard Push API, Notifications API and Service Worker backed by Apple Push Notification service, and Shared Workers. Web Inspector gains a Flexbox Inspector and support for developer-tools extensions built on the same JavaScript APIs as other browsers. Other additions include CSS Offset Path, animatable grids, overscroll-behavior, and a re-architected macOS accessibility layer that serves twice as many requests in 25% less time on complex pages. Existing Web Push implementations work unchanged as long as sites use feature detection and allow push.apple.com subdomains.