iOS Release Notes

Friday, September 13, 2019 - 10:00 Download

Improvements

  • Removed support and instrumentation for deprecated UIWebView.

Fixes

  • Fixed memory leak in WKWebView instrumentation.
  • Fixed incorrect time units recorded for response time of network errors. It was reporting as milliseconds, and it was corrected to seconds.
Friday, June 7, 2019 - 13:00 Download

Improvements

  • The NewRelic NSURLSessionTaskDelegate object now provides an isKindOfClass: method that presents as the wrapped class. This improves compatibility with other frameworks.

Fixes

  • Fixes potential crash if _dyld_register_func_for_add_image callback is executed in an unexpected way.
Thursday, March 14, 2019 - 16:00 Download

Improvements

  • Bumped session attribute limit to 128 from 64.

Fixes

  • +recordCustomEvent:withName:attributes: no longer requires a dictionary to capture name.
  • Values in attributes dictionaries passed to recordEvent APIs will no longer be cast to int or float values, which degraded large data types.
Tuesday, February 5, 2019 - 13:17 Download

Improvements

  • Bumped session attribute limit to 128 from 64.

Fixes

  • Improved dSYM upload script.
Tuesday, October 30, 2018 - 15:26 Download

Fixes

  • Corrects bug in dSYM upload script introduced by Xcode10's new build system.
Tuesday, October 9, 2018 - 15:26 Download

Fixes

  • +setMaxEventBufferTime and +setMaxEventPoolSize now persist between background/foreground
  • dSYM upload script has been improved. It is now better at finding and uploading dSYMs.

Improvements

  • Reduced agent size by removing old architectures. Note: with the removal of i386 the agent will no longer build with iPhone4S simulators (however, it will still run on iPhone4S devices.)

Note: This agent was built with Xcode10. It may be necessary to use Xcode10 for compatibility. 

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

Thursday, May 11, 2017 - 14:21 Download

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.
Thursday, April 20, 2017 - 13:12 Download

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.
Wednesday, March 29, 2017 - 15:54 Download

Fixes

  • The New Relic post-build script will now capture and upload dSYM files created in subfolders of the build folder.
Thursday, March 9, 2017 - 14:37 Download

Improvements

  • Adds new API +[NewRelic recordCustomEvent:(NSString*)eventType withAttributes:(NSDictionary*)attributes]

This method replaces +[NewRelic recordEvent:(NSString*)name withAttributes:(NSDictionary*)attributes] which is now deprecated, with the intention of removal in the future. The new API creates a new event with an event type specified by the eventType parameter, whereas the deprecated method create a event with the Mobile event type and an attribute with the name 'name' and the value of the name parameter. This change satisfies customer requests for:

  • Improved Insights query performance
  • Defining custom event types
  • Finding custom event in Insights more easily
  • Flexibility to define data retention per custom event type

Pages