Skip to content
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.5.1] - 2025-12-20

- Add User-Agent header to all API calls for traffic analytics [#32](https://github.com/seqeralabs/node-red-seqera/issues/32)

## [1.5.0] - 2025-12-18

- 💥 Breaking change: Poll files node updates [#27](https://github.com/seqeralabs/node-red-seqera/pull/27)
Expand Down
2 changes: 2 additions & 0 deletions nodes/_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/

const axios = require("axios");
const { name: packageName, version: packageVersion } = require("../package.json");

/**
* Build HTTP headers for Seqera Platform API calls.
Expand All @@ -22,6 +23,7 @@ function buildHeaders(node, extraHeaders = {}) {
const headers = { ...extraHeaders };
const token = node.seqeraConfig.credentials.token;
headers["Authorization"] = `Bearer ${token}`;
headers["User-Agent"] = `${packageName}/${packageVersion}`;
return headers;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seqera/node-red-seqera",
"version": "1.5.0",
"version": "1.5.1",
"description": "Node-RED nodes for interacting with the Seqera Platform API",
"author": "Phil Ewels <[email protected]>",
"license": "Apache-2.0",
Expand Down