Skip to content

1.3.0

Latest

Choose a tag to compare

@mbarta mbarta released this 07 Jul 07:26
3725b5b

What's Changed

  • Validate deep-link args when resolving the start location by @mbarta in #200
  • Fix unhandled exceptions in BrowserTabRouteDecisionHandler and SystemNavigationRouteDecisionHandler by @noah44846 in #191
  • Lazy load bottom tabs by @jayohms in #202
  • Allow clients to provide a custom logger instance by @mbarta in #159
  • Pass the full VisitProposal to registered RouteDecisionHandler instances by @jayohms in #203

Breaking Changes ⚠️

Note that there are a few breaking API changes in this release:

  • The Router.RouteDecisionHandler interface functions have changed to receive the full VisitProposal instead of a location: String. Update your matches() and handle() implementations and use proposal.location to access the location. See #203.
  • The HotwireDestination.customRouteDecision() function now also receives a VisitProposal instead of the new location string. See #203.
  • Hotwire.config.debugLoggingEnabled has been removed and replaced with a pluggable Hotwire.config.logger instance. To enable debug logging, set a log level on the default logger: Hotwire.config.logger.logLevel = HotwireLogLevel.DEBUG. Provide your own HotwireLogger implementation to handle library logs in your app. See #159.
  • HTTP request logging is now always routed through the configured logger and controlled by its logLevel, rather than being toggled separately. See #159.

New Contributors

Full Changelog: 1.2.8...1.3.0