Skip to content

Commit

Permalink
Turbo v8.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
afcapel committed Feb 21, 2024
1 parent 6a60eb4 commit 5c3046d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
7 changes: 3 additions & 4 deletions app/assets/javascripts/turbo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
Turbo 8.0.2
Turbo 8.0.3
Copyright © 2024 37signals LLC
*/
(function(prototype) {
Expand Down Expand Up @@ -3818,7 +3818,6 @@ class MorphRenderer extends PageRenderer {
#morphElements(currentElement, newElement, morphStyle = "outerHTML") {
this.isMorphingTurboFrame = this.#isFrameReloadedWithMorph(currentElement);
Idiomorph.morph(currentElement, newElement, {
ignoreActiveValue: true,
morphStyle: morphStyle,
callbacks: {
beforeNodeAdded: this.#shouldAddElement,
Expand Down Expand Up @@ -4147,9 +4146,9 @@ class Session {
refresh(url, requestId) {
const isRecentRequest = requestId && this.recentRequests.has(requestId);
if (!isRecentRequest) {
this.cache.exemptPageFromPreview();
this.visit(url, {
action: "replace"
action: "replace",
shouldCacheSnapshot: false
});
}
}
Expand Down
4 changes: 2 additions & 2 deletions app/assets/javascripts/turbo.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/assets/javascripts/turbo.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hotwired/turbo-rails",
"version": "8.0.2",
"version": "8.0.3",
"description": "The speed of a single-page web application without having to write any JavaScript",
"module": "app/javascript/turbo/index.js",
"main": "app/assets/javascripts/turbo.js",
Expand All @@ -13,7 +13,7 @@
"release": "npm publish && git commit -am \"$npm_package_name v$npm_package_version\" && git push"
},
"dependencies": {
"@hotwired/turbo": "^8.0.2",
"@hotwired/turbo": "^8.0.3",
"@rails/actioncable": "^7.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
chalk "^2.4.2"
js-tokens "^4.0.0"

"@hotwired/turbo@^8.0.2":
version "8.0.2"
resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-8.0.2.tgz#c31cdadfe66b98983066a94073b26fc7e15835f0"
integrity sha512-3K6QZkwWfosAV8zuM5bY+kKF02jp1lMQGsWfSE6wXdZBRBP3ah+Vj26YNqYtkEomBwRWA0QKhZgyJP7xOQkVEg==
"@hotwired/turbo@^8.0.3":
version "8.0.3"
resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-8.0.3.tgz#338e07278f4b3c76921328d3c92dbc4831c209d0"
integrity sha512-qLgp7d6JaegKjMToTJahosrFxV3odfSbiekispQ3soOzE5jnU+iEMWlRvYRe/jvy5Q+JWoywtf9j3RD4ikVjIg==

"@jridgewell/gen-mapping@^0.3.0":
version "0.3.3"
Expand Down

0 comments on commit 5c3046d

Please sign in to comment.