Releases: hotwired/turbo
Releases · hotwired/turbo
v8.0.11
What's Changed
- Read the csp meta tag nonce attribute and fall back to content by @codergeek121 in #1254
New Contributors
- @codergeek121 made their first contribution in #1254
Full Changelog: v8.0.10...v8.0.11
v8.0.10
What's Changed
- Infer
renderElement
duringRenderer
construction by @seanpdoyle in #1028
Full Changelog: 8.0.6...v8.0.10
8.0.6
What's Changed
- Configure Submitter disabling by @seanpdoyle in #1216
- Introduce
Turbo.config
object by @seanpdoyle in #1217 - Fix devcontainer configuration by @radanskoric in #1256
- Fix temporary elements disappearing on subsequent GET requests that redirect to a page with data-turbo-temporary elements. by @mikepayready in #1302
- Bump micromatch from 4.0.5 to 4.0.8 by @dependabot in #1304
- Delegate
Turbo.session
properties toTurbo.config
by @seanpdoyle in #1306 - Lift the frame morphing logic up to FrameController.reload by @krschacht in #1192
- Introduce
unvisitableExtensions
to removeisHTML
implementation by @edwinv in #1230
New Contributors
- @radanskoric made their first contribution in #1256
- @mikepayready made their first contribution in #1302
- @krschacht made their first contribution in #1192
Full Changelog: v8.0.5...8.0.6
v8.0.5
What's Changed
- Add Turbo stream morph action by @omarluq in #1185
- Bugfix/enable turbo stream morph on text by @hcdeng in #1225
- Check new snapshot (instead of previous) for refresh-method by @scuml in #1123
- Fix test to verify no network request on prefetched link click by @davidalejandroaguilar in #1257
- style: align prettier trailing comma with eslint by @Rykus0 in #1260
- Don't lose focus due to autofocus when morphing pages by @jorgemanrubia in #1267
- Prevent Refresh from interrupting ongoing Visit by @seanpdoyle in #1213
- Resolve Turbo Frame navigation bug by @seanpdoyle in #1231
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #1280
- Bump express from 4.18.2 to 4.19.2 by @dependabot in #1233
- Update JSDoc for
StreamElement
by @seanpdoyle in #1193 - Extract and re-use element morphing logic by @seanpdoyle in #1234
- Re-structure
turbo-stream[action=morph]
support by @seanpdoyle in #1240 - Ensure fetch method is always uppercase by @npezza93 in #1169
- Ignore links and forms that target
"_blank"
by @seanpdoyle in #1235 - Add
turbo:before-prefetch
test coverage by @seanpdoyle in #1205
New Contributors
- @omarluq made their first contribution in #1185
- @hcdeng made their first contribution in #1225
- @Rykus0 made their first contribution in #1260
Full Changelog: v8.0.4...v8.0.5
v8.0.4
What's Changed
- Bump ip from 1.1.8 to 1.1.9 by @dependabot in #1197
- Morphing + complete frame issue : Stop reloading turbo frames when complete attribute changes by @Intrepidd in #1175
- Use Playwright assertions for autofocus by @seanpdoyle in #1219
Full Changelog: v8.0.3...v8.0.4
v8.0.3
What's Changed
- Omit
ignoreActiveValue: true
Morph option by @seanpdoyle in #1195 - Ensure that page refreshes do not trigger a snapshot cache by @afcapel in #1196
Full Changelog: v8.0.2...v8.0.3
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
FetchOptions
from 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:load
by @seanpdoyle in #1036 - Avoid infinite recursion from
window.fetch
name 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
StreamSource
when<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-purpose
to avoid it being stripped by @pfeiffer in #1108 - Morph with
ignoreActiveValue: true
by @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
: replacedataset
withgetAttribute
by @seanpdoyle in #1148- Drive
turbo-frame
withTurbo.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