Skip to content

.NET 9.0.1xx Preview 3 (9433)

Pre-release
Pre-release
Compare
Choose a tag to compare
@rolfbjarne rolfbjarne released this 11 Apr 14:55
· 993 commits to main since this release
4eda411

We're excited to announce our third preview release for .NET 9!

Note: these are the base SDKs that add support for the platforms in question. For MAUI (which is built on top of our SDKs), visit: https://learn.microsoft.com/dotnet/maui/.

This release consists of the following versions:

Full release notes: .NET 9 release notes
Known issues: Known issues in .NET 9

What's Changed

  • [Accessibility] Make P/Invokes have blittable signatures. by @rolfbjarne in #20124
  • [AddressBook] Make P/Invokes have blittable signatures. by @rolfbjarne in #20145
  • [AudioUnit] Make P/Invokes in AudioComponent.cs have blittable signatures. by @rolfbjarne in #20146
  • [AVFoundation] Obsolete AVSpeechSynthesizer.WriteUtteranceAsync. Fixes #20338. by @rolfbjarne in #20339
  • [AVKit] Add bindings for AVCaptureEventInteraction by @rpendleton in #20296
  • [bgen] Add support for copying xml documentation for enums fields. by @rolfbjarne in #20323
  • [Compression] Add missing enum members. Fixes #20319. by @rolfbjarne in #20332
  • [CoreFoundation] Fix CFWriteStream.DoGetProperty to actually get the property. by @rolfbjarne in #20158
  • [CoreFoundation] Make P/Invokes in CFMessagePort have blittable signatures. by @rolfbjarne in #20160
  • [CoreFoundation] Make P/Invokes in CFNetwork have blittable signatures. by @rolfbjarne in #20161
  • [CoreFoundation] Make P/Invokes in CFSocket have blittable signatures. by @rolfbjarne in #20162
  • [CoreFoundation] Make P/Invokes in CFStream have blittable signatures. by @rolfbjarne in #20163
  • [CoreFoundation] Make remaining P/Invokes have blittable signatures. by @rolfbjarne in #20166
  • [CoreGraphics] Make P/Invokes in CGColorSpace have blittable signatures. by @rolfbjarne in #20202
  • [CoreGraphics] Make P/Invokes in CGContext have blittable signatures. by @rolfbjarne in #20207
  • [CoreGraphics] Make P/Invokes in CGEvent have blittable signatures. by @rolfbjarne in #20211
  • [CoreGraphics] Make P/Invokes in CGFunction have blittable signatures. by @rolfbjarne in #20220
  • [CoreGraphics] Make P/Invokes in CGImage have blittable signatures. (#20229) by @rolfbjarne in #20237
  • [CoreGraphics] Make P/Invokes in CGImage have blittable signatures. by @rolfbjarne in #20229
  • [CoreGraphics] Make P/Invokes in CGPDFArray have blittable signatures. by @rolfbjarne in #20258
  • [CoreGraphics] Make P/Invokes in CGPDFDictionary have blittable signatures. by @rolfbjarne in #20274
  • [CoreGraphics] Make P/Invokes in CGPDFDocument have blittable signatures. by @rolfbjarne in #20283
  • [CoreGraphics] Make P/Invokes in CGPDFObject have blittable signatures. by @rolfbjarne in #20286
  • [CoreGraphics] Make P/Invokes in CGPDFScanner have blittable signatures. by @rolfbjarne in #20304
  • [CoreGraphics] Make P/Invokes in CGRect/CGPoint/CGSize have blittable signatures. by @rolfbjarne in #20246
  • [CoreGraphics] Make the remaining P/Invokes have blittable signatures. by @rolfbjarne in #20310
  • [CoreMedia] Make the P/Invokes in CMBlockBuffer have blittable signatures. by @rolfbjarne in #20318
  • [CoreMedia] Make the P/Invokes in CMBufferQueue have blittable signatures. by @rolfbjarne in #20355
  • [CoreMedia] Make the P/Invokes in CMFormatDescription have blittable signatures. by @rolfbjarne in #20329
  • [CoreMedia] Make the P/Invokes in CMSampleBuffer have blittable signatures. by @rolfbjarne in #20334
  • [CoreMedia] Make the P/Invokes in CMSync have blittable signatures. by @rolfbjarne in #20340
  • [DeviceDiscoveryExtension] Added bindings for DeviceDiscoveryExtension. by @rolfbjarne in #20272
  • [DeviceDiscoveryUI] Added bindings for DeviceDiscoveryUI. by @rolfbjarne in #20271
  • [dotnet-linker] Add ProcessExportedFields to the list of steps we execute. Fixes #20061. by @rolfbjarne in #20066
  • [dotnet] add sourcelink support by @haritha-mohan in #20054
  • [dotnet] Disable support for custom runtime hosting. by @rolfbjarne in #20128
  • [dotnet] Fix sourcelink test failure by @haritha-mohan in #20205
  • [dotnet] Multi target with Xcode 15.0 by @rolfbjarne in #20155
  • [dotnet] Rename packs to contain target framework. by @rolfbjarne in #19765
  • [dotnet] Show a better error when using a .NET framework version we don't support yet. by @rolfbjarne in #20255
  • [dotnet] Show a better error when using a .NET framework version we don't support. by @rolfbjarne in #20142
  • [Foundation] Always call the completion handler in a few callbacks in NSUrlSessionHandler. by @rolfbjarne in #20326
  • [Foundation] Don't dispose the CancellationTokenSource in NSUrlSessionHandler's InflightData. Fixes #11799. by @rolfbjarne in #20328
  • [Foundation] Don't leak exceptions in WrappedNSInputStream.Read. by @rolfbjarne in #20131
  • [Foundation] Fix hack in NSUrlSessionHandler to avoid a deadlock. by @rolfbjarne in #20327
  • [Foundation] Suppress trimmer warnings for certain Blocks members. by @rolfbjarne in #20267
  • [Foundation] Suppress trimmer warnings for NSObject.CreateNSObject. by @rolfbjarne in #20254
  • [Foundation] Suppress trimmer warnings for NSObject.DynamicConformsToProtocol members. by @rolfbjarne in #20333
  • [generator] Add support for XML documentation in the API definitions. Fixes #17397. by @rolfbjarne in #20253
  • [MediaAccessibility] Make P/Invokes have blittable signatures. by @rolfbjarne in #20120
  • [ModelIO] Make P/Invokes have blittable signatures. by @rolfbjarne in #20153
  • [msbuild] Add a check for actually having anything to AOTCompile. by @rolfbjarne in #20206
  • [msbuild] Adjust error message when we can't find Xcode to not talk about VS. Fixes #19818. by @rolfbjarne in #20306
  • [msbuild] Copy extracted files from the DecompressXpcServices target back to Windows. by @rolfbjarne in #20219
  • [msbuild] Detect problems with long paths, and try to show a bit more helpful information. Fixes #20053. by @rolfbjarne in #20298
  • [msbuild] Disable stripping symbols by default for Debug builds by @haritha-mohan in #20308
  • [msbuild] Don't create output files for files we already copy in CreateBindingResourcePackage. by @rolfbjarne in #20221
  • [msbuild] Enable nullability in WriteItemsToFile and fix any issues. by @rolfbjarne in #20099
  • [msbuild] Make the GetFileSystemEntries task actually cancellable. by @rolfbjarne in #20209
  • [msbuild] Make the level of parallelism configurable in all tasks that call Parallel.ForEach. Fixes #20210. by @rolfbjarne in #20256
  • [msbuild] Make the level of parallelism in the codesign task configureable. by @rolfbjarne in #20242
  • [msbuild] Move all tasks from Xamarin.[iOS|Mac].Tasks into Xamarin.MacDev.Tasks. by @rolfbjarne in #20118
  • [msbuild] Remove 'UsingTask' statement trying to load a task that doesn't exist. by @rolfbjarne in #20151
  • [msbuild] Several updates to the ScnTool task. by @rolfbjarne in #19976
  • [msbuild] Try to provide some better diagnostics if we fail to compute remote generator properties. by @rolfbjarne in #20218
  • [msbuild] Use MetadataLoadContext in the UnpackLibraryResources task. by @rolfbjarne in #20017
  • [net9.0] Bump min macOS to 12.0 and min Mac Catalyst to 15.0. Fixes #19392. by @rolfbjarne in #20186
  • [ObjCRuntime] Refactor the Block.SetupBlock(Delegate,Delegate) implementation a bit. by @rolfbjarne in #20353
  • [ObjCRuntime] Suppress trimmer warnings for certain Blocks members. by @rolfbjarne in #20309
  • [ObjCRuntime] Suppress trimmer warnings for certain DynamicRegistrar members. by @rolfbjarne in #20300
  • [ObjCRuntime] Suppress trimmer warnings for certain DynamicRegistrar members. by @rolfbjarne in #20350
  • [ObjCRuntime] Suppress trimmer warnings for certain Runtime members. by @rolfbjarne in #20290
  • [ObjCRuntime] Suppress trimmer warnings for certain Runtime members. by @rolfbjarne in #20322
  • [ObjCRuntime] Suppress trimmer warnings for certain Runtime members. by @rolfbjarne in #20337
  • [ObjCRuntime] Suppress trimmer warnings for certain Stret members. by @rolfbjarne in #20313
  • [ObjCRuntime] Suppress trimmer warnings for Class.ResolveToken. by @rolfbjarne in #20278
  • [runtime] Detect recursion when handling unhandled Objective-C exceptions. Fixes #14796. by @rolfbjarne in #20276
  • [runtime] Don't register Runtime.CreateDelegateProxy when using the managed static registrar. by @rolfbjarne in #20164
  • [runtime] Don't register Runtime.GetGenericMethodFromToken when the managed static registrar is used. by @rolfbjarne in #20144
  • [runtime] Fix conserving stack trace when re-throwing marshalled exceptions. Fixes #19417. by @rolfbjarne in #20316
  • [runtime] Fix min OS versions in various compiler and linker arguments. by @rolfbjarne in #20275
  • [SafetyKit] Added bindings for SafetyKit. by @rolfbjarne in #20263
  • [src] Disable a few code paths on macOS if dynamic registration is disabled. by @rolfbjarne in #20178
  • [src] Fix capitalization in a few APIs for XAMCORE_5_0. by @rolfbjarne in #20281
  • [src] Fix unintentional xml doc comment. by @rolfbjarne in #20252
  • [src] Propagate the [CCallback] and [BlockCallback] attributes to generated code. by @rolfbjarne in #20225
  • [src] Remove any 32-bit logic not applicable to watchOS. by @rolfbjarne in #20152
  • Add documentation on how to provide the Apple Privacy Manifest by @mcumming in #20292
  • Allow null for CGColorSpace.CreatePattern by @snechaev in #20294
  • Bump peterjgrainger/action-create-branch from 2.4.0 to 3.0.0 by @dependabot in #20241
  • Fix Apple Privacy Manifest doc typos by @jfversluis in #20352
  • NSUrlSessionHandler: Rewind request content to the start before sending by @wcoder in #16341
  • Update AOTCompile task to handle cycles in up-to-date check by @filipnavara in #20103
  • Use 'managed-static' as the new default registrar by @ivanpovazan in #20174

New Contributors

Full Changelog: dotnet-9.0.1xx-preview2-9244...dotnet-9.0.1xx-preview3-9429