Skip to content

Commit

Permalink
Merge tag '4.0.0' into sc
Browse files Browse the repository at this point in the history
4.0.0 (2023-04-27)
==================

Features
--------

- Add support for specifying custom templates for feeds. ([\matrix-org#702](matrix-org#702))
- Use SQLite for file-based crypto stores by default, instead of Sled. ([\matrix-org#714](matrix-org#714))
- Notifications for RSS feed failures can now be toggled on and off. The feature is now **off** by default. ([\matrix-org#716](matrix-org#716))

Bugfixes
--------

- Fix mishandling of empty feed/item title tags. ([\matrix-org#708](matrix-org#708))
- Add information about GitHub App Installs in 'update' state on the oauth status page. ([\matrix-org#717](matrix-org#717))
- Fix cases of GitHub repos not being bridgable if the GitHub App had to be manually approved. ([\matrix-org#718](matrix-org#718))
- Switch to using Rust for parsing RSS feeds. ([\matrix-org#721](matrix-org#721))

Deprecations and Removals
-------------------------

- Add support for Node 20, and drop support for Node 16. ([\matrix-org#724](matrix-org#724))

Internal Changes
----------------

- Ensure all Hookshot specific metrics have a `hookshot_` prefix. ([\matrix-org#701](matrix-org#701))
- Update dependency used in Generic Webhook JS functions to fix a security flaw. ([\matrix-org#705](matrix-org#705))
- Switch to using Rust for parsing RSS feeds. ([\matrix-org#709](matrix-org#709))
- Update the README with a prettier set of features. ([\matrix-org#726](matrix-org#726))
- Update `yaml` dependency to `2.2.2` ([\matrix-org#728](matrix-org#728))

Conflicts:
	src/feeds/FeedReader.ts
  • Loading branch information
SpiritCroc committed Apr 27, 2023
2 parents 1ebf172 + 2110e88 commit 99870d5
Show file tree
Hide file tree
Showing 56 changed files with 1,674 additions and 541 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/docker-hub-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ name: "Docker Hub - Latest"

on:
push:
paths-ignore:
- changelog.d/**'
pull_request:
branches: [ main ]
paths-ignore:
- changelog.d/**'

env:
DOCKER_NAMESPACE: halfshot
Expand All @@ -19,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-hub-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get release tag
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set up QEMU
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/docs-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@ name: Build docs

on:
push:
paths-ignore:
- changelog.d/**'

jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: .node-version

# We want to install matrix-appservice-bridge, which we depend on.
- run: yarn --ignore-scripts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: .node-version

# We want to install matrix-appservice-bridge, which we depend on.
- run: yarn --ignore-scripts
Expand Down
33 changes: 19 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,31 @@ name: CI
on:
push:
branches: [ main ]
paths-ignore:
- changelog.d/**'
pull_request:
branches: [ main ]
paths-ignore:
- changelog.d/**'

workflow_dispatch:

jobs:
lint-node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: .node-version
- run: yarn --ignore-scripts
- run: yarn lint:js

lint-rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand All @@ -34,34 +38,35 @@ jobs:
config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: .node-version
- run: yarn # Need to build scripts to get rust bindings
- run: yarn --silent ts-node src/Config/Defaults.ts --config | diff config.sample.yml -

metrics-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: .node-version
- run: yarn # Need to build scripts to get rust bindings
- run: yarn --silent ts-node ./scripts/build-metrics-docs.ts | diff docs/metrics.md -

test:
runs-on: ubuntu-latest
# Test on LTS-1
runs-on: ubuntu-20.04
strategy:
matrix:
node_version: [16, 18]
node_version: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/newsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with: # Needed for comparison
fetch-depth: 0
- uses: actions/setup-python@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sign-off.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ on:

jobs:
signoff:
uses: matrix-org/backend-meta/.github/workflows/sign-off.yml@v1.4.0
uses: matrix-org/backend-meta/.github/workflows/sign-off.yml@v2
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rust-analyzer.linkedProjects": [
"./Cargo.toml"
]
}
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
4.0.0 (2023-04-27)
==================

Features
--------

- Add support for specifying custom templates for feeds. ([\#702](https://github.com/matrix-org/matrix-hookshot/issues/702))
- Use SQLite for file-based crypto stores by default, instead of Sled. ([\#714](https://github.com/matrix-org/matrix-hookshot/issues/714))
- Notifications for RSS feed failures can now be toggled on and off. The feature is now **off** by default. ([\#716](https://github.com/matrix-org/matrix-hookshot/issues/716))


Bugfixes
--------

- Fix mishandling of empty feed/item title tags. ([\#708](https://github.com/matrix-org/matrix-hookshot/issues/708))
- Add information about GitHub App Installs in 'update' state on the oauth status page. ([\#717](https://github.com/matrix-org/matrix-hookshot/issues/717))
- Fix cases of GitHub repos not being bridgable if the GitHub App had to be manually approved. ([\#718](https://github.com/matrix-org/matrix-hookshot/issues/718))
- Switch to using Rust for parsing RSS feeds. ([\#721](https://github.com/matrix-org/matrix-hookshot/issues/721))


Deprecations and Removals
-------------------------

- Add support for Node 20, and drop support for Node 16. ([\#724](https://github.com/matrix-org/matrix-hookshot/issues/724))


Internal Changes
----------------

- Ensure all Hookshot specific metrics have a `hookshot_` prefix. ([\#701](https://github.com/matrix-org/matrix-hookshot/issues/701))
- Update dependency used in Generic Webhook JS functions to fix a security flaw. ([\#705](https://github.com/matrix-org/matrix-hookshot/issues/705))
- Switch to using Rust for parsing RSS feeds. ([\#709](https://github.com/matrix-org/matrix-hookshot/issues/709))
- Update the README with a prettier set of features. ([\#726](https://github.com/matrix-org/matrix-hookshot/issues/726))
- Update `yaml` dependency to `2.2.2` ([\#728](https://github.com/matrix-org/matrix-hookshot/issues/728))


3.2.0 (2023-04-04)
==================

Features
--------

- Allow users to import other people's go-neb services. ([\#695](https://github.com/matrix-org/matrix-hookshot/issues/695))
- Add support for push events on Github repo connections. ([\#696](https://github.com/matrix-org/matrix-hookshot/issues/696))
- Add support for issue created notifications in Github Repo connections. ([\#697](https://github.com/matrix-org/matrix-hookshot/issues/697))
- Support using the `guid` field of an RSS feed entry as a link ([\#700](https://github.com/matrix-org/matrix-hookshot/issues/700))


Internal Changes
----------------

- Only run changelog checks when only the changelog changes in CI. ([\#692](https://github.com/matrix-org/matrix-hookshot/issues/692))


3.1.1 (2023-03-28)
==================

Expand Down
Loading

0 comments on commit 99870d5

Please sign in to comment.