Skip to content

Releases: aitorres/barkr

v0.10.9

03 Oct 04:03
1fe9a7b

Choose a tag to compare

Changed

  • Better logging on errors for the RSS and the Mastodon ActivityBot connections.
  • Minor dependency updates

v0.10.8

07 Sep 21:12
198f3aa

Choose a tag to compare

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

27 Aug 07:31
5bbf4fa

Choose a tag to compare

Changed

  • Increased timeout for Bluesky-related network requests to 15 seconds, to prevent timeouts on slow connections or when uploading blobs.

v0.10.6

18 Aug 20:18
2dc4fd5

Choose a tag to compare

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

04 Aug 18:01
9921971

Choose a tag to compare

Added

  • Bluesky connection: added support to set who can reply to a post (through thread gates) when posting a message, with the allowed_replies parameter.
    • 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.

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

23 Jul 06:02
5df96f5

Choose a tag to compare

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

29 Jun 22:26
6b0314c

Choose a tag to compare

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

01 Jun 06:30
757912c

Choose a tag to compare

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

22 May 06:40
053798d

Choose a tag to compare

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

11 May 23:15
d5af486

Choose a tag to compare

aka the media update!

Added

  • Implemented support for storing media (images, videos) in the Message model, 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