Improvements
- Handled Exceptions in Objective-C
The tvOS agent now exposes an API on the NewRelic
object:
+recordHandledException:(NSException* _Nonnull)exception attributes:(NSDictionary* _Nullable)attributes.
Passing a caught exception to this API will record details as a MobileHandledException
event and record the thread details of the exception. This information will be available in the new UI for handled exceptions.
A new feature flag is available, NRFeatureFlag_HandledExceptionEvents
. This toggles the generation of MobileHandledExceptions events and auxiliary data. It is enabled by default
Fixes
- Fixed memory leak introduced by NSURLSession instrumentation.
Fixes
- Fixes crash in WKWebView instrumentation caused by a nil WKNavigation object being passed to the web view delegate methods.
Fixes
- Removed URL parameters from MobileRequest and MobileRequestError events. The concern being there may be confidential information contained in these parameters.
Fixes
- Removed URL parameters from MobileRequestError and MobileRequest events. The concern being there may be confidential information contained in these parameters.
New in this release
Now reports network request events to Insights! This feature must be enabled when starting the agent using [NewRelic enableFeatures:NRFeatureFlag_NetworkRequestEvents]
. When enabled all network calls will be tracked, in addition to network errors. These new events will be available under the MobileNetworkRequest eventType. Examples of how to query these new events is available in our documentation: Mobile request query examples (MobileRequest).
New in this release
Now reports network request events to Insights! This feature must be enabled when starting the agent using [NewRelic enableFeatures:NRFeatureFlag_NetworkRequestEvents]
. When enabled all network calls will be tracked, in addition to network errors. These new events will be available under the MobileNetworkRequest eventType.
Features
- Added a new
MobileBreadcrumb
custom event type that allows you to annotate the execution of your app, to help troubleshoot crashes and provide greater detail in Insights. Record this new event type with the method+recordBreadcrumb:withAttributes:
. - Added an additional
+recordCustomEvent:name:withAttributes
method that takes the event name as an optional parameter. This avoids the need to add a name attribute in the passed attribute set.
Features
- Added a new MobileBeadcrumb event type that allows you to annotate the execution of your app, to help troubleshoot crashes and provide greater detail in Insights. Use this new event type using the conveneince method +recordBreadcrumb:withAttributes:
- Added an additional +recordCustomEvent:name:withAttributes method that takes the event name as an optional parameter. This avoids the need to add a name attribute in the passed attribute set.
Fixes
- Fixed rare app launch crash caused by collision of JSON serialization & New Relic's method instrumentation.
- Added better messaging for custom
eventType
validation errors. - Improved crash report data quality.
Fixes
- The New Relic post-build script will now capture and upload dSYM files created in subfolders of the build folder.