@hotwired/turbo 8.0.2 → 8.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Turbo 8.0.2
2
+ Turbo 8.0.3
3
3
  Copyright © 2024 37signals LLC
4
4
  */
5
5
  /**
@@ -4806,7 +4806,6 @@ class MorphRenderer extends PageRenderer {
4806
4806
  this.isMorphingTurboFrame = this.#isFrameReloadedWithMorph(currentElement);
4807
4807
 
4808
4808
  Idiomorph.morph(currentElement, newElement, {
4809
- ignoreActiveValue: true,
4810
4809
  morphStyle: morphStyle,
4811
4810
  callbacks: {
4812
4811
  beforeNodeAdded: this.#shouldAddElement,
@@ -5200,8 +5199,7 @@ class Session {
5200
5199
  refresh(url, requestId) {
5201
5200
  const isRecentRequest = requestId && this.recentRequests.has(requestId);
5202
5201
  if (!isRecentRequest) {
5203
- this.cache.exemptPageFromPreview();
5204
- this.visit(url, { action: "replace" });
5202
+ this.visit(url, { action: "replace", shouldCacheSnapshot: false });
5205
5203
  }
5206
5204
  }
5207
5205
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Turbo 8.0.2
2
+ Turbo 8.0.3
3
3
  Copyright © 2024 37signals LLC
4
4
  */
5
5
  (function (global, factory) {
@@ -4812,7 +4812,6 @@ Copyright © 2024 37signals LLC
4812
4812
  this.isMorphingTurboFrame = this.#isFrameReloadedWithMorph(currentElement);
4813
4813
 
4814
4814
  Idiomorph.morph(currentElement, newElement, {
4815
- ignoreActiveValue: true,
4816
4815
  morphStyle: morphStyle,
4817
4816
  callbacks: {
4818
4817
  beforeNodeAdded: this.#shouldAddElement,
@@ -5206,8 +5205,7 @@ Copyright © 2024 37signals LLC
5206
5205
  refresh(url, requestId) {
5207
5206
  const isRecentRequest = requestId && this.recentRequests.has(requestId);
5208
5207
  if (!isRecentRequest) {
5209
- this.cache.exemptPageFromPreview();
5210
- this.visit(url, { action: "replace" });
5208
+ this.visit(url, { action: "replace", shouldCacheSnapshot: false });
5211
5209
  }
5212
5210
  }
5213
5211
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotwired/turbo",
3
- "version": "8.0.2",
3
+ "version": "8.0.3",
4
4
  "description": "The speed of a single-page web application without having to write any JavaScript",
5
5
  "module": "dist/turbo.es2017-esm.js",
6
6
  "main": "dist/turbo.es2017-umd.js",