| 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_ownerbug fix forpost,update,deleteactivities.activity_changed: add newinReplyTokwarg.is_public: add newunlistedkwarg.as2:to_as1: bug fix, preserveobjectType: featuredfor banner/header images even whenmediaTypeis also set.is_public: add newunlistedkwarg.from_as1:- For
iconfield, prefer image types that are allowed by Mastodon. - Bug fix, handle
stop-followingwith stringobjectid.
- For
atom:- Add new
extract_entriesfunction. activity_to_atom: default actor/author name to username.atom_to_activities: support top-levelentryelement as well asfeed.atom_to_*:- add
object.author - default
objectTypetoarticle/noteandverbtopost - convert
link rel=self/alternatetourl - use
displayNamein objects instead oftitle - Interpret entry
linkwithoutrelas self link.
- add
- If
entry.authordoesn't have id or url, default them to feed author's. bluesky:- Implement
createandpreview. - Fully support both
recordandobjecttypes infrom_as1andto_as1. Useto_as1'stypekwarg andfrom_as1'sout_typekwarg to disambiguate. - Implement
Bluesky.post_id. - Add new
blob_to_urlfunction. - Delete
as1_to_profile, switchfrom_as1to return$type: app.bsky.actor.profile. - Convert HTML
summaryandcontentto 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.orgto 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
getBlobURLs. - Add new
urikwarg. - Translate
handletousername, add newrepo_handlekwarg. - Add support for
app.bsky.feed.repost,app.bsky.graph.defs#listView,app.bsky.feed.defs#blockedPost. - Add
actor/authorbased onrepo_did. - Improve
urlfield: include custom handles, only userepo_did/handleforapp.bsky.actor.profile. - Handle bad facet indices that point inside Unicode code points (example; discussion).
- Convert
!no-unauthenticatedlabel on profiles to AS1@unlistedaudience target (bridgy-fed#828).
- Convert blobs, both new and old style, to PDS
from_as1:- Add
out_typekwarg to specify desired output type, egapp.bsky.actor.profilevsapp.bsky.actor.defs#profileViewBasicvsapp.bsky.actor.defs#profileView. - Add
blobskwarg to provide blob objects to use for image URLs. - Add
clientkwarg to fetch and populate CIDs. - Handle mention tags pointing to bare DIDs.
- Use
parentasrootin 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
imagefield. - Bug fix: handle tags without
urlfield. - Strip trailing slash from home page URLs in order to remove visible
/from rel-me verified links on Mastodon etc. - Convert
attributedToto singular if it has only one element. - If
nameisn't set, fall back topreferredUsernameor infer Webfinger handle fromidorurl. - Prioritize bsky.app profile URL before handle URL in
urlfield (bridgy#1640). - Convert
bsky.appinReplyToURLs toat://URIs. - Tighten up
datetimeconversion 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
displayNamein objects instead oftitle. mastodon:get_activitiesbug fix: use query params for/api/v1/notificationsAPI call, not JSON body.- Convert HTTP 200 responses with
errorJSON field (eg from Sharkey) to 400/401 exceptions. - Prefer
media_attachments.remote_urlwhen available since it may be more long-lived thanurlfor remote statuses (bridgy#1675). microformats2:object_to_jsonbug fix: handle singularinReplyTo.json_to_objectbug 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: noteiftitleisn't set or is a prefix (possibly ellipsized) ofcontent/description. - Add support for images in
media:contenttags (#674).
- Use
Source:postprocess_activity/object: addmentionskwarg to convert @-mentions in HTML links tomentiontags.