Skip to content

v6.0

Compare
Choose a tag to compare
@snarfed snarfed released this 22 Mar 20:39
· 885 commits to main since this release
26b708f

Breaking changes

  • as2:
    • Interpret bare string object, inReplyTo, etc values as ids, convert them to bare strings or id instead of url.
  • microformats2:
    • Convert simple string in-reply-to, repost-of, like-of etc values to AS1 bare strings or ids instead of urls.

Non-breaking changes

  • Add new bluesky module for Bluesky/AT Protocol!
  • as1:
    • Add the organization object type and ACTOR_TYPES constant (based on AS2).
    • Add new get_ids, get_object, and get_objects functions.
  • activity_changed: ignore inReplyTo.author (snarfed/bridgy#1338)
  • as2:
    • Support converting between AS1 stop-following and AS2 Undo Follow.
    • Support AS2 Accept and Reject for follows as well as event RSVPs.
    • Add support for the Question (ie poll), Organization, and Delete object types.
    • Convert to/cc to/from AS1 to for public and unlisted.
    • Handle type: Document video attachments like Mastodon emits.
    • from_as1: bug fix for image objects with url and value fields (for alt text).
    • from_as1: bug fix, handle bare string URL image values.
    • from_as1: convert urls.displayName to attachment.name (bridgy-fed#331).
    • from_as1: preserve inReplyTo object values as objects, inline single-element lists down down to just single element.
    • to_as1: use objectType: featured for first image in image field.
    • to_as1: populate actor into object.author for Updates as well as Creates.
    • to_as1: convert Mastodon profile metadata PropertyValue attachments to url composite objects with displayName.
    • Preserve to and cc values when converting both directions.
  • atom:
    • Bug fix for rendering image attachments without image field to Atom.
    • Bug fix for published and updated in entries with objects, eg likes, reposts, RSVPs, bookmarks. Thanks @gregorlove! (#480)
    • Bug fix for content activity/ies_to_atom when object is present and empty.
    • Bug fix for objects with elements without objectType in the to field.
  • flickr:
    • get_activities: add support for the count kwarg.
  • github:
    • get_activities: add support for the count kwarg.
  • jsonfeed:
    • Switch from white-space: pre CSS to converting newlines to <br>s because some feed readers follow it strictly and don't even line wrap (#456).
  • mastodon:
    • Add compatibility support for Truth Social.
    • Handle truncated JSON API responses.
  • microformats2:
    • json_to_object: drop backward compatibility support for like and repost properties. Background discussion.
    • json_to_object: add new rel_urls kwarg to allow attaching displayNames to urls based on HTML text or title attribute (bridgy-fed#331).
    • Add new json_to_activities function.
    • hcard_to_html/maybe_linked_name: when name is missing, use pretty URL as visible text.
    • Support the h-card org property.
    • json_to_object: handle composite rsvp property value.
    • json_to_object: bug fix when fetch_mf2 is True, handle when we run the authorship algorithm and fetch an author URL that has a u-photo with alt.
  • rss:
    • from_activities: fix item ordering to match input activities.