From b00db425d54d8cca9c7ad2384e3432ed44adcad6 Mon Sep 17 00:00:00 2001 From: Emelie Graven Date: Fri, 21 Jun 2024 12:28:21 +0200 Subject: [PATCH] release: v2.0.0 --- CHANGELOG.md | 254 +++++++++++++++++++++++++++++++++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 256 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..1754b94 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,254 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [2.0.0] - 2024-06-21 + +### πŸš€ Features + +- Build release builds with cargo-auditable +- [**breaking**] Remove jitter functionality + - This entirely removes all jitter functionality from Hedwig, including the relevant metrics. + +### πŸ› Bug Fixes + +- Update docker pipeline +- Use correct builder image +- Re-add device and notification metrics + +### 🚜 Refactor + +- Define lifetime of static str + +### πŸ“š Documentation + +- Set health check and time zone + +### βš™οΈ Miscellaneous Tasks + +- Fix clippy lints +- Remove vetting remains +- Migrate to github +- Fix permissions for coverage in dependabot PRs +- Add custom prefix to dependabot commits +- Update to new reusable workflow +- Move lints to Cargo.toml +- Add hosted rustdoc documentation +- Remove dependabot configuration + +### Bump + +- Bump serde_json from 1.0.104 to 1.0.107 (#125) +- Bump reqwest from 0.11.18 to 0.11.22 (#122) +- Bump async-trait from 0.1.72 to 0.1.73 (#124) + +## [1.5.5] - 2023-08-10 + +### πŸ› Bug Fixes + +- Use https git dependency to prevent ssh fingerprint errors when building locally +- Update gcp_auth to avoid exposing secrets in logs + +### βš™οΈ Miscellaneous Tasks + +- Correct container URL in Dockerfile +- Update codeowners to reflect reality +- Update Axum to 0.6.1 +- *(bot)* Update files from template +- Update codeowners +- Add docker-compose +- Add github action +- Update CODEOWNERS to github structure +- Update git dependencies +- Add docker build job +- Delete gitlab CI file +- Remove description key +- Remove registry ref from docker build + +### Bump + +- Release v1.5.5 + +## [1.5.3] - 2022-10-05 + +### πŸš€ Features + +- Improve test coverage + +### βš™οΈ Miscellaneous Tasks + +- Audit dependencies with cargo-vet +- *(audit)* Cfg-if, firebae-cm and tinyvec_macros +- Add curl to dockerfile +- Bump to version 1.5.3 + +## [1.5.2] - 2022-09-11 + +### πŸš€ Features + +- Add config option to log into file instead of stdout + +### 🚜 Refactor + +- Get rid of expects in runtime code + +### βš™οΈ Miscellaneous Tasks + +- Update axum +- Bump to version 1.5.2 + +## [1.5.1] - 2022-08-12 + +### πŸ› Bug Fixes + +- Don't send notification on iOS legacy when only updating badge + +### βš™οΈ Miscellaneous Tasks + +- Update version number + +## [1.5.0] - 2022-08-01 + +### πŸš€ Features + +- Better badge behaviour in background-handled iOS notifications + +### πŸ› Bug Fixes + +- Add retry loop for pushing to fcm + +## [1.4.0] - 2022-07-14 + +### πŸš€ Features + +- Rewrite in axum + fcmv1 + +### πŸ› Bug Fixes + +- Make dendrite pushes work + +## [1.3.0] - 2021-12-17 + +### πŸš€ Features + +- Add coverage +- Code coverage +- Add encrypted push fields + +### 🚜 Refactor + +- Idiomatic refactor, documentation + +### βš™οΈ Miscellaneous Tasks + +- Fallback for git build metadata +- Add/update pre-commit +- *(bot)* Update files from template +- Bump to 1.3.0 + +### Chore + +- Add badges to readme + +## [1.2.0] - 2021-06-22 + +### πŸ› Bug Fixes + +- Send clearing badge for non data messages +- CI project path + +### βš™οΈ Miscellaneous Tasks + +- Version bump to 1.2.0 +- Cargo fmt + +## [1.1.0] - 2021-05-31 + +### πŸš€ Features + +- Send non-collapsible messages + +### πŸ› Bug Fixes + +- Remove collapse key from settings +- *(ci)* Use updated and corrected template + +### βš™οΈ Miscellaneous Tasks + +- Version bump to 1.1.0 + +## [1.0.0] - 2021-04-30 + +### πŸš€ Features + +- Better unread notification handling +- *(ci)* Migrate to templates in pipeline + +### πŸ› Bug Fixes + +- *(ci)* Include new fix in upstream template +- Ci fix attempt +- Ci pipeline fix attempt + +### 🚜 Refactor + +- Configuration standardized + +### πŸ“š Documentation + +- Explain notification types + +### βš™οΈ Miscellaneous Tasks + +- Version bump to 1.0.0 + +### Chore + +- Update Readme + +### Fix + +- Links for documentation + +## [0.1.0] - 2021-03-29 + +### πŸš€ Features + +- Add logging +- Prometheus metrics +- Logging configurable by env variable +- Add docker deployment +- Better metrics + +### πŸ› Bug Fixes + +- Kinda works, did some cleanup and small refactoring +- Actix web 3 introduced a dependency mismatch of tokio, upgrade to 4 beta. +- Notification title count +- Send high priority notifications +- Correct rejected array +- Allow configuring bind_ip, default to 127.0.0.1 +- *(ci)* Add missing build step for building release container images + +### 🚜 Refactor + +- Clean up some stuff +- Moved some methods to PushNotification struct +- Logs + +### πŸ“š Documentation + +- Add LICENSE +- Update name and authors +- Add example service and proxy readme +- Update readme +- Add code owners + +### CI + +- Add .gitlab-ci.yml +- Build amd64 release in CI +- Add aarch64 build +- Build fix + + diff --git a/Cargo.lock b/Cargo.lock index 6ea2158..b9023ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1029,7 +1029,7 @@ checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" [[package]] name = "matrix-hedwig" -version = "1.5.5" +version = "2.0.0" dependencies = [ "async-trait", "axum", diff --git a/Cargo.toml b/Cargo.toml index 1cfe161..2b07ed0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "matrix-hedwig" -version = "1.5.5" +version = "2.0.0" authors = ["Christian Pauly ", "KateΕ™ina ChuranovΓ‘ ", "Emily Dietrich "] publish = false edition = "2021"