kopia lustrzana https://github.com/halcy/Mastodon.py
Bump all the version numbers
rodzic
02d38084ea
commit
21882c4b79
|
@ -1,7 +1,7 @@
|
||||||
Mastodon.py
|
Mastodon.py
|
||||||
===========
|
===========
|
||||||
Python wrapper for the Mastodon ( https://github.com/mastodon/mastodon/ ) API.
|
Python wrapper for the Mastodon ( https://github.com/mastodon/mastodon/ ) API.
|
||||||
Feature complete for public API as of Mastodon version 4.3.0 and easy to get started with:
|
Feature complete for public API as of Mastodon version 4.4.3 and easy to get started with:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
|
14
TODO.md
14
TODO.md
|
@ -1,17 +1,3 @@
|
||||||
API relevant changes since last release / "to implement" list:
|
API relevant changes since last release / "to implement" list:
|
||||||
|
|
||||||
Refer to mastodon changelog and API docs for details when implementing, add or modify tests where needed
|
Refer to mastodon changelog and API docs for details when implementing, add or modify tests where needed
|
||||||
|
|
||||||
4.4.0 TODOs
|
|
||||||
-----------
|
|
||||||
* [x] Fix all the issues
|
|
||||||
* [x] New endpoints for endorsements, replacing "pin" api, which is now deprecated: accounts_endorsements(id), account_endorse(id), account_unendorse(id)
|
|
||||||
* [x] New endpoints for featured tags: tag_feature(name), tag_unfeature(name)
|
|
||||||
* [x] New endpoint: instance_terms, with or without date (format?)
|
|
||||||
* [x] Some oauth stuff (userinfo? capability discovery? see issue for that)
|
|
||||||
* [x] status_delete now has a media delete param
|
|
||||||
* [x] push_subscribe now has a "standard" parameter to switch between two versions. may also need to update crypto impls?
|
|
||||||
* [x] account_register now has a date of birth param (as above: format?)
|
|
||||||
* [x] update_credentials now has an attribution_domains param for link attribution (list)
|
|
||||||
* [x] Various updates to return values (automatable, hopefully, other than docs)
|
|
||||||
* [x] There is a "Deprecation" http header now, expose that to users?
|
|
||||||
|
|
|
@ -66,9 +66,9 @@ author = u'Lorenz Diener'
|
||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = u'2.0'
|
version = u'2.1'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = u'2.0.1'
|
release = u'2.1.0'
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
|
|
@ -59,7 +59,7 @@ every aspect. This is a simple Python wrapper for that API, provided
|
||||||
as a single Python module.
|
as a single Python module.
|
||||||
|
|
||||||
Mastodon.py aims to implement the complete public Mastodon API. As
|
Mastodon.py aims to implement the complete public Mastodon API. As
|
||||||
of this time, it is feature complete for Mastodon version 4.3.0. The
|
of this time, it is feature complete for Mastodon version 4.4.3. The
|
||||||
Mastodon compatible API layers of various other pieces of software as well
|
Mastodon compatible API layers of various other pieces of software as well
|
||||||
as forks, while not an official target, should also be basically
|
as forks, while not an official target, should also be basically
|
||||||
compatible, and Mastodon.py does make some allowances for behaviour that isn't
|
compatible, and Mastodon.py does make some allowances for behaviour that isn't
|
||||||
|
|
|
@ -72,8 +72,8 @@ class Mastodon(MastoUtility, MastoAuthentication, MastoAccounts, MastoInstance,
|
||||||
Main class, imports most things from modules
|
Main class, imports most things from modules
|
||||||
"""
|
"""
|
||||||
# Support level
|
# Support level
|
||||||
__SUPPORTED_MASTODON_VERSION = "4.3.0"
|
__SUPPORTED_MASTODON_VERSION = "4.4.3"
|
||||||
__MASTODON_PY_VERSION = "2.0.1"
|
__MASTODON_PY_VERSION = "2.1.0"
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_supported_version() -> str:
|
def get_supported_version() -> str:
|
||||||
|
|
|
@ -4,7 +4,7 @@ build-backend= "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "Mastodon.py"
|
name = "Mastodon.py"
|
||||||
version = "2.0.1"
|
version = "2.1.0"
|
||||||
description = "Python wrapper for the Mastodon API"
|
description = "Python wrapper for the Mastodon API"
|
||||||
readme = "README.rst"
|
readme = "README.rst"
|
||||||
authors = [
|
authors = [
|
||||||
|
|
Ładowanie…
Reference in New Issue