Skip to content

Commit 3dd16f7

Browse files
committed
2.0.1 release notes
1 parent 0ee3423 commit 3dd16f7

31 files changed

+44
-30
lines changed

NEWS.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
## 2.0.1 (2020-09-01)
2+
This is mostly a bugfix release.
3+
The notable change is the config.pretty() is now deprecated in favor of OmegaConf.to_yaml().
4+
5+
### Bug Fixes
6+
7+
- Fixes merging of dict into a Dict[str, str] ([#246](https://github.com/omry/omegaconf/issues/246))
8+
- Fix DictConfig created from another DictConfig drops node types ([#252](https://github.com/omry/omegaconf/issues/252))
9+
- Relax save and load APIs to accept IO[Any] ([#253](https://github.com/omry/omegaconf/issues/253))
10+
- Report errors when loading YAML files with duplicate keys ([#257](https://github.com/omry/omegaconf/issues/257))
11+
- Fix a bug initializing config with field typed as Any with Structured Config object ([#260](https://github.com/omry/omegaconf/issues/260))
12+
- Merging into a MISSING Structured config node expands the node first to ensure the result is legal ([#269](https://github.com/omry/omegaconf/issues/269))
13+
- Fix merging into a config with a read only node if merge is not mutating that node ([#271](https://github.com/omry/omegaconf/issues/271))
14+
- Fix OmegaConf.to_container() failing in some cases when the config is read-only ([#275](https://github.com/omry/omegaconf/issues/275))
15+
- Optional[Tuple] types are now supported as type annotation in Structured Configs. ([#279](https://github.com/omry/omegaconf/issues/279))
16+
- Support indirect interpolation ([#283](https://github.com/omry/omegaconf/issues/283))
17+
- OmegaConf.save() can now save dataclass and attr classes and instances ([#287](https://github.com/omry/omegaconf/issues/287))
18+
- OmegaConf.create() doesn't modify yaml.loader.SafeLoader ([#289](https://github.com/omry/omegaconf/issues/289))
19+
- Fix merging a sublcass Structured Config that adds a field ([#291](https://github.com/omry/omegaconf/issues/291))
20+
- strings containing valid ints and floats represented are converted to quoted strings instead of the primitives in pretty() ([#296](https://github.com/omry/omegaconf/issues/296))
21+
- Loading an empty YAML file now returns an empty DictConfig ([#297](https://github.com/omry/omegaconf/issues/297))
22+
- Fix bug that allowed an annotated List and Dict field in a Structured Config to be assigned a value of a different type. ([#300](https://github.com/omry/omegaconf/issues/300))
23+
- merge_with() now copied flags (readonly, struct) into target config ([#301](https://github.com/omry/omegaconf/issues/301))
24+
- Fix DictConfig setdefault method to behave as it should ([#304](https://github.com/omry/omegaconf/issues/304))
25+
- Merging a missing list onto an existing one makes the target missing ([#306](https://github.com/omry/omegaconf/issues/306))
26+
- Fix error when merging a structured config into a field with None value ([#310](https://github.com/omry/omegaconf/issues/310))
27+
- Fix a bug that allowed the assignment of containers onto fields annotated as primitive types ([#324](https://github.com/omry/omegaconf/issues/324))
28+
- Merging a List of a structured with a different type now raises an error. ([#327](https://github.com/omry/omegaconf/issues/327))
29+
- Remove dot-keys usage warning ([#332](https://github.com/omry/omegaconf/issues/332))
30+
- Fix merging into an Optional[List[Any]] = None ([#336](https://github.com/omry/omegaconf/issues/336))
31+
- Fix to properly merge list of dicts into a list of dataclasses ([#348](https://github.com/omry/omegaconf/issues/348))
32+
- OmegaConf.to_yaml() now properly support Structured Configs ([#350](https://github.com/omry/omegaconf/issues/350))
33+
34+
### Deprecations and Removals
35+
36+
- cfg.pretty() is deprecated in favor of OmegaConf.to_yaml(config). ([#263](https://github.com/omry/omegaconf/issues/263))
37+
38+
### Improved Documentation
39+
40+
- Document serialization APIs ([#278](https://github.com/omry/omegaconf/issues/278))
41+
- Document OmegaConf.is_interpolation and OmegaConf.is_none ([#286](https://github.com/omry/omegaconf/issues/286))
42+
- Document OmegaConf.get_type() ([#343](https://github.com/omry/omegaconf/issues/343))
43+
44+
145
## 2.0.0 (2020-05-04)
246

347
OmegaConf 2.0 is a major release introducing substantial new ### Features, and introducing some incompatible changes.

news/246.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/252.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/253.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/257.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/260.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/263.removal

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/269.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/271.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/275.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)