diff --git a/CHANGELOG.md b/CHANGELOG.md index ced3bc0..4685b6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ # Changelog +## Version 0.8 + +### v0.8.0 + +* Add CHANGELOG.md +* Remove deprecated code in version 0.6 (#114) +* Add ID translations +* Correct FR translation +* Remove unused `api_view_serializer_class*` decorators +* Rewrite views as APIView classes (#55) + + ## Version 0.7 ### v0.7.3 diff --git a/rest_registration/_version.py b/rest_registration/_version.py index 4910b9e..777f190 100644 --- a/rest_registration/_version.py +++ b/rest_registration/_version.py @@ -1 +1 @@ -__version__ = "0.7.3" +__version__ = "0.8.0" diff --git a/setup.cfg b/setup.cfg index 4ef968e..16ed6e8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,9 @@ [bumpversion] -current_version = 0.7.3 +current_version = 0.8.0 commit = True tag = True parse = (?P\d+)\.(?P\d+)\.(?P\d+) -serialize = +serialize = {major}.{minor}.{patch} [metadata] @@ -16,49 +16,49 @@ description-file = README.md long-description = file:README.md long-description-content-type = text/markdown; charset=UTF-8 url = https://github.com/apragacz/django-rest-registration -project-urls = - Bug Tracker = https://github.com/apragacz/django-rest-registration/issues - Documentation = https://django-rest-registration.readthedocs.io/ - Source Code = https://github.com/apragacz/django-rest-registration -keywords = - django - rest - api - auth - rest-framework - registration - register - login - reset-password - register-email - change-email - sign-up - sign-in +project-urls = + Bug Tracker = https://github.com/apragacz/django-rest-registration/issues + Documentation = https://django-rest-registration.readthedocs.io/ + Source Code = https://github.com/apragacz/django-rest-registration +keywords = + django + rest + api + auth + rest-framework + registration + register + login + reset-password + register-email + change-email + sign-up + sign-in license = MIT license-file = LICENSE -classifiers = - Development Status :: 4 - Beta - Environment :: Web Environment - Framework :: Django - Framework :: Django :: 2.0 - Framework :: Django :: 3.0 - Framework :: Django :: 4.0 - Intended Audience :: Developers - License :: OSI Approved :: MIT License - Operating System :: POSIX - Operating System :: POSIX :: Linux - Programming Language :: Python - Programming Language :: Python :: 3 - Programming Language :: Python :: 3 :: Only - Topic :: Internet - Topic :: Internet :: WWW/HTTP +classifiers = + Development Status :: 4 - Beta + Environment :: Web Environment + Framework :: Django + Framework :: Django :: 2.0 + Framework :: Django :: 3.0 + Framework :: Django :: 4.0 + Intended Audience :: Developers + License :: OSI Approved :: MIT License + Operating System :: POSIX + Operating System :: POSIX :: Linux + Programming Language :: Python + Programming Language :: Python :: 3 + Programming Language :: Python :: 3 :: Only + Topic :: Internet + Topic :: Internet :: WWW/HTTP [options] include_package_data = True python_requires = >=3.5 -install_requires = - Django>=2.0 - djangorestframework>=3.3 +install_requires = + Django>=2.0 + djangorestframework>=3.3 [isort] line_length = 88 @@ -78,22 +78,22 @@ const-rgx = ([a-z_][a-z0-9_]{3,30}|[A-Z_][A-Z0-9_]{3,30}) good-names = i, j, k, db min-public-methods = 0 max-args = 6 -disable = - missing-docstring, - unused-argument, - unused-import, - line-too-long, - ungrouped-imports, - fixme, - consider-using-f-string, +disable = + missing-docstring, + unused-argument, + unused-import, + line-too-long, + ungrouped-imports, + fixme, + consider-using-f-string, score = no -generated-members = - objects - from_queryset - __setattr__ - DoesNotExist - Meta - _meta +generated-members = + objects + from_queryset + __setattr__ + DoesNotExist + Meta + _meta [pylint:similarities] min-similarity-lines = 5 @@ -103,9 +103,9 @@ ignore-imports = yes max-parents = 10 [mypy] -plugins = - mypy_django_plugin.main, - mypy_drf_plugin.main +plugins = + mypy_django_plugin.main, + mypy_drf_plugin.main [mypy.plugins.django-stubs] django_settings_module = tests.default_settings @@ -114,31 +114,26 @@ django_settings_module = tests.default_settings DJANGO_SETTINGS_MODULE = tests.default_settings django_find_project = false addopts = --doctest-modules -testpaths = - tests - rest_registration +testpaths = + tests + rest_registration [coverage:run] branch = True -source = - rest_registration +source = + rest_registration [coverage:report] -exclude_lines = - # Have to re-enable the standard pragma - pragma: no cover - - # Don't complain about missing debug-only code: - def __repr__ - - # Don't complain if tests don't hit defensive assertion code: - raise AssertionError - raise NotImplementedError - - # Don't complain if non-runnable code isn't run: - if __name__ == .__main__.: - if TYPE_CHECKING: - +exclude_lines = + pragma: no cover + + def __repr__ + + raise AssertionError + raise NotImplementedError + + if __name__ == .__main__.: + if TYPE_CHECKING: ignore_errors = True [coverage:html]