Releases: hotwired/turbo
Releases · hotwired/turbo
v7.0.0
v7.0.0-rc.5
v7.0.0-rc.4
- NEW: Make turbo:before-fetch-request and turbo:before-fetch-response events to fire on the respective form or frame element [#367]
- NEW: Read data-turbo-frame target from Submitter [#381]
- FIXED: Head elements with nonces will no longer cause reloads [#394 and #395]
- FIXED: Fix that data-turbo-method links stopped working within frames [#362]
- FIXED: Prevent "body stream already read" errors on get response html/text in locked body [#364]
- FIXED: Fix frame reloading from links/forms nested inside a turbo-frame [#370]
This is hopefully the last RC before final release! There's already a lot of great features and improvements ready to be merged once we've put out 7.0 final.
v7.0.0-rc.3
v7.0.0-rc.2
- NEW: Introduce turbo:frame-render and turbo:frame-load events. [#327]
- NEW: Display progress bar on form submissions. [#317]
- NEW: Force frame reload on every link click. [#349]
- NEW: Allow disabling of Turbo Drive with
Turbo.session.drive = false
. [#196] - NEW: Propose a replace visit on redirection for native adapters. [#328]
- FIXED: Scroll to top after form submission rejection. [#312]
- FIXED: Double clicking links no longer breaks out of Turbo Drive. [#351]
- FIXED: Double submitting forms no longer breaks out of Turbo Drive. [#353]
- FIXED: Fix "Referer" header being set to target URL, not current URL. [#345]
- FIXED: Fix navigation via links contained in shadown dom trees. [#351]
- FIXED: Fix page loads when refreshing location with anchor. [#324]
- FIXED: Fix error with form inputs named action. [#342]
- FIXED: Fix that data-turbo-method links should work even from within a form. [#341]
v7.0.0-rc.1
- NEW: Make requests pausable to allow for per-request session tokens to be fetched. [#306]
- NEW: Make rendering pausable to allow for transition animations. [#290]
- NEW: Add reload function to the frame dom element. [#206]
- NEW: Include url in turbo:before-fetch-request event. [#289]
- NEW: Export PageSnapshot to allow for caching HTML strings. [#301]
- NEW: Export PageRenderer to allow for custom rendering pipelines. [#305]
- FIXED: Prevent reloading pages when tapping same-page anchors. [#298]
- FIXED: Ignore noscript tags inside head tag. [#297]
- FIXED: Make links with method work everywhere, not only inside turbo frames. [#299]
v7.0.0-beta.8
- NEW: Allow a single stream update to target multiple elements using CSS query selectors with
<turbo-stream action="append" targets=".allWithClass">
. [#113] - NEW: Allow elements to avoid the snapshot cache when tagged with
data-turbo-cache="false"
(no more manually removing flash elements!). [#238] - NEW: Activate script tags loaded inside of turbo frames. [#192]
- FIXED: Don't remove children without an explicit ID when appending or prepending. [#285]
- FIXED: Restore scroll position when using the browser's back button. [#295]
v7.0.0-beta.7
v7.0.0-beta.6
- NEW: Existing children of the target with matching IDs as elements in the template will be removed before
append
/prepend
. [#240] - NEW: Set
window.Turbo
automatically on import to accommodate the needs of the native mobile adapters and ease of use. [#280] - NEW: Links with
data-turbo-method=POST|PUT|PATCH|DELETE
will be turned into form submissions upon click (like the old Rails UJS data-method) [#277] - NEW: Added
before
andafter
actions to insert before or after a dom sibling. [#121] - FIXED:
scrollToAnchor
would scroll to an element on the page with an empty id or name attribute, if there was no anchor. [#268]
v7.0.0-beta.5
- FIXED: The
<turbo-frame busy>
attribute is now applied during frame form submissions. [#156] - FIXED:
<turbo-frame>
elements with self-referentialsrc
attributes now log an error to the console instead of reloading indefinitely. [#98, #165, #182] - FIXED: The
Turbo-Frame
header is now present on HTTP requests from form submissions parented by or targeting a<turbo-frame>
element. [#86, #110, #166] - FIXED: The
<html data-turbo-preview>
attribute is correctly applied during navigation again, and autofocus behavior has been restored. [#117, #159, #169] - FIXED: You can now add or remove the
<turbo-frame disabled>
attribute at runtime to disable or re-enable a frame. [#181] - FIXED: Form submitter parameters will no longer be duplicated under certain circumstances in Safari. [#184]
- FIXED: Setting
src
on a<turbo-frame loading="lazy">
element navigates the frame immediately if the frame has already been loaded before. [#212] - FIXED:
<turbo-frame src>
elements no longer reload after reconnecting to the DOM [1d52b23] or after being cloned for the snapshot cache [dd0aaf8]. [#150, #204] - FIXED: Form submission failures now appear in the console. [#220]
- FIXED: Redirections from form submissions parented by or targeting a
<turbo-frame>
element now update the frame'ssrc
attribute with the final URL. [#223, #224] - FIXED: Turbo now preserves playback state of
<audio>
and<video>
elements withdata-turbo-permanent
annotations during rendering. [#221, #222, #226] - FIXED: The
data-turbo="false"
annotation for disabling Turbo Drive now works for form submissions parented by or targeting a<turbo-frame>
element. [#227, #228] - FIXED: You can now set the
data-turbo-action
attribute on forms or form submitters to specify which visit action to use. [#231]