diff --git a/CHANGELOG.md b/CHANGELOG.md index e54e5cf1c..7ef2ba5d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,12 @@ OpenNMT-tf follows [semantic versioning 2.0.0](https://semver.org/). The API cov ### New features +### Fixes and improvements + +## [1.2.0](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v1.2.0) (2018-04-28) + +### New features + * Return alignment history when decoding from an `AttentionalRNNDecoder` (requires TensorFlow 1.8+ when decoding with beam search) * Boolean parameter `replace_unknown_target` to replace unknown target tokens by the source token with the highest attention (requires a decoder that returns the alignment history) * Support for arbitrary transition layers in `SequentialEncoder` diff --git a/docs/conf.py b/docs/conf.py index 071c63eaa..2e69a1bfc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,8 +14,8 @@ author = "OpenNMT" language = "en" -version = "1.1" # The short X.Y version. -release = "1.1.0" # The full version, including alpha/beta/rc tags. +version = "1.2" # The short X.Y version. +release = "1.2.0" # The full version, including alpha/beta/rc tags. source_suffix = ".rst" master_doc = "index" diff --git a/opennmt/__init__.py b/opennmt/__init__.py index 52040ba37..21d3389b9 100644 --- a/opennmt/__init__.py +++ b/opennmt/__init__.py @@ -1,6 +1,6 @@ """OpenNMT module.""" -__version__ = "1.1.0" +__version__ = "1.2.0" from opennmt import decoders from opennmt import encoders diff --git a/setup.py b/setup.py index 2144167ed..3254710b0 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="OpenNMT-tf", - version="1.1.0", + version="1.2.0", license="MIT", description="Neural machine translation and sequence learning using TensorFlow", author="OpenNMT",