Versions of .NET

Release 5.20.0

  • Released on 2019-04-11

Release notes

(Source)

Highlights

In Depth

Runtime

Class Libraries

System.Data

The support for SSPI (Security Support Provider Interface) in System.Data assembly has been added. This allows users to connect to SQL servers using SSPI on macOS and Linux. On macOS, no additional dependencies are required whereas on Linux additional package (krb5) needs to be installed.

Tools

Resolved Issues

  • #10000 - Type.IsSubclassOf Performance Regression
  • #10031 - unhandled-exception-2.exe crashes crash reporting
  • #10035 - BinaryReaderTest.ReadBytesException and BinaryReaderTest.ReadCharsException fail on FullAOT+LLVM after hybrid suspend change
  • #10070 - recent string loading changes break big endian with mojibake
  • #10143 - Process.GetProcessesByName Memory Leak, Not Disposing Filtered Process Objects
  • #10144 - Generic with "unmanaged" constraint crashes runtime
  • #10227 - ProductHeaderValue parser throws exception for empty values
  • #10243 - opt and llc missing from mono 2018-08 pkg
  • #10244 - [wasm] Make test.js use generated driver and bindings.
  • #10303 - Latest mono on macOS broke Xamarin Studio 5 compatibility: Marshal.SizeOf reports type 0x01 not handled
  • #10309 - Mono issuing SIGSEGV running C# Semantic Tests
  • #10412 - Native crash when debugging with exception watchpoint
  • #10441 - FullAOT LLVM Linux x64 one flaky failure.
  • #10446 - [ WASM ]Build fail host error
  • #10448 - [iOS] CalendarTest.Hijri and CalendarTest.UmAlQura fail
  • #10467 - mono_thread_info_exit ignores exit_code and just passes 0 on.
  • #10483 - iOS cannot save Entity models with Nullable Guid (Guid?) property types (among others) using EF Core 2.1.2.
  • #10488 - HttpWebRequest throws an uncatchable task exception when processing requests simultaneously with timeout specified
  • #10506 - Update CI build scripts to not hardcode -j4
  • #10549 - Wrong characters in decimal number representation on s390x
  • #10598 - Many scary "Your mono runtime and class libraries are out of sync" mono warnings when building for device
  • #10603 - [wasm] Stop using mmap for loading assemblies
  • #10620 - [wasm] Rename sdks WebAssembly framework libraries
  • #10682 - [wasm] Build fails - ninja can not be found.
  • #10735 - mono64[80780:1186894] error: * Assertion: should not be reached at debugger-agent.c:6619
  • #10802 - mono_jit_init on macOS 10.14 has graphics corruption due to mprotect invocation
  • #10834 - Error loading generic override of in parameter
  • #10863 - Possible GC hang while building msbuild with mono/2018-08 and mono/master
  • #11123 - Type.IsSubclassOf throws TypeLoadException
  • #11138 - Hybrid suspend: mono_add_internal_call is broken
  • #11146 - Unhandled exception at the end of MonoDevelop.UnitTesting.Tests test run
  • #11202 - Mac installer does not always clear out old files
  • #11214 - SDK 'Microsoft.NET.Sdk.Razor' not found
  • #11303 - ParameterInfo.[Raw]DefaultValue returns Missing.Value for non-null default values of DateTime? and decimal? parameters
  • #11317 - Unexpected behaviour of DateTime.ToString with Korean language on iOS/Android
  • #11378 - [WASM AOT] Method returning a ValueType is not returning its value as a value
  • #11441 - HttpClient requests not cancelled in Dispose()
  • #11478 - [XA] [2018-10] Failure in PropertyInfoTests.GetValue_Invalid
  • #11479 - Loading assembly generated using tlbimp.exe give error in mono runtime
  • #11489 - IronPython 2.7.9 strange issue on mono 5.16
  • #11613 - AOT crash: error: * Assertion: should not be reached at ../../../../../mono/mini/mini-arm64-gsharedvt.c:119
  • #11874 - watchOS: mini test failure in release mode: JitTests.Aot : System.Reflection.TargetInvocationException
  • #11956 - os-event-unix.c:82 assert(event) failure
  • #11965 - [iOS/32bit/device] mscorlib test failures: DoubleFormatterTest.TestFormatStringsN# and DoubleTest.LongLongValueRoundtrip
  • #12069 - MethodInfo.ReturnParameter.IsDefined(type) throws IndexOutOfRangeException
  • #12130 - [watchOS] MT3001: Could not AOT the assembly mscorlib.dll
  • #12235 - Crash while profiling roslyn compiler server
  • #12344 - FastCopy may silently fail to do anything
  • #12362 - Problem with DefaultValueAttribute and Color values
  • #12421 - Task calls SynchronizationContext.Post on cancelling
  • #12461 - ReflectionModelServices.IsExportFactoryImportDefinition should not throw
  • #12724 - xtro-sharpie.exe crashes with "Cannot transition thread 0x10c3ef5c0 from STATE_BLOCKING with DO_BLOCKING"
  • #12747 - System.Reflection.Emit.ParameterBuilder.SetCustomAttribute() throws undocumented ArgumentOutOfRangeException
  • #12831 - [iOS] Generic sharing with long float arguments list
  • #12881 - MonoDevelop SDB regressions
  • #6352 - Bug in TextRenderer.DrawText on Linux
  • #7087 - Calling TcpListener.Create(int port) on multiple threads can fail
  • #8225 - Mono mkbundle output executable throws: “Error mapping file: No error”
  • #8486 - struct with 3 bytes not marshaled correctly with LLVM on watchOS
  • #8575 - GetCustomAttributes on a type from an assembly in the LoadFile context fails
  • #8689 - Memory leak in HttpWebRequest / HttpWebResponse when using a WebProxy
  • #8766 - Starting process with empty ProcessStartInfo.Environment incorrectly inherits all variables
  • #8848 - Error when debugging
  • #9028 - Mono to SQL Server using integrated security no longer works on iOS
  • #9089 - WaitHandle.WaitAny returns invalid result
  • #9418 - SslStream.AuthenticateAsClient throws wrong exception types
  • #9532 - Mono.Unix.Native.Syscall.sys_strerror_r SEGFAULT on musl libc
  • #9566 - flaky runtime.finalizer-exception.exe (Assertion at unwind.c:640, condition `cfa_reg != -1' not met)
  • #9581 - Update macOS minimal version
  • #9839 - Behaviour difference between Mono and CoreCLR
  • #9870 - iOS: 32-bit device unit test failure: [FAIL] FSharpTest.SprintfTest : Expected: True
  • #9935 - tests/src/baseservices/threading/readerwriterlockslim/upgrader.cs CoreCLR acceptance-test fails
  • #9941 - WASM: Use BrowserHttpMessageHandler when available
  • #9943 - System.Reflection.Assembly.LoadFile should throw ArgumentException for relative path name
  • #9947 - AOT images compiled with safepoints should be usable with MONO_THREADS_SUSPEND=preemptive
  • #9951 - cross build regressed wrt System.Native and "shm_open that works well enough with mmap"
  • #9973 - Update framework facades list used by loader
  • Bugzilla 43447 - SynchronizedCollection.Add throws an ArgumentOutOfRangeException

Contributors

Aleksey Kliger, Alex Earl, Alexander Kyte, Alexander Köplinger, Alexis Christoforides, Alon Zakai, Ankit Jain, Bernhard Urban, Calvin Buckley, Egor Bogatov, Filip Navara, FrozenShade666, Jasonsjiang, Jay Krell, Jo Shields, Joe Groocock, Johan Lorensson, Jonathan Chambers, Jonathan Pryor, Jérémie Laval, Katelyn Gadd, Kenneth Pouncey, Kirill Osenkov, Lee Culver, Ludovic Henry, Marek Habersack, Marek Safar, Martin Baulig, Matthew Leibowitz, Maxim Lipnin, Michael DeRoy, Miguel de Icaza, Neale Ferguson, Niklas Therning, Nikolay Sivov, Per Allansson, Rodrigo Kumpera, Rolf Bjarne Kvinge, Rémi Bourgarel, ShonkyCH, Steve Pfister, Thays Grazia, Vlad Brezae, Zoltan Varga,nsivov