diff --git a/README.en.rst b/README.en.rst index 82dfcfd..eaf6648 100644 --- a/README.en.rst +++ b/README.en.rst @@ -4,11 +4,11 @@ YaDisk-async .. image:: https://img.shields.io/readthedocs/yadisk-async.svg :alt: Read the Docs :target: https://yadisk-async.readthedocs.io/en/latest/ - + .. image:: https://img.shields.io/pypi/v/yadisk-async.svg :alt: PyPI :target: https://pypi.org/project/yadisk-async - + .. image:: https://img.shields.io/aur/version/python-yadisk-async.svg :alt: AUR :target: https://aur.archlinux.org/packages/python-yadisk-async @@ -82,6 +82,10 @@ Changelog .. _issue #7: https://github.com/ivknv/yadisk/issues/7 .. _PR #1: https://github.com/ivknv/yadisk-async/pull/1 +* **Release 1.3.2 (2021-07-10)** + + * Fixed :code:`__version__` having the old value + * **Release 1.3.1 (2021-07-10)** * Fixed :code:`AttributeError` in :code:`SessionWithHeaders` (`PR #1`_) diff --git a/README.rst b/README.rst index 0f8804f..5758813 100644 --- a/README.rst +++ b/README.rst @@ -82,6 +82,10 @@ YaDisk-async - это библиотека-клиент REST API Яндекс.Д .. _issue #7: https://github.com/ivknv/yadisk/issues/7 .. _PR #1: https://github.com/ivknv/yadisk-async/pull/1 +* **Release 1.3.2 (2021-07-10)** + + * Исправлено значение :code:`__version__` + * **Release 1.3.1 (2021-07-10)** * Исправлена ошибка :code:`AttributeError` в объекте :code:`SessionWithHeaders` (`PR #1`_) diff --git a/README.ru.rst b/README.ru.rst index 0f8804f..5758813 100644 --- a/README.ru.rst +++ b/README.ru.rst @@ -82,6 +82,10 @@ YaDisk-async - это библиотека-клиент REST API Яндекс.Д .. _issue #7: https://github.com/ivknv/yadisk/issues/7 .. _PR #1: https://github.com/ivknv/yadisk-async/pull/1 +* **Release 1.3.2 (2021-07-10)** + + * Исправлено значение :code:`__version__` + * **Release 1.3.1 (2021-07-10)** * Исправлена ошибка :code:`AttributeError` в объекте :code:`SessionWithHeaders` (`PR #1`_) diff --git a/docs/changelog.rst b/docs/changelog.rst index d62b5b7..c80e537 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -8,6 +8,10 @@ Changelog .. _issue #7: https://github.com/ivknv/yadisk/issues/7 .. _PR #1: https://github.com/ivknv/yadisk-async/pull/1 +* **Release 1.3.2 (2021-07-10)** + + * Fixed `__version__` having the wrong value + * **Release 1.3.1 (2021-07-10)** * Fixed `AttributeError` in `SessionWithHeaders` (`PR #1`_) diff --git a/docs/conf.py b/docs/conf.py index c8a0be3..eaca45d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -102,9 +102,9 @@ def handle_item(fieldarg, content): # built documents. # # The short X.Y version. -version = '1.3.1' +version = '1.3.2' # The full version, including alpha/beta/rc tags. -release = '1.3.1' +release = '1.3.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/locales/ru/LC_MESSAGES/changelog.mo b/docs/locales/ru/LC_MESSAGES/changelog.mo index 56a199c..23082ee 100644 Binary files a/docs/locales/ru/LC_MESSAGES/changelog.mo and b/docs/locales/ru/LC_MESSAGES/changelog.mo differ diff --git a/docs/locales/ru/LC_MESSAGES/changelog.po b/docs/locales/ru/LC_MESSAGES/changelog.po index 32b47a8..5a49bdf 100644 --- a/docs/locales/ru/LC_MESSAGES/changelog.po +++ b/docs/locales/ru/LC_MESSAGES/changelog.po @@ -8,40 +8,60 @@ msgid "" msgstr "" "Project-Id-Version: YaDisk 1.2.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-07-06 20:07+0500\n" +"POT-Creation-Date: 2021-07-10 15:47+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.6.0\n" +"Generated-By: Babel 2.9.1\n" #: ../../changelog.rst:2 msgid "Changelog" msgstr "История изменений" -#: ../../changelog.rst:10 +#: ../../changelog.rst:11 +msgid "**Release 1.3.2 (2021-07-10)**" +msgstr "" + +#: ../../changelog.rst:13 +msgid "Fixed `__version__` having the wrong value" +msgstr "Исправлено значение `__version__`" + +#: ../../changelog.rst:15 +msgid "**Release 1.3.1 (2021-07-10)**" +msgstr "" + +#: ../../changelog.rst:17 +msgid "Fixed `AttributeError` in `SessionWithHeaders` (`PR #1`_)" +msgstr "Исправлена ошибка `AttributeError` в объекте `SessionWithHeaders` (`PR #1`_)" + +#: ../../changelog.rst:18 +msgid "Fixed trash bin tests" +msgstr "Исправлены тесты корзины" + +#: ../../changelog.rst:20 msgid "**Release 1.3.0 (2019-07-06)**" msgstr "" -#: ../../changelog.rst:12 +#: ../../changelog.rst:22 msgid "Modified the original library (`yadisk`_) to support `async/await`" msgstr "Реализована поддержка `async/await`" -#: ../../changelog.rst:13 +#: ../../changelog.rst:23 msgid "The library was renamed to `yadisk-async`" msgstr "Библиотека была переименована из `yadisk`_ в `yadisk-async`" -#: ../../changelog.rst:15 +#: ../../changelog.rst:25 msgid "The following releases are for `yadisk`_, the original library:" msgstr "Следующие релизы относятся к оригинальной библиотеке `yadisk`_:" -#: ../../changelog.rst:17 +#: ../../changelog.rst:27 msgid "**Release 1.2.14 (2019-03-26)**" msgstr "" -#: ../../changelog.rst:19 +#: ../../changelog.rst:29 msgid "" "Fixed a `TypeError` in `get_public_*` functions when passing `path` " "parameter (see `issue #7`_)" @@ -49,27 +69,27 @@ msgstr "" "Исправлена ошибка `TypeError` в функциях `get_public_*` при использовании" " с параметром `path` (`issue #7`_)" -#: ../../changelog.rst:21 +#: ../../changelog.rst:31 msgid "Added `unlimited_autoupload_enabled` attribute for `DiskInfoObject`" msgstr "Добавлен аттрибут `unlimited_autoupload_enabled` для `DiskInfoObject`" -#: ../../changelog.rst:23 +#: ../../changelog.rst:33 msgid "**Release 1.2.13 (2019-02-23)**" msgstr "" -#: ../../changelog.rst:25 +#: ../../changelog.rst:35 msgid "Added `md5` parameter for `remove()`" msgstr "Добавлен параметр `md5` для `remove()`" -#: ../../changelog.rst:26 +#: ../../changelog.rst:36 msgid "Added `UserPublicInfoObject`" msgstr "Добавлен `UserPublicInfoObject`" -#: ../../changelog.rst:27 +#: ../../changelog.rst:37 msgid "Added `country` attribute for `UserObject`" msgstr "Добавлен аттрибут `country` для `UserObject`" -#: ../../changelog.rst:28 +#: ../../changelog.rst:38 msgid "" "Added `photoslice_time` attribute for `ResourceObject`, " "`PublicResourceObject` and `TrashResourceObject`" @@ -77,23 +97,23 @@ msgstr "" "Добавлен аттрибут `photoslice_time` для `ResourceObject`, " "`PublicResourceObject` и `TrashResourceObject`" -#: ../../changelog.rst:31 +#: ../../changelog.rst:41 msgid "**Release 1.2.12 (2018-10-11)**" msgstr "" -#: ../../changelog.rst:33 +#: ../../changelog.rst:43 msgid "Fixed `fields` parameter not working properly in `listdir()` (`issue #4`_)" msgstr "Исправлен баг: не работает параметр `fields` в `listdir()` (`issue #4`_)" -#: ../../changelog.rst:35 +#: ../../changelog.rst:45 msgid "**Release 1.2.11 (2018-06-30)**" msgstr "" -#: ../../changelog.rst:37 +#: ../../changelog.rst:47 msgid "Added the missing parameter `sort` for `get_meta()`" msgstr "Добавлен недостающий параметр `sort` для `get_meta()`" -#: ../../changelog.rst:38 +#: ../../changelog.rst:48 msgid "" "Added `file` and `antivirus_status` attributes for `ResourceObject`, " "`PublicResourceObject` and `TrashResourceObject`" @@ -101,23 +121,23 @@ msgstr "" "Добавлены аттрибуты `file` и `antivirus_status` для `ResourceObject`, " "`PublicResourceObject` и `TrashResourceObject`" -#: ../../changelog.rst:40 +#: ../../changelog.rst:50 msgid "Added `headers` parameter" msgstr "Добавлен параметр `headers`" -#: ../../changelog.rst:41 +#: ../../changelog.rst:51 msgid "Fixed a typo in `download()` and `download_public()` (`issue #2`_)" msgstr "Исправлена опечатка в `download()` и `download_public()` (`issue #2`_)" -#: ../../changelog.rst:42 +#: ../../changelog.rst:52 msgid "Removed `*args` parameter everywhere" msgstr "Убран параметр `*args`" -#: ../../changelog.rst:44 +#: ../../changelog.rst:54 msgid "**Release 1.2.10 (2018-06-14)**" msgstr "" -#: ../../changelog.rst:46 +#: ../../changelog.rst:56 msgid "" "Fixed `timeout=None` behavior. `None` is supposed to mean 'no timeout' " "but in the older versions it was synonymous with the default timeout." @@ -126,23 +146,23 @@ msgstr "" "таймаута', но в предыдущих версиях значение `None` было синонимично со " "стандартным таймаутом." -#: ../../changelog.rst:49 +#: ../../changelog.rst:59 msgid "**Release 1.2.9 (2018-04-28)**" msgstr "" -#: ../../changelog.rst:51 +#: ../../changelog.rst:61 msgid "Changed the license to LGPLv3 (see `COPYING` and `COPYING.lesser`)" msgstr "Изменена лицензия на LGPLv3 (см. `COPYING` и `COPYING.lesser`)" -#: ../../changelog.rst:52 +#: ../../changelog.rst:62 msgid "Other package info updates" msgstr "Другие изменения информации о пакете" -#: ../../changelog.rst:54 +#: ../../changelog.rst:64 msgid "**Release 1.2.8 (2018-04-17)**" msgstr "" -#: ../../changelog.rst:56 +#: ../../changelog.rst:66 msgid "" "Fixed a couple of typos: `PublicResourceListObject.items` and " "`TrashResourceListObject.items` had wrong types" @@ -150,7 +170,7 @@ msgstr "" "Исправлено несколько опечаток: у `PublicResourceListObject.items` и " "`TrashResourceListObject.items` были неправильные типы данных" -#: ../../changelog.rst:58 +#: ../../changelog.rst:68 msgid "" "Substitute field aliases in `fields` parameter when performing API " "requests (e.g. `embedded` -> `_embedded`)" @@ -158,21 +178,21 @@ msgstr "" "Псевдонимы полей в параметре `fields` заменяются при выполнении запросов " "API (например, `embedded` -> `_embedded`)" -#: ../../changelog.rst:61 +#: ../../changelog.rst:71 msgid "**Release 1.2.7 (2018-04-15)**" msgstr "" -#: ../../changelog.rst:63 +#: ../../changelog.rst:73 msgid "Fixed a file rewinding bug when uploading/downloading files after a retry" msgstr "" "Исправлен баг перемотки файла при загрузке/скачивании после повторной " "попытки" -#: ../../changelog.rst:65 +#: ../../changelog.rst:75 msgid "**Release 1.2.6 (2018-04-13)**" msgstr "" -#: ../../changelog.rst:67 +#: ../../changelog.rst:77 msgid "" "Now caching `requests` sessions so that open connections can be reused " "(which can significantly speed things up sometimes)" @@ -180,15 +200,15 @@ msgstr "" "Теперь объекты сессий `requests` кэшируются, чтобы их можно было " "переиспользовать (иногда может существенно ускорить выполнение запросов)" -#: ../../changelog.rst:69 +#: ../../changelog.rst:79 msgid "Disable `keep-alive` when uploading/downloading files by default" msgstr "`keep-alive` отключается при загрузке/скачивании файлов по умолчанию" -#: ../../changelog.rst:71 +#: ../../changelog.rst:81 msgid "**Release 1.2.5 (2018-03-31)**" msgstr "" -#: ../../changelog.rst:73 +#: ../../changelog.rst:83 msgid "" "Fixed an off-by-one bug in `utils.auto_retry()` (which could sometimes " "result in `AttributeError`)" @@ -196,7 +216,7 @@ msgstr "" "Исправлен баг (ошибка на единицу) в `utils.auto_retry()` (иногда мог " "вызвать `AttributeError`)" -#: ../../changelog.rst:75 +#: ../../changelog.rst:85 msgid "" "Retry the whole request for `upload()`, `download()` and " "`download_public()`" @@ -204,19 +224,19 @@ msgstr "" "Повторные попытки применяются для `upload()`, `download()` и " "`download_public()` целиком" -#: ../../changelog.rst:76 +#: ../../changelog.rst:86 msgid "Set `stream=True` for `download()` and `download_public()`" msgstr "Задано `stream=True` для `download()` и `download_public()`" -#: ../../changelog.rst:77 +#: ../../changelog.rst:87 msgid "Other minor fixes" msgstr "Другие мелкие исправления" -#: ../../changelog.rst:79 +#: ../../changelog.rst:89 msgid "**Release 1.2.4 (2018-02-19)**" msgstr "" -#: ../../changelog.rst:81 +#: ../../changelog.rst:91 msgid "" "Fixed `TokenObject` having `exprires_in` instead of `expires_in` (fixed a" " typo)" @@ -224,35 +244,35 @@ msgstr "" "Исправлена опечатка (`TokenObject.exprires_in` -> " "`TokenObject.expires_in`)" -#: ../../changelog.rst:83 +#: ../../changelog.rst:93 msgid "**Release 1.2.3 (2018-01-20)**" msgstr "" -#: ../../changelog.rst:85 +#: ../../changelog.rst:95 msgid "Fixed a `TypeError` when `WrongResourceTypeError` is raised" msgstr "Исправлено `TypeError` при вызове `WrongResourceTypeError`" -#: ../../changelog.rst:87 +#: ../../changelog.rst:97 msgid "**Release 1.2.2 (2018-01-19)**" msgstr "" -#: ../../changelog.rst:89 +#: ../../changelog.rst:99 msgid "`refresh_token()` no longer requires a valid or empty token." msgstr "`refresh_token()` больше не требует валидный или пустой токен." -#: ../../changelog.rst:91 +#: ../../changelog.rst:101 msgid "**Release 1.2.1 (2018-01-14)**" msgstr "" -#: ../../changelog.rst:93 +#: ../../changelog.rst:103 msgid "Fixed auto retries not working. Whoops." msgstr "Исправлена неработоспособность повторных попыток." -#: ../../changelog.rst:95 +#: ../../changelog.rst:105 msgid "**Release 1.2.0 (2018-01-14)**" msgstr "" -#: ../../changelog.rst:97 +#: ../../changelog.rst:107 msgid "" "Fixed passing `n_retries=0` to `upload()`, `download()` and " "`download_public()`" @@ -260,7 +280,7 @@ msgstr "" "Исправлено использование `n_retries=0` в `upload()`, `download()` и " "`download_public()`" -#: ../../changelog.rst:99 +#: ../../changelog.rst:109 msgid "" "`upload()`, `download()` and `download_public()` no longer return " "anything (see the docs)" @@ -268,11 +288,11 @@ msgstr "" "`upload()`, `download()` и `download_public()` больше не возвращают " "ничего (см. документацию)" -#: ../../changelog.rst:101 +#: ../../changelog.rst:111 msgid "Added `utils` module (see the docs)" msgstr "Добавлен модуль `utils` (см. документацию)" -#: ../../changelog.rst:102 +#: ../../changelog.rst:112 msgid "" "Added `RetriableYaDiskError`, `WrongResourceTypeError`, `BadGatewayError`" " and `GatewayTimeoutError`" @@ -280,7 +300,7 @@ msgstr "" "Добавлены `RetriableYaDiskError`, `WrongResourceTypeError`, " "`BadGatewayError` и `GatewayTimeoutError`" -#: ../../changelog.rst:104 +#: ../../changelog.rst:114 msgid "" "`listdir()` now raises `WrongResourceTypeError` instead of " "`NotADirectoryError`" @@ -288,11 +308,11 @@ msgstr "" "`listdir()` теперь вызывает `WrongResourceTypeError` вместо " "`NotADirectoryError`" -#: ../../changelog.rst:107 +#: ../../changelog.rst:117 msgid "**Release 1.1.1 (2017-12-29)**" msgstr "" -#: ../../changelog.rst:109 +#: ../../changelog.rst:119 msgid "" "Fixed argument handling in `upload()`, `download()` and " "`download_public()`. Previously, passing `n_retries` and `retry_interval`" @@ -302,97 +322,97 @@ msgstr "" "`download_public()`. До этого использование `n_retries` и " "`retry_interval` вызывало исключение (`TypeError`)." -#: ../../changelog.rst:112 +#: ../../changelog.rst:122 msgid "**Release 1.1.0 (2017-12-27)**" msgstr "" -#: ../../changelog.rst:114 +#: ../../changelog.rst:124 msgid "Better exceptions (see the docs)" msgstr "Усовершенствованные исключения (см. документацию)" -#: ../../changelog.rst:115 +#: ../../changelog.rst:125 msgid "Added support for `force_async` parameter" msgstr "Добавлена поддержка параметра `force_async`" -#: ../../changelog.rst:116 +#: ../../changelog.rst:126 msgid "Minor bug fixes" msgstr "Мелкие исправления багов" -#: ../../changelog.rst:118 +#: ../../changelog.rst:128 msgid "**Release 1.0.8 (2017-11-29)**" msgstr "" -#: ../../changelog.rst:120 +#: ../../changelog.rst:130 msgid "Fixed yet another `listdir()` bug" msgstr "Исправлен ещё один баг в `listdir()`" -#: ../../changelog.rst:122 +#: ../../changelog.rst:132 msgid "**Release 1.0.7 (2017-11-04)**" msgstr "" -#: ../../changelog.rst:124 +#: ../../changelog.rst:134 msgid "Added `install_requires` argument to `setup.py`" msgstr "Добавлен `install_requires` в `setup.py`" -#: ../../changelog.rst:126 +#: ../../changelog.rst:136 msgid "**Release 1.0.6 (2017-11-04)**" msgstr "" -#: ../../changelog.rst:128 +#: ../../changelog.rst:138 msgid "Return `OperationLinkObject` in some functions" msgstr "Некоторые функции теперь возвращают `OperationLinkObject`" -#: ../../changelog.rst:130 +#: ../../changelog.rst:140 msgid "**Release 1.0.5 (2017-10-29)**" msgstr "" -#: ../../changelog.rst:132 +#: ../../changelog.rst:142 msgid "Fixed `setup.py` to exclude tests" msgstr "Исправлен `setup.py`, теперь исключает тесты" -#: ../../changelog.rst:134 +#: ../../changelog.rst:144 msgid "**Release 1.0.4 (2017-10-23)**" msgstr "" -#: ../../changelog.rst:136 +#: ../../changelog.rst:146 msgid "Fixed bugs in `upload`, `download` and `listdir` functions" msgstr "Исправлены баги в `upload`, `download` и `listdir`" -#: ../../changelog.rst:137 +#: ../../changelog.rst:147 msgid "Set default `listdir` `limit` to `10000`" msgstr "Значение по-умолчанию `limit` в `listdir` установлено в `10000`" -#: ../../changelog.rst:139 +#: ../../changelog.rst:149 msgid "**Release 1.0.3 (2017-10-22)**" msgstr "" -#: ../../changelog.rst:141 +#: ../../changelog.rst:151 msgid "Added settings" msgstr "Добавлен модуль `settings`" -#: ../../changelog.rst:143 +#: ../../changelog.rst:153 msgid "**Release 1.0.2 (2017-10-19)**" msgstr "" -#: ../../changelog.rst:145 +#: ../../changelog.rst:155 msgid "Fixed `get_code_url` function (added missing parameters)" msgstr "Исправлена функция `get_code_url` (добавлены недостающие параметры)" -#: ../../changelog.rst:147 +#: ../../changelog.rst:157 msgid "**Release 1.0.1 (2017-10-18)**" msgstr "" -#: ../../changelog.rst:149 +#: ../../changelog.rst:159 msgid "Fixed a major bug in `GetTokenRequest` (added missing parameter)" msgstr "" "Исправлен серьёзный баг в `GetTokenRequest` (добавлен недостающий " "параметр)" -#: ../../changelog.rst:151 +#: ../../changelog.rst:161 msgid "**Release 1.0.0 (2017-10-18)**" msgstr "" -#: ../../changelog.rst:153 +#: ../../changelog.rst:163 msgid "Initial release" msgstr "Первый релиз" diff --git a/setup.py b/setup.py index c0221fc..860e2f7 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ long_description = f.read() setup(name="yadisk-async", - version="1.3.1", + version="1.3.2", packages=find_packages(exclude=("tests",)), description="Библиотека-клиент REST API Яндекс.Диска с поддержкой async/await / Yandex.Disk REST API client library with async/await support", long_description=long_description, diff --git a/yadisk_async/__init__.py b/yadisk_async/__init__.py index ead0da9..9782ede 100644 --- a/yadisk_async/__init__.py +++ b/yadisk_async/__init__.py @@ -3,4 +3,4 @@ from . import api, functions, objects, exceptions, utils from .yadisk import YaDisk -__version__ = "1.2.14" +__version__ = "1.3.2"