2.4.1rc3 (2026-11-29)
Features
- Add experimental, non-mutating key and recursive value escape/unescape helpers and
from_input()to validate caller data and construct structured objects.from_input()passes caller text through as literal data: interpolation and resolver expressions are not evaluated, and???is not treated as a missing value. (#1459)
Bug Fixes
- Fix
OmegaConf.missing_keys()returning ambiguous or incorrect paths for empty keys and keys containing special characters. (#1423) - Fix
oc.dict.values()failing or returning incorrect values for dictionary keys and paths containing empty segments, whitespace, or special characters. (#1424) - Fix nested bracket interpolations reading or updating the wrong entry when a key contains literal brackets or backslashes. (#1425)
- Fix malformed key paths selecting or updating the wrong entry, and invalid dotlist or CLI paths leaving partial updates. (#1426)
- Fix incorrect keys and paths for union members, which broke traversal of union-typed configurations. (#1442)
- Fix an
AttributeErrorwhen merging directly into aUnionNode. (#1443) - Fix
ListConfig.index()raising anAssertionErrorfor negative or out-of-rangestartandendbounds. (#1456) - Fix typed tuples accepting nested values of the wrong type or rejecting dictionaries for dataclass and attrs elements. (#1460)
- Fix
ListConfig.extend(self)andcfg += cfglooping indefinitely. (#1471) - Fix
DictConfig.setdefault()returning the original default instead of the stored value when insertion wraps or converts it. (#1472) - Fix
ListConfig.sort()failing with interpolated values or key functions that read the list, and leaving incorrect paths on reordered elements. (#1473) - Fix
DictConfig.clear()raising on missing values or broken interpolations, and unnecessarily calling resolvers before removing entries. (#1474) - Fix list and tuple operations rejecting integer-like indices accepted by Python lists and tuples. (#1475)
API changes and deprecations
- Align key-segment escaping in
select(),update(), and dotlists with interpolation paths. Escape a literal backslash as\\and a literal colon as\:. Existing paths that preserved these backslashes must use the new escaped spellings. Paths frommissing_keys()use the same rules. (#1427)
Miscellaneous changes
- Improve configuration access and merge performance, including repeated interpolation reads, key-path selection, and list indexing. Bound interpolation syntax-cache memory per thread and expose experimental controls through
omegaconf.experimental.controlto configure or disable caching. (#1414)