Skip to content

Version Packages#2267

Merged
josephfusco merged 3 commits intocanaryfrom
changeset-release/canary
Mar 23, 2026
Merged

Version Packages#2267
josephfusco merged 3 commits intocanaryfrom
changeset-release/canary

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Feb 18, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to canary, this PR will be updated.

Releases

@faustwp/core@3.4.0

Minor Changes

  • ec26ac4: Feat: Added support next/dynamic imports for templates to reduce initial bundle size in a way that's backwards compatible with static imports.

    This solves a known issue in Faust where all defined templates are bundled together and loaded on every WordPress page. By enabling the use of dynamic importing of templates this issue is resolved. Now templates are only loaded as needed per route.

    It's recommended you migrate to dynamic imports by updating your template file. Here's an example:

    // Old Static Templates
    import category from './category';
    import tag from './tag';
    import frontPage from './front-page';
    import page from './page';
    import single from './single';
    
    export default {
    	category,
    	tag,
    	'front-page': frontPage,
    	page,
    	single,
    };
    
    // New Dynamic Templates
    import dynamic from 'next/dynamic';
    
    const category = dynamic(() => import('./category.js'));
    const tag = dynamic(() => import('./tag.js'));
    const frontPage = dynamic(() => import('./front-page.js'));
    const page = dynamic(() => import('./page.js'));
    
    // The above examples assume use of default exports. If you are using named exports you'll need to handle that:
    const single = dynamic(() => import('./single.js').then(mod => mod.Single));
    
    export default {
    	category,
    	tag,
    	'front-page': frontPage,
    	page,
    	single,
    };

    For further info see the Next.js docs on the use of next/dynamic.

Patch Changes

  • 91886b1: Upgraded fast-xml-parser from v5.3.4 to v5.3.6 to incorporate the latest bug fixes, performance improvements, and minor stability enhancements.
  • 95cacbe: Fixed an issue where dynamic template components were rendered via the next/dynamic wrapper directly, causing hydration mismatches and double renders, by resolving the dynamic component to its inner function and storing it in state before rendering.

@faustwp/wordpress-plugin@1.8.6

Patch Changes

  • 56dfa51: - Updated phpstan/phpstan from 1.10.55 to 1.12.33
    • Updated psy/psysh from v0.12.7 to v0.12.19
    • Updated phpunit/phpunit from 9.6.22 to 9.6.33
    • Updated symfony/process from v6.4.15 to v6.4.33

@github-actions github-actions Bot requested a review from a team as a code owner February 18, 2026 13:57
@github-actions github-actions Bot force-pushed the changeset-release/canary branch 6 times, most recently from 14eb299 to 7b7400e Compare February 24, 2026 10:23
@josephfusco josephfusco mentioned this pull request Mar 2, 2026
@github-actions github-actions Bot force-pushed the changeset-release/canary branch 3 times, most recently from 891cea7 to 538086d Compare March 2, 2026 16:35
@github-project-automation github-project-automation Bot moved this to 🆕 Backlog in Headless OSS Mar 3, 2026
@josephfusco josephfusco moved this from 🆕 Backlog to 👀 In review in Headless OSS Mar 3, 2026
@github-actions github-actions Bot force-pushed the changeset-release/canary branch 3 times, most recently from 85dbc87 to f315d81 Compare March 9, 2026 11:08
@josephfusco josephfusco enabled auto-merge (squash) March 9, 2026 15:31
@github-actions github-actions Bot force-pushed the changeset-release/canary branch from f315d81 to 023e8e3 Compare March 11, 2026 10:11
@github-actions github-actions Bot force-pushed the changeset-release/canary branch 5 times, most recently from d1bced8 to 3eac255 Compare March 23, 2026 11:55
@github-actions github-actions Bot force-pushed the changeset-release/canary branch from 3eac255 to 096dc24 Compare March 23, 2026 13:53
@josephfusco josephfusco disabled auto-merge March 23, 2026 14:32
@josephfusco josephfusco enabled auto-merge (squash) March 23, 2026 14:32
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented Mar 23, 2026

📦 Next.js Bundle Analysis for @faustwp/getting-started-example

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@josephfusco josephfusco merged commit aefa8f5 into canary Mar 23, 2026
16 of 18 checks passed
@josephfusco josephfusco deleted the changeset-release/canary branch March 23, 2026 14:41
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Closed in Headless OSS Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Closed

Development

Successfully merging this pull request may close these issues.

2 participants