iOS release notes

iOS release notes

Wednesday, September 12, 2018 - 15:26 Download

Fixes

  • Fixed race condition in handled exceptions component, which had the potential of crashing on background inside std::recursive_mutex::lock()
Friday, June 1, 2018 - 13:52 Download

Improvements

  • Agent can now handle region specific application tokens.
  • Moved New Relic specific files out of users' "Documents" directory.

Fixes

  • Fixed inconsistency in deviceManufacturer session attribute; it will always be set as "Apple, Inc".
  • memUsageMb session attribute will now be stored as a numeric value rather than a string value.
  • Fixed race-condition in gesture instrumentation that could cause a crash on app background.
  • RequestUrl and RequestPath attributes on MobileRequest and MobileRequestError events will consistently be not URL-encoded.
  • Crash reports will now be uploaded immediately after processing on subsequent launch.
  • Fixed potential race-condition in +[NewRelic stopCurrentInteraction:(NSString*)activityIdentifier]; that could result in dead-lock.
Tuesday, March 6, 2018 - 15:07 Download

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.
Friday, February 9, 2018 - 10:22 Download

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.
Thursday, December 14, 2017 - 12:44 Download

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.
Wednesday, November 8, 2017 - 16:05 Download

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.

Tuesday, October 17, 2017 - 13:32 Download

Improvements

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.
Tuesday, August 1, 2017 - 09:44 Download

Fixes

  • Fixes crash in WKWebView instrumentation caused by a nil WKNavigation object being passed to the web view delegate methods.
Tuesday, July 11, 2017 - 10:43 Download

​​Fixes

  • Removed URL parameters from MobileRequest and MobileRequestError events. The concern being there may be confidential information contained in these parameters.
Tuesday, June 20, 2017 - 10:56 Download

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).

Pages