From 319796cc9a118eb745571cc959947b02cab7565e Mon Sep 17 00:00:00 2001 From: Jasha <8935917+Jasha10@users.noreply.github.com> Date: Thu, 18 Aug 2022 11:31:44 -0500 Subject: [PATCH] OmegaConf 2.2.3 release --- NEWS.md | 14 ++++++++++++++ news/934.bugfix | 1 - news/950.bugfix | 1 - news/963.bugfix | 1 - news/973.api_change | 1 - news/991.bugfix | 1 - omegaconf/version.py | 2 +- 7 files changed, 15 insertions(+), 6 deletions(-) delete mode 100644 news/934.bugfix delete mode 100644 news/950.bugfix delete mode 100644 news/963.bugfix delete mode 100644 news/973.api_change delete mode 100644 news/991.bugfix diff --git a/NEWS.md b/NEWS.md index 974e0663f..d5ec2137d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,17 @@ +## 2.2.3 (2022-08-18) +### Bug Fixes + +- Revert an accidental behavior change where implicit conversion from `Path` to `str` was disallowed. ([#934](https://github.com/omry/omegaconf/issues/934)) +- ListConfig sliced assignment now avoids partial updates upon error ([#950](https://github.com/omry/omegaconf/issues/950)) +- Fix a bug that caused OmegaConf to crash when processing attr classes whose field annotations contained forward-references. ([#963](https://github.com/omry/omegaconf/issues/963)) +- Improve error message when certain illegal type annotations (such as `typing.Sequence`) are used in structured configs. ([#991](https://github.com/omry/omegaconf/issues/991)) +- When parsing yaml: Disallow numbers with trailing underscore from being converted to float. ([#838](https://github.com/omry/omegaconf/issues/838)) + +### API changes and deprecations + +- In structured config type hints, OmegaConf now treats `tuple` as equivalent to `typing.Tuple`, and likewise for `dict`/`Dict` and `list`/`List`. ([#973](https://github.com/omry/omegaconf/issues/973)) + + ## 2.2.2 (2022-05-26) ### Bug Fixes diff --git a/news/934.bugfix b/news/934.bugfix deleted file mode 100644 index 2e40e45ba..000000000 --- a/news/934.bugfix +++ /dev/null @@ -1 +0,0 @@ -Revert an accidental behavior change where implicit conversion from `Path` to `str` was disallowed. diff --git a/news/950.bugfix b/news/950.bugfix deleted file mode 100644 index c2b549658..000000000 --- a/news/950.bugfix +++ /dev/null @@ -1 +0,0 @@ -ListConfig sliced assignment now avoids partial updates upon error diff --git a/news/963.bugfix b/news/963.bugfix deleted file mode 100644 index c140da55d..000000000 --- a/news/963.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug that caused OmegaConf to crash when processing attr classes whose field annotations contained forward-references. diff --git a/news/973.api_change b/news/973.api_change deleted file mode 100644 index 7032feb81..000000000 --- a/news/973.api_change +++ /dev/null @@ -1 +0,0 @@ -In structured config type hints, OmegaConf now treats `tuple` as equivalent to `typing.Tuple`, and likewise for `dict`/`Dict` and `list`/`List`. diff --git a/news/991.bugfix b/news/991.bugfix deleted file mode 100644 index 0fc2200d7..000000000 --- a/news/991.bugfix +++ /dev/null @@ -1 +0,0 @@ -Improve error message when certain illegal type annotations (such as `typing.Sequence`) are used in structured configs. diff --git a/omegaconf/version.py b/omegaconf/version.py index 0c6341928..5fc7a9637 100644 --- a/omegaconf/version.py +++ b/omegaconf/version.py @@ -1,6 +1,6 @@ import sys # pragma: no cover -__version__ = "2.2.3.dev0" +__version__ = "2.2.3" msg = """OmegaConf 2.0 and above is compatible with Python 3.6 and newer. You have the following options: