From 69faafca3a255866a316e5b88cd7c09062655039 Mon Sep 17 00:00:00 2001 From: Preeti Krishna Date: Tue, 2 Aug 2016 11:04:00 -0700 Subject: [PATCH] .NET Framework 4.6.2 Change List (#307) List of changes --- releases/net462/dotnet462-changes.md | 108 +++++++++++++++++++++++++-- 1 file changed, 103 insertions(+), 5 deletions(-) diff --git a/releases/net462/dotnet462-changes.md b/releases/net462/dotnet462-changes.md index 2857e21..ae6db2b 100644 --- a/releases/net462/dotnet462-changes.md +++ b/releases/net462/dotnet462-changes.md @@ -1,7 +1,7 @@ -.NET Framework 4.6.2 Preview List of Changes +.NET Framework 4.6.2 List of Changes ============================================ -.NET Framework 4.6.2 Preview contains dozens of bug fixes and improvements. +.NET Framework 4.6.2 contains dozens of bug fixes and improvements. This list details those changes, grouped by feature area. Each change includes our TFS bug numbers at the end of the line. Please include those numbers in your communication if you wish to contact us to obtain more information. @@ -31,6 +31,20 @@ CLR * Improve Diagnostic when using RelatedActivityID in EventSource [128437] * User-defined subclasses named "EventSource" can be allowed by checking that the EventSource's type is not equal to typeof(EventSource) which is the type of the built in EventSource. [125529] * When a byte array is written to an Event a spurious warning is generated by EventSource, claiming that the event has a mismatch in parameter count when it does not. [166228] +* Fixed erroneous removal of IF condition in a finally or catch handler if the condition check exists in the exit from the try-body and entry to the try-body. [149697] +* Fixed a codegen bug when encountering an unbox instruction while the evaluation stack has pending evaluations that side-effect arguments of the unbox. [150586] +* Fix for optimization bug in the JIT component of .NET 4.6.1 may incorrectly combine branches that test bit patterns into a single branch incorrectly leading to program failure. [168744] +* Fix for hang in GC when ETW happens to request to walk the heap at the end of a background server GC [179589] +* Fixed NullReferenceException in EventSource if activity tracking is enabled. [182896] +* Fixed an EventSource exception indicating the maximum number of arguments has been exceeded. [191686] +* Added support for memory limit specified by job objects to GC. [194795] +* Fixed JIT Optimizer bug causing structs to be treated as reference objects instead of values objects in .Net 4.6 when targeting amd64. [194809] +* Fixed potential crash when the JIT generates an incorrect initialization value for an initblk and initializes memory incorrectly. [199169] +* Added VariableHome API for NullReferenceException improvements. [199851] +* Fixed [EventSource] Tags field is ignored for complex types. [205969] +* Allowed the debugger to determine the layout of types without an instance of the type. [211562] +* Reduced events are being sent for telemetry to the CLR for Windows Server OSes. [211794] +* Support resolving Windows Runtime references through simple name in .NET SDK. [219126] BCL --- @@ -54,6 +68,33 @@ BCL * System.Security.Cryptography RSAOAEPKeyExchangeDeformatter, RSAOAEPKeyExchangeFormatter, RSAPKCS1KeyExchangeDeformatters and RSAPKCS1KeyExchangeFormatter no longer fail when used with a CNG key. [190217] * Added support for AesCng and TripleDESCng. [187062] * The DSA base class has been updated in the same manner as RSA in 4.6, and ECDsa in 4.6.1. Accessing the public/private key of a DSA certificate can be done in a type-safe manner via cert.GetDSAPublicKey()/cert.GetDSAPrivateKey(), and signing and verification operations can be done without further casting. [167883] +* Improved usability of error message for System.BitConverter.ToString(Byte[] value, Int32 startIndex, Int32 length). [100012] +* Fix in bulletin MS16-019. [145386] +* Fix in bulletin MS16-035. [171029] +* AesCng() and TripleDEScng() updated to honor optional provider value. [176670] +* Fixes in System.Security.Cryptography [190217] + RSAOAEPKeyExchangeDeformatter + RSAOAEPKeyExchangeFormatter + RSAPKCS1KeyExchangeDeformatters + RSAPKCS1KeyExchangeFormatter +* Localized RegionInfo object "BW". [194531] +* Fixed SignedXml.CheckSignature(X509Certificate2) will fail for DSA certs with large keys. [194760] +* Added support for long path names on Windows. [195340] +* Fixed EncryptedXml not supporting CNG certificates. [196759] +* Fixed AppContext switch default. [198124] +* Fixed string comparison hitting before the AppDomain is fully initialized. [198570] +* Fixed potential errors with String comparison hitting before the AppDomain is fully initialized. [199217] +* Added validation that AppContext defaults are correctly enabled. [200028] +* Fixed potential errors with String comparison hitting before the AppDomain is fully initialized. [200330] and [201338] +* Fixed file path syntax to correctly handle device path syntaxes (\\.\, \\?\) [202926] +* Fix for StringBuilder overflow and the length becoming negative when > 2GB of data is added/inserted. [216203] + +Networking +---------- +* Fixed a crash with Null Reference in PinnableBufferCache.Free. [144864] +* Fix in bulletin MS16-065. [186985] +* Added CNG certificate support to NCL code in System.dll. [195318] +* An AccessViolationException gets thrown in HttpListenerRequest.GetTlsTokenBindingRequestInfo() if the RequestBuffer of the HttpListenerRequest has been moved by the garbage collector. This AccessViolation is caused by the fact that HttpListenerRequest is dereferencing a pointer inside RequestBuffer, without adjusting the pointer address the way other HttpListenerRequest methods do. This is now fixed. [204580] ASP.NET ------- @@ -63,6 +104,10 @@ ASP.NET * Fixed Non-interlocked update/read of 64-bit variable leads to wrong behavior. [92099] * Since .NET 4.5 ASP.NET cache reports invalid size of the cache. This has been fixed. [154451] * Fixed client side project compilation failure [156379] +* Fixed an issue with missing ".NET Memory Cache 4.0" performance counter [145677] +* Improve error message localization for DataAnnotationValidiation in ASP.NET model binding and Dynamic data. [176731] +* Enable customers using the Session State Store Providers with task returning methods. [179604] +* Enabling task returning methods to be used with the OutputCache Providers, to allow ASP.Net customers to get the scalability benefits of async. [187841] WPF --- @@ -79,16 +124,52 @@ WPF * Enables enumeration of generic and themed ResourceDictionary instances, and provides a notification infrastructure for listening to loading and unloading of ResourceDictionary instances. [159740] * Starting .NET 4.6, CurrentCulture or CurrentUICulture changes made by event handlers (or any other method that WPF orchestrates the dispatch for) are lost when the method completes. This can result in various unintended side-effects ranging from the selection of incorrect UI language by application code, to potential loss of state information. This fix addresses the bug described above. [157919] * Fixed compilation error in situations when a locally defined custom type in a XAML resource dictionary is immediately followed by something like x:Array. [131561] +* Long runs of dashes are now displayed correctly, without spurious spaces. [92892] +* On environments where the secondary monitor is larger than the primary monitor, a WPF application won't maximize to the correct size. This is now fixed. [104034] +* Fixed Crash after refreshing a collection underlying a ComboBox. [125219] +* Fixed crash in DataGrid view. [150804] +* Fixed Groups not being sorted correctly after property changes. [165198] +* Fixed RibbonGallery being disabled. [173053] +* Fixed memory usage issues with printing in Windows 8 and above. [174139] +* Fix in bulletin MS16-035. [176941] +* Developers can opt-in to receiving an exception when TextBoxBase controls fail to complete a Copy or Cut operation. [177621] +* WPF applications being used via multi-touch enabled devices could sometimes lose mouse promotion after a multi-touch drag/drop. This occurred when users removed touch points other than the primary (or dragging) touch point first. Doing so would cause an incorrect count of active touch devices causing mouse promotion handling to be incorrect for future touch interaction. This is now fixed. [185548] +* WPF would previously throw an ArgumentException when a UI Automation Client queried for an unknown TextAttribute. This was causing performance issues in WPF applications on Windows 8 and above. WPF will now simply return NotSupported in response to querying an unknown TextAttribute preserving the external behavior and helping alleviate performance issues. [187764] +* Fix for crash that occurs when: App is running more than one dispatcher thread, First thread uses any ItemsControl, Second thread uses a Selector. While something is selected, the underlying collection raises a Reset event, or the ItemsSource changes. [190507] +* Per Monitor DPI Aware apps now can have their title bars scaled to the correct DPI when an app is moved from one DPI to a different one. [206796] +* Images created with BitmapCreateOptions=DelayCreation can now update their ImageSource by listening to the RoutedEvent DpiChanged on the Image. This event is fired before the Image is decoded, and thus the cost of decoding the image twice can be avoided. [206986] +* WPF apps which are Per monitor DPI aware, running on Windows 10 Anniversary Update, will not have their popup windows like Menus clipped the first time they are open on a monitor with a different DPI. [212426] +* Fixed for Wisptis doesn't support some scenarios in Windows 7, trying to load wisptis in certain scenarios can result in delays upon start or crashes. [215016] +* Fixed issues with the touch keyboard showing on controls when it should not. [222625] +* Fixed ArgumentException when scrolling a virtualized ItemsControl after adding new items [194726]. +* Avoid unnecessary iteration through all items displayed in a virtualized ItemsControl with ScrollUnit=Item [202599]. +* Fixed XPS printing crash when InvariantCulture is used. [143947] +* Fixed truncation of contents during copy & paste in HTML format when WPF’s DataGrid control contains full width characters, for e.g. Japanese. [104825] WCF --- * Added a new option for client to find best matching WCF service endpoint using NetNamePipeBinding.[157498] * CryptoConfig.CreateName(string algorithm) is now updated to understand SHA256 algorithms. [195341] * Fixed a reliability issue in DataContractCriticalHelper which throws as a SerializationException when reading objects concurrently. [146940] +* Fixed System.ServiceModel.Activation.HostedAspNetEnvironment.get_WebSocketVersion failing during WP startup. [169409] +* Added support for OperationContext.Current with async. [171085] +* Added telemetry for WCF. [172127] +* Fixed a race in UnescapeDefaultValue in UriTemplate::Match when using Default Values [176590] +* Added Support for usage of X509 certificates which are stored using the CNG key storage provider. [182182] +* Fix for XmlSerializer not correctly serializing with XmlText's DataType set to "time". [184091] +* Removed Ssl3 from the WCF TransportDefaults. [186891] +* Fixed DataContractJsonSerializer producing wrong date/time data after having installed KB3093503 when the time zone is (UTC+2) Istanbul. [187509] +* Fixed Performance in AppServices Throughput. [201205] +* Fixed issue that could occur with tracing enabled on WCF async service; failed call generated double OperationFaulted traces. [208167] +* Fix for ArgumentException when opening service host when user’s certificate has invalid key usage data. [223670] +* Fixed WCF SslStreamSecurity DNS Identity Check failure while targeting .NET Framework 4.6 when Alt subject is not present [182336] Workflow -------- * Workflow designer now supports “prepared for update” dynamic update XAML [98185] +* Fixed a FIPS compliance issue when using workflow tracking in WF3. [181434] +* Added Workflow/System.Messaging/System.Transactions Telemetry. [198681] +* Fixed transaction failure for SQLCLR usage of System.Transactions to promote a local SQL transaction to a distributed transaction. [206276] Windows Forms ------------- @@ -104,12 +185,29 @@ Windows Forms * Fixed control text truncations issue in “Items Collection Editor” dialog in Visual Studio. [187716] * Fixed a crash in Windows Forms Designer in Visual Studio related to adjusting TableLayoutPanel control. [190415] * Fixed a crash in Windows Forms Designer in Visual Studio [190416] +* Fix in bulletin MS16-019. [174623] +* Added Long path support for Windows 10 Anniversary Update in Windows Forms. [191855] +* Improved reliability of Windows Forms applications [193532] +* Added support for CNG key providers to Mage and Mageui SDK tools [194373] +* Fixed printing delay in previewing the document with a network printer. [197824] +* Added Long path support for Windows 10 Anniversary Update in ClientConfigPath. [202970] +* Fixed X1 Professional Client "ok" button is gray and disabled after select Desktop in browse for folder. [207279] + +SQL +--- +* Added Parameter Caching and CEK TTL improvements. [200050] +* Removed connection pool blocking period for Azure SQL DBs. [200140] +* Fixed incorrect error message in SqlClient when a Command Execution fails on Azure. [201189] +* Disallowed WAM option in native ADAL for AAD authorization. [201411] +* Fix in bulletin MS16-091. [222831] +* Fix for a crash that may occur when the connection pool is being replenished and during replenishment of the pool, the connection to SQL server fails. [229717] ClickOnce --------- * Added support for TLS1.1/1.2 in ClickOnce runtime. [193676] * Fixed string truncations issue on ClickOnce security dialog. [176656] +* Added ClickOnce support for installation from web-sites that require Client Certificate to be supplied. [197343] - - - +Active Directory Services +------------------------- +* On calls made to System.DirectoryServices.AccountManagement UserPrincipal.GetAuthorizationGroups method against an Active Directory forest which contains SID History values for migrated users, an empty GroupPrincipal will be added to the list returned by GetAuthorizationGroups for every group with a migrated user SID. [191563]