Skip to content

Releases: Fedihosting-Foundation/plemmy

0.3.10 - bug fixes

03 Oct 14:31
Compare
Choose a tag to compare
  • Fixes/updates LocalUser attributes
  • Remove extra comma

Thanks to @Pdzly and @deliciouslysmug for the contributions!

0.3.9 - bug fixes

02 Sep 01:07
Compare
Choose a tag to compare
  • Added new attributes to CommentAggregates and PostAggregates objects: c860f60
  • Bug fixes: 86a96c6

0.3.8 - bug/typo fix

31 Aug 19:19
Compare
Choose a tag to compare

Changes outlined in PR #23.

Thanks to @JLukeBlakey for the fix!

0.3.7 - add "get_communities" method

23 Aug 19:24
Compare
Choose a tag to compare

Outlined in PR #21, this change adds the get_communities method to the LemmyHttp object. For example:

from plemmy import LemmyHttp

srv = LemmyHttp("<lemmy server>")
api_response = srv.get_communities(type_="All", sort="Hot", page=0, limit=50)

Thanks to @gwbischof for the contribution!

0.3.6 - set minimum Python version

21 Aug 21:09
Compare
Choose a tag to compare

Per PR #20 and issue #19, Plemmy can be installed on Python 3.7+ (previously set to 3.11). This has been updated in pyproject.toml.

Thanks to @gwbischof for highlighting this, and to @ihyoudou for finding the minimum required Python version.

0.3.5 - bug fixes

15 Aug 00:19
e3f47c7
Compare
Choose a tag to compare

Per issue #17, block_community did not work as of Plemmy version 0.3.4. I've tracked down the cause: it looks like the changes made in PR #15 to the create_form utility function, i.e., turning boolean variables into strings, only really applies to get_person_mentions, as other functions such as block_community actually do require a boolean data type.

@mike-fmh: I had to revert some changes you made, but I think my solution of manually converting the boolean to a string fixes the get_person_mentions function. Not sure how many other similar functions are affected, feel free to make similar changes and make a PR if you run into any issues.

Very unfortunate that the API has some datatype mismatching, hopefully this will be fixed in the future.

Thanks to @AndrewFlan for pointing me in the right direction!

0.3.4 - better build/install method, GitHub workflows

01 Aug 03:32
9a11b98
Compare
Choose a tag to compare

No functional changes, but:

  • Build/installation now utilizes pyproject.toml instead of the deprecated setup.py
  • Added a GitHub workflow to publish Plemmy to PyPI whenever a new release is published
  • Version: 0.3.3 -> 0.3.4
  • Added a GitHub workflow to run unit tests with pytest on new PRs
  • Added a unit test to test package import

0.3.3 (bug fix)

22 Jul 19:42
Compare
Choose a tag to compare

Per the issue found in PR #15, boolean values need to be sent as strings to Lemmy. This change affects all boolean values sent to Lemmy. Thanks to @mike-fmh for the contribution!

0.3.2 (bug fixes)

20 Jul 23:48
Compare
Choose a tag to compare

Per PR #14, fixes were made to a few objects in plemmy.responses so everything plays nice. Thanks to @jheidecker for the contributions!

0.3.1 (bug fix)

11 Jul 14:32
Compare
Choose a tag to compare

Per PR #13, the community object now requires the banner attribute; this was added in a recent Lemmy update.

Thanks to @fievel for the contribution!