v6.0
版本发布时间: 2023-03-23 04:39:04
snarfed/granary最新发布版本:v6.1(2023-09-16 22:20:19)
Breaking changes
-
as2
:- Interpret bare string
object
,inReplyTo
, etc values as ids, convert them to bare strings orid
instead ofurl
.
- Interpret bare string
-
microformats2
:- Convert simple string
in-reply-to
,repost-of
,like-of
etc values to AS1 bare strings orid
s instead ofurl
s.
- Convert simple string
Non-breaking changes
- Add new
bluesky
module for Bluesky/AT Protocol! -
as1
:- Add the
organization
object type andACTOR_TYPES
constant (based on AS2). - Add new
get_ids
,get_object
, andget_objects
functions.
- Add the
-
activity_changed
: ignoreinReplyTo.author
(snarfed/bridgy#1338) -
as2
:- Support converting between AS1
stop-following
and AS2Undo
Follow
. - Support AS2
Accept
andReject
for follows as well as event RSVPs. - Add support for the
Question
(ie poll),Organization
, andDelete
object types. - Convert
to
/cc
to/from AS1to
for public and unlisted. - Handle
type: Document
video attachments like Mastodon emits. -
from_as1
: bug fix for image objects withurl
andvalue
fields (for alt text). -
from_as1
: bug fix, handle bare string URLimage
values. -
from_as1
: converturls.displayName
toattachment.name
(bridgy-fed#331). -
from_as1
: preserveinReplyTo
object values as objects, inline single-element lists down down to just single element. -
to_as1
: useobjectType: featured
for first image inimage
field. -
to_as1
: populateactor
intoobject.author
forUpdate
s as well asCreate
s. -
to_as1
: convert Mastodon profile metadataPropertyValue
attachments tourl
composite objects withdisplayName
. - Preserve
to
andcc
values when converting both directions.
- Support converting between AS1
-
atom
:- Bug fix for rendering image attachments without
image
field to Atom. - Bug fix for
published
andupdated
in entries with objects, eg likes, reposts, RSVPs, bookmarks. Thanks @gregorlove! (#480) - Bug fix for content
activity/ies_to_atom
whenobject
is present and empty. - Bug fix for objects with elements without
objectType
in theto
field.
- Bug fix for rendering image attachments without
-
flickr
:-
get_activities
: add support for thecount
kwarg.
-
-
github
:-
get_activities
: add support for thecount
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).
- Switch from
-
mastodon
:- Add compatibility support for Truth Social.
- Handle truncated JSON API responses.
-
microformats2
:-
json_to_object
: drop backward compatibility support forlike
andrepost
properties. Background discussion. -
json_to_object
: add newrel_urls
kwarg to allow attachingdisplayName
s tourls
based on HTML text ortitle
attribute (bridgy-fed#331). - Add new
json_to_activities
function. -
hcard_to_html
/maybe_linked_name
: whenname
is missing, use pretty URL as visible text. - Support the
h-card
org
property. -
json_to_object
: handle compositersvp
property value. -
json_to_object
: bug fix whenfetch_mf2
is True, handle when we run the authorship algorithm and fetch an author URL that has au-photo
withalt
.
-
-
rss
:-
from_activities
: fix item ordering to match input activities.
-