Skip to content

Latest commit

 

History

History
521 lines (421 loc) · 67 KB

CHANGELOG.md

File metadata and controls

521 lines (421 loc) · 67 KB

2.1.6 (2024-01-16)

Fixes

  • admin-ui Fix auto-rename of variants when product is renamed (65aced6), closes #2579
  • admin-ui Fix bug in cancelling order lines (913e6d8), closes #2608
  • admin-ui Fix long transactionId layout issue (#2595) (7603ea4), closes #2595
  • admin-ui Fix route config for settings tabs (4e7bbb1), closes #2623
  • admin-ui Improve collection breadcrumb styling (#2589) (f5acf0f), closes #2589
  • admin-ui Improve tabs hover style (#2584) (fa7152c), closes #2584
  • admin-ui Login page dark mode color fix (#2582) (c680486), closes #2582
  • core Admin can only read Roles at or below their permission level (fc5d981), closes #2492
  • core Fix error when using HttpHealthCheckStrategy (9ab2e4d), closes #2617
  • core Fix hydration error edge-case when removing order line (6fca656), closes #2548
  • core Fix permissions error on creation of superadmin (3e4e31c), closes #2492 #2478
  • core Loosen typing of custom field relation inverseSide function (a9696c9)
  • core Remove inapplicable shipping methods when updating an order (f04b033), closes #2548 #2540
  • create Add a slash at the end of assetUrl to avoid being ignored (#2605) (b99dfbc), closes #2605

2.1.5 (2023-12-14)

Fixes

  • admin-ui Fix display of asset detail focal point buttons (1b58aa7)
  • core Export VendureEntityEvent abstract class from index (#2556) (c46cf74), closes #2556
  • core Fix bug when instantiating entity from object with getter (d09452e), closes #2574
  • core Fix loading multiple customField relations (#2566) (99e04d1), closes #2566 #2555
  • core OrderLineEvent includes ID of deleted OrderLine (ee04032), closes #2574
  • core Remove redundant constraint when creating allocations (52c0841), closes #2563
  • core Send the correct amount to refundOrder (#2559) (b5a265f), closes #2559
  • elasticsearch-plugin Fix type to allow the promise on custom mapping definition (#2562) (8e9ee07), closes #2562
  • payments-plugin Fix Mollie channel awareness (#2575) (cc4826d), closes #2575
  • payments-plugin Mollie - ignore completed state to prevent unneccesary error throwing (#2569) (ed80c68), closes #2569
  • stellate-plugin Add stellate plugin (2254576)

2.1.4 (2023-11-24)

Fixes

  • admin-ui Fix admin ui code templates (#2545) (a9e67fe), closes #2545
  • admin-ui Fix card component colors in dark theme (c077e15)
  • admin-ui Fix code editor border color for dark mode (9eb9d9d)
  • admin-ui Fix encoding of configurable arg values (84764b1), closes #2539
  • admin-ui Fix localized custom fields in Promotion & PaymentMethod (d665ec6)
  • admin-ui Fix responsive layout of modal dialog for assets (5176017), closes #2537
  • admin-ui Fix stack overflow when datetime picker inside a list (f7b4f46)
  • core Fix custom MoneyStrategy handling from plugins (a09c2b2), closes #2527
  • core Fix DefaultSearchPlugin for non-default languages (#2515) (fb0ea13), closes #2515 #2197
  • core Fix entity hydration postgres edge-case (9546d1b), closes #2546
  • core Fix i18n custom fields in Promotion & PaymentMethod (3d6edb5)
  • core Log error on misconfigured localized custom fields (5775447)
  • core Relax validation of custom process states (cf301eb)

2.1.3 (2023-11-17)

Security

This patch addresses the following security advisory: https://github.com/vendure-ecommerce/vendure/security/advisories/GHSA-wm63-7627-ch33

Fixes

  • admin-ui Fix getting currencyCode in create product variant dialog (#2508) (c4595e7), closes #2508
  • admin-ui Fix handling of Country custom fields (3538bee)
  • admin-ui Fix promotion list actionbar location id (18a0b2c)
  • admin-ui Prevent module constructor side effects from repeating (a684b59), closes #2455
  • admin-ui Update channel switcher after deleting channel (32f592d), closes #2511
  • core Add constraints to Channel currencyCode settings (0ebf0fb), closes #GHSA-wm63-7627-ch33
  • core Allow case-sensitive Administrator identifiers (6527e23), closes #2485
  • core Apply pricing adjustments against updated order (#2512) (272be66), closes #2512
  • core Correctly handle changing Order currencyCode (f544cf3), closes #2469 #GHSA-wm63-7627-ch33
  • core Fix default currencyCode change error in MySQL (38e739a)
  • core Fix validation of fulfillment state config (cb13de4)
  • core Improved validation of state machine configs (b44cc88), closes #2521
  • core Prevent duplicate variant price when updating currencyCode (feecfae), closes #2391
  • core Prevent use of unrecognized currency codes in RequestContext (fee503f), closes #GHSA-wm63-7627-ch33
  • core Remove insecure fallback from default price selection strat (6f34d06), closes #GHSA-wm63-7627-ch33
  • payments-plugin Update Stripe peerDependency version (6926638)
  • testing Allow NestJs to rethrow errors on e2e tests (#2514) (1348ce0), closes #2514

2.1.2 (2023-11-03)

Fixes

  • admin-ui Add descriptive error when using getBreadcrumbs wrong (b8c4a77)
  • admin-ui Add horizontal scrollbar support to address select dialog (60d991b)
  • admin-ui Add some new ltr/rtl compatibility (#2466) (e4d1545), closes #2466
  • admin-ui Fix layout of multiple addresses on custom detail page (7a3e378)
  • admin-ui Fix styling of some dialogs with tabs (f601acc)
  • admin-ui Use generics in ReactDataTableComponentProps (#2500) (730a103), closes #2500
  • core Assign assets when assigning Collection to channel (a8481bf), closes #2122 #2478
  • core Fix collection findBySlug issue (#2480) (894ace7), closes #2480 #2395
  • core Fix configurable operation id decoding when using uuids (#2483) (47f606c), closes #2483
  • payments-plugin Expose status of Mollie payment methods (#2499) (071aa9db)

2.1.1 (2023-10-18)

Fixes

  • admin-ui Add missing RTL compatibility to some admin-ui components (#2451) (ec61b58), closes #2451
  • admin-ui Add unique location id for prod detail variants table (ce2b251)
  • admin-ui Do not load pending search index updates if permissions are insufficient (#2460) (08ad982), closes #2460 #2456
  • admin-ui Fix customer group select input (02fe6ae), closes #2441
  • admin-ui Fix initial render of code editor input marking dirty (9dda349)
  • admin-ui Fix setting facet values on new product (9d88db2), closes #2355
  • admin-ui Improve Italian translations (#2445) (3fd93c7), closes #2445
  • admin-ui Improvements to Nepali translation (#2463) (4035fda), closes #2463
  • admin-ui Make ExtensionHostComponent work with new extension APIs (b917e62)
  • admin-ui Make utility margin/padding classes RTL-compatible (74c6634)
  • common Remove trademark symbols from normalized strings (#2447) (9aac191), closes #2447
  • core Fix custom field resolver for eager translatable relation (#2457) (09dd7df), closes #2453
  • core Fix regression in ProductService.findOne not using relations (92cad43), closes #2443
  • core Normalize email address on updating Customer (957d0ad), closes #2449
  • payments-plugin Fix Mollie klarna AutoCapture (#2446) (8db459a), closes #2446
  • payments-plugin Fix Stripe controller crashing server instance (#2454) (b0ece21), closes #2454 #2450
  • payments-plugin Idempotent 'paid' Mollie webhooks (#2462) (2f7a8d5), closes #2462

Features

  • admin-ui Add Croatian translation (#2442) (b594c55), closes #2442
  • admin-ui Add product slug in product multi selector dialog component (#2461) (b7f3452), closes #2461

2.1.0 (2023-10-11)

Fixes

  • admin-ui Correctly display job retries (d3107fd), closes #1467
  • admin-ui Fix back/forward nav issues with data table filters (58cb5a5)
  • admin-ui Fix border colour of affixed input (e2cb74b)
  • admin-ui Fix component for new Angular extension route API (6fe1bd0)
  • admin-ui Fix error when data table filters not defined (2425a33)
  • admin-ui Give all data table columns immutable ids (73a78db)
  • admin-ui Improve RTL styles (056d205)
  • admin-ui Limit FacetValues in Facet list component (b445955), closes #1257
  • admin-ui Reinstate serialized filter state in url (a5bc0c1)
  • admin-ui Update active filter preset on back/forward navigation (844876e)
  • admin-ui Use correct defaults for nullable custom fields (#2360) (88430e5), closes #2360
  • core Downgrade ForbiddenError from Error to Warn log level (c186392), closes #2383
  • core Export EntityId and Money decorators (4664dee)
  • core Fix circular dependency issue in SQLiteSearchStrategy (f2e2e32)
  • core Fix resolution of facet valueList for postgres (1d8fe47)
  • job-queue-plugin Correct behaviour of job list query with BullMQ (c148a92), closes #2120 #1327
  • job-queue-plugin Correct retry setting for BullMQ jobs (972ba0e), closes #1467
  • ui-devkit Fix scaffold logic for custom providers (2f2ddb5)

Features

  • admin-ui Add data table filter presets functionality (a656ef2)
  • admin-ui Add filter preset support to Collection list (cbfb402)
  • admin-ui Add image carousel to asset preview dialog (#2370) (cd7b2bf), closes #2370 #2129
  • admin-ui Add initial React support for UI extensions (1075dd7)
  • admin-ui Add more native React UI components (04e03f8)
  • admin-ui Add Persian/Farsi i18n messages (#2418) (1193863), closes #2418
  • admin-ui Add useRouteParams react hook (b63fb7f)
  • admin-ui Admin UI rtl with Arabic translation improvements (#2322) (44ea12b), closes #2322
  • admin-ui Allow custom components in data table columns (d3474dd), closes #2347 #2353
  • admin-ui Allow custom React components in data table columns (5cde775), closes #2347 #2353
  • admin-ui Display original quantity after order has been modified (a36c6e0)
  • admin-ui Enable Nepali translations (342fafa)
  • admin-ui Expose providers to nav menu routerLink function (1bae40e)
  • admin-ui Implement custom components in Collection data table (4ab7c1e)
  • admin-ui Implement custom components in order detail data table (#2420) (e92e820), closes #2420
  • admin-ui Implement drag-and-drop reorder of filter presets (8e06705)
  • admin-ui Implement filter preset renaming (8b52e6f)
  • admin-ui Implement job queue filtering by status (baeb036)
  • admin-ui Implement react Card component (c588a1f)
  • admin-ui Implement relative date filtering (d07a5f3)
  • admin-ui Implement simplified API for UI route extensions (b9ca367)
  • admin-ui Implement values pagination for Facet detail view (4cf1826), closes #1257
  • admin-ui Improve dev mode extension point display (4678930)
  • admin-ui Improve naming & layout of catalog & stock locations (8452300)
  • admin-ui Improved control over ActionBar buttons (065a2b4)
  • admin-ui Initial support for React UI extensions (83d5756)
  • admin-ui Style improvements to table and form input borders (5287287)
  • admin-ui Support for React-based custom detail components (55d9ffc)
  • admin-ui Update to Angular v16.2 (608d5d3)
  • cli Implement plugin scaffold command (a6df4c1)
  • cli Include custom CRUD permissions with plugin scaffold (0c62b6f)
  • core Add Facet.valueList resolver for paginated values (09c7175), closes #1257
  • core Add maximum coupon usage (#2331) (bdd2720), closes #2331 #2330
  • core Pass variant to ProductVariantPriceCalculationStrategy (fee995c), closes #2398
  • core Support bi-directional relations in customFields (#2365) (0313ce5), closes #2365
  • core Update NestJS to v10, Apollo Server v4 (b675fda)
  • create Allow selection of package manager (6561bb7)
  • create Better defaults for project scaffold (fa683e7)
  • email-plugin Expose template vars to template loader (#2243) (78ea016), closes #2243 #2242
  • job-queue-plugin Implement default cleanup of old BullMQ jobs (6c1d7bb), closes #1425
  • payments-plugin Allow custom params to be passed to Stripe API (1b29097), closes #2412
  • ui-devkit Add experimental wrapper for shared ui providers (daf6f8c)

BREAKING CHANGE

  • In the Admin UI, the "stock locations" list and detail views have been moved from the "catalog" module to the "settings" module. Also, the menu item & breadcrumb for "inventory" has been renamed to "products". This is an end-user breaking change rather than a code breaking change. Any UI extensions that link to a /catalog/inventory/... route will still work as there is a redirect in place to /catalog/products/....

  • The update of Apollo Server to v4 includes some breaking changes if you have defined any custom ApolloServerPlugins. See the Apollo migration guide for full details: https://www.apollographql.com/docs/apollo-server/migration/

  • The new Promotion.usageLimit field will require a non-destructive database migration to be performed. You should not need to do any manual migration work - it is a straightforward addition of a field to a table.

  • The ForbiddenError now defaults to a "warning" rather than "error" log level. Previously this was causing too much noise in logging services and the new level better reflects the severity of the error.

  • If after update you are running into the error [GraphQL error]: Message: POST body missing, invalid Content-Type, or JSON object has no keys., this may be due to having the body-parser json middleware configured in your app. You should be able to safely remove this middleware in order to resolve the issue.

2.0.10 (2023-10-11)

Fixes

  • core Use correct Money type on ProductVariantPrice.price field (446f61c)
  • payments-plugin List missing available Mollie payment methods for orders api (#2435) (23a0499), closes #2435

2.0.9 (2023-09-29)

Fixes

  • core Fix discount calculation error edge-case (7549aad), closes #2385

2.0.8 (2023-09-27)

Fixes

  • admin-ui Fix creating nullable string fields (7e2c17a), closes #2343
  • admin-ui Fix link to Asset detail from asset picker (4539de3), closes #2411
  • core Implement Refund lines fields resolver (6b4da6c), closes #2406
  • core Prevent negative total from compounded promotions (0740c87), closes #2385
  • payments-plugin Fix stripe payment transaction handling (#2402) (fd8a777), closes #2402
  • admin-ui Add image carousel to asset preview dialog (#2370) (bd834d0), closes #2370 #2129

2.0.7 (2023-09-08)

Fixes

  • admin-ui Add custom field support to Customer list (298e90c)
  • admin-ui Added and improved Italian translations (#2371) (19292a8), closes #2371
  • admin-ui Correct handling of ID filters in data tables (52ddd96)
  • admin-ui Data table filters react to page navigation (2471350)
  • admin-ui Fix alignment of facet value chip (7eb43ef)
  • admin-ui Fix channel switcher icon style (6e70794)
  • admin-ui Fix filter shortcut triggering from rich text component (e6f95b3), closes #2384
  • admin-ui Fix styling of custom field tabs (ef3d2f9)
  • admin-ui Reinstate multi-deletion of Assets (a203e50), closes #380
  • admin-ui Use appropriate default values for custom fields (85a8866), closes #2362
  • admin-ui Aligns items horizontally in the Chip component (19d3e51)
  • admin-ui Add price field on variation dialog modal (#2378) (5b99bae), closes #2378
  • core Fix channel association on promotion update (#2376) (47e688d), closes #2376

2.0.6 (2023-08-11)

Fixes

  • admin-ui Apply max dimensions to relation asset preview (8169c4e), closes #2320
  • admin-ui Correctly display decimal tax rate in order summary (1f507fa), closes #2339
  • admin-ui Correctly display widget titles in dropdown (59a1d5d), closes #2334
  • admin-ui Fix error when saving multiple new variant options (e5ad0ee), closes #2326
  • admin-ui Fix header overlap on empty data tables (ada153e), closes #2323 #2325
  • admin-ui Fix updating variant tax category (ff29e9a), closes #2336
  • admin-ui Fix width of affixed inputs (75d51ed)
  • admin-ui Fulfillment button takes existing state into account (ef357cd)
  • admin-ui Fulfillment dialog enforces max quantity (571b157), closes #2329
  • admin-ui Prevent product creation without variants (3364559), closes #2337
  • core Fix entity hydration of nested array entities (55009a5), closes #2013
  • core Fix logic relating to partial fulfillments (6f48ee2), closes #2324 #2191
  • core Prevent fulfillments with too great a quantity (579459a), closes #2329

2.0.5 (2023-07-27)

Fixes

  • admin-ui Add channelTokenKey to AdminUiConfig (#2307) (5162d0c), closes #2307
  • admin-ui Add custom detail component locationId and action bar items to draft order detail (#2286) (27c9ae7), closes #2286
  • admin-ui Add missing Russian translation strings (#2309) (9524add), closes #2309
  • admin-ui Add product variant name filter in product variant list (#2271) (b17494d), closes #2271
  • admin-ui Allow period in slug (7c9d110), closes #2304
  • admin-ui Fix creation of zero tax rates (5f898b4), closes #2312
  • core Do not publish CollectionModificationEvent if no changes (75f6dec)
  • core Export missing search plugin types (23af791)
  • core Fix createRefund amount on cancelled OrderLines (2b49edf), closes #2302
  • core Fix incorrect allocation logic in default fulfillment process (f6881bf), closes #2306
  • core Fix startup error with readonly Administrator custom fields (cae55a6)
  • core Fix typo in option searchStrategy (#2305) (8cd15e1), closes #2305
  • core Improved CockroachDB compatibility for DefaultSearchPlugin (b8d8dec)
  • core Publish AccountRegistrationEvent when creating Customer via admin (e0bd036)
  • core Use MoneyStrategy in Surcharges (#2294) (efee8ec), closes #2294
  • payments-plugin: Only find payment methods in the current channel (bbea69), closes #2308

Features

Note: although we now have complete translations for Arabic & Hebrew, the right-to-left layout support is still in progress, so if you use these languages you will encounter layout issues.

  • admin-ui all Arabic tokens translated (100%) (#2287) (83ecec9), closes #2287
  • admin-ui Hebrew support (#2313) (2814142), closes #2313

2.0.4 (2023-07-13)

Fixes

  • admin-ui Allow target attribute on <a> tags in rich text editor (8f72e1e), closes #2281
  • admin-ui Display custom fields in StockLocation detail view (d36ac84)
  • admin-ui Fix display of Address custom fields in customer detail view (189e714), closes #2272
  • admin-ui Fix layout of select customer dropdown items (3f8a1da)
  • admin-ui Fix top left logo when using setBranding (120a0bb), closes #2225
  • admin-ui Prevent list filter hotkey F firing from input elements (c426f8d)
  • asset-server-plugin Better handling of malformed images (593e0e2), closes #2275
  • core Add timeout logic to session cache handling (a817a1a)
  • core Correctly update StockLocation custom fields (1cb676a)
  • core Fix admin authentication when no native auth in shop API (8fb9719), closes #2282
  • core Fix draft orders not getting correctly placed (4d01ab5), closes #2105
  • core Add currencyCode option to RequestContextService.create (#2277) (2f336a7), closes #2277

2.0.3 (2023-07-04)

Fixes

  • admin-ui-plugin Enable metricsSummary query without serving UI app (fba0739), closes #2261
  • admin-ui 100% brazilian portuguese translation coverage (#2262) (0d76b10), closes #2262
  • admin-ui 100% german translation coverage (#2248) (60c9e86), closes #2248
  • admin-ui Add missing permission to metrics widget (3353c6e)
  • admin-ui Add missing search index rebuild trigger (92f35d0)
  • admin-ui Allow vertical resize of textarea (86853ec), closes #2255
  • admin-ui Correct location id for product-variant-detail action bar (ebaff3a)
  • admin-ui Correctly sort customer orders in detail view (86a17af)
  • admin-ui Fix description layout on shipping method detail page (9b9119c)
  • admin-ui Fix low limit of facet value selector component (1b13e7a), closes #2251
  • admin-ui Fix position of main nav status badge (8669ef4)
  • admin-ui Fix product multi select form input (b5947ec), closes #2249
  • admin-ui Fix quantity label in order table (#2259) (bb4c9e5), closes #2259
  • admin-ui Fix query filter option in order list component (#2258) (7b56942), closes #2258 #2257
  • admin-ui Fix updating product variant asset (b590bdd)
  • admin-ui Improve keyboard controls for data table filters (00f0155)
  • admin-ui Make dropdowns keyboard-accessible (d9c6cdd)
  • admin-ui Set page to 1 when changing list filters (f2f60c3)
  • admin-ui Style improvements to chip & ng-select (bcffd9c)
  • admin-ui Styling improvements to custom field relation controls (fb8aca6)
  • admin-ui Update es translation (#2260) (fbc4dff), closes #2260
  • admin-ui Use SKU to filter product variant list (52a09a4)
  • admin-ui Prevent XSS attack vector in rich text editor (GHSA-gm68-572p-q28r)
  • core Correctly set currencyCode when assigning variants to channel (5e13b0e), closes #2228
  • core Delete user sessions & token upon user-deletion (#2241) (b989607), closes #2241
  • core Disable graphql playground according to apiOptions setting (b9a0200), closes #2246
  • core Fix Asset.tags resolution in Shop API (555666c), closes #1754
  • core Fix issue updating customer email address when no native auth (79aab66)
  • core Fix null reference error when hydrating entity (5a2b2b7), closes #2264
  • core Update variants when changing channel defaultCurrencyCode (2303328), closes #2190
  • core Use more secure default for cookie sameSite option (4a10d67)
  • email-plugin Add warning when running devMode with transport (7498901), closes #2253
  • payments-plugin Add compatibility metadata to payment plugins (2dbfa2b)

Perf

  • core Improve performance of Product.facetValues resolver (#2239) (a0e891a), closes #2239

Features

  • admin-ui Add product variant bulk actions (assign/delete channel, delete) (#2238) (b25ddcd), closes #2238

2.0.2 (2023-06-19)

Fixes

  • admin-ui Allow collections to be moved to root (23b3f05), closes #2236
  • admin-ui Allow options to be passed to ChartComponent (161b757)
  • admin-ui Fix channel creation when pricesIncludeTax is false (36fe1a5), closes #2217
  • admin-ui Fix mobile layout for asset list (5f7ac8c), closes #2206
  • admin-ui Fix routerLink to the order overview (#2235) (cb37b3e), closes #2235
  • admin-ui Fix styling for very long breadcrumbs (44c2c88)
  • admin-ui Update fr translation (#2232) (e12770e), closes #2232
  • core Channel cache can handle more than 1000 channels (2218d42), closes #2233

2.0.1 (2023-06-13)

Fixes

  • admin-ui Add missing primary button states (93d2285)
  • admin-ui Allow setting tab route config (3fb170e)
  • admin-ui Fix customers breadcrumb link (#2218) (edaa867), closes #2218
  • admin-ui Fix pagination on options editor view (dda5e67)
  • admin-ui Fix styling of address card component (ea92bd1)
  • admin-ui Fix tab label for product detail component (cb81848)
  • admin-ui Improve feedback on attempting to create variant (e50b271), closes #2210
  • admin-ui Improve readability of role permissions table (95dabdc), closes #2224
  • admin-ui List newly-created customers (6483aad), closes #2213
  • admin-ui Preserve ui language settings after refresh (dcae0d9), closes #2211
  • admin-ui Prevent duplicate order state change on manual payment (eadc479), closes #2204
  • admin-ui Redirect to the right page on forbidden errors if an internal loginUrl is provided (#2175) (c0630fb), closes #2175
  • admin-ui Small style fixes (33eee17)
  • asset-server-plugin Update Sharp to fix macOS 10.13+ support (043c7ff)
  • core Add missing SellerEvent and correctly update relations (4f421d3), closes #2216
  • core Correctly update Seller custom fields (4a4691d)
  • core Expose the topLevelOnly collections option in Shop API (ed28743)
  • core Fix channel creation with defaultCurrencyCode field (3aa72ab), closes #2217
  • core Fix order state change from default payment process (0e5129e), closes #2204
  • job-queue-plugin Fix graceful shutdown for BullMQJobQueueStrategy (7c51eab), closes #2222

2.0.0 (2023-06-07)

Fixes

  • asset-server-plugin Change image format with no other transforms (#2104) (6cf1608), closes #2104
  • core Correctly remove invalid promotion couponCodes from Order (7a1c127)
  • core Fix concurrent order address update edge case (f4ca9b2)
  • core Fix updating channel currencyCode (7e01ecf), closes #2114
  • core Translatable fields default to empty string if falsy (e119154)
  • core Fix error messages containing colon char (2cfc874), closes #2153
  • core Fix issues with Promotion & PaymentMethod null descriptions (7b407de)
  • create Use "create" version for all Vendure dependencies (844b9ba)
  • payments-plugin Make peer dependencies optional (98c764c)
  • testing More graceful shutdown (aa91bd0)
  • ui-devkit Fix baseHref configuration (c7836b2), closes #1794

Features

  • admin-ui Rename vdr-product-selector (9d9275c)
  • admin-ui Add filter inheritance control to Collection detail view (7f1b01e), closes #1382
  • admin-ui Update collection preview on filter inheritance toggle (1a4aced)
  • admin-ui Add support for translatable PaymentMethods (06efc50), closes #1184
  • admin-ui Add support for translatable Promotions (00bd433), closes #1990
  • admin-ui New app layout with updated nav menu (e6f8584), closes #1645
  • admin-ui Update to Angular v16.x (0c503b4)
  • admin-ui Implement custom fields updating of ProductOptionGroup and ProductOption entities (d2a0824)
  • admin-ui-plugin Add simple metrics support via new metricSummary query (717d265). Thanks to @martijnvdbrug for providing the initial implementation, on which this is based!
  • asset-server-plugin Update to Sharp v0.31
  • asset-server-plugin Update s3 asset storage strategy to use AWS sdk v3 (#2102) (d628659), closes #2102
  • core Update all major dependencies to NestJS v8, Apollo Server v3, GraphQL v16
  • core Update to TypeScript v4.9.5 (99da585)
  • core Added a unique index to Order.code (aa6025d)
  • core Collections can control inheritance of filters (5d4206f), closes #1382
  • core Update codegen errors plugin to use object inputs (6b9b2a4)
  • core Add currencyCode to variant price model (24e558b), closes #1691
  • core Add ProductVariantPriceSelectionStrategy (efe23d1), closes #1691
  • core Implement Admin API operations for stock location, e2e tests (7913b9a), closes #1545
  • core Implement data model & APIs for multi-location stock (905c1df), closes #1545
  • core Implement GuestCheckoutStrategy (7e0f1d1), closes #911 #762
  • core Implement localeText custom field type (6a3c61f), closes #2000
  • core Implement MoneyStrategy (61ac041), closes #1835
  • core Make PaymentMethod entity translatable (2a4b3bc), closes #1184
  • core Make Promotion entity translatable, add description (dada243), closes #1990
  • core Normalize email addresses for native auth (ad7eab8), closes #1515
  • core Collection preview handles filter inheritance (3d2c0fb)
  • core Add support for PromotionAction side effects (1a4a117), closes #1798
  • core Add filter method to EventBus (#1930) (7eabaa7), closes #1930
  • core Expose tags on Assets for shop api (#1754) (d9316df), closes #1754
  • core Create underlying APIs to support multivendor Orders (3d9f7e8), closes #1329
  • core Extract hard-coded fulfillment state & process (cdb2b75)
  • core Extract hard-coded order state & process (cff3b91)
  • core Extract hard-coded payment state & process (4c5c946)
  • core Add compatibility check to VendurePlugin metadata (d18d350), closes #1471
  • core Add quantity arg to OrderItemPriceCalculationStrategy (02a0864), closes #1920
  • core Export VENDURE_VERSION constant (b2a910a), closes #1471
  • core Implement Regions & support for Provinces (7b8f5bf), closes #76
  • core Allow specifying transaction isolation level (#2116) (bf2b1f5), closes #2116
  • core Add topLevelOnly filter to collection list query (66b8c75)
  • core Add bulk delete mutations (2f5e096)
  • core Add facetValueId filter to products/variants list queries (00b8268)
  • core Allow variant options to be added & removed (8cb9b27)
  • core Channels mutation now returns PaginatedList (d7a3447)
  • core ChannelService.findAll() returns PaginatedList (53fa2a0)
  • core Move global stock & language settings into Channel (2748a6e)
  • core TaxCategories query now returns PaginatedList (ddcd0fc)
  • core Zones query now returns PaginatedList (afbb408)
  • email-plugin Add support for dynamic templates & SMTP settings (c6686cd), closes #2043 #2044
  • job-queue-plugin Update bullmq & redis dependencies (#2020) (eb0b73f), closes #2020
  • payments-plugin Make Mollie plugin redirecturl dynamic (#2094) (b452419), closes #2094 #2093
  • payments-plugin Make Stripe plugin channel-aware (#2058) (3b88702), closes #2058
  • testing Turn productsCsvPath into an optional property for test server initialization (#2038) (4c2b118), closes #2038
  • ui-devkit Add "exclude" option to UI extensions (#2009) (dd6eee3), closes #2009
  • ui-devkit Support module path mappings for UI extensions (#1994) (6d57c86), closes #1994

Performance

  • core Re-architect Order model for massive perf improvement on large orders, closes #1981
  • core Add indices to many-to-one relations (01e369f), closes #1502
  • core Add indexes to Product & Collection slugs (937cf67)

BREAKING CHANGES

When updating from v1.x, please see the Migration Guide.

  • The Admin UI app has been refreshed, including upgrading to Angular v16 as well as a host of style, layout & functional improvements. If you have ui extensions, they should still work but the layout will look somewhat broken. A full upgrade guide will be published with the final v2 release, but for now, wrapping all your custom pages in <vdr-page-block> (or <div class="page-block">) will improve things.
  • If you use any of the scoped method of the Admin UI DataService, you might find that some no longer exist. They are now deprecated and will eventually be removed. Use the dataService.query() and dataService.mutation() methods only, passing your own GraphQL documents.
  • ChannelService.findAll() will now return a PaginatedList instead of a Channel[]
  • The channels mutation now returns a PaginatedList rather than a simple array of Channels.
  • The taxCategories mutation now returns a PaginatedList rather than a simple array of TaxCategory objects.
  • The zones query now returns a PaginatedList rather than a simple array of Zone objects. Likewise, the ZoneService.findAll() method also returns a paginated list. The old behaviour of ZoneService.findAll() (all Zones, cached for rapid access) can now be found under the new ZoneService.getAllWithMembers() method.
  • The Admin UI component vdr-product-selector has been renamed to vdr-product-variant-selector to more accurately represent what it does. If you are using vdr-product-selector if any ui extensions code, update it to use the new selector.
  • There's a breaking change you'll need to handle if you are using a CustomOrderProcess, CustomFulfillmentProcess or CustomPaymentProcess. Details in the migration guide.
  • The Channel.currencyCode field has been renamed to defaultCurrencyCode, and a new currencyCode field has been added to the ProductVariantPrice entity.
  • The introduction of the new MoneyStrategy includes a new GraphQL Money scalar, which replaces Int used in v1.x. In practice, this is still a number type and should not break any client applications. One point to note is that Money is based on the Float scalar and therefore can represent decimal values, allowing fractions of cents to be represented.
  • The minimum Redis recommended version is 6.2.0
  • The Promotion entity is now translatable, which means existing promotions will need to be migrated to the new DB schema and care taken to preserve the name data. Also the GraphQL API for creating and updating Promotions, as well as the corresponding PromotionService methods have changed to take a translations array for setting the name and description in a given language.
  • A new Region entity has been introduced, which is a base class for Country and the new Province entity. The Zone.members property is now an array of Region rather than Country, since Zones may now be composed of both countries and provinces. If you have defined any custom fields on Country, you'll need to change it to Region in your custom fields config.
  • If you are using the s3 storage strategy of the AssetServerPlugin, it has been updated to use v3 of the AWS SDKs. This update introduces an improved modular architecture to the AWS sdk, resulting in smaller bundle sizes. You need to install the @aws-sdk/client-s3 & @aws-sdk/lib-storage packages, and can remove the aws-sdk package.
  • The Stripe plugin has been made channel aware. This means your api key and webhook secret are now stored in the database, per channel, instead of environment variables. Details are in the migration guide.

1.x

Changelogs for versions prior to v2.0.0 can be found in the CHANGELOG_v1.md file.