v1.8
版本发布时间: 2017-10-27 13:08:19
snarfed/granary最新发布版本:v6.1(2023-09-16 22:20:19)
Notable changes
- Add JSON Feed support to both library and REST API.
- Twitter:
- Add
get_blocklist()
. - Bug fix for creating replies, favorites, or retweets of video URLs, e.g. https://twitter.com/name/status/123/video/1 .
- Bug fix for parsing favorites HTML to handle a small change on Twitter's side.
-
post_id()
now validates ids more strictly before returning them.
- Add
- Facebook:
- Instagram:
- Update scraping to handle new home page (ie news feed) JSON schema, which changed sometime around 2017-02-27. (Profile pages and individual photo/video permalinks still haven't changed yet.)
- microformats2:
- Add
u-featured
to ActivityStreamsimage
. - Improve
h-event
support. - Minor whitespace change (added
) when rendering locations as HTML.
-
post_id()
now validates ids more strictly before returning them. - Fix bugs in converting latitude and longitude between ActivityStreams and mf2.
- Add
- Google+:
- Update HTML scraping to handle changed serialized JSON data format.
- Atom:
- Add new
activity_to_atom()
function that renders a single top-level<entry>
instead of<feed>
. - Add new
reader
query param for toggling rendering decisions that are specific to feed readers. Right now, just affects location: it's rendered in the content whenreader=true
(the default), omitted whenreader=false
. - Include author name when rendering attached articles and notes (e.g. quote tweets).
- Only include AS
activity:object-type
andactivity:verb
elements when they have values. - Render AS image and mf2 u-photo if they're not already in content.
- Render
thr:in-reply-to
fromobject.inReplyTo
as well asactivity.context.inReplyTo
.
- Add new
- REST API:
- Fix bugs in html => json-mf2 and html => html conversions.
- Upgrade brevity to 0.2.14 for a couple bug fixes.