Releases: LemmyNet/activitypub-federation-rust
0.5.0
This release consists mostly of bug fixes and minor improvements. Biggest change is the removal of the builtin federation queue as Lemmy implemented its own persistent queue. Now there is only a simple function sign_and_send, though we can consider readding an optional queue if there is demand.
Error handling has seen various improvements, so that applications can better handle failures. See the changelog below for details about all changes.
Changelog
- make time-zone aware by @phiresky in #62
- Use anyhow::Error for UrlVerifier return type (fixes #61) by @Nutomic in #65
- Add webfinger template field, used for remote follow by @Nutomic in #74
- Remove activity queue and add raw sending by @phiresky in #75
- Support fetches with redirect by @Nutomic in #76
- Support different alphabets in webfinger username by @Nutomic in #78
- Implement PartialEq for testing by @Nutomic in #81
- Remove
anyhow
from trait definitions by @cetra3 in #82 - Change impl of ObjectId::parse by @Nutomic in #84
- Upgrade dependencies by @Nutomic in #86
- Add diesel feature, add ObjectId::dereference_forced by @Nutomic in #88
- Webfinger: don't discard consumer errors by @sgued in #85
- Better error when activity receive fails by @Nutomic in #89
- Context doesnt have to be an array by @Nutomic in #90
- Better JSON error messages by @Nutomic in #91
New Contributors
Full Changelog: 0.4.7...0.5.0
0.4.6
What's Changed
- fix: make "other" error actually transparent by @phiresky in #51
- Fix regex error when actix-web feature not enabled by @colatkinson in #56
- add a separate allow_http flag by @phiresky in #54
- add shutdown method by @phiresky in #53
- Fix tests by @Nutomic in #71
- Fix webfinger fetching non-compliance by @samueltardieu in #69
- Increase fetch_object max body size by @Nutomic in #72
New Contributors
- @phiresky made their first contribution in #51
- @colatkinson made their first contribution in #56
- @samueltardieu made their first contribution in #69
Full Changelog: 0.4.5...0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
What's Changed
- Change username regex in webfinger by @Grafcube in #34
- Multi webfinger response by @Grafcube in #33
- Change
domain
tohost_str
by @Grafcube in #37 - Specify in docs that
send_activity
takes remote inboxes by @Grafcube in #40 - Secure mode federation support by @Alexis211 in #39
New Contributors
- @dessalines made their first contribution in #30
- @Grafcube made their first contribution in #34
- @Alexis211 made their first contribution in #39
Full Changelog: 0.4.0...0.4.1
0.4.0
Major rewrite of the library with improved usability and much better documentation. Includes guide for writing federated application from scratch, and a live federation example.
What's Changed
- feat: add axum compat by @oknozor in #12
- Rename http fetch limit by @Nutomic in #10
- Fix Matrix Alias in the text of the link by @MTRNord in #17
- Add keywords for crates.io discoverability by @IFcoltransG in #19
- Update links in README by @optikfluffel in #20
- Remove verify methods (fixes #15) by @Nutomic in #21
- feat: expose activity pub json wrapped value by @oknozor in #22
- Restrict the body sizes of responses by @aumetra in #23
- Fix deserialize_skip_error function by @Nutomic in #24
- Merge handler params into single struct by @Nutomic in #25
- Add verify methods back in, some more fixes by @Nutomic in #28
- Changes to make Lemmy work with 0.4 by @Nutomic in #29
New Contributors
- @oknozor made their first contribution in #12
- @MTRNord made their first contribution in #17
- @IFcoltransG made their first contribution in #19
- @optikfluffel made their first contribution in #20
- @aumetra made their first contribution in #23
Full Changelog: 0.3.4...0.4.0
0.4.0-rc1
Major rewrite of the library with improved usability and much better documentation. Includes guide for writing federated application from scratch, and a live federation example.
This release candidate is meant for testing. Please report any problems or potential improvements that you find.
What's Changed
- Add InstanceSettings::builder by @XAMPPRocky in #2
- Async verify by @Nutomic in #4
- Use enum_delegate crate by @Nutomic in #5
- In inbox, verify that http signature digest was verified (ref #1) by @Nutomic in #6
- Only retry activity sending at most 3 times by @Nutomic in #7
- Dont retry activity send in case of connection error or HTTP status 4xx by @Nutomic in #8
- Fix date header by @Nutomic in #11
- feat: add axum compat by @oknozor in #12
- Rename http fetch limit by @Nutomic in #10
- Fix Matrix Alias in the text of the link by @MTRNord in #17
- Add keywords for crates.io discoverability by @IFcoltransG in #19
- Update links in README by @optikfluffel in #20
- Remove verify methods (fixes #15) by @Nutomic in #21
- feat: expose activity pub json wrapped value by @oknozor in #22
- Restrict the body sizes of responses by @aumetra in #23
- Fix deserialize_skip_error function by @Nutomic in #24
- Merge handler params into single struct by @Nutomic in #25
New Contributors
- @XAMPPRocky made their first contribution in #2
- @oknozor made their first contribution in #12
- @MTRNord made their first contribution in #17
- @IFcoltransG made their first contribution in #19
- @optikfluffel made their first contribution in #20
- @aumetra made their first contribution in #23
Full Changelog: https://github.com/LemmyNet/activitypub-federation-rust/commits/0.4.0-rc1