From 6170253b8010ee0aa785bc1b3f64f4dbc3a802cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andy=20M=C3=A9ry?= Date: Tue, 9 Dec 2025 16:44:40 +0100 Subject: [PATCH] chore: use trusted publishers + bump version before release --- .github/workflows/publish.yml | 6 ++++-- CHANGELOG.md | 6 ++++++ examples/go/package-lock.json | 2 +- package-lock.json | 10 +++++----- package.json | 2 +- shared/api/utils.js | 2 +- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 13552877..25ffb37c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,10 @@ on: release: types: [published] +permissions: + id-token: write # Required for OIDC + contents: read + jobs: release: runs-on: ubuntu-22.04 @@ -22,5 +26,3 @@ jobs: - name: "Publish package on NPM" run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index ed7f48b9..cab22460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.4.18 + +### Fixed + +- Messaging (NATS/SQS) triggers now properly work with Serverless Containers #311 + ## 0.4.17 ### Added diff --git a/examples/go/package-lock.json b/examples/go/package-lock.json index 66168e37..30fd2393 100644 --- a/examples/go/package-lock.json +++ b/examples/go/package-lock.json @@ -13,7 +13,7 @@ } }, "../..": { - "version": "0.4.17", + "version": "0.4.18", "dev": true, "license": "MIT", "dependencies": { diff --git a/package-lock.json b/package-lock.json index d0d25f51..7b31695a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "serverless-scaleway-functions", - "version": "0.4.17", + "version": "0.4.18", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "serverless-scaleway-functions", - "version": "0.4.17", + "version": "0.4.18", "license": "MIT", "dependencies": { "@serverless/utils": "^6.13.1", @@ -4077,7 +4077,7 @@ "event-emitter": "^0.3.5", "ext": "^1.7.0", "ignore": "^5.3.2", - "memoizee": "^0.4.17", + "memoizee": "^0.4.18", "type": "^2.7.3" }, "engines": { @@ -5662,8 +5662,8 @@ } }, "node_modules/memoizee": { - "version": "0.4.17", - "resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.17.tgz", + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.18.tgz", "integrity": "sha512-DGqD7Hjpi/1or4F/aYAspXKNm5Yili0QDAFAY4QYvpqpgiY6+1jOfqpmByzjxbWd/T9mChbCArXAbDAsTm5oXA==", "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 80838f81..58b0df5e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-scaleway-functions", - "version": "0.4.17", + "version": "0.4.18", "description": "Provider plugin for the Serverless Framework v3.x which adds support for Scaleway Functions.", "main": "index.js", "author": "scaleway.com", diff --git a/shared/api/utils.js b/shared/api/utils.js index f289db13..9a0788fe 100644 --- a/shared/api/utils.js +++ b/shared/api/utils.js @@ -1,7 +1,7 @@ const axios = require("axios"); const https = require("https"); -const version = "0.4.17"; +const version = "0.4.18"; const invalidArgumentsType = "invalid_arguments";