diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 345db9ccf..672bb18eb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -177,7 +177,7 @@ jobs: path: ./CHANGELOG.md - name: Parse Changelog Entry run: | - CHANGELOG_CONTENT=$(echo '${{ steps.changelog.outputs.content }}' | awk '/### ${{ steps.pkg.outputs.version }}/,/### /{print; if (/### / && !/### ${{ steps.pkg.outputs.version }}/){exit}}') + CHANGELOG_CONTENT=$(awk '/^### [0-9]+\.[0-9]+\.[0-9]+/ {if (p) exit; p=1} p' CHANGELOG.md) echo "CHANGELOG=$CHANGELOG_CONTENT" >> $GITHUB_ENV - name: Create GitHub Release uses: softprops/action-gh-release@v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index dd4e57872..b65297bc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ### 4.0.0 +- **#309** - Added rate limiting headers. Thanks to [Chalenge Masekera](https://github.com/chalenge). +- **#308** - Implemented a new error handling mechanism. Thanks to [Dmitry Shilov](https://github.com/bk201-). + ### 3.0.5 - Dependencies updated diff --git a/examples/package-lock.json b/examples/package-lock.json index c94a22ca7..0c2264834 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -12,7 +12,7 @@ "jira.js": "latest" }, "devDependencies": { - "@types/node": "^20.12.11", + "@types/node": "^20.12.12", "ts-node": "^10.9.2", "typescript": "^5.4.5" } @@ -79,9 +79,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.12.11", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.11.tgz", - "integrity": "sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==", + "version": "20.12.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz", + "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==", "dev": true, "dependencies": { "undici-types": "~5.26.4" diff --git a/examples/package.json b/examples/package.json index 5b4a38cfc..2cb42a897 100644 --- a/examples/package.json +++ b/examples/package.json @@ -12,7 +12,7 @@ }, "license": "MIT", "devDependencies": { - "@types/node": "^20.12.11", + "@types/node": "^20.12.12", "ts-node": "^10.9.2", "typescript": "^5.4.5" },