Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/assetupdater-reinit-bypass.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @axistaylor/nextpress

## 1.8.2

### Patch Changes

- [#73](https://github.com/AxisTaylor/nextpress/pull/73) [`650fbea`](https://github.com/AxisTaylor/nextpress/commit/650fbea3f75e1d1b891d4d28e38ca0de5608bec0) Thanks [@kidunot89](https://github.com/kidunot89)! - AssetUpdater now re-executes WordPress view scripts on client-side navigation, so scripts using the standard `document.readyState` / `DOMContentLoaded` ready-check re-initialize for the new page's content without any SPA-specific code. Adds a `reinitBypassHandles` prop to opt non-idempotent scripts (e.g. `wc-order-attribution`, whose `customElements.define()` throws on a second run) out of re-running — those load once and are skipped on subsequent navigations.

## 1.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axistaylor/nextpress",
"version": "1.8.1",
"version": "1.8.2",
"description": "Render WordPress Gutenberg content 1:1 in Next.js. Automatic script/stylesheet loading, middleware proxy, and multi-WordPress support.",
"keywords": [
"wordpress",
Expand Down
Loading