All Versions
14
Latest Version
Avg Release Cycle
30 days
Latest Release
1622 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.0.4 Changes
November 18, 20201.0.4 (2020-11-17)
๐ Bug Fixes
- โ Hydra no longer errorenously changes the USER environment variable in pytest unit tests once installed (#1059)
- ๐ Allow @ symbol in unquoted values in overrides (#1074)
- ๐ Fix a bug where Structured Config has a field like 'list : Optional[List[int]] = None` (#1117)
๐ Plugins
- ๐ Switch Ax Sweeper plugin to use new Hydra command line syntax
- ๐ Switch Nevergrad Sweeper plugin to use new Hydra command line syntax
- โช Revert the use of "_" to separate the path element in keys for the Ax sweeper plugin.
-
v1.0.3 Changes
September 23, 2020 -
v1.0.2 Changes
September 20, 2020 -
v1.0.1 Changes
September 15, 20201.0.1 (2020-09-15)
๐ Features
- โ Add ability to escape special characters in unquoted command line values (#954)
๐ Bug Fixes
- โ Add support for merging dicts and lists specified in the commend line (#939)
- ๐ Fix appending dict values with new fields to config with + (#946)
- ๐ Fix for Override Grammar integer parsing: Integers are now compatible with Python integers ('+' prefix, correct handling of '_') (#954)
๐ง Maintenance Changes
- โฌ๏ธ Upgrade to OmegaConf 2.0.2 (#755)
-
v1.0.0 Changes
September 03, 20201.0.0 (2020-09-03)
Hydra 1.0 is out!
๐ See blog post for high level details.Major new features in Hydra 1.0
- Config type safety via Structured Configs
- ๐ป More powerful command line
- ๐ New plugins enabling remote launching and hyper parameter optimization
- ๐ Improved error reporting
- โฌ๏ธ Reduce nesting levels with config packages
๐ These release notes are covering the changes since 1.0.0rc4.
๐ To see the complete release notes for 1.0 take a look at the release notes of:
๐ Features
- โ Add support for casting interval to ints and floats (#915)
๐ Bug Fixes
- ๐ Fix to flush logging instead of shutting it down at job end (#833)
- ๐ฒ compose() no longer initialized logging subsystem (#833)
- ๐ Fix overriding of hydra.job.env_set from the command line (#854)
- ๐ Fix tab completion to not output errors in some cases when using --multirun (#856)
- ๐ Fix OmegaConf custom resolvers not being propagated to Sweepers properly (#861)
- Interpolation accepts any char between ${ and } (#891)
- โก๏ธ Update the signature of hydra.utils.instantiate() allow input configs of Any type (#896)
- ๐ Fix instantiate to work correctly when parameters are interpolations into a parent node (#904)
- Apps will now raise underlying exception if env HYDRA_FULL_ERROR=1 (#926)
๐ Plugins
- ๐ Fix integer/float choice from spec in the Nevergrad plugin
๐ Improved Documentation
-
v1.0.0.rc4 Changes
August 18, 2020 -
v1.0.0.rc3 Changes
August 17, 20201.0.0rc3 (2020-08-17)
๐ Features
- ๐ Extended Override grammar supports range(),glob(),type casts,shuffle, sort and more. (#752)
- โ Add support for specifying an additional config dir in the command line (#874)
- ๐ Allow overriding of the
defaults
andhydra
nodes in primary Structured Configs that does not mentioneddefaults
andhydra
. (#877)
๐ API Change (Renames, deprecations and removals)
- ObjectConf is deprecated for TargetConf. See upgrade page. (#882)
- โก๏ธ All plugins updated to use TargetConf. Be sure to update all your Hydra plugins (#882)
- โก๏ธ Instantiated objects no longer have a params node in the conf. keys like hydra.launcher.params.foo are changed to hydra.launcher.foo. Update your configs and overrides if you were overriding such parameters. (#882)
๐ Bug Fixes
- ๐ Fixed parsing of two nested lists with whitespace between them: [[a], [b]] (#836)
๐ Improved Documentation
- ๐ New Extended command line syntax page (#752)
-
v1.0.0.rc2 Changes
July 18, 20201.0.0rc2 (2020-07-18)
๐ Features
- ๐ป Introducing a DSL for the command line override syntax (#797)
- 0๏ธโฃ Sanitize exception messages by default, showing only interesting stack frames (#646)
- โ Add a new --info flag to show Hydra debug information without running the user function. (#662)
- โ Add --package flag, can be used with --cfg to print a specific config package (#674)
- ๐ Improve the Compose API initialization methods (#702)
- Switch internal package resource loader from pkg_resources to importlb_resources (#719)
- ๐ Allow interpolation in the Hydra config node to access the application config (#771)
- Hydra provides pytest fixtures (hydra_sweep_runner, hydra_task_runner, hydra_restore_singletons) (#687)
- โ Added contexts to help initialize Hydra in a localized context (Mostly for Unit Tests and Jupyter Notebooks) (#687)
- ๐จ Prints error when command line override looks like a sweep but --multirun is not specified (#712)
- ๐ป Frozen Structured Configs are respected during composition command line overrides (#724)
๐ API Change (Renames, deprecations and removals)
- ๐ Hydra argparse flags are now consistently using dash-style. (#661)
- ๐ง Restructure the configuration of the Submitit launcher (#682)
- ๐ Deprecated cls in favor of target in hydra.utils.{instantiate()/call{}} (#721)
๐ Bug Fixes
- โ Add hydra/py.typed to pip package to enable type checking in downstream projects (#657)
- ๐ Fix initilzation of Hydra in a module imported from a Jupyter Notebook (#695)
- Fix handling of main module override via HYDRA_MAIN_MODULE (#717)
- ๐ Fix interpoaltions in overrides to evaluate lazily (#725)
- ๐ Fixed handling of multirun when target config node is introduced by composition (#726)
- Sweepers are now validating config composition before launching (#775)
- ๐พ Save
.hydra/*.yaml
before task execution (#678)
๐ Plugins
- โ Add Redis Queue Launcher plugin (Jan-Matthis)
- โฌ๏ธ Upgrade ax-platform used by Ax sweeper plugin to 0.1.13 or newer
๐ Improved Documentation
- Add a unit testing example in the Hydra example application (#687)
- ๐ New Terminology page (#795)
- ๐ New Advanced/Hydra in Jupyter Notebooks page (#795)
- ๐ New Advanced/Hydra in Unit Tests page (#795)
- New Advanced/Command-line syntax page (#795)
๐ง Maintenance Changes
-
v1.0.0.rc1 Changes
May 31, 20201.0.0-rc1 (2020-05-31)
๐ Hydra 1.0 is a major release introducing many new features and breaking some compatibility.
๐ Features
- ๐ Upgrade to OmegaConf 2.0 (Release notes) (#630)
- Optional config type safety via Structured Configs (#629)
- ๐ Improve command line and config composition error reporting (#349)
- ๐ท Hydra config can now be accessed through interpolation using ${hydra:key}, for example ${hydra:job.name} (#325)
- ๐ Support for setting environment variable of running job (#7)
- ๐ Changes command line processing (requiring + and ~ prefixes for appending and removing items) (#598)
- ๐ฆ Introducing
@package
header for config files (#586) - Add command line override flags for
config_path
andconfig_name
(#386) - hydra.main() now take an optional cfg object to passthrough to the function (#575)
- Add hydra.experimental.{initialize_with_file, initialize_with_module} (#574)
- ๐ Support for disabling the creation of the
.hydra
subdirectory by overriding "hydra.output_subdir" to "null" (#324) - โ Add
hydra.utils.call()
to call methods and functions as well as instantiate objects. Search module paths more generically. (#498) - โ Add support for overriding package from command line and defaults list (#235)
- Config source is now abstracted, allowing additional config sources to be used (#257)
- ๐ New ConfigSource plugin API allowing configs to be provided by external plugins (#367)
- โ Add isort to ensure imports are always sorted (#340)
- Codebase is now passing mypy --strict type checking (#342)
- ๐ Improve performance of plugin discovery and instantiation (#489)
- ๐ Modules whose name starts with "_" are skipped during plugin discovery (#494)
๐ Plugins
- โ Add Ax Sweeper plugin (Shagun Sodhani)
- โ Add Nevergrad Sweeper plugin (Jรฉrรฉmy Rapin)
- โ Add Joblib Launcher plugin (Jan-Matthis)
- โ Add Submitit Launcher plugin to launch jobs to SLURM clusters
- โ Add Fish shell Tab Completion plugin (Binsheng Liu) (#549)
๐ API Change (Renames, deprecations and removals)
- โฌ๏ธ Drop support Python 2.7 and 3.5 (#313)
- ๐ hydra.main() now takes an additional optional config_name and composite-style config_path is deprecated (#395)
- ๐ท Launcher API launch method now takes an additional initial_job_idx indicating the id of the first job in the batch (#284)
- Singleton metaclass is now exposed at hydra.core.Singleton (#371)
- ๐ Moved HydraConfig from hydra.plugins.common.utils to hydra.core (#371)
- ๐ Move several formerly internal APIs to hydra/core to ensure plugins does not need to use internal APIs (#371)
- ๐ Plugin import now requires explicit name (from hydra.plugins.launcher import Launcher) (#371)
- ๐ Object Config "class" field is deprecated in favor of "cls" and will be removed in a future version. (#389)
- Experimental compose API config_file changed to config_name (#395)
- ๐ User plugins should be modified to not import twice during plugin discovery. see issue for details. (#482)
- ๐ Change hydra.core.plugins.Plugins class to a Singleton. access should be changed to the pattern Plugins.instance().foo() (#489)
- โ Plugins should now include test fixtures (sweep_runner, task_runner) via a standardized conftest.py (#521)
- ๐ Switch Python 3 native namespace packages for plugins (See task for details) (#534)
- Packaged configuration directories now requires an
__init__.py
at their top level (#536) - 0๏ธโฃ Appending config groups to the defaults list via the command line now requires a + prefix (#598)
- ๐ Removing an item from the defaults list by assigning null (db=null) is deprecated, use ~db instead (#598)
- Installed Hydra applications no longer need have an additional
entry()
function on the stack (#92)
๐ Bug Fixes
- ๐ Fix a bug causing sys.exit() error code to not be propagated (#351)
- ๐ท Shutdown logging subsystem aftter job finishes to ensure log files are flushed and closed (#378)
- ๐ Fix a bug with utils.instantiate() failing if params contains interpolated values. (#388)
- ๐ Allow hydra.utils.instantiate() to accept non primitive objects for passthrough by name (#400)
- ๐ Fix to work when an Hydra app is executed in Jupyter notebook using the %run command (#481)
- ๐ Plugins are no longer imported twice during plugin discovery (#482)
- to_absolute_dir(path) now converts relative path to be relative to os.cwd() when used outside of Hydra (#496)
๐ Improved Documentation
- ๐ Working examples are provided for all Hydra plugins in plugins/examples (#253)
- The basic tutorial was rewritten to reflect many changes (#602)
- โ Add a new tutorial covering Structured Configs (#628)
-
v0.11.3 Changes
December 29, 2019