Skip to content

Commit

Permalink
Increase version to 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jones-dev committed Apr 12, 2022
1 parent d589ccf commit fc6c966
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@ 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.6.0] - 2022-04-12
### Added
* Add `error_message` property to `DocumentStatus`, describing the error in case of document translation failure.
### Changed
* Improve error message if `translate_text_with_glossary` is called without an instance of `GlossaryInfo`.
* `translate_document` and `translate_document_from_filepath` return final `DocumentStatus`, allowing the number of
billed characters to be queried.
### Deprecated
### Removed
### Fixed
### Security


## [1.5.1] - 2022-04-11
Expand Down Expand Up @@ -151,7 +147,7 @@ Version increased to avoid conflicts with old packages on PyPI.
Initial version.


[Unreleased]: https://github.com/DeepLcom/deepl-python/compare/v1.5.1...HEAD
[1.6.0]: https://github.com/DeepLcom/deepl-python/compare/v1.5.1...v1.6.0
[1.5.1]: https://github.com/DeepLcom/deepl-python/compare/v1.5.0...v1.5.1
[1.5.0]: https://github.com/DeepLcom/deepl-python/compare/v1.4.1...v1.5.0
[1.4.1]: https://github.com/DeepLcom/deepl-python/compare/v1.4.0...v1.4.1
Expand Down
2 changes: 1 addition & 1 deletion deepl/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.1"
VERSION = "1.6.0"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ line-length = 79

[tool.poetry]
name = "deepl"
version = "1.5.1"
version = "1.6.0"
description = "Python library for the DeepL API."
authors = ["DeepL SE <python-api@deepl.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def test_version():
assert "1.5.1" == deepl.__version__
assert "1.6.0" == deepl.__version__


@pytest.mark.parametrize(
Expand Down

0 comments on commit fc6c966

Please sign in to comment.