diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-12-01 22:18:38 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-12-01 22:18:38 +0200 |
commit | c796cf39b01e38fe381fb4743988da991b072183 (patch) | |
tree | a431a202d1dd388cc7da7fbcb74a206bdb4d04eb | |
parent | 0159bd7caecc9c3311f5f18869321b564f05ac89 (diff) | |
download | mastodon.py-c796cf39b01e38fe381fb4743988da991b072183.tar.gz |
Bump version
-rw-r--r-- | CHANGELOG.rst | 13 | ||||
-rw-r--r-- | TODO.md | 62 | ||||
-rw-r--r-- | docs/conf.py | 4 | ||||
-rw-r--r-- | setup.py | 2 |
4 files changed, 15 insertions, 66 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6b5e832..f146ee5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst | |||
@@ -2,8 +2,8 @@ A note on versioning: This librarys major version will grow with the APIs | |||
2 | version number. Breaking changes will be indicated by a change in the minor | 2 | version number. Breaking changes will be indicated by a change in the minor |
3 | (or major) version number, and will generally be avoided. | 3 | (or major) version number, and will generally be avoided. |
4 | 4 | ||
5 | v1.8.0 (in progress) | 5 | v1.8.0 |
6 | -------------------- | 6 | ------ |
7 | * Overall: Support level is now 3.5.5 (last before 4.0.0) | 7 | * Overall: Support level is now 3.5.5 (last before 4.0.0) |
8 | * BREAKING CHANGE: Switch the base URL to None, throw an error when no base url is passed. Having mastosoc as default was sensible when there were only three mastodon servers. It is not sensible now and trips people up constantly. | 8 | * BREAKING CHANGE: Switch the base URL to None, throw an error when no base url is passed. Having mastosoc as default was sensible when there were only three mastodon servers. It is not sensible now and trips people up constantly. |
9 | * GENERAL WARNING: Currently, Mastodon.py does not support the "new" filter system. In the future, it will, and it will respect filters by default (i.e. remove filtered posts). | 9 | * GENERAL WARNING: Currently, Mastodon.py does not support the "new" filter system. In the future, it will, and it will respect filters by default (i.e. remove filtered posts). |
@@ -11,7 +11,6 @@ v1.8.0 (in progress) | |||
11 | * Added trending APIs (`trending_tags`, `trending_statuses`, `trending_links`, `admin_trending_tags`, `admin_trending_statuses`, `admin_trending_links`) | 11 | * Added trending APIs (`trending_tags`, `trending_statuses`, `trending_links`, `admin_trending_tags`, `admin_trending_statuses`, `admin_trending_links`) |
12 | * Added `lang` parameter and document what it does properly. | 12 | * Added `lang` parameter and document what it does properly. |
13 | * Added `category` and `rule_ids` to `reports` | 13 | * Added `category` and `rule_ids` to `reports` |
14 | * This too isn't really a changelog entry but in the same vein as the last post, thank you Claire and Gargron for clarifying many things about the API when asked. | ||
15 | * Made the documentation a bit neater (thanks dieseltravis) | 14 | * Made the documentation a bit neater (thanks dieseltravis) |
16 | * Added the domain blocking admin API (`admin_domain_blocks`, `admin_domain_block`, `admin_update_domain_block`, `admin_delete_domain_block` - thanks catgoat) | 15 | * Added the domain blocking admin API (`admin_domain_blocks`, `admin_domain_block`, `admin_update_domain_block`, `admin_delete_domain_block` - thanks catgoat) |
17 | * Added the stats admin APIs (`admin_measures`, `admin_dimensions`, `admin_retention`) | 16 | * Added the stats admin APIs (`admin_measures`, `admin_dimensions`, `admin_retention`) |
@@ -20,11 +19,13 @@ v1.8.0 (in progress) | |||
20 | * Added `account_remove_from_followers` API | 19 | * Added `account_remove_from_followers` API |
21 | * Added `admin_accounts_v2` API | 20 | * Added `admin_accounts_v2` API |
22 | * FUTURE BREAKING CHANGE WARNING: For now, `admin_accounts` still calls v1, but this may change in the future. You are encouraged to use v2 instead. | 21 | * FUTURE BREAKING CHANGE WARNING: For now, `admin_accounts` still calls v1, but this may change in the future. You are encouraged to use v2 instead. |
23 | * Make the version comparisons a bit nicer (thanks eumiro) | 22 | * Made the version comparisons a bit nicer (thanks eumiro) |
24 | * Switch to more recent modules for datetime and timezone stuff (thanks eumiro) | 23 | * Switch to more recent modules for datetime and timezone stuff (thanks eumiro) |
25 | * Substantially restructure the documentation, making it a lot nicer to read | 24 | * Made the documentation a bit more consistent (thanks dieseltravis) |
26 | * Substantially restructure the code, making it hopefully a lot easier to maintain | 25 | * Substantially restructured the documentation, making it a lot nicer to read |
26 | * Substantially restructured the code, making it hopefully a lot easier to maintain | ||
27 | * This SHOULD NOT break anything. If this breaks your code, please let me know. | 27 | * This SHOULD NOT break anything. If this breaks your code, please let me know. |
28 | * This too isn't really a changelog entry but in the same vein as the last post, thank you Claire and Gargron for clarifying many things about the API when asked. | ||
28 | 29 | ||
29 | v1.7.0 | 30 | v1.7.0 |
30 | ------ | 31 | ------ |
@@ -2,68 +2,16 @@ API relevant changes since last release / "to implement" list: | |||
2 | 2 | ||
3 | Refer to mastodon changelog and API docs for details when implementing, add or modify tests where needed | 3 | Refer to mastodon changelog and API docs for details when implementing, add or modify tests where needed |
4 | 4 | ||
5 | 3.1.3 | ||
6 | ----- | ||
7 | * [x] POST /api/v1/media → POST /api/v2/media (v1 deprecated) | ||
8 | |||
9 | 3.1.4 | ||
10 | ----- | ||
11 | * [x] Add ability to exclude local content from federated timeline | ||
12 | * [x] Add ability to exclude remote content from hashtag timelines in web UI | ||
13 | * [x] Add invites_enabled attribute to GET /api/v1/instance in REST API | ||
14 | |||
15 | 3.2.0 | ||
16 | ----- | ||
17 | * [x] Add personal notes for accounts | ||
18 | * [x] Add customizable thumbnails for audio and video attachments | ||
19 | * [x] Add color extraction for thumbnails | ||
20 | |||
21 | 3.3.0 | ||
22 | ----- | ||
23 | * [x] Add option to be notified when a followed user posts | ||
24 | * [x] Add duration option to the mute function | ||
25 | * [postponed to 4.0 because that's when the official docs say it starts existing as an API] Add ability to block access or limit sign-ups from chosen IPs | ||
26 | * [postponed - need websocket support first] Add support for managing multiple stream subscriptions in a single connection | ||
27 | * [x] Add support for limiting results by both min_id and max_id at the same time in REST API | ||
28 | * [x] Add GET /api/v1/accounts/:id/featured_tags to REST API | ||
29 | |||
30 | 3.4.0 | ||
31 | ----- | ||
32 | * [x] Add server rules | ||
33 | * [x] Add POST /api/v1/emails/confirmations to REST API | ||
34 | * [x] Add GET /api/v1/accounts/lookup to REST API | ||
35 | * [x] Add policy param to POST /api/v1/push/subscriptions in REST API | ||
36 | * [x] Add details to error response for POST /api/v1/accounts in REST API | ||
37 | |||
38 | 3.4.2 | ||
39 | ----- | ||
40 | * [postpone to later] Add configuration attribute to GET /api/v1/instance | ||
41 | |||
42 | 3.5.0 | ||
43 | ----- | ||
44 | * [x] Add support for incoming edited posts | ||
45 | * [x] Add notifications for posts deleted by moderators <- by email. not actually API relevant. | ||
46 | * [x] Add explore page with trending posts and links | ||
47 | * [x] Add graphs and retention metrics to admin dashboard | ||
48 | * [x] Add GET /api/v1/accounts/familiar_followers to REST API | ||
49 | * [x] Add POST /api/v1/accounts/:id/remove_from_followers to REST API | ||
50 | * [x] Add category and rule_ids params to POST /api/v1/reports IN REST API | ||
51 | * [x] Add global lang param to REST API | ||
52 | * [x] Add types param to GET /api/v1/notifications in REST API | ||
53 | * [x] Add notifications for moderators about new sign-ups | ||
54 | * [x] v2 admin account api | ||
55 | |||
56 | 3.5.3 | ||
57 | ----- | ||
58 | * [later with tool to update dicts] Add limited attribute to accounts in REST API | ||
59 | |||
60 | 4.0.0 and beyond | 5 | 4.0.0 and beyond |
61 | ---------------- | 6 | ---------------- |
62 | ? ? ? ? | 7 | ? ? ? ? |
63 | 8 | ||
64 | General improvements that would be good to do before doing another release: | 9 | General improvements that would be good to do before doing another release |
65 | * [ ] Split mastodon.py into parts in some way that makes sense, it's getting very unwieldy | 10 | -------------------------------------------------------------------------- |
11 | * [x] Split mastodon.py into parts in some way that makes sense, it's getting very unwieldy | ||
66 | * [x] Fix the CI | 12 | * [x] Fix the CI |
67 | * [ ] Get test coverage like, real high | 13 | * [ ] Get test coverage like, real high |
68 | * [x] Add all those streaming events?? | 14 | * [x] Add all those streaming events?? |
69 | * [ ] Document return values (skipping this for a bit to then do it at the end with tooling) | 15 | * [ ] Document return values (skipping this for a bit to then do it at the end with tooling) |
16 | * [ ] Do this with models properly, that would be cool as heck | ||
17 | * [ ] Add links to mastodon docs to entities and endpoints \ No newline at end of file | ||
diff --git a/docs/conf.py b/docs/conf.py index c3ded5e..55a6944 100644 --- a/docs/conf.py +++ b/docs/conf.py | |||
@@ -66,9 +66,9 @@ author = u'Lorenz Diener' | |||
66 | # built documents. | 66 | # built documents. |
67 | # | 67 | # |
68 | # The short X.Y version. | 68 | # The short X.Y version. |
69 | version = u'1.7' | 69 | version = u'1.8' |
70 | # The full version, including alpha/beta/rc tags. | 70 | # The full version, including alpha/beta/rc tags. |
71 | release = u'1.7.0' | 71 | release = u'1.8.0' |
72 | 72 | ||
73 | # The language for content autogenerated by Sphinx. Refer to documentation | 73 | # The language for content autogenerated by Sphinx. Refer to documentation |
74 | # for a list of supported languages. | 74 | # for a list of supported languages. |
@@ -27,7 +27,7 @@ extras = { | |||
27 | } | 27 | } |
28 | 28 | ||
29 | setup(name='Mastodon.py', | 29 | setup(name='Mastodon.py', |
30 | version='1.7.0', | 30 | version='1.8.0', |
31 | description='Python wrapper for the Mastodon API', | 31 | description='Python wrapper for the Mastodon API', |
32 | packages=['mastodon'], | 32 | packages=['mastodon'], |
33 | install_requires=[ | 33 | install_requires=[ |