v6.1: ### Notable changes
Notable changes
Nostr, Bluesky get_activities
, lots of improvements in as2
and microformats2
, and more!
REST API breaking changes:
Twitter is dead, at least in the REST API.
Non-breaking changes:
- Add new
nostr
module! as1
:- Add
get_owner
,targets
. - Add
accept
,reject
,stop-following
toVERBS_WITH_OBJECT
and removerepost
, it's not an AS1 verb. - Handle
url
field list values (even though it's invalid AS1).
- Add
as2
:to_as1
:- Improve
Video
handling: supportLink
objects inurl
, extract stream URLs and types from linktag
s. - Coerce non-float
latitude
andlongitude
to float, raiseValueError
on failure. - Put image attachments into
image
as well asattachments
(bridgy-fed#429). - Handle Hubzilla's composite object attachment
value
s. - Bug fix for null
mediaType
inattachment
andtags
.
- Improve
- Add new
TYPES_WITH_OBJECT
constant. - Add new
get_urls
,address
functions. - Improve
Content-Type
compatibility withapplication/ld+json; profile="https://www.w3.org/ns/activitystreams"
. - Bug fix for
Undo
activities with bare string idobject
s. - Revise HTML in
PropertyValue
attachments on actors to include full URL in anchro text to be compatible with Mastodon's profile link verification.
atom
:activities_to_atom
etc:- Switch
content
from XHTML to HTML inside CDATA to support non-XHTML input content (bridgy-fed#624. - Bug fix, handle bare string URL
image
values. - Bug fix, emove incorrect
type="application/atom+xml"
fromrel="self"
link
inentry
. - Render
objectType: comment
attachments. - Remove invalid
<a>
element for tags.
- Switch
- Bug fixes in
activity_to_atom
/activities_to_atom
for dict-valuedurl
fields. - Render images in article/note attachments.
- Render
objectType: service
attachments, eg Bluesky custom feeds.
bluesky
:- Implement
Bluesky
API class, includingget_activities
. - Drop bundled
app.bsky
/com.atproto
lexicons, use lexrpc's instead. - Convert reposts, quotes, inline links, attached links, and mentions, both directions. Includes Bluesky facet (rich text) support.
- Handle quote posts with attached images, both directions.
- Handle likes, both directions.
- Add new
web_url_to_at_uri
function. from_as1
: handle link tags without start/end indices.to_as1
:- Add new
type
kwarg. - Generate staging.bsky.app profile and post URLs.
- Propagate profile
did
into actorid
. - Add unimplemented stub for custom feeds, eg
app.bsky.feed.defs#generatorView
.
- Add new
- Add
as1_to_profile
. - Bug fix for converting follows, both directions:
subject
inapp.bsky.graph.follow
is followee, not follower. (That field is badly named!)
- Implement
jsonfeed
:activities_to_jsonfeed
:- Bug fix, handle bare string values for
image
andstream
. - Bug fix: handle non-object
author
.
- Bug fix, handle bare string values for
mastodon
:status_to_object
: add/fix alt text handling for images.
microformats2
:json_to_html
:- HTML-escape tag and quote attachment names. Fixes GHSA-4w4f-g49g-3f7j; thank you @janboddez!
json_to_object
:- Improve handling of items with multiple types by using post type discovery more aggressively.
- Normalize ISO-8601 format of
published
andupdated
timestamps.
object_to_json
:- Bug fix, handle bare string URL
image
values. - Normalize ISO-8601 format of
published
andupdated
timestamps. - Handle bare string ids for
replies
andshares
(usually from AS2.)
- Bug fix, handle bare string URL
- Include
objectType: service
attachments, eg Bluesky custom feeds, in JSON and HTML output.
rss
:from_activities
: handle bare string idauthor
.