Improvements
- Improved performance of symbol map upload script.
- Improved performance of recordHandledException API.
- Removed deprecated APIs.
Fixes
- Prevents possible corrupted event data.
- Event/Attribute APIs now accept NSNumbers containing BOOL values
+[NewRelic setApplicationVersion:]
and+[NewRelic setApplicationBuild:]
will now throw an exception if called after the agent is started.
Improvements
- Improved performance of symbol map upload script.
- Improved performance of recordHandledException API.
- Removed deprecated APIs.
Fixes
- Prevents possible corrupted event data.
- Event/Attribute APIs now accept NSNumbers containing BOOL values
+[NewRelic setApplicationVersion:]
and+[NewRelic setApplicationBuild:]
will now throw an exception if called after the agent is started.
Fixed in this release
- Fixed an agent hang when relaunching an app after a crash. In some cases, the agent would appear to deadlock in the agent's
startWithApplicationToken:appToken
method after relaunching, which has been addressed.
New in this release
- MobileRequestError events now contain the response body returned in the network request response, if one exists. Response bodies will only be reported if the http response body header capture feature flag is enabled. HttpResponseBodyCapture is enabled by default. Response body data will be limited to the first 4096 bytes (the Insights attribute limit).
- MobileRequestError events now also contain any cross-application tracing (CAT) data returned in the response headers. See Introduction to cross-application traces for more information.
Fixed in this release
- Fixed a memory leak in NRMAReachability.
New in this release
- MobileRequestError events now contain the response body returned in the network request response, if one exists. Response bodies will only be reported if the http response body capture feature flag is enabled. HttpResponseBodyCapture is enabled by default. Response body data will be limited to the first 4096 bytes (the Insights attribute limit).
- MobileRequestError events now also contain any cross-application tracing (CAT) data returned in the response headers. See Introduction to cross-application traces for more information.
Fixed in this release
- Fixed a memory leak in NRMAReachability.
Major release
This agent release was built with Xcode 9, breaking backwards compatibility with older versions of Xcode.
Improvements
- Swift error support.
This release adds a new API in the NewRelic
object +recordError:(NSError*)error withAttributes:(NSDictionary*)attributes;
. This allows Swift errors to be recorded as MobileHandledException
events and to be viewable in the Handled Exception Mobile UI page.
- MobileRequest events are on by default.
MobileRequest events will now be transmitted by default. They can be turned off by calling [NewRelic disableFeatures:NRFeatureFlag_NetworkRequestEvents]
before [NewRelic startWithApplicationToken:...]
.
- Improved post build script.
Symbol files will now be processed at build time and uploaded to New Relic using the postbuild.sh, rather than uploading the entire dSYM at build time. This will reduce network overhead as well as improve the time it takes for crashes to symbolicate.
Fixes
- Fixed low frequency crash in
NRMAHarvestableMetric.m:45
. - Resolved memory leaks.
Major release
This agent release was built with Xcode 9, breaking backwards compatibility with older versions of Xcode.
Improvements
- Swift error support.
This release adds a new API in the NewRelic
object +recordError:(NSError*)error withAttributes:(NSDictionary*)attributes;
. This allows Swift errors to be recorded as MobileHandledException
events and to be viewable in the Handled Exception Mobile UI page.
- MobileRequest events are on by default.
MobileRequest events will now be transmitted by default. They can be turned off by calling [NewRelic disableFeatures:NRFeatureFlag_NetworkRequestEvents]
before [NewRelic startWithApplicationToken:...]
.
- Improved post build script.
Symbol files will now be processed at build time and uploaded to New Relic using the postbuild.sh, rather than uploading the entire dSYM at build time. This will reduce network overhead as well as improve the time it takes for crashes to symbolicate.
Fixes
- Fixed low frequency crash in
NRMAHarvestableMetric.m:45
. - Resolved memory leaks.
Improvements
- Handled Exceptions in Objective-C
The iOS 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.
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.