Releases: hotwired/turbo
Releases · hotwired/turbo
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
FetchOptionsfrom 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:loadby @seanpdoyle in #1036 - Avoid infinite recursion from
window.fetchname 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
StreamSourcewhen<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-purposeto avoid it being stripped by @pfeiffer in #1108 - Morph with
ignoreActiveValue: trueby @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: replacedatasetwithgetAttributeby @seanpdoyle in #1148- Drive
turbo-framewithTurbo.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-purposeto avoid it being stripped by @pfeiffer in #1108 - Morph with
ignoreActiveValue: trueby @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: replacedatasetwithgetAttributeby @seanpdoyle in #1148- Page refreshes: Don't render previews by @brunoprietog in #1098
- Drive
turbo-framewithTurbo.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
v8.0.0-beta.2
What's Changed
- Avoid infinite recursion from
window.fetchname collision by @seanpdoyle in #1077 - Export StreamActions as property of window.Turbo by @afcapel in #1073
- Restructure to avoid internal
window.Turboaccess by @seanpdoyle in #1078 - Include idiomorph as a dev dependency by @afcapel in #1086
- Import
sessioninstead of readingwindow.Turbo.sessionby @seanpdoyle in #1094 - Communicate Visit direction with
html[data-turbo-visit-direction]by @domchristie in #1007 - 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: Replace remaining calls to nextAnimationFrame by nextRepaint by @brunoprietog in #1102
- Guard
[data-turbo-preload]with conditionals by @seanpdoyle in #1033 - Dispatch
turbo:before-fetch-{request,response}during preloading by @seanpdoyle in #1034 - Set aria-busy on the form element during a form submission by @afcapel in #1110
New Contributors
- @brunoprietog made their first contribution in #1079
Full Changelog: v8.0.0-beta1...v8.0.0-beta.2
v8.0.0-beta1
What's Changed
- Fix for SubmitEvent polyfill breaking requestSubmit() for newer Safari versions by @mrtnin in #933
- Support View Transition API for navigations by @kevinmcconnell in #935
- Bump semver from 6.3.0 to 6.3.1 by @dependabot in #942
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #947
- Fix typos by @szepeviktor in #950
- Add ! to the copyright banner comment by @afcapel in #948
- Perform view transitions on cached snapshots by @kevinmcconnell in #953
- Add test coverage toggling
[aria-busy]forGETForm Submissions by @seanpdoyle in #955 - Proposal: pass isPreview value into the event detail in render events by @Matt-Yorkley in #926
- Rename header for preload requests by @pfeiffer in #925
- Dispatch turbo:load after loading 404 response by @domchristie in #960
- Remove TypeScript by @afcapel in #971
- fix: Resolve issues with timeouts and target closures in test framework by @AfolabiOlaoluwa in #981
- Update README year by @alabhyajindal in #979
- fix(vscode): delete unneeded
problemMatcherby @iiAbady in #980 - docs: Update CONTRIBUTING.md to reflect removal of TypeScript by @AfolabiOlaoluwa in #989
- Close
StreamSourcewhen<turbo-stream-source>disconnects by @seanpdoyle in #970 - Create Frame Snapshot from Fetch Response HTML by @seanpdoyle in #887
- fix: Improve test stability in navigation test cases by @AfolabiOlaoluwa in #998
- Override
FetchOptionsfrom event listeners by @seanpdoyle in #691 - FIX: Turbo stream link setting the src of a turbo frame container by @BakiVernes in #968
- Turbo Streams: Manage element focus by @seanpdoyle in #686
- fix: Enhance test stability in drive_tests.js by @AfolabiOlaoluwa in #993
- Remove types key from package json by @shiftyp in #1002
- Upload dist artifacts to GitHub Actions by @afcapel in #1003
- Removed Typescript references and dependencies from package.json by @shiftyp in #1010
- Add disk cache store by @afcapel in #949
- Added frozen lockfile option on ci and dev workflows by @shiftyp in #1012
- Bump get-func-name from 2.0.0 to 2.0.2 by @dependabot in #1015
- Fix back navigation after POST form submission by @afcapel in #1014
- Set
html[lang]during navigation by @seanpdoyle in #1035 - Move
Cacheinstantiation toSessionby @seanpdoyle in #1024 - Add test coverage for submitting
form[data-turbo-frame="_top"]by @seanpdoyle in #1038 - Add test coverage for
StreamActionsexport by @seanpdoyle in #1023 - Always go through the adapter to decide how to propose visits by @jayohms in #1054
- Tests: remove
"test"docstring prefix by @seanpdoyle in #1052 - replace nextAnimationFrame by nextMicroTask by @michelson in #1042
- Move cache snapshot loading to Visit#start() by @afcapel in #1056
- Revert disk cache store by @afcapel in #1062
- Pass session instance to cache constructor by @afcapel in #1063
- Page refreshes by @afcapel, @jorgemanrubia & @seanpdoyle in #1019
- Add coverage for focus and value preservation during morph by @seanpdoyle in #1064
- Restore attribute "refresh=morph" to flag turbo frames to reload during a page refresh by @jorgemanrubia in #1068
- Hide Progress bar on
turbo:loadby @seanpdoyle in #1036 - Change default action for form submissions that redirect to the current location by @afcapel in #1072
Full Changelog: v7.3.0...v8.0.0-beta1