Difference between revisions of "macOS Monterey changes for developers"

From Lazarus wiki
Jump to navigationJump to search
(Updated with new networking features)
(→‎New features: Add virtualisation)
Line 9: Line 9:
 
* The default Accept-Language header that URLSession sends has an updated format and corrected values for multiple locales. In addition to the preferred language, the header also includes the current system language as a fallback if it differs from the preferred language. This behavior affects apps that link against macOS 12. (macOS 12 beta)  
 
* The default Accept-Language header that URLSession sends has an updated format and corrected values for multiple locales. In addition to the preferred language, the header also includes the current system language as a fallback if it differs from the preferred language. This behavior affects apps that link against macOS 12. (macOS 12 beta)  
  
* URLSession now includes async functions. (macOS 12 beta)  
+
* URLSession now includes async functions. (macOS 12 beta)
 +
 
 +
=== Virtualisation ===
 +
 
 +
* Interfaces that previously took unsigned long long arguments or returned unsigned long long results have been updated to use the uint64_t type instead. (macOS 12 beta)
  
 
== Deprecations ==
 
== Deprecations ==

Revision as of 03:57, 27 July 2021

macOSlogo.png

This article applies to macOS only.

See also: Multiplatform Programming Guide

Light bulb  Note: Under construction until macOS 12 is released

New features

Networking

  • The default Accept-Language header that URLSession sends has an updated format and corrected values for multiple locales. In addition to the preferred language, the header also includes the current system language as a fallback if it differs from the preferred language. This behavior affects apps that link against macOS 12. (macOS 12 beta)
  • URLSession now includes async functions. (macOS 12 beta)

Virtualisation

  • Interfaces that previously took unsigned long long arguments or returned unsigned long long results have been updated to use the uint64_t type instead. (macOS 12 beta)

Deprecations

  • MKPinAnnotationView and MapPin are deprecated. (macOS 12 beta)
  • Support for clear text HTTP URL schemes for Proxy Automatic Configuration (PAC) is now deprecated. Use only HTTPS URL schemes for PAC. This affects all PAC configurations including, but not limited to, configurations set via Settings, System Preferences, profiles, and URLSession APIs such as connectionProxyDictionary, and CFNetworkExecuteProxyAutoConfigurationURL(_:_:_:_:). If you configure a clear text HTTP PAC URL, the system may upgrade it to HTTPS during PAC file loads. Web Proxy Auto-Discovery (WPAD) Protocol via DNS isn’t affected. Dynamic Host Configuration Protocol (DHCP) Option 252 WPAD may attempt to upgrade clear text HTTP URLs to HTTPS during PAC file loads. (macOS 12 beta)
  • The output Combine publisher property for the message stream is deprecated. The PhotogrammetrySession.outputs property which uses the new Swift feature AsyncSequence replaces it. (macOS 12 beta)
  • Fn (Function) shortcut modifier is deprecated and reserved for system usage. (macOS 12 beta)

Monterey Release Notes