Skip to content

Commit

Permalink
Bump version to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Apr 28, 2018
1 parent 5500493 commit d13b6e0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion opennmt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""OpenNMT module."""

__version__ = "1.1.0"
__version__ = "1.2.0"

from opennmt import decoders
from opennmt import encoders
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d13b6e0

Please sign in to comment.