Releases: microsoft/appcenter-sdk-dotnet
Releases · microsoft/appcenter-sdk-dotnet
3.3.0
This version has a breaking change on iOS - it drops Xcode 10 support, Xcode 11 is a minimal supported version now.
App Center
Android
- [Fix] Fix possible delays in UI thread when queueing a large number of events.
iOS
- [Fix] Fix crash when local binary data (where unsent logs or unprocessed crashed are stored) is corrupted.
- [Fix] When carrier name is retrieved incorrectly by iOS, show
nil
as expected instead of "carrier" string.
App Center Crashes
iOS
- [Improvement] Update PLCrashReporter to 1.7.1.
- [Fix] Fix reporting stacktraces on iOS simulator.
- [Fix] Add attachments verification in
TrackError
function to handle explicitly passednull
array to variable arguments parameter.
3.2.2
App Center
Android
- [Fix] Fix reporting Xamarin.Android version.
iOS
- [Improvement] Use namespaced
NSUserDefaults
keys with the MSAppCenter prefix for all the keys set by the SDK. Fixed a few keys missing namespace.
App Center Crashes
iOS
- [Improvement] Update PLCrashReporter to 1.6.0.
3.2.1
App Center
WPF/WinForms
- [Fix] Fix possible deadlock on start if the configuration file was corrupted.
- [Fix] Fix app build version reporting, the assembly file version is used for this field now.
UWP/WPF/WinForms
- [Fix] Fix retry sending logs after timeout exception.
App Center Crashes
- [Fix] Remove the multiple attachments warning as that is now supported by the portal.
Android
- [Fix] Change minidump filter to use file extension instead of name.
- [Fix] Fix removing minidump files when the sending crash report was discarded.
iOS
- [Improvement] Update PLCrashReporter to 1.5.1.
App Center Distribute
Android
- [Feature] Automatically check for update when application switches from background to foreground (unless automatic checks are disabled).
- [Fix] Fix checking for updates after disabling the Distribute module while downloading the release.
3.1.0
App Center
iOS
- [Fix] Fix reference to
Security
framework which can be missing in release builds with Xamarin.iOS 13.10 or newer.
App Center Distribute
- [Feature] Add a
DisableAutomaticCheckForUpdate
API that needs to be called before SDK start in order to turn off automatic check for update. - [Feature] Add a
CheckForUpdate
API to manually check for update.
Android
- [Fix] Fix not checking updates on public track if it was ignored on error while initializing in-app update for private track.
3.0.0
App Center Auth
App Center Auth is retired and has been removed from the SDK.
App Center Data
App Center Data is retired and has been removed from the SDK.
App Center
- [Fix] Allow whitespace characters between secrets like in versions before
2.6.0
.
iOS
- [Fix] Optimization of release objects from memory during the execution of a large number of operations.
- [Fix] Disable module debugging for release mode in the SDK to fix dSYM warnings.
- [Fix] Fix SDK crash at application launch on iOS 12.0 (
CTTelephonyNetworkInfo.serviceSubscriberCellularProviders
issue). - [Fix] The SDK was considering 201-299 status code as HTTP errors and is now fixed to accept all 2XX codes as successful.
- [Improvement] Replaced sqlite query concatenation with more secure bindings.
Android
- [Fix] Fix infinite recursion when handling encryption errors.
UWP
- [Feature] Support ARM64 architecture.
- [Breaking change] The minimum supported Window 10 version is now
10.0.16299.0
.
WPF
- [Fix] Fix a deadlock when starting AppCenter that was preventing touch events from being fired.
WPF/WinForms
- [Breaking change] The minimum supported version of .NET Framework is now
4.6.1
. - [Fix] Fix application crash when the
AppCenter
configuration file is corrupted.
UWP/WPF/WinForms
- [Dependency changes] Update
SQLitePCLRaw.bundle_green
dependency to version2.0.2
and remove dependency fromsqlite-net-pcl
.
App Center Distribute
- [Feature] Add
UpdateTrack
property to be able to explicitly set eitherPrivate
orPublic
update track. By default, a public distribution group is used. Breaking change: To allow users to access releases of private groups you now need to migrate your application to callDistribute.UpdateTrack = UpdateTrack.Private
before the SDK start. Please read the documentation for more details. - [Behavior change] The public distribution is simplified to provide only one public group. If you have existing public groups defined for your application your users will receive the latest version of all public groups.
iOS
- [Fix] Fix a crash when
SFAuthenticationSession
accesses the controller which is in the process of being released. - [Fix] Fix sign-in when switching to third-party apps while activating updates.
Android
- [Fix] Avoid opening browser to check for sign-in information after receiving an SSL error while checking for app updates (which often happens when using a public WIFI).
- [Fix] When in-app update permissions become invalid and need to open browser again, updates are no longer postponed after sign-in (if user previously selected the action to postpone for a day).
- [Fix] Fix a possible deadlock when activity resumes during background operation for some
Distribute
public APIs likeDistribute.isEnabled()
.
App Center Crashes
iOS
- [Improvement] Add information logs when signals are removed/restored during initialization.
- [Improvement] Update PLCrashReporter to 1.4.0.
- [Feature] Add
Crashes.UseMonoRuntimeSignalMethods
boolean property to call beforeAppCenter.Start
, if set tofalse
it forces the old signal behavior even if the runtime Mono version is 4.8 or higher. The default value istrue
, which means using the current signal behavior if the Mono version is 4.8 or higher (and falling back to the old one on older Mono versions). This is introduced in case the current signal behavior causes unexpected segmentation fault crashes.
Android
- [Fix] Fix incorrect app version when an NDK crash is sent after updating the app.
- [Behavior change] Change the path to the minidump directory to use a subfolder in which the current contextual data (device information, etc.) is saved along with the .dmp file.
2.6.4
App Center
WPF/WinForms
- [Fix] Use explicit dependencies for .NET Framework assemblies to avoid runtime errors in some applications.
UWP/WPF/WinForms
- [Fix] Fix sending remaining pending logs after sending 3 concurrent HTTP requests.
Android
- [Fix] Fix
MissingMethodException
ofString.Split()
with some build configurations (a bug introduced in version2.5.0
).
iOS
- [Fix] Improve log messages for errors when it failed to read/write auth token history.
App Center Crashes
Android
- [Fix] Validate error attachment size to avoid server error or out of memory issues (using the documented limit which is 7MB).
iOS
- [Fix] Fix sending crashes if an application is launched in background.
- [Fix] Validate error attachment size to avoid server error or out of memory issues (using the documented limit which is 7MB).
- [Fix] Fix an issue where crash might contain incorrect data if two consecutive crashes occurred in a previous version of the application.
App Center Auth
iOS
- [Fix] Fix build warnings when adding App Center Auth framework in project.
App Center Distribute
iOS
- [Fix] Fix missing alert dialogs in apps that use iOS 13's new UIScene API (multiple scenes are not yet supported).
- [Fix] Fix an issue where users would sometimes be prompted multiple times to sign in with App Center.
2.6.2
App Center
WPF/WinForms
- [Fix] Fix an error on running same application twice and enabling App Center.
UWP/WPF/WinForms
- [Fix] Fix an issue where internal SDK exceptions would sometimes be "unobserved" and would cause undefined behavior.
- [Fix] The SDK now detects the SQLite database is corrupted and deletes it and creates a new one to start over.
App Center Crashes
UWP/WPF/WinForms
- [Fix] Validate error attachment size to avoid server error or out of memory issues (using the documented limit which is 7MB).
UWP
- [Fix] Fix NuGet package dependency.
AppCenterDistribute
iOS
- [Fix] Fix native link error when using Distribute module without Auth and building for real devices.
2.6.1
App Center
iOS
- [Fix] Fix warnings in Xcode 11 when SDK is installed via CocoaPods.
Xamarin
- [Fix] Updated Android support packages versions to
28.0.0.3
for Auth and Push modules.
App Center Crashes
- [Feature] Support sending attachments in handled errors.
App Center Distribute
Android
- [Fix] Fix an in-app update caching issue, where the same version was installed constantly after the 1st successful update (or also if the download was canceled).
2.5.0
App Center
Windows
- [Fix] Update
Newtonsoft.Json
dependency to version12.0.2
.
.NET Core 3
- [Fix] Fix using stable versions of NuGet dependencies for .NET Core 3.0.
App Center Crashes
UWP
- [Feature] App Center now supports crashes for sideloaded UWP applications.
- [Feature] APIs in the Crashes module are now implemented for UWP: handled errors, crash attachments, crash callbacks, getting crash information about last session, and enabling/disabling the module. Detecting low memory warning is not supported.
UWP/WPF/WinForms
- [Feature] Allow users to set userId that applies to crashes and errors.
Android
- [Breaking change] Remove insecure implementation of the raw
AndroidErrorDetails.Throwable
property (now always returnsnull
and marked as obsolete), and providestring StackTrace
property as an alternative on Xamarin.Android.
App Center Push
UWP
- [Feature] Allow developers to push notifications to a specific userId.
App Center Distribute
Android
- [Fix] Downloading in-app update APK file has been failing on Android 4.x since TLS 1.2 has been enforced early September. The file is now downloaded using HTTPS direct connection when running on Android 4 instead of relying on system's download manager.
- [Fix] Fix a crash and improve logging when downloading an update fails on Android 5+.
- [Breaking change] If your minSdkVersion is lower than 19, Android requires the WRITE_EXTERNAL_STORAGE permission to store new downloaded updates. Please refer to the updated documentation site for detailed instructions. This is related to the download fix.
App Center Data
- [Fix] Reduced retries on Data-related operations to fail fast and avoid the perception of calls "hanging".
2.4.0-preview
This preview version removes Crashes support for UWP. The App Center backend is not yet ready to process UWP crashes using the system introduced in this version. If your app relies on UWP crashes, do not update to this preview version.
App Center
WPF/WinForms
- [Fix] Fix application version being reported for ClickOnce deployments.
App Center Auth
iOS
- [Fix] Redirect URIs are now hidden in logs.
- [Fix] Fix interactive sign in on iOS 13. Temporary fix, will be revisited in the future.
- [Feature] Updated the Microsoft Authentication Library dependency to v0.7.0.
App Center Analytics
iOS
- [Fix] Fix crash involving SDK's
ms_viewWillAppear
method.
App Center Push
Android
- [Breaking change] Update Google Play Services' and Firebase's versions to v71 in Push module which forces applications to use Android 9.0 Mono frameworks in build options. This has no impact on minimum Android SDK version which remains API level 16.
App Center Crashes
- [Breaking change] Remove insecure implementation of the raw
ErrorReport.Exception
property (now always returnsnull
and marked as obsolete), and providestring StackTrace
property as an alternative on Xamarin, UWP, WPF and WinForms.
WinForms
- [Fix] Don't prevent WinForms applications from crashing. If unhandled exceptions are handled by the application, they must now be reported using
Crashes.TrackError
to be displayed on AppCenter, see the public documentation for more details about this change.