Skip to content

Releases: cooperwalbrun/pychan

v0.9.0

27 Jul 02:15
v0.9.0
2fff2c3
Compare
Choose a tag to compare

Changed

  • Updated the version constraint of the pyrate-limiter dependency from >=2.8,<3 to >=3,<4 (by @cooperwalbrun)

v0.8.0

20 Mar 23:56
v0.8.0
f2019e5
Compare
Choose a tag to compare

Added

  • Python 3.12 is now an official build target for pychan (by @cooperwalbrun)

v0.7.0

16 Dec 21:58
v0.7.0
d84f5b4
Compare
Choose a tag to compare

Changed

  • All 4chan HTTP operations will now use the 4chan.org domain (previously, some HTTP operations used the 4channel.org domain) (by @cooperwalbrun)

v0.6.0

09 Apr 20:53
v0.6.0
3662c52
Compare
Choose a tag to compare

Added

  • The Thread and Post models each now have a url property which contains a complete URL linking directly to that particular thread or post in 4chan (by @cooperwalbrun)

Fixed

  • The search() method will now raise a ParsingError when the data returned from 4chan is in an unexpected format (by @cooperwalbrun)
  • The search() method will no longer induce HTTP 403 errors (thanks to its new Cloudflare-oriented arguments) (by @cooperwalbrun)

Changed

  • Whitespace-only thread titles will now be converted into None within the get_threads() method (by @cooperwalbrun)
  • The search() method now expects user_agent and cloudflare_cookies arguments containing the User-Agent and Cookie header data needed to bypass the Cloudflare firewall in front of 4chan's REST API (by @cooperwalbrun)

v0.5.0

05 Apr 06:11
v0.5.0
9fb406b
Compare
Choose a tag to compare

Added

  • The File model now has an is_spoiler field indicating whether the image was a "spoiler" image (by @cooperwalbrun)

Changed

  • The get_threads() method no longer iterates through a board's pages; instead, it directly scrapes threads from the catalog for the given board (by @cooperwalbrun)

Removed

  • Support for Python 3.9 has been removed; pychan will now only build for Python 3.10 and 3.11 (by @cooperwalbrun)

v0.4.2

05 Apr 02:06
v0.4.2
530c668
Compare
Choose a tag to compare

Fixed

  • The get_boards() method will no longer induce HTTP 403 errors (by @cooperwalbrun)

v0.4.1

18 Nov 07:05
v0.4.1
fbbfc7c
Compare
Choose a tag to compare

Changed

  • The FourChan class will no longer output any warnings when 4chan's pages for a given board have been exhausted by the get_threads() generator (by @cooperwalbrun)

v0.4.0

16 Nov 07:36
v0.4.0
ad2f925
Compare
Choose a tag to compare

Added

  • The FourChan class now supports the optional exception-oriented arguments raise_http_exceptions and raise_parsing_exceptions (by @cooperwalbrun)
  • There are now integration tests in the project that will actually connect to 4chan instead of relying on mocks (by @cooperwalbrun)
  • Added project configuration for using mypy to statically type-check code during development and in the GitHub Actions pipeline (by @cooperwalbrun)
  • Implemented proper typing throughout the source code and added a py.typed file per PEP 561 (by @cooperwalbrun)

Changed

  • The Thread class's board field will now always feature the "sanitized" version of the board (e.g. a instead of /a/, /a, or a/) (by @cooperwalbrun)
  • The ratelimit module was replaced by the pyrate-limiter module within the internal request throttler (by @cooperwalbrun)

v0.3.5

08 Nov 06:27
v0.3.5
07f1502
Compare
Choose a tag to compare

Added

  • Added support for Python 3.11 to the pipeline and project configuration (by @cooperwalbrun)

v0.3.4

13 Oct 02:36
v0.3.4
2158ef6
Compare
Choose a tag to compare

Changed

  • The author email address in the wheel's metadata is now set to a real email address (by @cooperwalbrun)