Releases: hotwired/hotwire-native-android
Releases · hotwired/hotwire-native-android
1.2.5
What's Changed
- Fix crash when accessing currentDestination by @mbarta in #158
- Fix same page
restorevisits when returning to a web screen from a native screen by @jayohms in #160 - Maintain
replacevisit 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
1.2.3
1.2.2
1.2.1
1.2.0
What's Changed
- Allow custom path config
propertiesandsettingsby @jayohms in #114 - Tweak the RouteDecisionHandler API to return the
Router.Decisionafter 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 ofHashMap<String, String>. See #114. - The
RouteDecisionHandlerAPI has changed so that theRouter.Decisionmust be returned from thehandle()function. navigator.currentDestinationno 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 theNavigatorHostis not registered. It is now nullable.navigator.findNavigatorHost(id)no longer throws an exception when theNavigatorHostis not registered. It is now nullable.- A few functions in the
HotwireDestinationinterface has been tweaked. See #131 for details.
Full Changelog: 1.1.3...1.2.0
1.1.3
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
ClientConfigclass toLoaderOptionsto match the iOS API by @jayohms in #108 - Fix when navigating from a modal sheet dialog -> modal sheet dialog by @jayohms in #109
- Improved
defaultcontext visit behavior when dismissing themodalcontext by @jayohms in #107 - Add
animatedPath Configuration property by @jayohms in #110
New Contributors
- @jpsphaxer made their first contribution in #102
Full Changelog: 1.1.2...1.1.3
1.1.2
What's Changed
- Test that a malformed path configuration does not get cached by @jayohms in #93
- Separate
Hotwire.config.userAgentfromHotwire.config.userAgentWithWebViewDefaultby @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
1.1.0
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/