Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2024-03-16 | 5.9 kB | |
v6.2 source code.tar.gz | 2024-03-16 | 1.2 MB | |
v6.2 source code.zip | 2024-03-16 | 1.3 MB | |
Totals: 3 Items | 2.5 MB | 0 |
Notable changes
as1
:get_owner
bug fix forpost
,update
,delete
activities.activity_changed
: add newinReplyTo
kwarg.is_public
: add newunlisted
kwarg.as2
:to_as1
: bug fix, preserveobjectType: featured
for banner/header images even whenmediaType
is also set.is_public
: add newunlisted
kwarg.from_as1
:- For
icon
field, prefer image types that are allowed by Mastodon. - Bug fix, handle
stop-following
with stringobject
id.
- For
atom
:- Add new
extract_entries
function. activity_to_atom
: default actor/author name to username.atom_to_activities
: support top-levelentry
element as well asfeed
.atom_to_*
:- add
object.author
- default
objectType
toarticle
/note
andverb
topost
- convert
link rel=self
/alternate
tourl
- use
displayName
in objects instead oftitle
- Interpret entry
link
withoutrel
as self link.
- add
- If
entry.author
doesn't have id or url, default them to feed author's. bluesky
:- Implement
create
andpreview
. - Fully support both
record
andobject
types infrom_as1
andto_as1
. Useto_as1
'stype
kwarg andfrom_as1
'sout_type
kwarg to disambiguate. - Implement
Bluesky.post_id
. - Add new
blob_to_url
function. - Delete
as1_to_profile
, switchfrom_as1
to return$type: app.bsky.actor.profile
. - Convert HTML
summary
andcontent
to plain text. - Implement
Bluesky.user_to_actor
,Bluesky.get_actor
. - Don't log in (fetch an access token) eagerly in the constructor; wait until the client makes a call.
- Prefer DID to handle in API calls that accept either.
at_uri_to_web_url
: support lists.web_url_to_at_uri
: convert profile URLs likehttps://bsky.app/profile/snarfed.org
to profile record URIs (at://snarfed.org/app.bsky.actor.profile/self
) instead of repo URIs (at://snarfed.org
).- Add
from_as1_to_strong_ref
. - Allow
:
s in record keys (atproto#2224). to_as1
:- Convert blobs, both new and old style, to PDS
getBlob
URLs. - Add new
uri
kwarg. - Translate
handle
tousername
, add newrepo_handle
kwarg. - Add support for
app.bsky.feed.repost
,app.bsky.graph.defs#listView
,app.bsky.feed.defs#blockedPost
. - Add
actor
/author
based onrepo_did
. - Improve
url
field: include custom handles, only userepo_did/handle
forapp.bsky.actor.profile
. - Handle bad facet indices that point inside Unicode code points (example; discussion).
- Convert
!no-unauthenticated
label on profiles to AS1@unlisted
audience target (bridgy-fed#828).
- Convert blobs, both new and old style, to PDS
from_as1
:- Add
out_type
kwarg to specify desired output type, egapp.bsky.actor.profile
vsapp.bsky.actor.defs#profileViewBasic
vsapp.bsky.actor.defs#profileView
. - Add
blobs
kwarg to provide blob objects to use for image URLs. - Add
client
kwarg to fetch and populate CIDs. - Handle mention tags pointing to bare DIDs.
- Use
parent
asroot
in replies. (Technically wrong in cases where the parent isn't the root, but we don't actually know the root. 🤷) - Bug fix: handle bare string URLs in
image
field. - Bug fix: handle tags without
url
field. - Strip trailing slash from home page URLs in order to remove visible
/
from rel-me verified links on Mastodon etc. - Convert
attributedTo
to singular if it has only one element. - If
name
isn't set, fall back topreferredUsername
or infer Webfinger handle fromid
orurl
. - Prioritize bsky.app profile URL before handle URL in
url
field (bridgy#1640). - Convert
bsky.app
inReplyTo
URLs toat://
URIs. - Tighten up
datetime
conversion to match the ATProto recommended format.
- Add
facebook
:- Remove
Facebook.fql_stream_to_post
. Facebook turned down FQL in 2016. github
:- When converting data to AS1, use
displayName
in objects instead oftitle
. mastodon
:get_activities
bug fix: use query params for/api/v1/notifications
API call, not JSON body.- Convert HTTP 200 responses with
error
JSON field (eg from Sharkey) to 400/401 exceptions. - Prefer
media_attachments.remote_url
when available since it may be more long-lived thanurl
for remote statuses (bridgy#1675). microformats2
:object_to_json
bug fix: handle singularinReplyTo
.json_to_object
bug fix: handle list-valuedlocation
.nostr:
get_*
: return partial results when the websocket connection is closed prematurely.to_as1
: handle invalid NIP05 values (eg{}
)rss
:to_activities
:- Use
objectType: note
iftitle
isn't set or is a prefix (possibly ellipsized) ofcontent
/description
. - Add support for images in
media:content
tags (#674).
- Use
Source
:postprocess_activity/object
: addmentions
kwarg to convert @-mentions in HTML links tomention
tags.