Update dependency @hotwired/turbo to v8
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@hotwired/turbo (source) | devDependencies | major | ^7.0.1 -> ^8.0.0 |
Release Notes
hotwired/turbo (@hotwired/turbo)
v8.0.2
What's Changed
- Add more prefetch conditions by @afcapel in https://github.com/hotwired/turbo/pull/1178
Full Changelog: https://github.com/hotwired/turbo/compare/v8.0.1...v8.0.2
v8.0.1
What's Changed
- Fix progress bar persisting when following a redirect by @Intrepidd in https://github.com/hotwired/turbo/pull/1168
Full Changelog: https://github.com/hotwired/turbo/compare/v8.0.0...v8.0.1
v8.0.0
Features
- Page refreshes with morphing by @jorgemanrubia & @afcapel in https://github.com/hotwired/turbo/pull/1019
- Support View Transition API for navigations by @kevinmcconnell in https://github.com/hotwired/turbo/pull/935
- Add InstantClick behavior by @davidalejandroaguilar in https://github.com/hotwired/turbo/pull/1101
- Remove TypeScript by @afcapel in https://github.com/hotwired/turbo/pull/971
- Remove unused stylesheets when navigating by @kevinmcconnell in https://github.com/hotwired/turbo/pull/1128
- Introduce data-turbo-track="dynamic" by @afcapel in https://github.com/hotwired/turbo/pull/1140
- Set aria-busy on the form element during a form submission by @afcapel in https://github.com/hotwired/turbo/pull/1110
- Communicate Visit direction with
html[data-turbo-visit-direction]
by @domchristie in https://github.com/hotwired/turbo/pull/1007 - Introduce
turbo:{before-,}morph-{element,attribute}
events by @seanpdoyle in https://github.com/hotwired/turbo/pull/1097 - Set
html[lang]
during navigation by @seanpdoyle in https://github.com/hotwired/turbo/pull/1035 - Dispatch
turbo:before-fetch-{request,response}
during preloading by @seanpdoyle in https://github.com/hotwired/turbo/pull/1034
Fixes
- Change default action for form submissions that redirect to the current location by @afcapel in https://github.com/hotwired/turbo/pull/1072
- Override
FetchOptions
from event listeners by @seanpdoyle in https://github.com/hotwired/turbo/pull/691 - Turbo Streams: Manage element focus by @seanpdoyle in https://github.com/hotwired/turbo/pull/686
- Rename header for preload requests by @pfeiffer in https://github.com/hotwired/turbo/pull/925
- Dispatch turbo:load after loading 404 response by @domchristie in https://github.com/hotwired/turbo/pull/960
- Page refreshes: Replace remaining calls to nextAnimationFrame by nextRepaint by @brunoprietog in https://github.com/hotwired/turbo/pull/1102
- Restore attribute "refresh=morph" to flag turbo frames to reload during a page refresh by @jorgemanrubia in https://github.com/hotwired/turbo/pull/1068
- Replace nextAnimationFrame by nextMicroTask by @michelson in https://github.com/hotwired/turbo/pull/1042
- Hide Progress bar on
turbo:load
by @seanpdoyle in https://github.com/hotwired/turbo/pull/1036 - Avoid infinite recursion from
window.fetch
name collision by @seanpdoyle in https://github.com/hotwired/turbo/pull/1077 - Fix back navigation after POST form submission by @afcapel in https://github.com/hotwired/turbo/pull/1014
- Fix Turbo stream link setting the src of a turbo frame container by @BakiVernes in https://github.com/hotwired/turbo/pull/968
- Fix for SubmitEvent polyfill breaking requestSubmit() for newer Safari versions by @mrtnin in https://github.com/hotwired/turbo/pull/933
- Don't preserve scroll position unless it's a page refresh by @jorgemanrubia in https://github.com/hotwired/turbo/pull/1096
- Page refreshes: Use pathname instead of href to detect if locations are equal by @brunoprietog in https://github.com/hotwired/turbo/pull/1079
- Page refreshes: Don't render previews by @brunoprietog in https://github.com/hotwired/turbo/pull/1098
- Debounce page refreshes triggered via Turbo streams by @brunoprietog in https://github.com/hotwired/turbo/pull/1099
- Guard
[data-turbo-preload]
with conditionals by @seanpdoyle in https://github.com/hotwired/turbo/pull/1033 - Resolve issues with timeouts and target closures in test framework by @AfolabiOlaoluwa in https://github.com/hotwired/turbo/pull/981
- Close
StreamSource
when<turbo-stream-source>
disconnects by @seanpdoyle in https://github.com/hotwired/turbo/pull/970 - Create Frame Snapshot from Fetch Response HTML by @seanpdoyle in https://github.com/hotwired/turbo/pull/887
- Ensure that the turbo-frame header is not sent when the turbo-frame has a target of _top by @afcapel in https://github.com/hotwired/turbo/pull/1138
- Preloader: Rename header to
x-purpose
to avoid it being stripped by @pfeiffer in https://github.com/hotwired/turbo/pull/1108 - Morph with
ignoreActiveValue: true
by @seanpdoyle in https://github.com/hotwired/turbo/pull/1141 - Do not invalidate pages in visits that don't render by @afcapel in https://github.com/hotwired/turbo/pull/1144
- Ensure page refreshes cause a reload when assets change by @afcapel in https://github.com/hotwired/turbo/pull/1146
-
LinkPrefetchObserver
: replacedataset
withgetAttribute
by @seanpdoyle in https://github.com/hotwired/turbo/pull/1148 - Drive
turbo-frame
withTurbo.visit(url, { frame:, action: })
by @seanpdoyle in https://github.com/hotwired/turbo/pull/1135
Full Changelog: https://github.com/hotwired/turbo/compare/v7.3.0...v8.0.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.