From ed84c121307a5f2cd0bd0572678c611fec3ecdda Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Wed, 12 Jan 2022 17:23:59 +0100 Subject: [PATCH] Increase version to 1.4.0 --- CHANGELOG.md | 7 ++----- deepl/version.py | 2 +- pyproject.toml | 2 +- tests/test_general.py | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ca1ad9..a8425d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [1.4.0] - 2022-01-19 ### Added * Add contribution guidelines -- currently we are unable to accept Pull Requests. * Add `--glossary-id` argument for CLI document command. @@ -13,11 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Improve README. * Raise `DocumentNotReadyException` when attempting to download a document before it has been translated. Previously the base class `DeepLException` was thrown. -### Deprecated -### Removed ### Fixed * Add optional filename argument to `translate_document_upload()` to fix uploading file content as string or bytes. -### Security ## [1.3.1] - 2021-11-15 @@ -123,7 +120,7 @@ Version increased to avoid conflicts with old packages on PyPI. Initial version. -[Unreleased]: https://github.com/DeepLcom/deepl-python/compare/v1.3.1...HEAD +[1.4.0]: https://github.com/DeepLcom/deepl-python/compare/v1.3.1...v1.4.0 [1.3.1]: https://github.com/DeepLcom/deepl-python/compare/v1.3.0...v1.3.1 [1.3.0]: https://github.com/DeepLcom/deepl-python/compare/v1.2.1...v1.3.0 [1.2.1]: https://github.com/DeepLcom/deepl-python/compare/v1.2.0...v1.2.1 diff --git a/deepl/version.py b/deepl/version.py index 831dd1e..0e06c90 100644 --- a/deepl/version.py +++ b/deepl/version.py @@ -2,4 +2,4 @@ # Use of this source code is governed by an MIT # license that can be found in the LICENSE file. -VERSION = "1.3.1" +VERSION = "1.4.0" diff --git a/pyproject.toml b/pyproject.toml index 4567a58..312adbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ line-length = 79 [tool.poetry] name = "deepl" -version = "1.3.1" +version = "1.4.0" description = "Python library for the DeepL API." authors = ["DeepL SE "] license = "MIT" diff --git a/tests/test_general.py b/tests/test_general.py index 8580986..6bf8c85 100644 --- a/tests/test_general.py +++ b/tests/test_general.py @@ -9,7 +9,7 @@ def test_version(): - assert "1.3.1" == deepl.__version__ + assert "1.4.0" == deepl.__version__ @pytest.mark.parametrize(