Repository navigation
genro-bag 0.25.0
Changes
- Reject an empty path in native
Bag.set_itemwithValueError, without mutation. Successful writes return a BagNode. This fixes the silent Bag return/no-op introduced in 0.24.0; compatibilitysetItemretains legacy empty-path merge behavior. - Honor resolver
read_onlyclass defaults and explicit overrides. Readonly cached results stay in the resolver, never in the containing node. - Remove resolver
kw; use declared parameter attributes and the extras-onlykwargsview. The engine prepares parameters throughon_loadingonce per actual load attempt and restores temporary context after exceptions or nested calls. - Update built-in resolvers, documentation and regression tests.
Compatibility
Native empty-label writes are no longer accepted, including the older empty-node creation behavior. Builders should validate empty identifiers and produce their own application-level errors. This release alone does not guarantee a particular builder ConfigError.
Resolver implementations using .kw must migrate as described in docs/resolvers/custom.md. See BREAKING_CHANGES.md for the complete 0.25.0 contract.
Validation: 959 Python tests passed; Ruff checks and source/wheel builds passed.