Releases: xamarin/xamarin-macios
.NET 7.0.3xx - Xcode 14.3 (7099)
This is a servicing release to the previous 7.0.3xx service release.
Versions
This release consists of the following versions:
These builds are supported using both Xcode 14.3 and Xcode 15.
What's Changed
- [msbuild] Fix ILStripping of resource assemblies on Windows. by @rolfbjarne in #18511
- [tools] Always link weakly with NewsstandKit. Fixes #18606. by @vs-mobiletools-engineering-service2 in #18624
- [tools] Don't link with NewsstandKit if we're using Xcode 15+. by @vs-mobiletools-engineering-service2 in #18631
- [mlaunch] Bump to a version that works with Xcode 15. by @vs-mobiletools-engineering-service2 in #18652
- [registrar] Skip registering types removed in Xcode 15. by @rolfbjarne in #18811
Full Changelog: dotnet-7.0.3xx-7089...dotnet-7.0.3xx-7099
.NET 8.0.100 Preview 7 (8694)
We're excited to announce our seventh preview release for .NET 8!
Note: these are the base SDKs that add support for the platforms in question, for MAUI (which is built on top of our SDKs), go here instead: https://docs.microsoft.com/en-us/dotnet/maui/.
This release consists of the following versions:
- iOS: 16.4.8694-net8-p7
- tvOS: 16.4.8694-net8-p7
- Mac Catalyst: 16.4.8694-net8-p7
- macOS: 13.3.8694-net8-p7
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET8
⚠️ In particular there's a known build failure if both preview 6 and preview 7 are installed: ILLINK : error MT2301: The linker step 'Setup' failed during processing: Failed to parse PList data type: dict
What's Changed
- NSUrlSessionHandler should propagate network exceptions by @EmilienDup in #18459
- [bgen] Remove useless catch/(re)throw. by @rolfbjarne in #18467
- [msbuild] Remove some logic for watchOS on .NET. by @rolfbjarne in #18473
- [msbuild] Print the binlog if the prebuilt app failed to build. by @rolfbjarne in #18474
- [Code Style] Add some extra style checks focused on nullability. by @mandel-macaque in #17831
- [dotnet] Integrate class handle rewriting into static registrar process. by @stephen-hawley in #18456
- [net8.0] [src] Add the RequiresPreviewFeatures attribute if we're using an unstable version of Xcode. Contributes towards #18343. by @rolfbjarne in #18488
- [msbuild/generator] Compile api definitions in MSBuild logic instead of inside the generator. by @rolfbjarne in #18398
- [msbuild/dotnet] Handle dylibs that don't start with 'lib' better. Fixes #15044. by @rolfbjarne in #18496
- [iOS] HybridGlobalization set flag in SDK by @mkhamoyan in #18498
- MSR: Remove use of reflection in UCOs of generic types by @simonrozsival in #18421
- [msbuild] Fix ILStripping of resource assemblies on Windows. by @rolfbjarne in #18508
- Bump Xamarin.Messaging to 1.11.2 by @emaf in #18521
- Remove IKVM submodule by @filipnavara in #18516
- Revert "[dotnet] Remove libSystem.Net.Security.Native from tvOS build… by @filipnavara in #18514
- Exclude assemblies from NativeAOT app bundles by @ivanpovazan in #18532
- [msbuild] Fix null check when validating Hot Restart app identifier by @emaf in #18546
- Do not include -dead_strip when native linking a NativeAOT object file by @ivanpovazan in #18553
- NativeAOT: Disable AggressiveAttributeTrimming with ILLink by @ivanpovazan in #18545
- [Localization] Bring More Localization Changes by @tj-devel709 in #18558
- Add getFileProviderConnectionWithCompletionHandler signature to start… by @JonnHard in #18533
- Fix _DefaultLinkMode for NativeAOT. by @filipnavara in #18560
- [release/8.0.1xx-preview7] [vs-workload] Set EnableSideBySideManifests=true by @vs-mobiletools-engineering-service2 in #18583
- [release/8.0.1xx-preview7] [dotnet][xma] Ensure we don't use DOTNET_ROOT and DOTNET_HOST_PATH in. by @vs-mobiletools-engineering-service2 in #18591
- [release/8.0.1xx-preview7] Update dependencies from dotnet/installer by @dotnet-maestro in #18593
New Contributors
- @EmilienDup made their first contribution in #18459
- @mkhamoyan made their first contribution in #18498
- @JonnHard made their first contribution in #18533
Full Changelog: dotnet-8.0.1xx-preview6-8646...dotnet-8.0.1xx-preview7-8694
.NET 7.0.3xx - Xcode 14.3 (7090)
This is a servicing release to the previous 7.0.3xx service release.
Versions
This release consists of the following versions:
These builds are supported using Xcode 14.3.
What's Changed
- [release/7.0.3xx] [msbuild] Fix ILStripping of resource assemblies on Windows. by @rolfbjarne in #18511
Full Changelog: dotnet-7.0.3xx-7089...dotnet-7.0.3xx-7090
.NET 8.0.100 Preview 6 (8646)
We're excited to announce our sixth preview release for .NET 8!
Note: these are the base SDKs that add support for the platforms in question, for MAUI (which is built on top of our SDKs), go here instead: https://docs.microsoft.com/en-us/dotnet/maui/.
This release consists of the following versions:
- iOS: 16.4.8646-net8-p6
- tvOS: 16.4.8646-net8-p6
- Mac Catalyst: 16.4.8646-net8-p6
- macOS: 13.4.8646-net8-p6
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET8
What's Changed
- [AVFoundation] Fix a few issues with the AVAssetImageGenerator bindings. Partial fix for #18452. by @rolfbjarne in #18460
- [bgen] Make the generated code check for zero handle before creating an INativeObject wrapper instance. Fixes part of #18452. by @rolfbjarne in #18461
- [CoreFoundation] Add a few missing APIs to CFRunLoop and enable nullability. by @rolfbjarne in #18322
- [docs] Created a doc for preparing an app for TestFlight by @dustin-wojciechowski in #18125
- [dotnet] Add a property to opt-out of the _CopyLocalBindingResources logic easily. by @rolfbjarne in #18443
- [dotnet] add redirect-class-handles to optimizations. by @stephen-hawley in #18354
- [dotnet] Add support for asking more of 'open' when launching desktop apps. by @rolfbjarne in #18366
- [dotnet] Add targets to compute mlaunch arguments for installing and launching mobile apps. Fixes #18359. by @rolfbjarne in #18446
- [dotnet] Add to optimizations by @stephen-hawley in #18387
- [dotnet] Enable runtime identifiers to be overriden at build time by @haritha-mohan in #18396
- [dotnet] Set _RequiresILLinkPack=true so that we always restore the ILLink package. by @vs-mobiletools-engineering-service2 in #18412
- [Foundation] Several fixes to NSFileManager. by @rolfbjarne in #18371
- [msbuild] Bump ILStrip and add a maestro dependency to keep it updated. by @rolfbjarne in #18291
- [msbuild] Copy the zip file back to Windows from the Zip task for remote builds. Fixes #18402. by @rolfbjarne in #18447
- [msbuild] Dispose a few streams when done with them in the unzip/decompress logic. by @rolfbjarne in #18410
- [msbuild] Make sure to copy the manifest from a binding resource package back to Windows. Fixes #18402. by @rolfbjarne in #18419
- [msbuild] Make the GetFileSystemEntries task capable of copying files to the Mac. by @rolfbjarne in #18324
- [ObjCRuntime] Avoid using Assembly.Location, it doesn't work with NativeAOT. by @rolfbjarne in #18372
- [Xcode] Bump Xcode to version 14.3.1 by @dalexsoto in #18290
- Add support for using NativeAOT. by @rolfbjarne in #17374
- Hot Restart fixes by @mauroa in #18317
- Reduce the size of
__LINKEDIT Export Info
section in stripped binaries by @ivanpovazan in #18408 - Require using EnablePreviewFeatures=true when using preview releases. Contributes towards #18343. by @rolfbjarne in #18476
- Update Messaging and System.Diagnostics.Tracer versions by @japarson in #18416
- Use Enum.GetValues instead of Enum.GetValues in numerous places for .NET. by @rolfbjarne in #18382
New Contributors
- @ivanpovazan made their first contribution in #18408
Full Changelog: dotnet-8.0.1xx-preview5-8525...dotnet-8.0.1xx-preview6-8646
.NET 7.0.3xx - Xcode 14.3 (7089)
This is a servicing release to the previous 7.0.2xx service release.
Versions
This release consists of the following versions:
These builds are supported using Xcode 14.3.
What's Changed
- [dotnet] Add a missing IsMacEnabled check before executing a task in the _ComputeLinkerArguments target. by @vs-mobiletools-engineering-service2 in #18152
- [dotnet] Add a property to opt-out of the _CopyLocalBindingResources logic easily. by @vs-mobiletools-engineering-service2 in #18450
- [dotnet] Add targets to compute mlaunch arguments for installing and launching mobile apps. Fixes #18359. by @rolfbjarne in #18451
- [dotnet] Set _RequiresILLinkPack=true so that we always restore the ILLink package. by @rolfbjarne in #18411
- [msbuild] Copy the zip file back to Windows from the Zip task for remote builds. Fixes #18402. by @vs-mobiletools-engineering-service2 in #18454
- [msbuild] Make sure to copy the manifest from a binding resource package back to Windows. Fixes #18402. by @rolfbjarne in #18425
- [runtime] Always look for dynamic libraries relative to the root directory first. Fixes #xamarin/maccore@2668. by @vs-mobiletools-engineering-service2 in #18132
- Bump to .NET 7.0.3xx. by @rolfbjarne in #18101
- Use the current version of .NET in a few projects. by @rolfbjarne in #18423
Full Changelog: dotnet-7.0.2xx-xcode14.3-7067...dotnet-7.0.3xx-7089
.NET 8.0.100 Preview 5 (8525)
We're excited to announce our fifth preview release for .NET 8!
Note: these are the base SDKs that add support for the platforms in question, for MAUI (which is built on top of our SDKs), go here instead: https://docs.microsoft.com/en-us/dotnet/maui/.
This release consists of the following versions:
- iOS: 16.4.8525-net8-p5
- tvOS: 16.4.8525-net8-p5
- Mac Catalyst: 16.4.8525-net8-p5
- macOS: 13.4.8525-net8-p5
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET8
What's Changed
- [bgen] Fix a few nullability warnings. by @rolfbjarne in #18264
- [dotnet-linker] Add a 'vscode' target that will launch VSCode with the paths configured to use the local .NET. by @rolfbjarne in #18293
- [dotnet-linker] Add a tasks.json to ease development with VSCode. by @rolfbjarne in #18292
- [dotnet-linker] Enable nullability in numerous files. by @rolfbjarne in #18184
- [dotnet] Fix linker path on Windows by @emaf in #18285
- [dotnet] Stop looking for the AOT compiler if cached by @emaf in #18286
- [dotnet] Turn class-redirector into a Task by @stephen-hawley in #18244
- [Foundation] Bind two overloads to create NSUrl instances from file paths. by @rolfbjarne in #18265
- [Foundation] Fix nullability issues in NSUserDefaults. Fixes #18243. by @rolfbjarne in #18246
- [Generator] Clean code left behind in a refactor. by @mandel-macaque in #18283
- [Generator] Remove nullability warnings. by @mandel-macaque in #18281
- [msbuild] Enable nullability in a few classes. by @rolfbjarne in #18248
- [msbuild] Fix calling the GetFileSystemEntries task on Windows when not connected to a Mac. by @rolfbjarne in #18287
- [msbuild] Merge the ILLink and ILLinkTaskBase classes. by @rolfbjarne in #18086
- [msbuild] Merge the ILStrip and ILStripTaskBase classes. by @rolfbjarne in #18211
- [msbuild] Merge the MTouch and MTouchTaskBase classes. by @rolfbjarne in #18212
- [msbuild] Show a warning if asked to load an app manifest that doesn't exist. by @rolfbjarne in #18222
- [msbuild] Simplify code by using updated API from Xamarin.MacDev. by @rolfbjarne in #18090
- [runtime] Add support for keeping the same block alive multiple times. Fixes #18161. by @rolfbjarne in #18277
- [runtime] Re-generate product.h when the current commit changes. by @rolfbjarne in #18231
- [ServiceManagement] Bind this framework. Fixes #18084. by @rolfbjarne in #18263
- [src] Enable nullability in a few files. by @rolfbjarne in #18185
- [src] Use NSLog instead of Console.WriteLine in tracing statements. by @rolfbjarne in #18258
- Add a managed static registrar. Fixes #17324. by @rolfbjarne in #18268
- Enable nullability in various places by @rolfbjarne in #18082
- Fix nullability of WebView.EditingDelegate by @filipnavara in #18247
- Fix the name of the item function. by @filipnavara in #18199
Full Changelog: dotnet-8.0.1xx-preview4-8377...dotnet-8.0.1xx-preview5-8525
.NET 7.0.2xx - Xcode 14.3 (7067)
This is a servicing release to the previous 7.0.2xx service release.
Versions
This release consists of the following versions:
These builds are supported using Xcode 14.3.
What's Changed
- [release/7.0.2xx-xcode14.3] [dotnet] Fix linker path on Windows by @rolfbjarne in #18298
- [release/7.0.2xx-xcode14.3] [msbuild] Fix calling the GetFileSystemEntries task on Windows when not connected to a Mac. by @vs-mobiletools-engineering-service2 in #18299
- [release/7.0.2xx-xcode14.3] [runtime] Add support for keeping the same block alive multiple times. Fixes #18161. by @vs-mobiletools-engineering-service2 in #18303
- [release/7.0.2xx-xcode14.3] [msbuild] Make the GetFileSystemEntries task capable of copying files to the Mac. by @vs-mobiletools-engineering-service2 in #18342
- [release/7.0.2xx-xcode14.3] Bump .NET 6 versions old-fashioned 🥃 by @dalexsoto in #18352
- [release/7.0.2xx-xcode14.3] [msbuild] Add a missing 'UsingTask' for the FindILLink task. by @rolfbjarne in #18369
- [release/7.0.2xx-xcode14.3] [dotnet] Add support for asking more of 'open' when launching desktop apps. by @vs-mobiletools-engineering-service2 in #18370
Full Changelog: dotnet-7.0.2xx-xcode14.3-7060...dotnet-7.0.2xx-xcode14.3-7067
.NET 6.0.4xx - Xcode 14.3 (60)
This is a servicing release to the previous 6.0.4xx servicing release.
This will most likely be the last servicing release for .NET 6 - please upgrade your projects to .NET 7.
Versions
This release consists of the following versions:
What's Changed
- [release/6.0.4xx-xcode14.3] Add Xcode 14.3 Support by @rolfbjarne in #17946
- [release/6.0.4xx-xcode14.3] Bump to stable Xcode 14.3 by @vs-mobiletools-engineering-service2 in #17956
- [release/6.0.4xx-xcode14.3] Fixed remote and local build issues by @vs-mobiletools-engineering-service2 in #17968
- [release/6.0.4xx-xcode14.3] Update Messaging and Hot Restart versions by @vs-mobiletools-engineering-service2 in #18002
- [release/6.0.4xx-xcode14.3] Update dependencies from dotnet/runtime by @dotnet-maestro in #17984
- [release/6.0.4xx-xcode14.3] Update dependencies from dotnet/installer by @dotnet-maestro in #17985
- [release/6.0.4xx-xcode14.3] [Foundation] Preserve all members of WrappedNSInputStream. Fixes #15860. by @vs-mobiletools-engineering-service2 in #18018
- [release/6.0.4xx-xcode14.3] Update dependencies from dotnet/runtime by @dotnet-maestro in #18023
- [release/6.0.4xx-xcode14.3] Update dependencies from dotnet/installer by @dotnet-maestro in #18039
- [release/6.0.4xx-xcode14.3] [tests] Ignore DNS lookup failures in CI. by @vs-mobiletools-engineering-service2 in #18068
- [release/6.0.4xx-xcode14.3] Update dependencies from dotnet/installer by @dotnet-maestro in #18074
- [release/6.0.4xx-xcode14.3] [maestro] Make 'Microsoft.NETCore.App.Ref' depend on 'Microsoft.Dotnet.Sdk.Internal'. by @rolfbjarne in #18045
- [release/6.0.4xx-xcode14.3] Update dependencies from dotnet/installer by @dotnet-maestro in #18093
- [release/6.0.4xx-xcode14.3] [introspection] Ignore the AddressBook namespace for Mac Catalyst when checking static cctors. by @vs-mobiletools-engineering-service2 in #18112
- [release/6.0.4xx-xcode14.3] [runtime] Always look for dynamic libraries relative to the root directory first. Fixes #xamarin/maccore@2668. by @rolfbjarne in #18133
- [release/6.0.4xx-xcode14.3] [dotnet] Add a missing IsMacEnabled check before executing a task in the _ComputeLinkerArguments target. by @vs-mobiletools-engineering-service2 in #18151
- [release/6.0.4xx-xcode14.3] [tests] Allow a little bit of leeway when testing floating point numbers in SKTransformNodeTest. by @vs-mobiletools-engineering-service2 in #18168
- [release/6.0.4xx-xcode14.3] [tests] Find a workaround for #xamarin/maccore@2668. by @rolfbjarne in #18172
- [release/6.0.4xx-xcode14.3] Update dependencies from dotnet/installer by @dotnet-maestro in #18213
- [release/6.0.4xx-xcode14.3] Update dependencies from dotnet/installer by @dotnet-maestro in #18249
- [dotnet] add metadata about .NET 6 EOL by @jonathanpeppers in #18282
Full Changelog: dotnet-6.0.4xx-xcode14.2-46...dotnet-6.0.4xx-xcode14.3-60
.NET 7.0.2xx - Xcode 14.3 (7060)
This is a servicing release to the previous 7.0.2xx service release, adding support for Xcode 14.3.
Versions
This release consists of the following versions:
These builds are supported using Xcode 14.3.
What's Changed
- [AppKit] Add a weakly typed version of NSRulerView.WeakMeasurementUnits. Fixes #17742. by @rolfbjarne in #17779
- [AppKit] Add missing fields to the NSKey enum. Fixes #17085. by @rolfbjarne in #17086
- [AppKit] Add missing setter for generateMipmaps in NSView by @haritha-mohan in #17416
- [AppKit] Add nullability to the manual code. by @mandel-macaque in #17182
- [AppKit] Bind an NSWindow(IntPtr) constructor in the API definition. by @rolfbjarne in #17264
- [AppKit] Enable nullability in NSHost. by @rolfbjarne in #17414
- [AppKit] Make sure NSButtons are treated as toggled objects after setting a field. Fixes #17635. by @rolfbjarne in #17639
- [AppKit] Remove nullability warning. by @mandel-macaque in #17411
- [AppKit] Try to make NSWindow.ReleasedWhenClosed work. Fixes #8606. by @rolfbjarne in #17105
- [AudioToolBox] Add nullability to files that were forgotten. by @mandel-macaque in #17185
- [AudioUnit] Add nullability to forgotten files. by @mandel-macaque in #17186
- [AudioUnit] Adjust availability attributes according to conditional compilation directives. by @rolfbjarne in #17309
- [AudioUnit] Cleanup ifdefs in AUEnums. by @rolfbjarne in #17267
- [AudioUnit] Make AudioUnitParameterType.AUDCFilterDecayTime obsolete on Mac Catalyst. by @rolfbjarne in #17231
- [AVFoundation/Intents/QuickLook] Don't add introduced attributes for a platform when the type itself isn't available on that platform. by @rolfbjarne in #17293
- [AVFoundation] Add a few missing APIs. Fixes #16954. by @rolfbjarne in #17310
- [AVFoundation] Fix capitalization issue by @haritha-mohan in #16461
- [AVFoundation] Fix Capitalization Issue in type AVCaptureDeviceFormat by @haritha-mohan in #16630
- [AVFoundation] Fix inputs -> Inputs by @haritha-mohan in #16660
- [BackgroundTasks] Add nullability to forgotten files. by @mandel-macaque in #17187
- [build] Add support for Visual Studio on win-arm64 by @jonathanpeppers in #16935
- [BussinessChat] Add nullability to forgotten files. by @mandel-macaque in #17188
- [CFNetwork] Add nullability to forgotten files. by @mandel-macaque in #17208
- [CloudKit] Add nullability to forgotten file. by @mandel-macaque in #17209
- [CloudKit] Update availability attributes for CKShareParticipantType. by @rolfbjarne in #17066
- [ColreLocation] Add nullability to forgotten file and remove dead code. by @mandel-macaque in #17212
- [compare-commits] Fix undefined array access when running on bots. by @rolfbjarne in #16462
- [Contacts] Add nullability to forgotten file. by @mandel-macaque in #17210
- [ContactsUI] Ensure availability attributes are identical on all platforms. by @rolfbjarne in #17233
- [CoreAnimation] Add missing CAMetalLayer properties. Fixes #17340. by @rolfbjarne in #17345
- [CoreFoundation] A few minor nullability fixes in CFSocket. by @rolfbjarne in #16761
- [CoreHaptics] Add nullability to forgotten file. by @mandel-macaque in #17211
- [CoreMedia] Add nullability to missing files. by @mandel-macaque in #17213
- [CoreMidi] Add nullability to missing files. by @mandel-macaque in #17214
- [CoreMidi] Fixed MidiPacket.Bytes IndexOutOfRangeException. Fixes #16979. by @reid-kirkpatrick in #16992
- [CoreSpotlight] Add nullability to forgotten files. by @mandel-macaque in #17216
- [CoreTelephony] Add nullability to missing file. by @mandel-macaque in #17217
- [dotnet-linker] Give a better exception message when unable to resolve an assembly reference. by @rolfbjarne in #16750
- [dotnet-linker] Handle null fields in BackingFieldDelayHandler as unmarked fields. Fixes #16957. by @rolfbjarne in #16970
- [dotnet-linker] Only enable ForceLoad for native binding libraries if that's actually requested in the binding library. Fixes #16861. by @rolfbjarne in #16879
- [dotnet/msbuild] Copy binding resource packages to output directories together with CopyLocal assemblies. Fixes #13910. by @rolfbjarne in #17806
- [dotnet/msbuild] Only compile entitlements once for universal builds. Fixes #15632. by @rolfbjarne in #17096
- [dotnet/tools] Don't disable compact unwind info. Fixes #16546. by @rolfbjarne in #16623
- [dotnet] Add [SupportedOSPlatformGuard] attributes to UIDevice.CheckSystemVersion. Fixes #16250. by @rolfbjarne in #16513
- [dotnet] Add a missing IsMacEnabled check before executing a task in the _ComputeLinkerArguments target. by @vs-mobiletools-engineering-service2 in #18221
- [dotnet] Add support for .so files by @ylatuya in #16887
- [dotnet] Add support for passing environment variables and custom arguments when launching apps with mlaunch. by @rolfbjarne in #17730
- [dotnet] Add support for setting an MSBuild property to pass additional mlaunch arguments. by @rolfbjarne in #17866
- [dotnet] address book pinvokes by @stephen-hawley in #17419
- [dotnet] Always use a four part VS component version by @pjcollins in #16633
- [dotnet] AppKit pinvokes by @stephen-hawley in #17644
- [dotnet] audiotoolbox blittable pinvokes with delegates by @stephen-hawley in #17388
- [dotnet] blitable network pinvokes by @stephen-hawley in #17071
- [dotnet] Cache the AOT compiler path. Fixes #16774. by @rolfbjarne in #17033
- [dotnet] CGImageMetadata by @stephen-hawley in #17530
- [dotnet] Change _IntermediateDecompressionDir to always have a trailing directory separator. by @rolfbjarne in #17728
- [dotnet] Change the order of the linker steps. Fixes #17347. by @rolfbjarne in #17360
- [dotnet] CoreFont delegates by @stephen-hawley in #17338
- [DotNet] CoreFoundation Pinvokes by @stephen-hawley in #17505
- [dotnet] CoreGraphics convert strings in pinvokes by @stephen-hawley in #17135
- [dotnet] CoreGraphics pinvoke by @stephen-hawley in #17702
- [dotnet] Create an MSBuild property for the current min OS version. by @rolfbjarne in #17034
- [dotnet] Darwin p/invokes by @stephen-hawley in #17698
- [dotnet] Enable generation of runtime configuration file by @haritha-mohan in #17840
- [dotnet] Ensure all templates are targetting .NET 7. by @rolfbjarne in #16819
- [dotnet] Ensure any trimmer components are restored properly. by @rolfbjarne in #17227
- [dotnet] final blittable pinvoke by @stephen-hawley in #17723
- [dotnet] First change for blitability of pinvokes with strings by @steph...
.NET 8.0.100 Preview 4 (8377)
We're excited to announce our fourth preview release for .NET 8!
Note: these are the base SDKs that add support for the platforms in question, for MAUI (which is built on top of our SDKs), go here instead: https://docs.microsoft.com/en-us/dotnet/maui/.
This release consists of the following versions:
- iOS: 16.4.8377-net8-p4
- tvOS: 16.4.8377-net8-p4
- Mac Catalyst: 16.4.8377-net8-p4
- macOS: 13.4.8377-net8-p4
Known issues: https://github.com/xamarin/xamarin-macios/wiki/Known-issues-in-.NET8
What's Changed
- [AppKit] Add a few missing NullAllowed attributes. Fixes #18115. by @rolfbjarne in #18118
- [AppKit] Add a weakly typed version of NSRulerView.WeakMeasurementUnits. Fixes #17742. by @rolfbjarne in #17779
- [AVFoundation] Add a few strongly typed enums by @rolfbjarne in #18022
- [AVFoundation] Add missing AVCapture members. Fixes #18155. by @rolfbjarne in #18156
- [AVFoundation] Fix callback signature for the AVAudioSinkNode constructor. Fixes #17575. by @rolfbjarne in #17785
- [bgen] Check for null (no) namespace when matching namespace to framework. Fixes #18025. by @rolfbjarne in #18046
- [CoreMidi] Create a blittable version of MidiCIDeviceIdentification. by @rolfbjarne in #18052
- [CoreMidi] Sprinkle a few more NativeName attributes for various structs. by @rolfbjarne in #18139
- [docs] Document properties for configurations by @haritha-mohan in #17940
- [dotnet/msbuild] Copy binding resource packages to output directories together with CopyLocal assemblies. Fixes #13910. by @rolfbjarne in #17806
- [dotnet/msbuild] Don't bundle *.xml files that match any assemblies. Fixes #14939 and fixes #15897. by @rolfbjarne in #17908
- [dotnet] Add a missing IsMacEnabled check before executing a task in the _ComputeLinkerArguments target. by @rolfbjarne in #18145
- [dotnet] Add support for setting an MSBuild property to pass additional mlaunch arguments. by @rolfbjarne in #17866
- [dotnet] Added one more test to ensure that multiple types in a file work. by @stephen-hawley in #18073
- [dotnet] Added tests, fixed bugs by @stephen-hawley in #17979
- [dotnet] Enable generation of runtime configuration file by @haritha-mohan in #17840
- [dotnet] Include the parsed runtimeconfig.bin into ResolvedFileToPublish. Contributes towards #17579. by @rolfbjarne in #18087
- [dotnet] integrate writing out class map into static registrar by @stephen-hawley in #18141
- [dotnet] preliminary cut for class-redirector by @stephen-hawley in #17951
- [dotnet] Use the type_map_path arg by @stephen-hawley in #18175
- [Foundation] Preserve all members of WrappedNSInputStream. Fixes #15860. by @rolfbjarne in #18011
- [Generator] Clean the attribute work. by @mandel-macaque in #17570
- [generator] Make the block callbacks UnmanagedCallersOnly functions in .NET. by @rolfbjarne in #17741
- [generator] Simplify/clarify code a little bit. by @rolfbjarne in #17858
- [linker/trimmer] Add opt-in support for not marking NSObjects in user assemblies. Fixes #15723. by @rolfbjarne in #17949
- [main] Add Xcode 14.3 Support by @dalexsoto in #17810
- [msbuild/dotnet] Rework how we collect and process native references. by @rolfbjarne in #17554
- [msbuild/tests/dotnet] Add support for xcframeworks for Hot Restart and add tests. Fixes #16571. by @rolfbjarne in #18103
- [msbuild] Allow setting EnableCodeSigning=false to disable code signing for Hot Restart. by @rolfbjarne in #18013
- [msbuild] Always pass --wait-for-exit: to mlaunch. by @rolfbjarne in #17865
- [msbuild] Enable nullability and unify base and derived class for the GetFiles task. by @rolfbjarne in #17814
- [msbuild] Get RecursiveDir directory name only if it isn't empty by @emaf in #17988
- [msbuild] Honor any existing values for HotRestartSignedAppOutputDir and HotRestartAppBundlePath. by @rolfbjarne in #18014
- [msbuild] Move *.targets, *.props and FrameworkList.xml files to a common directory. by @rolfbjarne in #17860
- [msbuild] Remove the SdkVersion property in the ReadAppManifest task. by @rolfbjarne in #18053
- [msbuild] Remove unused input/output from HotRestart's DetectSigningIdentity task by @rolfbjarne in #18055
- [msbuild] Rename a few HotRestart tasks. by @rolfbjarne in #18077
- [msbuild] Simplify the CompileAppManifest a bit by removing the SdkPlatform input property. by @rolfbjarne in #18054
- [msbuild] Use our own Unzip task instead of Ditto when extracting compressed plugins. by @rolfbjarne in #18015
- [msbuild] Verify Mac Catalyst apps like we verify macOS apps. Fixes #17829. by @rolfbjarne in #17835
- [registrar] Refactor some code to reduce code duplication by @rolfbjarne in #17924
- [runtime] Add support for passing on a connect timeout to sdb. by @rolfbjarne in #18037
- [runtime] Always look for dynamic libraries relative to the root directory first. Fixes #xamarin/maccore@2668. by @rolfbjarne in #18121
- [src] Define NETX_Y_OR_GREATER flags for our platform assemblies. by @rolfbjarne in #17811
- [src] Fix containing namespace/framework for AVCustomRoutingControllerDelegate. by @rolfbjarne in #18137
- [src] Fix min OS versions for .NET for numerous APIs. by @rolfbjarne in #17871
- [src] Improve the generated project files a little bit. by @rolfbjarne in #17812
- [src] Remove duplicated FindUserTypeIndex method between the Runtime and Class types. by @rolfbjarne in #17923
- [static registrar] Avoid listing protocols more than once in generated code. by @rolfbjarne in #18136
- [Templates] Add comments to help developers publish MacCatalyst apps on App Store by @dustin-wojciechowski in #17830
- [tools/tests] Fix bug in 'link all' test and the resulting regression that showed up in code. by @rolfbjarne in #18016
- [tools] Re-create dotnet-linker.csproj.inc when dotnet-linker.csproj changes. by @rolfbjarne in #17826
- add EditorBrowsable to obsolete member by @stephen-hawley in #17854
- CGEventCreate fixed broken call, added tests by @stephen-hawley in #17805
- Enable deduplication of generics in Xamarin.iOS build by @kotlarmilos in #17766
- Encode the .NET version we're targeting in the third NuGet version number. by @rolfbjarne in #17818
- Fixed remote and local build issues by @mauroa in #17964
New Contributors
- @kotlarmilos made their first contribution in #17766
- @stmoor made their first contribution in #18028
Full Changelog: dotnet-8.0.1xx-preview3-462...dotnet-8.0.1xx-preview4-8377