Skip to content

Releases: obvios/Routing

API improvements and documentation

01 Mar 18:17
Compare
Choose a tag to compare
v2.1.0

Release v2.1.0 - API refinements and enhanced navigation flexibility

v2.0.1 - Fix unit tests

26 Feb 22:53
Compare
Choose a tag to compare

Updates failing unit tests.

v2.0.0 - Support for Nested Routing and API Improvements

26 Feb 16:32
Compare
Choose a tag to compare

📌 GitHub Release Notes for v2.0.0

What's New in v2.0.0

This release introduces nested routing support, allowing RoutingView to be embedded inside modal presentations while maintaining independent navigation stacks. Additionally, several API refinements improve flexibility, type safety, and deep linking integration.

Key Features & Improvements

  1. Nested Routing Support (Major Feature)
  • RoutingView now supports nested navigation stacks within modals (sheet and fullScreenCover).
  • Each presented view gets its own isolated router, enabling deeper navigation within modals.
  1. Improved Router API for Programmatic Navigation
  • Introduced explicit routeTo(_:via:) for more control over navigation behavior.
  • Separate dismissChild() and dismissSelf() methods for finer-grained dismissal.
  • pop() now properly removes views from the navigation stack.
  1. Enhanced Deep Linking Support
  • onDeepLink(using:) now seamlessly integrates with RoutingView.
  • The router automatically resolves deep links and dismisses active modals before navigating.

Installation & Upgrade

To update to v2.0.0, ensure you are using Swift Package Manager (SPM). Then update the package in Xcode via "File > Swift Packages > Update to Latest Package Versions."

For manual installation, add the following to your Package.swift:

dependencies: [
    .package(url: "https://github.com/obvios/Routing.git", from: "2.0.0")
]