From ae20bc17a7e997acc7f097daf15be5c9cc75f96e Mon Sep 17 00:00:00 2001 From: Guillaume Klein Date: Mon, 25 Nov 2019 14:07:28 +0100 Subject: [PATCH] Bump version to 2.3.0 --- CHANGELOG.md | 14 ++++++++++++++ docs/conf.py | 4 ++-- opennmt/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e189711d0..28851aecf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,20 @@ OpenNMT-tf follows [semantic versioning 2.0.0](https://semver.org/). The API cov ### Fixes and improvements +## [2.3.0](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v2.3.0) (2019-11-25) + +### New features + +* Predefined models `NMTSmallV1`, `NMTMediumV1`, and `NMTBigV1` for compatibility with OpenNMT-tf v1 +* Function `opennmt.convert_to_v2_config` to automatically upgrade a V1 configuration +* Function `opennmt.utils.is_v1_checkpoint` to detect OpenNMT-tf v1 checkpoints + +### Fixes and improvements + +* Fix error when using `auto_config` with model `LstmCnnCrfTagger` +* Fix incomplete `Model.create_variables` after manually calling `Model.build` +* Increase `LayerNorm` default epsilon value to be closer to TensorFlow and PyTorch defaults + ## [2.2.1](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v2.2.1) (2019-11-07) ### Fixes and improvements diff --git a/docs/conf.py b/docs/conf.py index 70bf90235..a56110054 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,8 +10,8 @@ author = "OpenNMT" language = "en" -version = "2.2" # The short X.Y version. -release = "2.2.1" # The full version, including alpha/beta/rc tags. +version = "2.3" # The short X.Y version. +release = "2.3.0" # The full version, including alpha/beta/rc tags. extensions = [ "recommonmark", diff --git a/opennmt/__init__.py b/opennmt/__init__.py index 526e6160c..d96763eea 100644 --- a/opennmt/__init__.py +++ b/opennmt/__init__.py @@ -1,6 +1,6 @@ """OpenNMT module.""" -__version__ = "2.2.1" +__version__ = "2.3.0" from opennmt.config import convert_to_v2_config from opennmt.config import load_config diff --git a/setup.py b/setup.py index a51427a6b..4a25f943c 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="OpenNMT-tf", - version="2.2.1", + version="2.3.0", license="MIT", description="Neural machine translation and sequence learning using TensorFlow", author="OpenNMT",