Skip to content

Latest commit

 

History

History
149 lines (127 loc) · 20.6 KB

CHANGELOG.md

File metadata and controls

149 lines (127 loc) · 20.6 KB

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.