1.11.0
What's Changed
- Added:
Shared.withLock
, for mutating shared state from asynchronous contexts (#3136). Direct mutations from asynchronous contexts is marked unavailable and will be an error in Swift 6. - Added:
SharedReader.constant
(#3127). - Added:
$store.scope
will now emit a warning when a dismiss action doesn'tnil
out a child feature, suggesting aReducer.ifLet
(or parent integration) is missing (#3089). - Deprecated:
Shared
's optional dynamic member lookup overload has been deprecated in favor of aBinding.init
that unwraps optional values (#3145). - Fixed: Avoid crash when using
.appStorage
with aURL
value (thanks @pwszebor, #3098). - Fixed: Worked around a build failure when integrating with Tuist (#3140).
- Infrastructure: Tutorial fixes (#3076; thanks @MartinMoizard, #3078; #3072; thanks @hmhv, #3091; thanks @gibachan, #3099; thanks @btr-better, #3107; thanks @woxtu, #3119, #3123; #3135; #3141; #3148); DocC fixes (#3085; #3087; thanks @JOyo246, #3092; thanks @leeari95, #3110; #3138); README fixes (thanks @Matt54, #3129); expose some navigation APIs with
@_spi(Internal)
(thanks @Alex293, #3097).
New Contributors
- @MartinMoizard made their first contribution in #3078
- @JOyo246 made their first contribution in #3092
- @pwszebor made their first contribution in #3098
- @Alex293 made their first contribution in #3097
- @gibachan made their first contribution in #3099
- @leeari95 made their first contribution in #3110
- @btr-better made their first contribution in #3107
- @Matt54 made their first contribution in #3129
Full Changelog: 1.10.4...1.11.0