github vendurehq/vendure v3.5.4

6 hours ago

Release Highlights

Dashboard Fixes

A solid batch of fixes for the new React dashboard this release:

  • List relation custom fields now save correctly — Previously, list-type relation custom fields weren't being persisted properly. (#4206)
  • FacetValueInput passes native arrays — The onChange handler now correctly passes native arrays rather than wrapped values. (#4209)
  • ESM path alias resolution — Extension path aliases are now resolved relative to the source file location, fixing issues with dashboard extensions that use custom path mappings. (#4323)
  • Required args validation in ConfigurableOperationInput — Configurable operations (e.g. promotions, shipping calculators) now correctly validate required arguments before submission. (#4202)
  • Order detail refreshes after mutations — The order entity and history timeline now refresh correctly after all mutations, preventing stale data display. (#4338)
  • Missing translations & CI check — Added missing translation keys and a CI script to catch gaps going forward. (#4207)

Core Fixes

  • Promotion side effects now run before OrderLine save — Fixes an issue where in-memory changes made by promotion side effects (e.g. onActivate/onDeactivate modifying custom fields) were not being persisted. The side effects are now executed before the OrderLine save in both the applyPriceAdjustments and modifyOrder code paths. (#4350)
  • Entity events now emit the post-update entityVendureEntityEvent for "updated" events now correctly includes the entity state after the update, rather than the pre-update state. (#4352)
  • Channel-aware tax zone cache keys — Active tax zone lookups are now cached per-channel, fixing incorrect tax calculations when operating across multiple channels with different tax configurations. (#4329)

Create (Scaffolding)

  • Added ts-node to devDependencies — New projects scaffolded with @vendure/create now include ts-node, which was previously missing and caused errors when running migration scripts. (#4212)
  • Explicit localhost API host in Vite config — The storefront Vite template now uses an explicit localhost host for the API proxy, fixing connectivity issues on some systems. (#4349)

Other Improvements

  • Dashboard Playwright e2e test suite — A new end-to-end test suite using Playwright has been added for the dashboard, laying the groundwork for automated UI regression testing. (#4355)
  • GraphiQL transparent background — The embedded GraphiQL plugin now uses a transparent background, making it blend properly with the dashboard theme. (#4205)
  • Swahili translation — Added Swahili (sw) as a new admin UI language. (#4217)
  • Documentation overhaul — Major rework of the core-concepts docs with new pages, sidebar reorganisation, SEO metadata, and restored code examples. (#4347)

What's Changed

Full Changelog: v3.5.3...v3.5.4

Don't miss a new vendure release

NewReleases is sending notifications on new releases.