Skip to content

Bump ai frontend for premium#23081

Merged
JorPV merged 2 commits intotrunkfrom
bump-ai-frontend-for-premium
Mar 17, 2026
Merged

Bump ai frontend for premium#23081
JorPV merged 2 commits intotrunkfrom
bump-ai-frontend-for-premium

Conversation

@vraja-pro
Copy link
Copy Markdown
Contributor

@vraja-pro vraja-pro commented Mar 16, 2026

Context

We want to use new components from ai-frontend in premium. This bumps @yoast/ai-frontend from ^0.19.0 to ^0.24.0.

Summary

This PR can be summarized in the following changelog entry:

  • Bumps @yoast/ai-frontend to 0.24.0 to enable new components for premium.

Relevant technical choices:

  • Bumped @yoast/ai-frontend from ^0.19.0 to ^0.24.0, which also updates transitive dependencies (@yoast/search-metadata-previews, @yoast/social-metadata-previews, @yoast/ui-library).

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

Relevant test scenarios

  • Changes should be tested with the browser console open
  • Changes should be tested on different posts/pages/taxonomies/custom post types/custom taxonomies
  • Changes should be tested on different editors (Default Block/Gutenberg/Classic/Elementor/other)
  • Changes should be tested on different browsers
  • Changes should be tested on multisite

Test instructions for QA when the code is in the RC

  • QA should use the same steps as above.

QA can test this PR by following these steps:

  • Verify the AI generator features in Yoast SEO Premium still function correctly after the dependency bump.

Impact check

This PR affects the following parts of the plugin, which may require extra testing:

  • AI generator / Premium AI features

Other environments

  • This PR also affects Shopify. I have added a changelog entry starting with [shopify-seo], added test instructions for Shopify and attached the Shopify label to this PR.
  • This PR also affects Yoast SEO for Google Docs. I have added a changelog entry starting with [yoast-doc-extension], added test instructions for Yoast SEO for Google Docs and attached the Google Docs Add-on label to this PR.

Documentation

  • I have written documentation for this change. For example, comments in the Relevant technical choices, comments in the code, documentation on Confluence / shared Google Drive / Yoast developer portal, or other.

Quality assurance

  • I have tested this code to the best of my abilities.
  • During testing, I had activated all plugins that Yoast SEO provides integrations for.
  • I have added unit tests to verify the code works as intended.
  • If any part of the code is behind a feature flag, my test instructions also cover cases where the feature flag is switched off.
  • I have written this PR in accordance with my team's definition of done.
  • I have checked that the base branch is correctly set.
  • I have run grunt build:images and commited the results, if my PR introduces new images or SVGs.

Innovation

  • No innovation project is applicable for this PR.
  • This PR falls under an innovation project. I have attached the innovation label.
  • I have added my hours to the WBSO document.

Fixes #

@vraja-pro vraja-pro added the changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog label Mar 16, 2026
@JorPV JorPV requested a review from Copilot March 17, 2026 09:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Premium plugin’s JS dependency on @yoast/ai-frontend to a newer version so Premium can use newly introduced UI/components from that package (and its updated transitive Yoast UI dependencies).

Changes:

  • Bump @yoast/ai-frontend from ^0.19.0 to ^0.24.0 in packages/js/package.json.
  • Update yarn.lock to lock @yoast/ai-frontend@0.24.0 and updated transitive Yoast packages.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
packages/js/package.json Updates the declared dependency range for @yoast/ai-frontend to ^0.24.0.
yarn.lock Updates the lockfile entries for @yoast/ai-frontend@0.24.0 and related transitive dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The abbrev package entry was incorrectly merged with array-flatten
during dependency deduplication, causing yarn install to populate
node_modules/abbrev with array-flatten's code. This broke grunt
(via nopt -> abbrev) on CI with a fresh install.
@JorPV JorPV added this to the 27.3 milestone Mar 17, 2026
@JorPV
Copy link
Copy Markdown
Contributor

JorPV commented Mar 17, 2026

LGTM ✅

@JorPV JorPV merged commit 1ab7daf into trunk Mar 17, 2026
20 checks passed
@JorPV JorPV deleted the bump-ai-frontend-for-premium branch March 17, 2026 10:51
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 336bab5a4236c135d2b1d938fe323e01e64f61ed

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage remained the same at 53.469%

Files with Coverage Reduction New Missed Lines %
packages/js/src/first-time-configuration/tailwind-components/steps/finish/finish-step.js 1 0.0%
Totals Coverage Status
Change from base Build ade96a7581ed1d0f331941e19b9887be6631906d: 0.0%
Covered Lines: 34321
Relevant Lines: 64490

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants