Repository navigation
Note
@Environment / .environment() were renamed to @TaskLocalValue / .taskLocalValue().
The old names still work but are deprecated and will be removed in a future version.
// before
@Environment(Values.$myValue) var value
div { ... }.environment(Values.$myValue, someValue)
// after
@TaskLocalValue(Values.$myValue) var value
div { ... }.taskLocalValue(Values.$myValue, someValue)Important
Swift 6.2 or newer is now required.
What's Changed
- use Swift 6.4 in CI by @sliemeobn in #114
- rename
.environment / @Environmentto.taskLocalValue / @TaskLocalValueby @sliemeobn in #115 - drop Swift 6.1 support by @sliemeobn in #116
Full Changelog: 0.8.2...0.8.3