Skip to content

Releases: hotwired/turbo

v7.0.1

25 Sep 08:19
@dhh dhh
Compare
Choose a tag to compare
  • 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

24 Sep 11:57
@dhh dhh
Compare
Choose a tag to compare

v7.0.0-rc.5

23 Sep 19:55
@dhh dhh
Compare
Choose a tag to compare
  • FIXED: Target must be in the connected to be the event emitter for dispatch [#403]
  • FIXED: Mark forms created for links with data-turbo-method as hidden [#404]

v7.0.0-rc.4

15 Sep 14:57
@dhh dhh
Compare
Choose a tag to compare
  • 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

30 Aug 11:55
@dhh dhh
Compare
Choose a tag to compare
  • CHANGE: Stop producing ES5 builds.
  • FIXED: Frame reloading doesn't work for outer links. [#360]
  • FIXED: Progress bar does not disappear after form submission on safari. [#356]

v7.0.0-rc.2

25 Aug 18:23
@dhh dhh
Compare
Choose a tag to compare
  • 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

21 Jul 23:15
@dhh dhh
Compare
Choose a tag to compare
  • 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

30 Jun 23:23
@dhh dhh
Compare
Choose a tag to compare
  • 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

14 Jun 08:56
@dhh dhh
Compare
Choose a tag to compare
  • FIXED: Frames could not be updated multiple times [#263]
  • FIXED: frameElement.complete would always return false [#251]

v7.0.0-beta.6

12 Jun 14:55
@dhh dhh
Compare
Choose a tag to compare
  • 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 and after 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]