Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RN(serverless): Serverless release note #18732

Merged
merged 17 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/content/docs/release-notes/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,10 @@ To take full advantage of New Relic's latest features, enhancements, and importa
icon="logo-newrelic"
to="/docs/release-notes/service-levels-release-notes"
/>
<TechTile
name="AWS Lambda"
icon="logo-newrelic"
to="/docs/release-notes/lambda-extension-release-notes"
/>

</TechTileGrid>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
subject: "Lambda-Extension"
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
subject: "Lambda-Extension"
releaseDate: '2023-10-04'
version: 2.3.10
---

## Notes

* Includes additional debugging prints for troubleshooting the logserver logic.



Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
subject: "Lambda-Extension"
releaseDate: '2024-02-28'
version: 2.3.11
---

## Fixed issues

* Fixed crashing on closed pipe caused by race condition during extension startup.

* Fixed crashing on write to closed channel due to race condition during extension shutdown.

* Fixed handler checks for Docker and ESM JS environments.

* Minor version bump for Go grpc, Go net, and JAVA gson.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
subject: "Lambda-Extension"
releaseDate: '2024-06-24'
version: 2.3.12
---


## Notes

* Adds local testing for Extension. Local testing is enabled by setting `NEWRELIC_LOCAL_TESTING` to `true`. Currently it supports Python runtime only, and generates Lambda layers for `x86` and `arm` architectures using `publish.sh` and invokes the test Lambdas using `test.sh` script.

* Removes `SSM parameter store` calls. Extension has sanitycheck calls to `SSM store` that adds to production quotas for customers. Call `SSM store` only when `NEW_RELIC_LICENSE_KEY_SSM_PARAMETER_NAME` var is set to `true`.

* Adds timeout for calls to `Secrets Manager` & `SSM Parameter Store`.

* Gives priority to `NEW_RELIC_LICENSE_KEY` and bypass calls to `Secrets Manager` if `NEW_RELIC_LICENSE_KEY` is set.


## Fixed issue

* Resolved Extension warning messages for Node.js runtime with ESM scripts. Previously, correctly configuring `newrelic-lambda-wrapper.handler` and `NEW_RELIC_LAMBDA_HANDLER` did not eliminate warning message for the Node.js ESM scripts. The solution involved using `NEW_RELIC_USE_ESM` to detect ESM scripts [#209](https://github.com/newrelic/newrelic-lambda-extension/pull/209).
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
subject: "Lambda-Extension"
releaseDate: '2024-08-08'
version: 2.3.13
---


## Notes

* Introduces support for Ruby Lambda runtime.

* Adds tags for logs, and introduces environment variables to configure custom attributes or other metadata when sending logs directly using extension. Use `NR_TAGS` & `NR_ENV_DELIMITER` environment variables similar to the `log-ingestion-lambda` to add metadata to the logs.

* Removes debug logs which get printed for each log line. Modifies confusing message log - mainLoop: blocking is confusing customer and adds payloadSize to the log message `Telemetry client error: %s, payload size: %d bytes"`.

* Updates on .NET Extension example to use newly released New Relic .NET Lambda layer instead of OpenTracing.

* Updates on readme build step. Updated target for make command, example `make dist-x86_64` and `make dist-arm64`.

## Fixed issue

* Fixed `NR_EXT` log lines. The extension will not print any `NR_EXT` line when `logsEnabled` is false, including the startup line [#226](https://github.com/newrelic/newrelic-lambda-extension/pull/226).
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
subject: "Lambda-Extension"
releaseDate: '2022-10-20'
version: 2.3.4
---

## Notes

* Prevents panic occurrings when request id map is accessed concurrently.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
subject: "Lambda-Extension"
releaseDate: '2022-11-12'
version: 2.3.5
---

## Notes

* Adds support to customize the duration of retry attempts to send payload data to New Relic using the environmental variable `NEW_RELIC_DATA_COLLECTION_TIMEOUT`. This gives you more control
over the expected runtime of your application. Note that the extension may need to send more than one payload. The value of this timeout can be any
valid Golang duration string. For example, 10s = 10 seconds;
500ms = 500 milliseconds; 1m = 1 minute. See https://pkg.go.dev/maze.io/x/duration#ParseDuration for more info. The default timeout value is 10s.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
subject: "Lambda-Extension"
releaseDate: '2023-01-23'
version: 2.3.6
---

## Notes

* HTTP timeout is increased to 2.4 seconds.

* Code cleanup around timeout logic.


Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
subject: "Lambda-Extension"
releaseDate: '2023-06-09'
version: 2.3.7
---

## Notes

* Added support for handlers with the `.mjs` file extension.

* Added support to allow New Relic license key to be fetched from an SSM parameter.

## Fixed issue

* Bumped dependencies to be compatible with the latest Golang 1.19 features.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
subject: "Lambda-Extension"
releaseDate: '2023-06-27'
version: 2.3.8
---

## Fixed issues

* Updated the SAM template for Python to use the latest resources for Python 3.10.

* Added additional debug logging and simplified the code for sending log payloads to New Relic.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
subject: "Lambda-Extension"
releaseDate: '2023-07-26'
version: 2.3.9
---

## Fixed issue

* Fixed a bug that used to crash the Extension when a single telemetry payload exceeds 1Mb after compression.


1 change: 1 addition & 0 deletions src/utils/getAgentName.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const AGENTS = {
'react-native-release-notes': 'react native',
'ruby-release-notes': 'ruby',
'service-levels-release-notes': 'service levels',
'serverless-release-notes': 'serverless',
'xamarin-release-notes': 'xamarin',
};

Expand Down
Loading