Skip to content

chore(deps): bump @friendsofshopware/vitest-shopware-admin-bridge to 0.2.2 - #540

Merged
shyim merged 1 commit into
mainfrom
chore/bump-vitest-shopware-admin-bridge-0.2.2
Nov 22, 2026
Merged

shyim merged 1 commit into
mainfrom
chore/bump-vitest-shopware-admin-bridge-0.2.2

Conversation

@shyim

@shyim shyim commented Nov 22, 2026

Copy link
Copy Markdown
Member

What

Bumps @friendsofshopware/vitest-shopware-admin-bridge from ^0.2.1 to ^0.2.2 in src/Resources/app/administration.

Why

Shopware trunk now guards the deprecated Shopware.State getter/setter with Feature.triggerDeprecationOrThrow('V6_8_0_0', …). The bridge's feature mock only exposed isActive, so the administration test setup crashed on trunk:

TypeError: this.Feature.triggerDeprecationOrThrow is not a function
 ❯ ShopwareClass.get State [as State] .../core/shopware.ts:199:22
 ❯ .../vitest-shopware-admin-bridge/src/setup.ts:321:30

Bridge 0.2.2 mocks the full static Feature API (including triggerDeprecationOrThrow, silence, isSilenced, …), fixing the trunk run. See FriendsOfShopware/vitest-shopware-admin-bridge#10.

The lockfile also picks up the bridge's vue-i18n 10 → 11 dependency chain (@intlify/*), required by 0.2.2.

Verification

  • Reproduced the exact TypeError at shopware.ts:199 with 0.2.1 against a current trunk Administration checkout; 0.2.2 resolves it.
  • npm run test:unit: 47 files / 222 tests pass against both the local trunk checkout and a current guarded-trunk Administration checkout.

…0.2.2

Shopware trunk now guards the deprecated Shopware.State facade with
Feature.triggerDeprecationOrThrow(), which crashed the administration
test setup with:

  TypeError: this.Feature.triggerDeprecationOrThrow is not a function

Bridge 0.2.2 mocks the full static Feature API, fixing the trunk test
run. Also pulls in the bridge's vue-i18n 11 dependency chain.
@greptile-apps

greptile-apps Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This dependency update appears safe to merge.

Summary

Updates @friendsofshopware/vitest-shopware-admin-bridge to 0.2.2 to address the reported test setup crash on Shopware trunk.

  • Administration tests use the newer Shopware bridge for guarded feature calls.

Reviews (1) · Last reviewed commit: "chore(deps): bump @friendsofshopware/vit..." · Reviewed by Greptile

@shyim
shyim merged commit 138b46f into main Nov 22, 2026
8 checks passed
@shyim
shyim deleted the chore/bump-vitest-shopware-admin-bridge-0.2.2 branch November 22, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant