master
## Summary - Upgrade `effect-lens-next` from Effect v4 RC `4.0.0-rc.109` to `4.0.0-rc.115`. - Add `Lens.filter` / `View.filter` to narrow a focus to values matching a predicate or refinement. - Add `Lens.focusOptionOrElse` to focus into an `Option` with a fallback default instead of failing on `None`. - Add `Lens.focusRecordAt`, `Lens.focusMutableRecordAt`, and `Lens.focusHashMapAt` (plus `View.focusRecordAt` / `View.focusHashMapAt`) to focus on `Record`/`HashMap` values by key. - Add `View.focusOption` / `View.focusOptionOrElse` for parity with the existing `Lens` combinators. - Add `View.succeed` for a constant, read-only `View` over a fixed value. ## Test plan - [x] `bun test` — 54 tests passing - [x] `tsc --noEmit` — typecheck clean - [x] `biome lint` — clean - [x] `turbo build` — clean 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: #12
Languages
TypeScript
100%