Skip to content

v0.40.0-tor.2

Choose a tag to compare

@highda highda released this 24 Oct 21:38
· 24 commits to main since this release

Fixes comments in API clients such as Stealth, which showed no comments at all with v0.40.0-tor.1.

Images (linux/amd64; this release also moves latest):

  • ghcr.io/highda/redlib-tor-api:v0.40.0-tor.2
  • ghcr.io/highda/redlib-tor-api-teddit:v0.40.0-tor.2

Fixed:

  • Comments in /raw and Teddit API threads have all of Reddit's fields again (link_id, permalink, award icons, …); Stealth rejected the whole thread without them.
  • "Load more": Reddit no longer serves /api/morechildren to anonymous clients, so "more" stubs carry a continuation cursor as their id, and post routes take cursor=<id> to continue a thread below the post or a comment. The next page of top-level comments is a trailing "more" stub, as in Reddit's JSON.
  • /r/a+b returned r/popular through the API: the + reached Reddit unencoded.

Added:

  • /users/search (Teddit API extension, target=reddit only): Reddit's user search.

Use with Stealth-Continued 2.5.0. Docs: fork/teddit-api/API_SURFACE.md (cursor, /users/search).

Tested: fork/scripts/check.sh, the live smoke test through Tor (43/43), and Stealth-Continued 2.5.0 on an emulator.