Skip to content

Releases: hotwired/hotwire-native-android

1.2.5

09 Jan 16:05
588d69c

Choose a tag to compare

What's Changed

  • Fix crash when accessing currentDestination by @mbarta in #158
  • Fix same page restore visits when returning to a web screen from a native screen by @jayohms in #160
  • Maintain replace visit actions in the restore logic by @jayohms in #176
  • Don't recreate the demo app MainActivity on orientation changes by @jayohms in #177
  • Update Gradle, plugins, and Kotlin by @jayohms in #183
  • Allow BridgeComponents to receive the destination Fragment view lifecycle events by @jayohms in #184

Full Changelog: 1.2.4...1.2.5

1.2.4

23 Jul 07:17
b1da9af

Choose a tag to compare

What's Changed

  • Navigation: deeplink start location vulnerability fix by @mbarta in #154

Full Changelog: 1.2.3...1.2.4

1.2.3

19 Jun 19:34
7c72e6e

Choose a tag to compare

What's Changed

  • Inform developers and users when the WebView component is outdated by @jayohms in #148
  • Allow the HotwireBottomNavigationController visibility to be programmatically controlled by @jayohms in #149

Full Changelog: 1.2.2...1.2.3

1.2.2

16 Jun 13:22

Choose a tag to compare

What's Changed

Full Changelog: 1.2.1...1.2.2

1.2.1

11 Jun 12:38

Choose a tag to compare

What's Changed

Full Changelog: 1.2.0...1.2.1

1.2.0

23 Apr 17:57
fa6e5b0

Choose a tag to compare

What's Changed

  • Allow custom path config properties and settings by @jayohms in #114
  • Tweak the RouteDecisionHandler API to return the Router.Decision after matching and handling by @jayohms in #113
  • Add built-in support for recede/refresh/resume historical location urls by @jayohms in #119
  • Improve the external route decision handlers by @jayohms in #120
  • Expose the onVisitRequestFinished() callback for apps by @jayohms in #123
  • KotlinX serialization improvements by @mbarta in #128
  • Notify bridge destination when a component is initialized by @jayohms in #129
  • Update the web bridge reference to match hotwire-native-bridge v1.2+ by @jayohms in #130
  • Add tabs and use new Rails-powered demo site by @jayohms in #127
  • Crash and bug fixes (with nullable API changes) by @jayohms in #131
  • Update dependencies and update the java language target by @jayohms in #132
  • KotlinX Serialization: disable explicit nulls option by @mbarta in #133

Breaking Changes

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

  • Path configuration properties and settings are now returned as HashMap<String, Any> instead of HashMap<String, String>. See #114.
  • The RouteDecisionHandler API has changed so that the Router.Decision must be returned from the handle() function.
  • navigator.currentDestination no longer throws an exception when an active destination is not found. It is now nullable.
  • activity.delegate.findNavigatorHost(id) no longer throws an exception when the NavigatorHost is not registered. It is now nullable.
  • navigator.findNavigatorHost(id) no longer throws an exception when the NavigatorHost is not registered. It is now nullable.
  • A few functions in the HotwireDestination interface has been tweaked. See #131 for details.

Full Changelog: 1.1.3...1.2.0

1.1.3

06 Mar 13:16
3d2b7a8

Choose a tag to compare

What's Changed

  • Allow custom headers to path config request (Issue 100) by @jpsphaxer in #102
  • Fix tiny context mix-up in CONTRIBUTING.md by @leonvogt in #105
  • Rename the new path config ClientConfig class to LoaderOptions to match the iOS API by @jayohms in #108
  • Fix when navigating from a modal sheet dialog -> modal sheet dialog by @jayohms in #109
  • Improved default context visit behavior when dismissing the modal context by @jayohms in #107
  • Add animated Path Configuration property by @jayohms in #110

New Contributors

Full Changelog: 1.1.2...1.1.3

1.1.2

22 Feb 17:38
dc6ec2f

Choose a tag to compare

What's Changed

  • Test that a malformed path configuration does not get cached by @jayohms in #93
  • Separate Hotwire.config.userAgent from Hotwire.config.userAgentWithWebViewDefault by @jayohms in #94
  • Edge full edge-to-edge Activity view without system bar insets by @jayohms in #101
  • Prevent pull to refresh on specific elements by @leonvogt in #98
  • Add support for SDK 35 by @mbarta in #95

New Contributors

Full Changelog: 1.1.1...1.1.2

1.1.1

09 Jan 14:54

Choose a tag to compare

What's Changed

  • Move Cookies persisting off the main thread by @mbarta in #81
  • Detect cross-origin redirects during visits by @jayohms in #82
  • Improve screenshot performance by @mbarta in #83

New Contributors

Full Changelog: 1.1.0...1.1.1

1.1.0

18 Dec 13:16
4cb86cd

Choose a tag to compare

Breaking API Change

Please note there is a minor breaking API change:

  • Your app can now define a user-agent prefix (not the entire user agent) specific to your application. The library will take care of adding the other necessary user-agent info including the bridge component registration. See #77 for details.

What's Changed

  • Breaking API change: applications can set a User-Agent prefix by @jayohms in #77
  • Disable link prefetching to match the new behavior on iOS by @jayohms in #78

Full Changelog: 1.0.2...1.1.0

How to Migrate

Read about all the details and how to migrate: https://masilotti.com/hotwire-native-1.1/