Releases: pointfreeco/swift-navigation
2.0.1
What's Changed
- Fixed: Dismiss presented view controllers when the presenting view controller is deallocated (#192).
- Fixed: Restore iOS 13-compatible
ActionSheet
extension from SwiftUINavigation (#195). - Fixed: Remove UIKitNavigation dependency from SwiftUINavigation (#194).
- Infrastructure: Update .spi.yml to fix documentation generation (thanks @finestructure, #191).
- Infrastructure: Run examples tests in CI (#188).
- Infrastructure: Package.swift updates for swiftlang organization (thanks @lamtrinhdev, #190).
New Contributors
- @finestructure made their first contribution in #191
- @lamtrinhdev made their first contribution in #190
- @jc-paris made their first contribution in #194
Full Changelog: 2.0.0...2.0.1
2.0.0
What's Changed
-
Introducing: Swift Navigation (#167, #187)
SwiftUI Navigation is now Swift Navigation: powerful navigation tools for all Swift platforms, inspired by SwiftUI.
This release includes new
SwiftNavigation
andUIKitNavigation
modules:SwiftNavigation
: General navigation tools that powerSwiftUINavigation
andUIKitNavigation
, and can be used to power navigation on any platform, including Linux, Wasm, Windows, and more.UIKitNavigation
: State-driven tools for UIKit that make powering navigation and UI controls as ergonomic as SwiftUI.
Full Changelog: 1.5.4...2.0.0
1.5.4
What's Changed
- Fixed: Update [email protected] to match fixes rolled out to main Package.swift file (https://github.com/pointfreeco/swiftui-navigation/pull/186).
Full Changelog: pointfreeco/swiftui-navigation@1.5.3...1.5.4
1.5.3
What's Changed
- Fixed: Point Issue Reporting to xctest-dynamic-overlay URL (https://github.com/pointfreeco/swiftui-navigation/pull/185).
- Infrastructure: Fix article links (thanks @dafurman, https://github.com/pointfreeco/swiftui-navigation/pull/180).
New Contributors
- @dafurman made their first contribution in https://github.com/pointfreeco/swiftui-navigation/pull/180
Full Changelog: pointfreeco/swiftui-navigation@1.5.2...1.5.3
1.5.2
- Fixed: 1.5.1's 5.9 Package.swift file had an unstable
branch
set instead of a stablefrom
version.
Full Changelog: pointfreeco/swiftui-navigation@1.5.1...1.5.2
1.5.1
What's Changed
- Added: Swift Testing beta support (https://github.com/pointfreeco/swiftui-navigation/pull/181).
- Infrastructure: Swift Language Support: Add 6, Drop <5.9 (https://github.com/pointfreeco/swiftui-navigation/pull/165, https://github.com/pointfreeco/swiftui-navigation/pull/166).
- Infrastructure: Add
.editorconfig
for consistent code formatting (thanks @Matejkob, https://github.com/pointfreeco/swiftui-navigation/pull/179). - Infrastructure: Documentation fixes (https://github.com/pointfreeco/swiftui-navigation/pull/163).
New Contributors
- @Matejkob made their first contribution in https://github.com/pointfreeco/swiftui-navigation/pull/179
Full Changelog: pointfreeco/swiftui-navigation@1.5.0...1.5.1
1.5.0
What's Changed
- Added: Introduce
Binding<Bool>.init<V>(_: Binding<V?>)
(https://github.com/pointfreeco/swiftui-navigation/pull/160). The existingBinding.isPresent()
method has been deprecated in favor of this initializer. - Fixed: Address a few sendability warnings in
SwiftUINavigationCore
(https://github.com/pointfreeco/swiftui-navigation/pull/159). - Infrastructure: Fix CI by passing the
CI
environment variable toxcodebuild
(https://github.com/pointfreeco/swiftui-navigation/pull/162).
Full Changelog: pointfreeco/swiftui-navigation@1.4.0...1.5.0
1.4.0
What's Changed
-
Added
sheet(item:id:)
and other modifiers for presenting a non-identifiable item using a key path to some identity, instead (https://github.com/pointfreeco/swiftui-navigation/pull/155). This API is inspired byForEach
's overload that takes anid
key path..sheet(item: $fact, id: \.self) { fact in Text(fact) }
-
Added
sheet(item:)
andsheet(item:id:)
, etc., overloads that are passed a binding to an unwrapped item (https://github.com/pointfreeco/swiftui-navigation/pull/157, https://github.com/pointfreeco/swiftui-navigation/pull/158). These APIs are meant to replace the existingsheet(unwrapping:)
APIs, which have been deprecated. -
Fixed: Don't allow case navigation binding to write over non-matching cases (https://github.com/pointfreeco/swiftui-navigation/pull/149).
-
Fixed: Silence deprecation warning (https://github.com/pointfreeco/swiftui-navigation/pull/153).
-
Infrastructure: Leverage
alert(item:)
inalert(_ state:)
(https://github.com/pointfreeco/swiftui-navigation/pull/156); update DocC (https://github.com/pointfreeco/swiftui-navigation/pull/158).
Full Changelog: pointfreeco/swiftui-navigation@1.3.0...1.4.0
1.3.0
What's Changed
- Added:
View.alert(item:)
andconfirmationDialog(item:)
have been added toSwiftUINavigationCore
(thanks @randomeizer, https://github.com/pointfreeco/swiftui-navigation/pull/145). These helpers are preferred over the now-deprecatedalert(unwrapping:)
andconfirmationDialog(unwrapping:)
modifiers. - Added: An iOS 16-compatible version of
navigationDestination(item:)
has been added toSwiftUINavigationCore
(https://github.com/pointfreeco/swiftui-navigation/pull/148). - Infrastructure: Bump Swift Tools version to 5.7.1 to follow Apple's policy(thanks @x-0o0, https://github.com/pointfreeco/swiftui-navigation/pull/134).
New Contributors
- @randomeizer made their first contribution in https://github.com/pointfreeco/swiftui-navigation/pull/145
- @x-0o0 made their first contribution in https://github.com/pointfreeco/swiftui-navigation/pull/134
Full Changelog: pointfreeco/swiftui-navigation@1.2.1...1.3.0
1.2.1
What's Changed
- Fixed: Improve dynamic "case" lookup performance (https://github.com/pointfreeco/swiftui-navigation/pull/137).
- Fixed: Leverage SwiftUI dynamic member lookup for binding transformations where possible to avoid animation/transaction bugs in SwiftUI (https://github.com/pointfreeco/swiftui-navigation/pull/141).
- Infrastructure: Fixed typo in documentation (thanks @martinohman, https://github.com/pointfreeco/swiftui-navigation/pull/135).
New Contributors
- @martinohman made their first contribution in https://github.com/pointfreeco/swiftui-navigation/pull/135
Full Changelog: pointfreeco/swiftui-navigation@1.2.0...1.2.1