From be04e4db34fb524d14d6c658b7fb8fb8268f7cb3 Mon Sep 17 00:00:00 2001 From: Kenny Date: Tue, 16 May 2023 15:11:37 -0700 Subject: [PATCH] feat: release 1.2.0 --- .github/workflows/release-testing.yaml | 9 ++-- CHANGELOG.md | 70 +++++++++++++++----------- README.md | 6 +-- package.json | 4 +- 4 files changed, 51 insertions(+), 38 deletions(-) diff --git a/.github/workflows/release-testing.yaml b/.github/workflows/release-testing.yaml index 6883c25..9fe446e 100644 --- a/.github/workflows/release-testing.yaml +++ b/.github/workflows/release-testing.yaml @@ -11,11 +11,12 @@ on: workflow_dispatch: # Inputs the workflow accepts. inputs: - name: + confirmation: # Friendly description to be shown in the UI instead of 'name' - description: 'Person to greet' + description: 'Are you sure you want to release?' + type: boolean # Default value if no value is explicitly provided - default: 'World' + default: false # Input has to be provided for the workflow to run required: true @@ -37,7 +38,7 @@ jobs: - name: Checkout the release branch for testing uses: actions/checkout@v2 with: - ref: release_1.1.0 + ref: main # token: ${{ secrets.API_CLI_TOKEN }} # path: newrelic-actions # This might have to exist within ".github" diff --git a/CHANGELOG.md b/CHANGELOG.md index 402a179..0836f0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,82 +1,94 @@ # Changelog -1.1.0 +## 1.2.0 -# New in this release +### New in this release +* Upgrade native Android Agent to v6.11.1 +* Updgrade native iOS agent to v7.4.4 +* JavaScript Errors will now be reported as handled exceptions, providing more context and stack traces in the New Relic UI. +* Added shutdown method, providing ability to shut down the agent within the current application lifecycle during runtime. + +### Fixed in this release +* Fixed an issue where the feature flag methods would result in an error. + +## 1.1.0 + +### New in this release * Upgrade native Android agent to v6.10.0 * Upgrade native iOS agent to v7.4.3 -# Fixed in this release +### Fixed in this release * Fixed an issue that caused conflicts with network monitoring in FlipperKit. -1.0.1 +## 1.0.1 -# Fixed in this release +### Fixed in this release * Cyclical structures are now removed when sent to the console, preventing large circular structures from causing an out-of-memory issue on Android. -1.0.0 +## 1.0.0 -# New in this release +### New in this release * TypeScript support has been added, providing improved type checking and better coding experience for TypeScript users. * The ability to configure collector endpoints and logging level has been added, providing more control over the data collection process. * The ability to turn off logging for iOS has been added, providing more control over the data collection process. -# Fixed in this release +### Fixed in this release * Unhandled promise rejection handler will now handle null errors generated by React Native, ensuring that the application continues to run smoothly. * Cyclical structures are now properly handled when sent to the console, avoiding potential errors and crashes in the logging process. -0.0.9 +## 0.0.9 -## New in this release +### New in this release * Updated Native Android Agent Version -## Fixed in this release +### Fixed in this release * Reduced bundle size of agent * Fixed issue where pod hash would change on different builds -0.0.8 -## New in this release +## 0.0.8 +### New in this release * Added hot and cold app launch time. You can find more information here: [Android](https://docs.newrelic.com/docs/mobile-monitoring/new-relic-mobile-android/install-configure/configure-app-launch-time-android-apps) and [iOS](https://docs.newrelic.com/docs/mobile-monitoring/new-relic-mobile-ios/configuration/app-launch-times-ios-apps) -## Fixed in this release +### Fixed in this release * Fix for recursive call for react native navigation for <=v4 * Removed jcenter from Android -0.0.7 -## Fixed in this release +## 0.0.7 +### Fixed in this release * Fixed an issue where error stack trace length would cause crashing in iOS apps. -0.0.6 +## 0.0.6 -## New in this release +### New in this release * Add methods that are currently available in the android and XCFramework agents. * Add `recordError` to record javascript errors for react-native. * Add methods to set agent configuration after the agent has started. -## Fixed in this release +### Fixed in this release * Fixed an issue where null errors in the global react native handler would cause errors on the XCFramework agent module. -0.0.5 +## 0.0.5 -Fixed issue where JS Errors are not recording for iOS apps when Error stack length is lesser than 4096 +* Fixed issue where JS Errors are not recording for iOS apps when Error stack length is lesser than 4096 -0.0.4 -Fix Null Pointer Exception Crash +## 0.0.4 +* Fix Null Pointer Exception Crash -0.0.3 -Add Routing Instrumentation which will capture the current screen and record it as breadcrumb. Add support for Native Agent's Features Configuration +## 0.0.3 +* Add Routing Instrumentation which will capture the current screen and record it as breadcrumb. +* Add support for Native Agent's Features Configuration - 0.0.2 - Fix ErrorStack null crash +## 0.0.2 +* Fix ErrorStack null crash - 0.0.1 - React Native Agent GA release \ No newline at end of file +## 0.0.1 +* React Native Agent GA release \ No newline at end of file diff --git a/README.md b/README.md index a8e7a8e..9b0d429 100644 --- a/README.md +++ b/README.md @@ -92,10 +92,10 @@ import {Platform} from 'react-native'; webViewInstrumentation: true, // Optional:Set a specific collector address for sending data. Omit this field for default address. - collectorAddress: "", + //collectorAddress: "", // Optional:Set a specific crash collector address for sending crashes. Omit this field for default address. - crashCollectorAddress: "" + //crashCollectorAddress: "" }; @@ -118,7 +118,7 @@ AppToken is platform-specific. You need to generate the seprate token for Androi } dependencies { ... - classpath "com.newrelic.agent.android:agent-gradle-plugin:6.11.0" + classpath "com.newrelic.agent.android:agent-gradle-plugin:6.11.1" } } ``` diff --git a/package.json b/package.json index 2ec3c9f..eda530c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "newrelic-react-native-agent", - "version": "1.1.0", + "version": "1.2.0", "description": "A New Relic Mobile Agent for React Native", "main": "./index.js", "types": "./dist/index.d.ts", @@ -94,7 +94,7 @@ "newrelic": "7.4.4" }, "android": { - "newrelic": "6.11.0" + "newrelic": "6.11.1" } } }