Skip to content

Commit

Permalink
Release signald 0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
finn committed Sep 19, 2022
1 parent 2f6c663 commit 43659b4
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
11 changes: 11 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
signald (0.22.0) unstable; urgency=medium

* Full release notes at https://gitlab.com/signald/signald/-/releases/0.22.0
* Trust new keys by default, to conform to most other Signal client's behavior
* New metrics to track response codes from server
* Add `SignalServerError` response error for HTTP 500s from the Signal server
* Assorted logging improvements


-- Finn <[email protected]> Mon, 19 Sep 2022 13:29:15 -0700

signald (0.21.1) unstable; urgency=medium

* Full release notes at https://gitlab.com/signald/signald/-/releases/0.21.1
Expand Down
8 changes: 8 additions & 0 deletions releases/0.22.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# signald 0.22.0

[see all code changes here](https://gitlab.com/signald/signald/-/compare/0.21.1...0.22.0)

* Trust new keys by default, to conform to most other Signal client's behavior
* New metrics to track response codes from server
* Add `SignalServerError` response error for HTTP 500s from the Signal server
* Assorted logging improvements
14 changes: 7 additions & 7 deletions src/test/java/io/finn/signald/UtilTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ public class UtilTest {
@Test
@DisplayName("redaction tests")
void redact() {
Assertions.assertEquals("[redacted 1 char]est", Util.redact("test"));
Assertions.assertEquals("[redacted 3 char]", Util.redact("aaa"));
Assertions.assertEquals("[redacted 1 char]", Util.redact("a"));
Assertions.assertEquals("[redacted 0 char]", Util.redact(""));
Assertions.assertEquals("[redacted 1]est", Util.redact("test"));
Assertions.assertEquals("[redacted 3]", Util.redact("aaa"));
Assertions.assertEquals("[redacted 1]", Util.redact("a"));
Assertions.assertEquals("[redacted 0]", Util.redact(""));

UUID u = UUID.fromString("a59eef85-fd26-4f4f-bf7b-d4948e28b230");
Assertions.assertEquals("[redacted 33 char]230", Util.redact(u));
Assertions.assertEquals("[redacted 33 char]230", Util.redact(ACI.from(u)));
Assertions.assertEquals("[redacted 33 char]230", Util.redact(PNI.from(u)));
Assertions.assertEquals("[redacted 33]230", Util.redact(u));
Assertions.assertEquals("[redacted 33]230", Util.redact(ACI.from(u)));
Assertions.assertEquals("[redacted 33]230", Util.redact(PNI.from(u)));
}
}

0 comments on commit 43659b4

Please sign in to comment.