v3.2
版本发布时间: 2021-09-16 13:06:25
snarfed/granary最新发布版本:v6.1(2023-09-16 22:20:19)
Notable changes
-
Source.original_post_discovery
: add newinclude_reserved_hosts
kwarg, defaults toTrue
. - Facebook:
- Scraping: handle pictures, videos, link attachments, and text links in timeline/news feed posts.
- Mastodon:
- Bug fix for
get_activities()
withfetch_mentions=True
: handle notifications withstatus: null
. Maybe happens when a status is deleted? -
create
/preview_create
: support bookmarks. (Nothing special happens with them; theircontent
is posted as a normal toot.)
- Bug fix for
- microformats2:
- Stop rendering
image.displayName
as visible text in HTML, since it's already in the<img>
'salt
attribute. - Add
bookmark-of
support. - Add
prefix_image_urls()
function. - Handle null
content
in AS1/2 objects. -
json_to_object
bug fix for compositebookmark-of
properties.
- Stop rendering
- Twitter:
-
create
/preview
: support large videos via async upload. We now passmedia_category=tweet_video
to the chunked uploadINIT
stage, and then make blockingSTATUS
calls until the video is finished processing. (bridgy#1043) -
create
/preview
: allow bookmarks. (bridgy#1045) -
create
/preview
: allow non-Twitter replies, ie activities that includeinReplyTo
URLs even if none of them point to a tweet. (bridgy#1063) -
get_activities
: support list ids as well as slugs. - Bug fixes for removing t.co links to quoted tweets.
- Bug fix for multiple instances of the same link in tweet text.
-
get_activities()
: raiseValueError
on invaliduser_id
.
-
- REST API: ported web framework from webapp2 to Flask. No user-visible behavior change expected.