Comparing version 5.2.4 to 5.3.0
@@ -0,1 +1,12 @@ | ||
### v5.3.0 (2024-02-12) | ||
<a id="v5.3.0"></a> | ||
#### 🚀 New Features | ||
* [#139](https://github.com/groupon/gofer/pull/139) feat: add userAgent forwarding and tests ([@fkalny-groupon](https://github.com/fkalny-groupon)) | ||
#### 🐛 Bug Fixes | ||
* [#140](https://github.com/groupon/gofer/pull/140) fix: old tests failing on defunct endpoints ([@fkalny-groupon](https://github.com/fkalny-groupon)) | ||
### v5.2.4 (2022-05-23) | ||
@@ -2,0 +13,0 @@ <a id="v5.2.4"></a> |
@@ -115,6 +115,15 @@ /* | ||
function buildUserAgent({ clientName, clientVersion, appName, appSha, fqdn }) { | ||
function buildUserAgent({ | ||
clientName, | ||
clientVersion, | ||
appName, | ||
appSha, | ||
fqdn, | ||
userAgent, | ||
}) { | ||
return `${clientName || 'noServiceName'}/${ | ||
clientVersion || 'noServiceVersion' | ||
} (${appName || 'noAppName'}/${appSha || 'noAppSha'}; ${fqdn || 'noFQDN'})`; | ||
} (${appName || 'noAppName'}/${appSha || 'noAppSha'}; ${fqdn || 'noFQDN'}; ${ | ||
userAgent || 'noUserAgent' | ||
})`; | ||
} | ||
@@ -121,0 +130,0 @@ |
@@ -78,2 +78,3 @@ import { SecureContext } from 'tls'; | ||
captureAsyncStack?: boolean; | ||
userAgent?: string; | ||
[opt: string]: any; | ||
@@ -80,0 +81,0 @@ }; |
{ | ||
"name": "gofer", | ||
"version": "5.2.4", | ||
"version": "5.3.0", | ||
"description": "A general purpose service client library", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
[![nlm-github](https://img.shields.io/badge/github-groupon%2Fgofer%2Fissues-F4D03F?logo=github&logoColor=white)](https://github.com/groupon/gofer/issues) | ||
![nlm-node](https://img.shields.io/badge/node-%3E%3D10.13-blue?logo=node.js&logoColor=white) | ||
![nlm-version](https://img.shields.io/badge/version-5.2.4-blue?logo=version&logoColor=white) | ||
![nlm-version](https://img.shields.io/badge/version-5.3.0-blue?logo=version&logoColor=white) | ||
[![Build Status](https://travis-ci.com/groupon/gofer.svg?branch=main)](https://travis-ci.com/groupon/gofer) | ||
@@ -5,0 +5,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83920
1400