From ded8be55e270bd6471c7d5f198020e89ee91bbe7 Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Mon, 11 Jul 2022 18:12:44 +0100 Subject: [PATCH] 1.8.0 --- CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- changelog.d/376.misc | 1 - changelog.d/377.bugfix | 1 - changelog.d/379.bugfix | 1 - changelog.d/381.doc | 1 - changelog.d/383.bugfix | 1 - changelog.d/384.bugfix | 1 - changelog.d/388.bugfix | 1 - changelog.d/389.doc | 1 - changelog.d/396.bugfix | 1 - changelog.d/397.removal | 2 -- changelog.d/398.doc | 1 - changelog.d/399.misc | 1 - changelog.d/401.doc | 1 - changelog.d/403.bugfix | 1 - changelog.d/404.bugfix | 1 - changelog.d/406.bugfix | 1 - package.json | 2 +- yarn.lock | 19 ------------------- 21 files changed, 43 insertions(+), 39 deletions(-) delete mode 100644 changelog.d/376.misc delete mode 100644 changelog.d/377.bugfix delete mode 100644 changelog.d/379.bugfix delete mode 100644 changelog.d/381.doc delete mode 100644 changelog.d/383.bugfix delete mode 100644 changelog.d/384.bugfix delete mode 100644 changelog.d/388.bugfix delete mode 100644 changelog.d/389.doc delete mode 100644 changelog.d/396.bugfix delete mode 100644 changelog.d/397.removal delete mode 100644 changelog.d/398.doc delete mode 100644 changelog.d/399.misc delete mode 100644 changelog.d/401.doc delete mode 100644 changelog.d/403.bugfix delete mode 100644 changelog.d/404.bugfix delete mode 100644 changelog.d/406.bugfix diff --git a/CHANGELOG.md b/CHANGELOG.md index 303ae77f..2c560991 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,43 @@ +1.8.0 (2022-07-11) +================== + +Bugfixes +-------- + +- GitHub OAuth URLs for Cloud now use the correct endpoint. ([\#377](https://github.com/matrix-org/matrix-hookshot/issues/377)) +- Fixed setup webhook command not providing the right URL. ([\#379](https://github.com/matrix-org/matrix-hookshot/issues/379)) +- Fixed generic webhook connections not updating when a previously configured transformation function is removed from state. ([\#383](https://github.com/matrix-org/matrix-hookshot/issues/383)) +- Fix malformed webhook link in AdminRoom. ([\#384](https://github.com/matrix-org/matrix-hookshot/issues/384)) +- GitHub admin room notifications will now continue to work if you reauthenticate with GitHub. ([\#388](https://github.com/matrix-org/matrix-hookshot/issues/388)) +- Floats in JSON payloads sent to generic webhooks are now handled properly. See the [documentation](https://matrix-org.github.io/matrix-hookshot/1.8.0/setup/webhooks.html#webhook-handling) for more information. ([\#396](https://github.com/matrix-org/matrix-hookshot/issues/396)) +- Allow replying with the proper notice message when a widget is set up. ([\#403](https://github.com/matrix-org/matrix-hookshot/issues/403)) +- Stringify provision connection data object in logs. ([\#404](https://github.com/matrix-org/matrix-hookshot/issues/404)) +- Fix an issue where GitLab repos could not be bridged if they were already bridged to another room. ([\#406](https://github.com/matrix-org/matrix-hookshot/issues/406)) + + +Improved Documentation +---------------------- + +- Clarify wording in Generic Hook Setup docs ([\#381](https://github.com/matrix-org/matrix-hookshot/issues/381)) +- Mention RSS/Atom feed support in the project's README. ([\#389](https://github.com/matrix-org/matrix-hookshot/issues/389)) +- Mention that the GitLab test hooks button doesn't send properly formed requests in all cases, and should not be relied upon when testing Hookshot. ([\#398](https://github.com/matrix-org/matrix-hookshot/issues/398)) +- Correct some typos in documentation pages. ([\#401](https://github.com/matrix-org/matrix-hookshot/issues/401)) + + +Deprecations and Removals +------------------------- + +- Generic webhooks will no longer respond to `GET` requests by default. Users should consider using the `POST` or `PUT` methods instead. + `GET` support can be enabled using the config flag `generic.enableHttpGet`. ([\#397](https://github.com/matrix-org/matrix-hookshot/issues/397)) + + +Internal Changes +---------------- + +- Add a .node-version file. ([\#376](https://github.com/matrix-org/matrix-hookshot/issues/376)) +- Enable CI for Node 18. ([\#399](https://github.com/matrix-org/matrix-hookshot/issues/399)) + + 1.7.3 (2022-06-09) ================== diff --git a/Cargo.lock b/Cargo.lock index 002de499..d181c0d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -147,7 +147,7 @@ checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" [[package]] name = "matrix-hookshot" -version = "1.7.3" +version = "1.8.0" dependencies = [ "contrast", "hex", diff --git a/Cargo.toml b/Cargo.toml index 5f6e9e2d..4a12b96b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "matrix-hookshot" -version = "1.7.3" +version = "1.8.0" edition = "2021" [lib] diff --git a/changelog.d/376.misc b/changelog.d/376.misc deleted file mode 100644 index 14d82d0a..00000000 --- a/changelog.d/376.misc +++ /dev/null @@ -1 +0,0 @@ -Add a .node-version file. diff --git a/changelog.d/377.bugfix b/changelog.d/377.bugfix deleted file mode 100644 index 726e7291..00000000 --- a/changelog.d/377.bugfix +++ /dev/null @@ -1 +0,0 @@ -GitHub OAuth URLs for Cloud now use the correct endpoint. \ No newline at end of file diff --git a/changelog.d/379.bugfix b/changelog.d/379.bugfix deleted file mode 100644 index c3b7d02d..00000000 --- a/changelog.d/379.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed setup webhook command not providing the right URL. diff --git a/changelog.d/381.doc b/changelog.d/381.doc deleted file mode 100644 index bb3cbc68..00000000 --- a/changelog.d/381.doc +++ /dev/null @@ -1 +0,0 @@ -Clarify wording in Generic Hook Setup docs diff --git a/changelog.d/383.bugfix b/changelog.d/383.bugfix deleted file mode 100644 index 01a0b062..00000000 --- a/changelog.d/383.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed generic webhook connections not updating when a previously configured transformation function is removed from state. diff --git a/changelog.d/384.bugfix b/changelog.d/384.bugfix deleted file mode 100644 index 39faf3da..00000000 --- a/changelog.d/384.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix malformed webhook link in AdminRoom. diff --git a/changelog.d/388.bugfix b/changelog.d/388.bugfix deleted file mode 100644 index 32041dbe..00000000 --- a/changelog.d/388.bugfix +++ /dev/null @@ -1 +0,0 @@ -GitHub admin room notifications will now continue to work if you reauthenticate with GitHub. \ No newline at end of file diff --git a/changelog.d/389.doc b/changelog.d/389.doc deleted file mode 100644 index 89570c42..00000000 --- a/changelog.d/389.doc +++ /dev/null @@ -1 +0,0 @@ -Mention RSS/Atom feed support in the project's README. diff --git a/changelog.d/396.bugfix b/changelog.d/396.bugfix deleted file mode 100644 index 832442d3..00000000 --- a/changelog.d/396.bugfix +++ /dev/null @@ -1 +0,0 @@ -Floats in JSON payloads sent to generic webhooks are now handled properly. See the [documentation](https://matrix-org.github.io/matrix-hookshot/1.8.0/setup/webhooks.html#webhook-handling) for more information. diff --git a/changelog.d/397.removal b/changelog.d/397.removal deleted file mode 100644 index bde387aa..00000000 --- a/changelog.d/397.removal +++ /dev/null @@ -1,2 +0,0 @@ -Generic webhooks will no longer respond to `GET` requests by default. Users should consider using the `POST` or `PUT` methods instead. -`GET` support can be enabled using the config flag `generic.enableHttpGet`. \ No newline at end of file diff --git a/changelog.d/398.doc b/changelog.d/398.doc deleted file mode 100644 index 5f1a5b49..00000000 --- a/changelog.d/398.doc +++ /dev/null @@ -1 +0,0 @@ -Mention that the GitLab test hooks button doesn't send properly formed requests in all cases, and should not be relied upon when testing Hookshot. \ No newline at end of file diff --git a/changelog.d/399.misc b/changelog.d/399.misc deleted file mode 100644 index 59ce297f..00000000 --- a/changelog.d/399.misc +++ /dev/null @@ -1 +0,0 @@ -Enable CI for Node 18. diff --git a/changelog.d/401.doc b/changelog.d/401.doc deleted file mode 100644 index b127138b..00000000 --- a/changelog.d/401.doc +++ /dev/null @@ -1 +0,0 @@ -Correct some typos in documentation pages. diff --git a/changelog.d/403.bugfix b/changelog.d/403.bugfix deleted file mode 100644 index 7762c1c3..00000000 --- a/changelog.d/403.bugfix +++ /dev/null @@ -1 +0,0 @@ -Allow replying with the proper notice message when a widget is set up. diff --git a/changelog.d/404.bugfix b/changelog.d/404.bugfix deleted file mode 100644 index 67d5d050..00000000 --- a/changelog.d/404.bugfix +++ /dev/null @@ -1 +0,0 @@ -Stringify provision connection data object in logs. diff --git a/changelog.d/406.bugfix b/changelog.d/406.bugfix deleted file mode 100644 index e44c6a90..00000000 --- a/changelog.d/406.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix an issue where GitLab repos could not be bridged if they were already bridged to another room. \ No newline at end of file diff --git a/package.json b/package.json index e677fefe..7774de46 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matrix-hookshot", - "version": "1.7.3", + "version": "1.8.0", "description": "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.", "main": "lib/app.js", "repository": "https://github.com/matrix-org/matrix-hookshot", diff --git a/yarn.lock b/yarn.lock index eb369ae4..84cebc4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4816,13 +4816,6 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -rxjs@^7.5.2: - version "7.5.5" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.5.tgz#2ebad89af0f560f460ad5cc4213219e1f7dd4e9f" - integrity sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw== - dependencies: - tslib "^2.1.0" - safe-buffer@5.1.2, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" @@ -5276,11 +5269,6 @@ tslib@^1.8.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.1.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" - integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== - tsutils@^3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -5325,13 +5313,6 @@ type-is@~1.6.18: media-typer "0.3.0" mime-types "~2.1.24" -typed-emitter@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/typed-emitter/-/typed-emitter-2.1.0.tgz#ca78e3d8ef1476f228f548d62e04e3d4d3fd77fb" - integrity sha512-g/KzbYKbH5C2vPkaXGu8DJlHrGKHLsM25Zg9WuC9pMGfuvT+X25tZQWo5fK1BjBm8+UrVE9LDCvaY0CQk+fXDA== - optionalDependencies: - rxjs "^7.5.2" - typescript@^4.5.2: version "4.5.4" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.4.tgz#a17d3a0263bf5c8723b9c52f43c5084edf13c2e8"