From a84958ae8f3b753406ad09d75653c7c77b48525f Mon Sep 17 00:00:00 2001 From: Jieru Hu Date: Tue, 12 Apr 2022 10:55:21 -0700 Subject: [PATCH] 1.1.2 release --- NEWS.md | 18 ++++++++++++++++++ hydra/__init__.py | 2 +- news/1283.feature | 1 - news/1742.bugfix | 1 - news/1765.bugfix | 1 - news/1784.api_change | 1 - news/1950.feature | 1 - news/2099.feature | 1 - news/2100.feature | 1 - 9 files changed, 19 insertions(+), 8 deletions(-) delete mode 100644 news/1283.feature delete mode 100644 news/1742.bugfix delete mode 100644 news/1765.bugfix delete mode 100644 news/1784.api_change delete mode 100644 news/1950.feature delete mode 100644 news/2099.feature delete mode 100644 news/2100.feature diff --git a/NEWS.md b/NEWS.md index c380a17672a..b9452ec4924 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,21 @@ + +### Features + +- Add support to Hydra's instantiation API for creation of `functools.partial` instances via a `_partial_` keyword. ([#1283](https://github.com/facebookresearch/hydra/issues/1283)) +- The `instantiate` API now accepts `ListConfig`/`list`-type config as top-level input. ([#1950](https://github.com/facebookresearch/hydra/issues/1950)) +- Improve error messages raised in case of instantiation failure. ([#2099](https://github.com/facebookresearch/hydra/issues/2099)) +- Add callback for logging JobReturn. ([#2100](https://github.com/facebookresearch/hydra/issues/2100)) + +### API Change (Renames, deprecations and removals) + +- Fix an internal key collision to prevent an exception when `- group@_global_: choice` is used in the same defaults list as `- group: choice`. ([#1784](https://github.com/facebookresearch/hydra/issues/1784)) + +### Bug Fixes + +- Improve error message when a missing default must be specified at the command line ([#1742](https://github.com/facebookresearch/hydra/issues/1742)) +- Fix an edge case where a defaults list defined in a missing dataclass node causes a ConfigCompositionException. ([#1765](https://github.com/facebookresearch/hydra/issues/1765)) + + 1.1.1 (2021-08-19) ================== diff --git a/hydra/__init__.py b/hydra/__init__.py index e4939ef0ad8..0d804ec6292 100644 --- a/hydra/__init__.py +++ b/hydra/__init__.py @@ -1,7 +1,7 @@ # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved # Source of truth for Hydra's version -__version__ = "1.1.2.dev1" +__version__ = "1.1.2" from hydra import utils from hydra.errors import MissingConfigException from hydra.main import main diff --git a/news/1283.feature b/news/1283.feature deleted file mode 100644 index 64c8fa98139..00000000000 --- a/news/1283.feature +++ /dev/null @@ -1 +0,0 @@ -Add support to Hydra's instantiation API for creation of `functools.partial` instances via a `_partial_` keyword. diff --git a/news/1742.bugfix b/news/1742.bugfix deleted file mode 100644 index 0ae8b98242c..00000000000 --- a/news/1742.bugfix +++ /dev/null @@ -1 +0,0 @@ -Improve error message when a missing default must be specified at the command line diff --git a/news/1765.bugfix b/news/1765.bugfix deleted file mode 100644 index 030a6d90518..00000000000 --- a/news/1765.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix an edge case where a defaults list defined in a missing dataclass node causes a ConfigCompositionException. diff --git a/news/1784.api_change b/news/1784.api_change deleted file mode 100644 index f7e6326a2b3..00000000000 --- a/news/1784.api_change +++ /dev/null @@ -1 +0,0 @@ -Fix an internal key collision to prevent an exception when `- group@_global_: choice` is used in the same defaults list as `- group: choice`. diff --git a/news/1950.feature b/news/1950.feature deleted file mode 100644 index b57536960e9..00000000000 --- a/news/1950.feature +++ /dev/null @@ -1 +0,0 @@ -The `instantiate` API now accepts `ListConfig`/`list`-type config as top-level input. diff --git a/news/2099.feature b/news/2099.feature deleted file mode 100644 index 293e325303e..00000000000 --- a/news/2099.feature +++ /dev/null @@ -1 +0,0 @@ -Improve error messages raised in case of instantiation failure. diff --git a/news/2100.feature b/news/2100.feature deleted file mode 100644 index 9964f627f01..00000000000 --- a/news/2100.feature +++ /dev/null @@ -1 +0,0 @@ -Add callback for logging JobReturn.