Download Latest Version v8.1 source code.tar.gz (1.4 MB)
Email in envelope

Get an email when there's a new version of granary

Home / v8.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-03-14 2.1 kB
v8.1 source code.tar.gz 2025-03-14 1.4 MB
v8.1 source code.zip 2025-03-14 1.5 MB
Totals: 3 Items   2.9 MB 0

Notable changes

  • as2:
  • Add new set_content function to help keep content and contentMap in sync.
  • to_as1: support integer seconds duration, which is non-standard but sent by some AP implementations, eg Funkwhale.
  • link_tags: add class="hashtag" for hashtag (Tag, Hashtag) tags (bridgy-fed/#1634).
  • bluesky:
  • Translate Bluesky app.bsky.feed.post#tags to/from AS1 tags ([snarfed/bridgy-fed#1394](https://github.com/snarfed/bridgy-fed/issues/1394)).
  • Add auth kwarg to Bluesky constructor to pass through as custom auth object to requests.get/post.
  • from_as1:
    • Bug fix for generating external embeds: convert HTML content/summary to plain text description (bridgy-fed#1615).
    • Don't add app.bsky.feed.post#tags that are over maxGraphemes (64).
    • Add new raise_ kwarg to raise ValueError if a required object (eg the target of a like or repost) can't be fetched via ATProto.
    • Bug fix: ignore inReplyTo for DMs.
    • Don't convert HTML links in content with bad URLs to #link facets.
  • to_as1:
    • Bug fix: HTML-escape < and > characters, while preserving facet indices, so that they don't disappear (snarfed/bridgy-fed#1144).
  • preview/create:
    • Add support for follows.
  • to_external_embed: bug fix: handle composite url field.
  • mastodon:
  • preview/create:
    • Add support for follows.
  • nostr:
  • Add new Nostr.delete method.
  • Add new sign function.
  • source:
  • Source.postprocess_object: relax mention text matching with mentions=True, ignore server part of webfinger addresses.
  • Add new get_follows and get_followers methods, implement in Mastodon and Bluesky.
Source: README.md, updated 2025-03-14