Skip to content

Latest commit

 

History

History
861 lines (703 loc) · 112 KB

CHANGELOG_v2.md

File metadata and controls

861 lines (703 loc) · 112 KB

2.3.0 (2024-07-17)

Features

  • admin-ui Add support for tabs on custom UI routes (26b4ea5)
  • admin-ui Enable useQuery hook to refetch on channel change (#2869) (3d516ea), closes #2869
  • core Add RefundEvent & publish on Refund creation (#2832) (cb08427), closes #2832 #2830
  • core Enable inherit resolvers from interfaces (#2800) (1069b3b), closes #2800
  • core Make Refund process configurable (#2942) (c8f1d62), closes #2942
  • core Publish event when OrderLine cancelled (#2829) (213a26b), closes #2829
  • create Support SSL enforced PostgreSQL databases (#2905) (65b4f3c), closes #2905
  • email-plugin Add support for computed email subject (#2863) (e546f24), closes #2863
  • email-plugin Support dynamic globalTemplateVars (#2950) (cab67b6), closes #2950 #2933
  • ui-devkit Support pnpm to build UI extensions (#2877) (37e6a35), closes #2877

Fixes

  • core Add usage check of nested custom property filters in ListQueryBuilder (#2939) (05cfc9d), closes #2939
  • core Copy tax category on product duplication (#2947) (2f0521c), closes #2947
  • core Update DefaultSearchPlugin indexer controller to avoid TypeORM memory leak (#2883) (ee2c177), closes #2883

Perf

  • core Improve performance of role query with many channels (fe3e455), closes #2910

2.2.7 (2024-06-27)

Fixes

  • admin-ui Fix creation of variant with zero price (317deef), closes #2917
  • admin-ui Fix defaultValue on React RichTextEditor (051d56f), closes #2884
  • admin-ui Fix error on new product creation (b06bdaf), closes #2915
  • admin-ui Fix styling of React RichTextEditor component (353ae50), closes #2885
  • admin-ui Fix support for canDeactivate guard on angular routes (6d9af1d)
  • core Correctly apply global and per-route cookie middlewares (#2911) (2d2e518), closes #2911
  • payments-plugin Prevent duplicate Mollie order lines (#2922) (74a8c05), closes #2922

2.2.6 (2024-06-18)

Fixes

  • admin-ui Fix id of customer groups list (33780ce), closes #2894
  • admin-ui Fix layout issues with asset picker dialog (996710c), closes #2898
  • admin-ui Fix layout of custom timeline entries (3e075aa)
  • admin-ui Fix renaming of multiple product options at once (3de60b2), closes #2892
  • admin-ui Generate variants even when values have not been changed (b393538), closes #2895
  • admin-ui Show correct facet value language version on lang change (7a62e7a), closes #2889
  • core Copy prices in product duplicator (#2900) (18d200c), closes #2900
  • core Fix access to protected custom fields in Shop API (090ff9b), closes #2878
  • core Fix memory leak cause by unbounded array growth (5a38f42)
  • core Fix regression in cookie middleware when no name provided (fd729fd), closes #2880
  • core Support new object ref returned from plugin configuration fn (45df738), closes #2906

2.2.5 (2024-06-03)

Fixes

  • admin-ui Add scrollbar to dropdowns that go out of the viewport (8a78a70)
  • admin-ui Fix order of bulk actions in dropdown (d917874)
  • admin-ui Fix stale values in zone selector component (232ecbb), closes #2867
  • admin-ui Fix update of Channel when removing default currency/lang (1e0c96f), closes #2825
  • cli Install React typings when adding ui extensions (94b6dcf), closes #2857
  • core Add field resolver for Order.shippingLines (84ec0aa), closes #2859
  • core Apply price strategies when modifying order lines (61fdbbd), closes #2870
  • core Fix nulling of primitive custom fields when updating relation (96f0410), closes #2840
  • core Fix regression in updating of Order custom fields (2744068)
  • core Fix splitting of shippingLines on multivendor orders (9112dd8), closes #2859
  • core Keep order of nested relations during hydration (#2864) (#2865) (b325a83), closes #2864 #2865
  • create Move typescript to dev dependencies (#2816) (b3c29e7), closes #2816
  • payments-plugin Allow mollie orders with $0 (#2855) (b54c210), closes #2855
  • payments-plugin Events triggered by Mollie webhook include request (4ca4593), closes #2872

2.2.4 (2024-05-08)

Fixes

  • cli Fix error when adding non-translatable entity (b6de420)
  • cli Fix plugin path detection when only 1 plugin exists (4f31067)
  • cli Hide output when installing packages (dea7ba7)
  • core Correctly generate customFields field for custom entity types (58943e3)
  • core Fix query on translation filter (5b42cde), closes #2833
  • core Handle edge case of existing customFields def on gql type (a889320)
  • core Optimize search index update queries (#2808) (e83dfc6), closes #2808
  • core Use the shop cookie name for default route (#2839) (429f88d), closes #2839

Features

  • core Add French translations for API messages (#2837) (e45e7b7), closes #2837

2.2.3 (2024-05-02)

Fixes

  • admin-ui Fix creating customer on draft order (64b9c60)
  • cli Fix api extension location detection (a5fdd86)
  • cli Fix maximum call stack error (464e68b), closes #2819
  • cli Fix relative import path for parent dirs (9379d73)
  • cli Fix translatable entity imports (e6c9ba8)
  • cli Improve detection of migration file location (359b236)
  • cli Improve plugin generation in monorepos (40000a4)
  • cli Improve support for multiple tsconfig files (d871eb7)
  • cli Improve support for pnpm projects (4eaf7ff)
  • cli Include plugin options in service constructor (a77251e)
  • core Improve message for custom field schema errors (7ac4ac9)
  • core Make featuredAsset optional on collection duplicator (#2824) (bb10b4c), closes #2824

2.2.2 (2024-04-25)

This release contains no changes - it was published to fix a mistake in the publishing of the @vendure/[email protected] package.

2.2.1 (2024-04-25)

Fixes

  • admin-ui Fix code snippet for addNavMenuSection (d1da9ae), closes #2807
  • admin-ui Fix custom tabs in customer list (482bca9), closes #2788
  • admin-ui Fix default quantity when adding item to order (277c17e)
  • admin-ui Fix error preventing f key usage in code editor (6e68226), closes #2771
  • admin-ui Fix facet value selection with duplicated labels (3a9c317)
  • cli Improve support for migrations in monorepo setups (3fbf4e4)
  • cli Load .env files automatically for migrations (777a5a5), closes #2802
  • core Add missing semver dependency (91484a2)
  • core Add surcharge taxLines to taxSummary (#2798) (d0166a2), closes #2798
  • core Fix duplication of product without featured asset (f5e866b), closes #2803
  • core Fix findOneInChannel with relations object (b9eb7db), closes #2809
  • core Fix importer asset channel handling (#2801) (c7a28b7), closes #2801
  • core Improved loading of eager-loaded custom field relations (025a9c7), closes #2775 #2687
  • core Publish OrderEvent when order is deleted (55f68780)
  • core Remove original entityTable from channels sql request (#2791) (9c1cb16), closes #2791
  • core Update relations on Stock Location update (#2805) (47b1116), closes #2805 #2804

2.2.0 (2024-04-15)

Fixes

  • admin-ui Add missing RTL compatibility to some admin-ui components (#2451) (96eb96e), closes #2451
  • admin-ui Fix alerts service registration (04dcaab)
  • admin-ui Fix alignment of order modification history item (e4a172c)
  • admin-ui Fix dark mode layout (893a913), closes #2745
  • admin-ui Fix display of alert on login screen (7e66d85)
  • admin-ui Fix header for promotion list (#2782) (e46b36d), closes #2782
  • admin-ui Fix saving entities with custom field relations (80f1f95)
  • admin-ui Improve styling of form field wrapper (5263c2d)
  • admin-ui Improved support for modifying OrderLine custom fields (0750fb1), closes #2641
  • cli Improve type generation for interfaces & gql types (f26a0bf)
  • cli Removed channelId from generated findAll method (5e3d831)
  • cli Various fixes to CLI add commands (4ea7711)
  • core Add missing jobOptions to a strategy jobQueueStrategy.add function (#2770) (f869a17), closes #2770
  • core Add missing reverse side relations (#2781) (bdf2329), closes #2781
  • core Correctly return custom field relation scalar fields (1280cf3)
  • core Fix amount being sent to payment handler refund method (b6a5691)
  • core Fix deleted product option groups can't be deleted again (#2706) (16add4a), closes #2706
  • core Fix edge case with cached tax zone (e543e5e)
  • core Fix error in joining list query relations (33db45d)
  • core Fix floating promise & missed eventBus (#2779) (603a36e), closes #2779
  • core Fix hydration of product variant prices (7adb115)
  • core Fix self-referencing relations Not unique table/alias (#2740) (357ba49), closes #2740 #2738
  • core Fix typing on ProductOptionGroupService.create() method (8fe24da), closes #2577
  • core Fix undefined reference error in product variant resolver (5afa6bc)
  • core Persist custom field relations on TaxRate (7eaa641)
  • core Remove empty customFields relations from getMissingRelations in entity-hydrator (#2765) (1c44113), closes #2765
  • core Revert change to SQLJobQueueStrategy update mechanism (a1e7730)
  • core Wrap nextOrderStates in transaction (ed9539d)
  • email-plugin Remove unwanted currency symbols in template (#2536) (639fa0f), closes #2536
  • ui-devkit Add call to exit in sigint handler (#2558) (bfd9281), closes #2558

Perf

  • cli Lazy load commands to improve startup time (ec2f497)
  • core Database access performance & edge case fixes (#2744) (48b239b), closes #2744
  • core Optimization for assignToChannels method (#2743) (c69e4ac), closes #2743
  • core Upgrade EntityHydrator performance to any hydrate call (#2742) (77233cd), closes #2742
  • core Upgrade sql requests for more performant memory usage with big datasets (#2741) (65888cb), closes #2741

Features

  • admin-ui Add bulk facet value editing to product variant list (5ad41bf)
  • admin-ui Add React RichTextEditor component & hook (#2675) (68e0fa5), closes #2675
  • admin-ui Add React useLazyQuery hook (#2498) (757635b), closes #2498
  • admin-ui Add support for custom action bar dropdown menus (4d8bc74), closes #2678
  • admin-ui Add support for Norwegian Bokmål (#2611) (00d5315), closes #2611
  • admin-ui Add support for permissions on custom fields (94e0c42), closes #2671
  • admin-ui Allow configuration of available locales (#2550) (dfddf0f), closes #2550
  • admin-ui Allow customer to be reassigned to order (a9a596e), closes #2505
  • admin-ui Allow order shipping method to be modified (7f34329), closes #978
  • admin-ui Channel aware picker (fd92b4c)
  • admin-ui Enable multiple refunds on an order modification (9b3aa65), closes #2393
  • admin-ui Expose entity$ observable on action bar context (3f07179)
  • admin-ui Expose registerAlert provider for custom UI alerts (698ea0c), closes #2503
  • admin-ui Implement UI for entity duplication (7aa0d16), closes #627
  • admin-ui Improve layout & styling of order payment cards (4a8b91a)
  • admin-ui Improve styling of order/customer history timeline (aeebbdd)
  • admin-ui Improved refund dialog (ccbf9ec), closes #2393
  • admin-ui Product & variant lists can be filtered by name & sku (74293cb), closes #2519
  • admin-ui Support custom fields on custom entities (74aeb86), closes #1848
  • admin-ui Update Angular to v17.2 (6f6a7af)
  • admin-ui Update Clarity UI library to v17 (44cfd95)
  • admin-ui Updated order modification screen with improved UX (ac4c762)
  • asset-server-plugin Add q query param for dynamic quality (b96289b)
  • asset-server-plugin Update Sharp to v0.33.2 (f3d45a0)
  • cli Add API extension command (41675a4)
  • cli Add codegen command (de5544c)
  • cli Add job queue command (2193a77)
  • cli Add service command (e29accc)
  • cli Allow chaining features onto a newly-created plugin (5b32c59)
  • cli Allow new entity features to be selected (74c69dd)
  • cli Allow new plugin dir to be specified (4ae12e7)
  • cli Implement "add entity" command (ad87531)
  • cli Implement "add" command for ui extensions (795b013)
  • cli Implement migrations in CLI (9860abd)
  • core A support for custom fields on ProductVariantPrice (#2654) (e7f0fe2), closes #2654
  • core Accept maxAge and expires options in cookie config (c903388), closes #2518
  • core Add amount field to RefundOrderInput (fe43b4a), closes #2393
  • core Add gracefulShutdownTimeout to DefaultJobQueuePlugin (cba06e0)
  • core Add precision property to MoneyStrategy (c33ba63)
  • core Add cancellation handling to built-in jobs (c8022be), closes #1127 #2650
  • core Add Missing inherit filters field in collection import (#2534) (ef64db7), closes #2534 #2484
  • core Add SKU filtering to products list in Admin API (876d1ec), closes #2519
  • core Add support for permissions on custom fields (1c9f8f9), closes #2671
  • core Allow order shipping method to be modified (400d78a), closes #978
  • core Enable multiple refunds on an order modification (cf91a9e), closes #2393
  • core Enable setting different cookie name for Shop & Admin API (#2482) (ae91650), closes #2482
  • core Export order state machine (138d9ff)
  • core Expose enabled field for Product in shop api (#2541) (f6f2975), closes #2541
  • core Expose additional bootstrap options (#2568) (3b6d6ab), closes #2568
  • core Expose entityCustomFields query (01f9d44), closes #1848
  • core Implement setOrderCustomer mutation (26e77d7), closes #2505
  • core Implement collection duplicator (d457851), closes #627
  • core Implement complex boolean list filtering for PaginatedLists (c4bd484), closes #2594
  • core Implement facet duplicator (8d20847), closes #627
  • core Implement internal support for entity duplication (477fe93), closes #627
  • core Implement new blocking event handler API (1c69499), closes #2735
  • core Implement product duplicator (6ac43d9), closes #627
  • core Implement promotion duplicator (da58b0b), closes #627
  • core Improve cancellation mechanism of DefaultJobQueuePlugin (cba069b), closes #1127 #2650
  • core Introduce ErrorHandlerStrategy (066e524)
  • core Introduce new ProductVariantPriceEvent (aa4eeb8)
  • core Introduce new ProductVariantPriceUpdateStrategy (9099f35), closes #2651
  • core Pass ctx to job queue strategy add (#2759) (3909251), closes #2759 #2758
  • core Pass RequestContext to custom field validate function (2314ff6), closes #2408
  • core Update NestJS to latest version (v10.3.3) (573ae18)
  • core Update TypeORM to v0.3.20 (0afc94e)
  • core Update TypeScript version to v5.1.6 (2f51929)
  • create Ship Vendure CLI with new projects (faf69a9)
  • elasticsearch-plugin Provide the ctx for custom mappings (#2547) (c5d0ea2), closes #2547
  • email-plugin Multiple currency support in formatMoney helper (#2531) (ccf17fb), closes #2531
  • email-plugin Publish EmailSendEvent after send attempted (e4175e7)
  • job-queue-plugin Implement cancellation mechanism (d0e97ca), closes #1127 #2650
  • job-queue-plugin Improve pub/sub message handling (#2561) (3645819), closes #2561
  • payments-plugin Accepted states (124f169)
  • payments-plugin Admin ui dropdown button (af80f26)
  • payments-plugin Backend admin api implemented (5390a4c)
  • payments-plugin Cleaner usage of type (5a720bb)
  • payments-plugin Correct test naming (07d9b4d)
  • payments-plugin Docs (f7dcc31)
  • payments-plugin E2e test fixed (1e65032)
  • payments-plugin fixed e2e tests (d842837)
  • payments-plugin Forgot to add files (9e51be2)
  • payments-plugin Live testing of duplicate payments (9c1df83)
  • payments-plugin Mollie locale preservation #2270 and type fixes (9e58097), closes #2270
  • payments-plugin Mollie: support extra parameters for listing methods (#2516) (cb9846b), closes #2516 #2510
  • payments-plugin more manual merge fixes (ddea675)
  • payments-plugin Plugin docs (028dcf9)
  • payments-plugin Prevent duplicate Mollie payments (#2691) (34b61cd), closes #2691
  • payments-plugin Readded describe for more readable gh diff (d7a38ab)
  • payments-plugin Removed copyfiles dependency (fb519ed)
  • payments-plugin Removed ui for now (3dfd0ba)
  • payments-plugin Reusing existing order if possible (4642f9f)
  • payments-plugin Setup of preventing duplicate payments (0cb2df8)
  • payments-plugin Test case readability (7009425)
  • payments-plugin Ui extension removal (e8ae5f6)
  • payments-plugin Unstaged files (1ef282a)
  • payments-plugin wip (fb4cace)
  • sentry-plugin Use ErrorHandlerStrategy for better error coverage (82ddf94)
  • ui-devkit Add prefix option to route config to allow overrides (babe4f4), closes #2705

BREAKING CHANGE

  • MolliePlugin - A new mollieOrderId has been added in order to prevent duplicate payments in Mollie. This will require a DB migration to add the custom field to your DB schema.

2.1.9 (2024-04-05)

Fixes

  • admin-ui Make channel detail defaultShippingZoneId required (#2719) (7bae5d7), closes #2719
  • admin-ui Require default currency and language for channels (#2722) (7859a15), closes #2722
  • admin-ui Swedish translation adjustments and corrections (#2752) (3e08f7b), closes #2752
  • core Fix custom field relation for ProductVariant when value is null (#2727) (b4f8a55), closes #2727 #2723
  • core Fix missing shipping lines in partial order (#2766) (d4ec842), closes #2766
  • core Fix stock constraint error for adjustOrderLine when using OrderLine custom fields (#2737) (8a961b0), closes #2737
  • elasticsearch-plugin Fix aggregation buckets with taxes (#2749) (c23993c), closes #2749

2.1.8 (2024-03-05)

Fixes

  • admin-ui Add missing Swedish translation (#2672) (cce90d6), closes #2672
  • admin-ui Add missing translation of breadcrumb tooltips (#2697) (2a3a796), closes #2697
  • admin-ui Display calculated price when custom price strategy used (09c66fe), closes #2506
  • admin-ui Export AssetsComponent as a Shared Component (#2695) (cc85202), closes #2695 #2637
  • common Properly replace umlauts and Eszett for German lang (#2616) (84ba64f), closes #2616
  • core Add missing Order.customer field resolver (dad7f98), closes #2715
  • core Export OrderByCodeAccessStrategy and DefaultOrderByCodeAccessStrategy (#2692) (6a4a7e5), closes #2692
  • core Fix custom field relation loading edge-case (93ca4ca), closes #2708
  • core Fix error when querying Roles without channels field (b2cb011), closes #2693
  • core Fix querying order variant after removal from channel (e28ba3d), closes #2716
  • core Fix renaming of product with readonly custom field (#2684) (2075d6d), closes #2684
  • core Fix stock constraint error when using OrderLine custom fields (2f93eb7), closes #2702
  • core Handle nullable relations in EntityHydrator (#2683) (4e1f408), closes #2683 #2682
  • create Update scaffolded service type safety for updated Enttity (#2712) (2e3be51), closes #2712
  • payments-plugin Improve Mollie ignore order states (#2670) (f02fc56), closes #2670

2.1.7 (2024-02-06)

Fixes

  • admin-ui Add missing Ukrainian translation (#2638) (67c8c90), closes #2638
  • admin-ui Improve German translation (#2639) (30f5e91), closes #2639
  • admin-ui Reset page to 1 on viewing collection contents from list (daa4731)
  • core Add product translation to product variant entity resolver (#2644) (9289a1c), closes #2644
  • core Ensure deterministic sorting in case of duplicates in DefaultSearchPlugin search query (#2632) (81b4607), closes #2632
  • core Fix undefined reference error in product variant resolver (4cceb70)
  • core Improve handling of active jobs on worker shutdown (e1e0987)
  • core Improved resolution of Administrator.user (c2a4685), closes #1489
  • core Update translations parent updatedAt column when updating translation (#2630) (44fc828), closes #2630
  • elasticsearch-plugin Optimize memory usage when indexing (#2327)
  • payments-plugin Don't handle mollie webhook for any state after PaymentSettled (#2657) (754da02), closes #2657

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.