Merge commit '36c66dd290d3ce6eb1ccd310d0c658d4a32bb8eb' as 'repos/effect'

This commit is contained in:
-Puter
2026-07-19 03:25:10 +05:30
parent dd1071cc10
commit 2daf979036
2214 changed files with 673090 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
---
"effect": patch
---
Fix config path composition and directory-backed lookup behavior.
`ConfigProvider.orElse` now keeps each side's own `nested` and `mapInput`
behavior. Applying `nested` or `mapInput` to a combined provider now applies the
same transformation to both sides.
`ConfigProvider` path transformations now compose as a single path function.
This makes `nested` and `mapInput` behave consistently with normal function
composition.
`Config.nested` now tracks the logical config path in `Config` itself instead of
wrapping the provider. This keeps lookup paths and schema error paths aligned.
The low-level `Config.make` constructor is no longer exported; use config
constructors and combinators, or implement custom lookup behavior with
`ConfigProvider.make`.
`ConfigProvider.fromDir` now returns `undefined` when neither a file nor a
directory exists at the requested path, so `orElse` can fall back instead of
failing with `SourceError`.