Releases: hotwired/turbo
Releases · hotwired/turbo
v8.0.4
What's Changed
- Bump ip from 1.1.8 to 1.1.9 by @dependabot in #1197
- Morphing + complete frame issue : Stop reloading turbo frames when complete attribute changes by @Intrepidd in #1175
- Use Playwright assertions for autofocus by @seanpdoyle in #1219
Full Changelog: v8.0.3...v8.0.4
v8.0.3
What's Changed
- Omit
ignoreActiveValue: true
Morph option by @seanpdoyle in #1195 - Ensure that page refreshes do not trigger a snapshot cache by @afcapel in #1196
Full Changelog: v8.0.2...v8.0.3
v8.0.2
v8.0.1
What's Changed
- Fix progress bar persisting when following a redirect by @Intrepidd in #1168
Full Changelog: v8.0.0...v8.0.1
v8.0.0
Features
- Page refreshes with morphing by @jorgemanrubia & @afcapel in #1019
- Support View Transition API for navigations by @kevinmcconnell in #935
- Add InstantClick behavior by @davidalejandroaguilar in #1101
- Remove TypeScript by @afcapel in #971
- Remove unused stylesheets when navigating by @kevinmcconnell in #1128
- Introduce data-turbo-track="dynamic" by @afcapel in #1140
- Set aria-busy on the form element during a form submission by @afcapel in #1110
- Communicate Visit direction with
html[data-turbo-visit-direction]
by @domchristie in #1007 - Introduce
turbo:{before-,}morph-{element,attribute}
events by @seanpdoyle in #1097 - Set
html[lang]
during navigation by @seanpdoyle in #1035 - Dispatch
turbo:before-fetch-{request,response}
during preloading by @seanpdoyle in #1034
Fixes
- Change default action for form submissions that redirect to the current location by @afcapel in #1072
- Override
FetchOptions
from event listeners by @seanpdoyle in #691 - Turbo Streams: Manage element focus by @seanpdoyle in #686
- Rename header for preload requests by @pfeiffer in #925
- Dispatch turbo:load after loading 404 response by @domchristie in #960
- Page refreshes: Replace remaining calls to nextAnimationFrame by nextRepaint by @brunoprietog in #1102
- Restore attribute "refresh=morph" to flag turbo frames to reload during a page refresh by @jorgemanrubia in #1068
- Replace nextAnimationFrame by nextMicroTask by @michelson in #1042
- Hide Progress bar on
turbo:load
by @seanpdoyle in #1036 - Avoid infinite recursion from
window.fetch
name collision by @seanpdoyle in #1077 - Fix back navigation after POST form submission by @afcapel in #1014
- Fix Turbo stream link setting the src of a turbo frame container by @BakiVernes in #968
- Fix for SubmitEvent polyfill breaking requestSubmit() for newer Safari versions by @mrtnin in #933
- Don't preserve scroll position unless it's a page refresh by @jorgemanrubia in #1096
- Page refreshes: Use pathname instead of href to detect if locations are equal by @brunoprietog in #1079
- Page refreshes: Don't render previews by @brunoprietog in #1098
- Debounce page refreshes triggered via Turbo streams by @brunoprietog in #1099
- Guard
[data-turbo-preload]
with conditionals by @seanpdoyle in #1033 - Resolve issues with timeouts and target closures in test framework by @AfolabiOlaoluwa in #981
- Close
StreamSource
when<turbo-stream-source>
disconnects by @seanpdoyle in #970 - Create Frame Snapshot from Fetch Response HTML by @seanpdoyle in #887
- Ensure that the turbo-frame header is not sent when the turbo-frame has a target of _top by @afcapel in #1138
- Preloader: Rename header to
x-purpose
to avoid it being stripped by @pfeiffer in #1108 - Morph with
ignoreActiveValue: true
by @seanpdoyle in #1141 - Do not invalidate pages in visits that don't render by @afcapel in #1144
- Ensure page refreshes cause a reload when assets change by @afcapel in #1146
LinkPrefetchObserver
: replacedataset
withgetAttribute
by @seanpdoyle in #1148- Drive
turbo-frame
withTurbo.visit(url, { frame:, action: })
by @seanpdoyle in #1135
Full Changelog: v7.3.0...v8.0.0
v8.0.0-rc.3
What's Changed
Full Changelog: v8.0.0-rc.2...v8.0.0-rc.3
v8.0.0-rc.2
What's Changed
Full Changelog: v8.0.0-rc.1...v8.0.0-rc.2
v8.0.0-rc.1
What's Changed
- Introduce
turbo:{before-,}morph-{element,attribute}
events by @seanpdoyle in #1097 - Preloader: Rename header to
x-purpose
to avoid it being stripped by @pfeiffer in #1108 - Morph with
ignoreActiveValue: true
by @seanpdoyle in #1141 - Do not invalidate pages in visits that don't render by @afcapel in #1144
- Ensure page refreshes cause a reload when assets change by @afcapel in #1146
LinkPrefetchObserver
: replacedataset
withgetAttribute
by @seanpdoyle in #1148- Page refreshes: Don't render previews by @brunoprietog in #1098
- Drive
turbo-frame
withTurbo.visit(url, { frame:, action: })
by @seanpdoyle in #1135
Full Changelog: v8.0.0-beta.4...v8.0.0-rc.1
v8.0.0-beta.4
What's Changed
- Ensure that the turbo-frame header is not sent when the turbo-frame has a target of _top by @afcapel in #1138
- Introduce data-turbo-track="dynamic" by @afcapel in #1140
Full Changelog: v8.0.0-beta.3...v8.0.0-beta.4
v8.0.0-beta.3
What's Changed
- Update copyright year to 2024 by @devcamke in #1118
- Debounce page refreshes triggered via Turbo streams by @brunoprietog in #1099
- Upgrade idiomorph to 0.3.0 by @afcapel in #1122
- Remove unused stylesheets when navigating by @kevinmcconnell in #1128
- Keep Trix dynamic styles in the head by @afcapel in #1133
- Revert: Proposal: pass isPreview value into the event detail in render events (#926) by @domchristie in #1126
- Add InstantClick behavior by @davidalejandroaguilar in #1101
- Fix attribute name by @afcapel in #1134
New Contributors
- @devcamke made their first contribution in #1118
- @davidalejandroaguilar made their first contribution in #1101
Full Changelog: v8.0.0-beta.2...v8.0.0-beta.3