Releases: hotwired/turbo
Releases · hotwired/turbo
v7.0.1
- FIXED: Parent turbo-frames would handle form events from child turbo-frames [#399]
- FIXED: Turbo Drive firing on forms despite being disabled in Safari 15 due to Safari bug [#405]
- FIXED: Turbo Drive not handling form submission when globally disabled but locally enabled and called with requestSubmit [#406]
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]