Releases: aitorres/barkr
Releases · aitorres/barkr
v0.10.9
v0.10.8
Changed
- Bluesky connection: added exponential back-off logic when fetching new posts, to account for transient network issues.
- Increased unit test coverage
- Minor dependency updates and other refactors
v0.10.7
Changed
- Increased timeout for Bluesky-related network requests to 15 seconds, to prevent timeouts on slow connections or when uploading blobs.
v0.10.6
Fixed
- Addressed a bug on the Bluesky connection where retrying to post a message after certain kinds of failures would post correctly, but break the rest of the writing thread, preventing further messages from being posted. The root cause is an unbound local variable in the retry logic that was not being assigned correctly.
Changed
- Minor dependency updates
v0.10.5
Added
- Bluesky connection: added support to set who can reply to a post (through thread gates) when posting a message, with the
allowed_repliesparameter.- This is an optional parameter, and defaults to
None, which means that anyone can reply to the post (default behavior before this update). - If set, it will be used to set the thread gate for the post, allowing only users who meet the criteria to reply.
- This is an optional parameter, and defaults to
Changed
- Implemented exponential back-off retry logic when retrieving a recently posted message's details on Bluesky.
- Minor dependency updates
- Minor tweaks to error messages and logging statements to support debugging flows.
v0.10.4
Changed
- Minor dependency updates
Fixed
- Catch the right exception on Mastodon connections when there's timeouts and network issues
- Prevent the RSS tests from getting stuck
v0.10.3
Changed
- Minor dependency updates
- Minor test coverage updates
- Improved error message on Bluesky errors
- Early return when trying to compress an image that's already within the maximum size allowed by Bluesky, to avoid unnecessary processing.
Fixed
- Handle invalid MIME types when posting images to Bluesky
- Bluesky connection: handle Bluesky internal server errors gracefully when attempting to upload an embed image for a post.
v0.10.2
Added
- Bluesky connection: added a new, optional parameter (off by default) to allow Barkr to compress images that are being posted to Bluesky, if their size exceeds the maximum allowed by the platform.
- Initially this is only done on embed blobs (e.g. for URL previews), as Barkr doesn't yet support posting images as embeds.
- This is useful to prevent Bluesky from rejecting images that are too large, and to avoid having to manually resize images before posting them.
- The default behavior is to not compress images, to keep the current behavior. Images too large will still be rejected by Bluesky, resulting in posts without images.
Changed
- Minor performance improvements to the Bluesky connection
- Minor dependency updates
v0.10.1
Changed
- Minor dependency updates.
Fixed
- Bluesky connection: fixed an issue where URL facets were not being correctly added to a post with a URL when a request to get embed metadata for the URL failed, even though the facet doesn't need said metadata.
v0.10.0
aka the media update!
Added
- Implemented support for storing media (images, videos) in the
Messagemodel, with descriptive or alt text.- Connections can decide whether to support text-only messages or text+media messages.
- Empty message filter now considers supported message type when deciding if a message is empty (e.g. a message with only media is not empty if the connection supports media).
- Bluesky connection: added support for reading media from messages.
- Mastodon connection: added support for reading media from messages, and adding media to messages.
Changed
- Minor dependency updates
- Minor tweaks to Github Actions pipeline