Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: wpengine/faustjs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @faustwp/core@3.6.0
Choose a base ref
...
head repository: wpengine/faustjs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @faustwp/core@4.0.0
Choose a head ref
  • 17 commits
  • 79 files changed
  • 3 contributors

Commits on Oct 20, 2026

  1. docs: explain server-side writes with Application Passwords and a sco…

    …ped role (#2673)
    
    * docs: explain server-side writes with Application Passwords and a scoped role
    
    * docs: say the event_writer role can only update its own events
    
    * docs: mention server-side writes in the guide's intro
    josephfusco authored Oct 20, 2026
    Configuration menu
    Copy the full SHA
    9bf786d View commit details
    Browse the repository at this point in the history
  2. fix(core): keep the login cookie in Safari on http://localhost (#2675)

    * fix(core): keep the login cookie in Safari on http://localhost
    
    * docs(core): link the WebKit bug behind the localhost cookie exception
    
    * refactor(core): rename the Secure cookie check to shouldUseSecureCookies
    
    * fix(core): always use Secure cookies in production builds
    josephfusco authored Oct 20, 2026
    Configuration menu
    Copy the full SHA
    ad53311 View commit details
    Browse the repository at this point in the history
  3. docs: refresh the roadmap around the app data store direction (#2680)

    * docs: refresh the roadmap around the app data store direction
    
    * docs: reword the roadmap's opening line
    josephfusco authored Oct 20, 2026
    Configuration menu
    Copy the full SHA
    d6f42f0 View commit details
    Browse the repository at this point in the history
  4. fix(faustwp): make blockset files readable by the web server (#2681)

    * fix(faustwp): make blockset files readable by the web server
    
    * fix(faustwp): skip symlinks and quiet chmod warnings on blockset files
    
    * test(faustwp): clean up the temp blocks dir even when an assertion fails
    josephfusco authored Oct 20, 2026
    Configuration menu
    Copy the full SHA
    89561a5 View commit details
    Browse the repository at this point in the history
  5. fix: end the WordPress session when logging out of the frontend (#2684)

    * fix(faustwp): add a logout URL that ends the WordPress session
    
    * fix(core): end the WordPress session when useLogout logs out
    
    * docs(core): explain that useLogout also ends the WordPress session
    
    * fix(core): time out the WordPress logout request after five seconds
    josephfusco authored Oct 20, 2026
    Configuration menu
    Copy the full SHA
    f32eb6b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    97969fc View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2026

  1. ci: install pcov from GitHub instead of PECL in the plugin test image (…

    …#2687)
    
    * ci: retry installing pcov when building the plugin test image
    
    * ci: build pcov from its GitHub release instead of PECL
    josephfusco authored Oct 21, 2026
    Configuration menu
    Copy the full SHA
    a9a68cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9956251 View commit details
    Browse the repository at this point in the history
  3. feat: connect Faust.js to WordPress with an Application Password (#2676)

    * feat(faustwp): accept Application Passwords for the FaustWP REST routes
    
    The token exchange, health check and telemetry routes accept an Application Password whose user can faustwp_exchange_tokens, which administrators have by default. The blockset route needs faustwp_upload_blocks, which maps to manage_options, or manage_network_options on Multisite. The secret key header keeps working.
    
    * feat(core): exchange tokens with a WordPress Application Password
    
    When FAUST_APPLICATION_USER and FAUST_APPLICATION_PASSWORD are set, the token exchange authenticates with them instead of FAUST_SECRET_KEY.
    
    * feat(cli): authenticate with a WordPress Application Password
    
    blockset, generatePossibleTypes, the health checks and telemetry send Basic auth when FAUST_APPLICATION_USER and FAUST_APPLICATION_PASSWORD are set, and fall back to FAUST_SECRET_KEY otherwise.
    
    * docs: explain connecting with an Application Password instead of the secret key
    
    * feat(core): explain a rejected Application Password in the token exchange
    
    * docs: clarify which credentials faust blockset needs
    
    * docs(faustwp): describe why blockset uploads need admin access
    
    * fix(cli): let schema and blockset commands run with an Application Password that can't exchange tokens
    
    The health check rejected a 403 from validate_secret_key for every command. generatePossibleTypes, generateGlobalStylesheet and blockset call WordPress with their own permissions, so for them a user without faustwp_exchange_tokens now gets a warning instead of an exit.
    
    * fix(core): end the WordPress session on logout with an Application Password
    
    The logout handler only sent FAUST_SECRET_KEY to FaustWP's logout route, so with an Application Password and no secret key, logging out skipped ending the WordPress session.
    josephfusco authored Oct 21, 2026
    Configuration menu
    Copy the full SHA
    f34412c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    adab9ec View commit details
    Browse the repository at this point in the history
  5. fix(core): update useAuth after logging in with useLogin (#2683)

    * fix(core): update useAuth after logging in with useLogin
    
    * docs(core): note that useAuth updates after a useLogin login
    
    * fix(core): always fetch the current viewer in useAuth after a login
    
    The viewer query used Apollo's cache, so logging in as a different user without a reload returned the previous user. A viewer that arrives after logging out is now ignored too.
    
    * fix(core): keep useAuth in sync across skip, expired sessions and account switches
    
    useAuth now catches up with logins and logouts that happened while skip was true, provides a login URL when an authenticated session ends, and ignores a viewer response that started before the latest login or logout, without sharing its request.
    josephfusco authored Oct 21, 2026
    Configuration menu
    Copy the full SHA
    03818f4 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2026

  1. chore(deps-dev): Bump ts-jest (#2690)

    Bumps the dev-dependencies group with 1 update: [ts-jest](https://github.com/kulshekhar/ts-jest).
    
    
    Updates `ts-jest` from 29.4.14 to 29.4.15
    - [Release notes](https://github.com/kulshekhar/ts-jest/releases)
    - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
    - [Commits](kulshekhar/ts-jest@v29.4.14...v29.4.15)
    
    ---
    updated-dependencies:
    - dependency-name: ts-jest
      dependency-version: 29.4.15
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    4c8a97b View commit details
    Browse the repository at this point in the history
  2. deps: Bump sass (#2691)

    Bumps the production-dependencies group with 1 update: [sass](https://github.com/sass/dart-sass).
    
    
    Updates `sass` from 1.105.1 to 1.105.2
    - [Release notes](https://github.com/sass/dart-sass/releases)
    - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
    - [Commits](sass/dart-sass@1.105.1...1.105.2)
    
    ---
    updated-dependencies:
    - dependency-name: sass
      dependency-version: 1.105.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: production-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    4da280c View commit details
    Browse the repository at this point in the history
  3. feat!: require Node.js 22 or newer (#2670)

    * feat!: require Node.js 22 or newer
    
    Raise engines.node to >=22 in @faustwp/core, @faustwp/cli, @faustwp/blocks, the root package and the examples, and drop the vitest override the examples only needed for npm 10.8 on Node.js 20.
    
    BREAKING CHANGE: @faustwp/core, @faustwp/cli and @faustwp/blocks now require Node.js 22 or newer. Sites that need to stay on Node.js 20 can keep using core and cli 3.x and blocks 6.x.
    
    * docs: word the Node.js 20 fallback the same way in the README and deploy guide
    
    * docs: recommend the latest release of a supported Node.js version
    josephfusco authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    79e700c View commit details
    Browse the repository at this point in the history
  4. feat(core): add WordPress-style body classes (#2689)

    * feat(core): add WordPress-style body classes with WordPressTemplate's bodyClass prop and useBodyClass
    
    * docs(core): add bodyClass to every page that renders WordPressTemplate
    
    * fix(core): sanitize term slugs in body classes like WordPress does
    
    * docs(core): note that body class slugs are sanitized like WordPress
    
    * fix(core): give a previewed posts page only the blog body class
    
    * fix(core): use the previewed post's ID in body classes and add logged-in only with bodyClass
    
    * test(core): reset the preview URL even when a body class test fails
    josephfusco authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    8e87663 View commit details
    Browse the repository at this point in the history
  5. ci: default to Node.js 24 and use the latest patch release (#2692)

    * ci: default to Node.js 24
    
    * ci: always set up the latest Node.js patch release
    josephfusco authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    44bb457 View commit details
    Browse the repository at this point in the history
  6. chore: release canary (#2677)

    * chore: release canary
    
    * chore: sync release files
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    3539eee View commit details
    Browse the repository at this point in the history
Loading