Skip to content

Releases: hotwired/turbo

v7.2.0

22 Sep 14:15
@dhh dhh
Compare
Choose a tag to compare

What's Changed

Turbo 7.2.0 is available to use with Rails via turbo-rails 1.3.0.

Features

Fixes

New Contributors

Full Changelog: v7.1.0...v7.2.0

v7.2.0-rc.3

19 Sep 12:34
@dhh dhh
Compare
Choose a tag to compare

What's Changed

This ensures compatibility with the Turbo Native adapters. All features will be restored in 7.3.0 when the native issues have been worked out.

Full Changelog: v7.2.0-rc.2...v7.2.0-rc.3

v7.2.0-rc.2

14 Sep 16:06
@dhh dhh
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.2.0-rc.1...v7.2.0-rc.2

v7.2.0-rc.1

13 Sep 16:47
@dhh dhh
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.2.0-beta.2...v7.2.0-rc.1

v7.2.0-beta.2

03 Aug 22:24
@dhh dhh
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.2.0-beta.1...v7.2.0-beta.2

v7.2.0-beta.1

18 Jul 23:12
@dhh dhh
Compare
Choose a tag to compare

What's Changed

This is not a feature-complete release of Turbo 7.2.0. Follow along on the 7.2.0 milestone to track the pending PRs we hope to include in the final release. But please help us thoroughly test this very substantial update of new features and fixed bugs.

New

  • Add pre-population of cache with views based on links with turbo_preload attribute by @hey-leon in #552
  • Add support of custom rendering in turbo:before{-frame,}-render events by @seanpdoyle in #431
  • Allow Turbo Streams with GET via data-turbo-stream by @kevinmcconnell in #612
  • Add option to create custom stream actions by @seanpdoyle in #479
  • Add client-side Turbo Cache Control API by @marcoroth in #632
  • Add exposure of Frame load state via [complete] attribute by @seanpdoyle in #487
  • Add a turbo:reload event that returns the reason why turbo needed to do a hard reload by @manuelpuyol in #556
  • Add option to disable turbo for form or optin to forms. by @pythonandchips in #419
  • Add await for confirm method results by @excid3 in #525
  • Add turbo stream source by @seanpdoyle in #415
  • Allow frames to scroll smoothly into view by @npezza93 in #607
  • Add original click event to 'turbo:click' details by @manuelpuyol in #611
  • Add .php as a valid isHTML extension by @dhh in #629
  • Add exposing FrameRenderer so we can extend its behavior, e.g. vDOM. by @botandrose in #568
  • Add export of type declarations for turbo: events by @seanpdoyle in #452

Fixed

  • Fix turbo:load firing twice after a redirect and avoid double render by @feliperaul in #563
  • Fix that progress bar wouldn't render if CSP was turned on by @rience in #501
  • Fix hidden progress bar by setting turbo-progress-bar z-index to max value by @keithamus in #531
  • Fix data-turbo-confirm to work with multiple submitters inside a form by @feliperaul in #564
  • Fix scrolling to top of page on reload by @srt32 in #571
  • Fix blank [formaction] should act like a blank [action] by @seanpdoyle in #529
  • Fix restoring focus when transposing Permanent Elements by @seanpdoyle in #436
  • Prevent silent restoration visits when previous visit request is in-flight by @domchristie in #595
  • Use 'will render' false for action 'replace' after GET redirect by @blrB in #516
  • Use replaceChildren in StreamActions.update by @seanpdoyle in #534
  • Defensively create custom turbo elements to prevent re-initialization errors by @dphaener in #483
  • Do not declare global types/constants by @grncdr in #524
  • fix(ie/edge): form.method='delete', raises Invalid argument. by @mfo in #586
  • Only update history when Turbo visit is renderable by @manuelpuyol in #601
  • Ensure Turbo does not interfere with IFrames by @seanpdoyle in #389
  • Frame Visits: Cache Snapshot later in process by @seanpdoyle in #488

Full Changelog: v7.1.0...v7.2.0-beta.1

Using the beta in Rails

The beta/rc series of Turbo 7.2.0 is available to use in Rails via turbo-rails:

gem "turbo-rails", github: "hotwired/turbo-rails", branch: "turbo-7-2-0"

v7.1.0

24 Nov 12:21
@dhh dhh
Compare
Choose a tag to compare

What's Changed (Since 7.0.1)

  • NEW: data-turbo-confirm overwriteable callback by @virolea in #379
  • NEW: Toggle [disabled] on form submitter by @seanpdoyle in #386
  • NEW: Push history state from frame navigations by @seanpdoyle in #398
  • NEW: Toggle [aria-busy="true"] during requests by @seanpdoyle in #199, #442
  • NEW: Add requestSubmit() polyfill by default by @dhh in #439
  • FIXED: Allow programmatic visits to go cross-origin by @ParamagicDev in #410
  • FIXED: Frames: Abort prior requests during navigation by @seanpdoyle in #418
  • FIXED: Load data-turbo-method links within the correct turbo frame by @spohlenz in #411
  • FIXED: GET Forms: fire submit-start and submit-end by @seanpdoyle in #424
  • FIXED: Ignore external <form> submissions by @seanpdoyle in #437
  • FIXED: Fire turbo:frame-load event during form submission by @seanpdoyle in #425
  • FIXED: Read [data-turbo-action] during Form Submissions by @seanpdoyle in #409
  • FIXED: Skip form{,method}="dialog" when targetting frame by @seanpdoyle in #388
  • FIXED: Integrate Frame-to-Page Visits with Snapshot Cache by @seanpdoyle in #441, #444
  • FIXED: Frames: handle GET form submissions by @seanpdoyle in #449
  • FIXED: Preserve page state while promoting Frame-to-Visit by @seanpdoyle in #448
  • FIXED: Disconnect loaded Frame Element while rendering by @seanpdoyle in #454, #455
  • FIXED: Frames: Ignore already cancelled submit events by @seanpdoyle in #459
  • FIXED: Do not render cache after preloaded response by @tleish in #458

Full Changelog: v7.0.1...v7.1.0

v7.1.0-rc.3

22 Nov 16:38
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • FIXED: GET form submissions handling of searchParams by @seanpdoyle in #461, #464
  • FIXED: Frames: Ignore already cancelled submit events by @seanpdoyle in #459
  • FIXED: Do not render cache after preloaded response by @tleish in #458

Full Changelog: v7.1.0-rc.2...v7.1.0-rc.3

v7.1.0-rc.2

19 Nov 15:15
@dhh dhh
Compare
Choose a tag to compare

What's Changed

Full Changelog: v7.0.1-rc.1...v7.1.0-rc.2

v7.1.0-rc.1

14 Nov 15:05
@dhh dhh
Compare
Choose a tag to compare

What's Changed

We've now fully replaced all behavior that used to be offered by rails-ujs with data-turbo-confirm and the automatic disabling of form submitters 🎉

  • NEW: data-turbo-confirm overwriteable callback by @virolea in #379
  • NEW: Toggle [disabled] on form submitter by @seanpdoyle in #386
  • NEW: Push history state from frame navigations by @seanpdoyle in #398
  • NEW: Toggle [aria-busy="true"] during requests by @seanpdoyle in #199, #442
  • NEW: Add requestSubmit() polyfill by default by @dhh in #439
  • FIXED: Allow programmatic visits to go cross-origin by @ParamagicDev in #410
  • FIXED: Frames: Abort prior requests during navigation by @seanpdoyle in #418
  • FIXED: Load data-turbo-method links within the correct turbo frame by @spohlenz in #411
  • FIXED: GET Forms: fire submit-start and submit-end by @seanpdoyle in #424
  • FIXED: Ignore external <form> submissions by @seanpdoyle in #437
  • FIXED: Fire turbo:frame-load event during form submission by @seanpdoyle in #425
  • FIXED: Read [data-turbo-action] during Form Submissions by @seanpdoyle in #409
  • FIXED: Skip form{,method}="dialog" when targetting frame by @seanpdoyle in #388
  • FIXED: Integrate Frame-to-Page Visits with Snapshot Cache by @seanpdoyle in #441, #444

New Contributors

Full Changelog: v7.0.1...v7.1.0-rc.1