Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

chore(deps): update dependency @vendure/core to v0.18.5 #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 10, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vendure/core (source) ~0.17.0 -> ~0.17.0 || ~0.18.0 age adoption passing confidence
@vendure/core (source) 0.17.1 -> 0.18.5 age adoption passing confidence

Release Notes

vendure-ecommerce/vendure

v0.18.5

Compare Source

Fixes
  • admin-ui Typing error on pt-Br i18n (#​725) (50aafb3), closes #​725
  • core Allow asset uploads with same major mime type (070c5f2), closes #​727
  • core Fix list query sorting by non-default language with filters (1e31828)
  • core Prevent Facet code conflicts (bce3b59), closes #​715
Features
  • email-plugin Support custom EmailGenerators and EmailSenders (3e20624)

v0.18.4

Compare Source

Features
  • core Implement productVariants list query in Admin API (6d830a0)
  • core Language fallback when querying Product/Collection by slug (5967c8a), closes #​538
Fixes
  • admin-ui Fix modification of order addresses (cd9a812), closes #​688
  • common Correctly normalize strings with single quotes (d12f369), closes #​679
  • core Clean up Sessions when deleting a Channel (7e7d4b8), closes #​686
  • core Correctly constrain inventory on addItemToOrder mutation (8975247), closes #​691
  • core Do not modify billing address when shipping address changed (7e9a709), closes #​688
  • core Fix bad column reference in querybuilder string (61e9f83), closes #​687
  • core Fix sorting by price on productVariants list (0102232), closes #​690
  • core Fix sorting by translatable fields in list queries (d00bafb), closes #​689
  • core Loosen restriction on transitioning to PaymentAuthorized (59d39d6)
  • core Products without variants are indexed by DefaultSearchPlugin (2dab174), closes #​609
  • core Reduce chance of index err in assigning variants to channels (58e3f7b)
  • elasticsearch-plugin Products without variants are indexed (21b6aa3), closes #​609

v0.18.3

Compare Source

Fixes
  • admin-ui Fix filtering products by term in Channel (d880f8e)
  • admin-ui Fix role editor Channel value display (c258975)
  • admin-ui Fix various issues with product variant management view (d34f935), closes #​602
  • admin-ui Translate missing Brazilian (PT-br) i18n json (808d1fe)
  • core Do not allow updating products not in active channel (4b2fac7)
  • core Prevent multiple ProductVariantPrice creation (c853033), closes #​652
  • core Re-calculate OrderItem price on all OrderLine changes (0d8c485), closes #​660
  • core Update search index for all channels on updates (85de520), closes #​629
  • elasticsearch-plugin Update search index for all channels on updates (2be29c2), closes #​629
Features
  • admin-ui Nav menu requirePermissions accepts predicate fn (c74765d), closes #​651
  • admin-ui Support "required" & "defaultValue" in ConfigArgs (6e5e482), closes #​643
  • core Support "defaultValue" field in ConfigArgs (92ae819), closes #​643
  • core Support "required" field in ConfigArgs (9940385), closes #​643
  • elasticsearch-plugin LanguageCode support in CustomMappings (b114428)

v0.18.2

Compare Source

Fixes
  • admin-ui Fix translation of facet values (a6f3083), closes #​636
  • admin-ui Order widget i18n fix (68b8adb)
  • admin-ui Preserve asset changes between product list/table view (c83e511), closes #​632
  • admin-ui Preserve changes between product/variant tabs (242787a), closes #​632
  • admin-ui Preserve variant price changes between list/table views (43bd770), closes #​632
  • admin-ui Update CS translations (d18dab0)
  • asset-server-plugin Fix corrupt SVG previews (3a16d87), closes #​456
  • core Add ReadOrder perm to fulfillment-related shipping queries (72ed50c), closes #​644
  • core Allow list queries to filter/sort on calculated columns (5325387), closes #​642
  • core Clear order discounts after removing coupon code (e1cce8f), closes #​649
  • core Correctly prorate order discounts over differing tax rates (b128425), closes #​653
  • core Correctly return order quantities from list query (a2e34ec), closes #​603
  • core Do not error when querying fulfillment on empty order (b0c0457), closes #​639
  • core Fix NaN error when prorating discount over zero-tax line (51af5a0)
  • core Gracefully handle errors in JobQueue (6d1b8c6), closes #​635
Features
  • admin-ui Auto update ProductVariant name with Product name (69cd0d0), closes #​600
  • admin-ui Auto update ProductVariant name with ProductOption name (0e98cb5), closes #​600
  • admin-ui Currencies respect UI language setting (5530782), closes #​568
  • admin-ui Dates respect UI language setting (dd0e73a), closes #​568
  • admin-ui Display channel filter when more than 10 Channels (b1b363d), closes #​594
  • email-plugin Allow attachments to be set on emails (0082067), closes #​481
  • email-plugin Do not re-send order confirmation after modifying (ddb71df), closes #​650

v0.18.1

Compare Source

Fixes
  • admin-ui Refresh ShippingMethodList on channel change (6811ca8), closes #​595
  • admin-ui Shipping method validators fix (bbdd5be)
  • admin-ui Translate to Spanish all languages available (b56e45d)
  • core Always include customFields on OrderAddress type (c5e3c6d), closes #​616
  • core Fix error when creating Product in sub-channel (96c5103), closes #​556 #​613
Features
  • admin-ui Add dark mode theme & switcher component (76f80f6), closes #​391
  • admin-ui Add default branding values to vendure-ui-config (50aeb2b), closes #​391
  • admin-ui Add support for job cancellation (c6004c1), closes #​614
  • admin-ui Allow "enabled" state to be set when creating products (3e006ce), closes #​608
  • admin-ui Enable theming by use of css custom properties (68107d2), closes #​391
  • core Add cancelJob mutation (2d099cf), closes #​614
  • core Allow "enabled" state to be set when creating products (02eb9f7), closes #​608
  • ui-devkit Allow custom global styles to be specified (2081a15), closes #​391
  • ui-devkit Allow extensions consisting of only static assets (5ea3422), closes #​391 #​309
  • ui-devkit Export helper function to set brand images (6cde0d8), closes #​391

v0.18.0

Compare Source

Fixes
  • admin-ui Correctly handle order modification with no custom fields (c0b699b)
  • admin-ui Correctly handle widget permissions (e3d7855)
  • admin-ui Fix error when creating new Channel (58db345)
  • admin-ui Fix memory leak with refetchOnChannelChange usage (1bad22a)
  • admin-ui Fix variant price display issues (f62f569)
  • core Correct handling of discounts & taxes when prices include tax (c04b1c7), closes #​573
  • core Correctly handle addItemToOrder when 0 stock available (187cf3d)
  • core Fix ChannelAware ProductVariant performance issues (275cd62)
  • core Fix default PromotionActions when Channel prices include tax (efe640c), closes #​573
  • core Fix error on updateCustomer mutation (bb1878f), closes #​590
  • core Fix failing e2e tests (36b6dab)
  • core Fix Postgres search with multiple terms (5ece0d5)
  • core Handle undefined reference in customerGroup condition (0eaffc1)
  • core Ignore deleted products when checking slug uniqueness (844a12d), closes #​558
  • core Return all ProductVariant.channels from default Channel (799f306)
Features
  • admin-ui Add support for dashboard widgets (aa835e8), closes #​334
  • admin-ui Allow cancellation of OrderItems without refunding (df55d2d), closes #​569
  • admin-ui Allow default dashboard widget widths to be set (3e33bbc), closes #​334
  • admin-ui Allow OrderLine customFields to be modified (e89845e), closes #​314
  • admin-ui Allow OrderLine customFields to be modified (5a4811f), closes #​314
  • admin-ui Allow overriding built-in nav menu items (9d862c6), closes #​562
  • admin-ui Allow setting FulfillmentHandler in ShippingDetail page (8207c84), closes #​529
  • admin-ui Correctly display cancelled Fulfillments (7efe800), closes #​565
  • admin-ui Display order tax summary, update to latest Order API (9b8e7d4), closes #​573
  • admin-ui Display surcharges in OrderDetail (bbcc6d8), closes #​583
  • admin-ui Display tax description in OrderDetail tax summary (843bec2)
  • admin-ui Enable manual order state transitions (0868b4c)
  • admin-ui Fulfillment dialog accepts handler-defined arguments (c787241), closes #​529
  • admin-ui Implement order modification flow (d3e3a88), closes #​314
  • admin-ui Implement reordering, resize, add, remove of widgets (9a52bdf), closes #​334
  • admin-ui Implement variant channel assignment controls (83a33b5), closes #​519
  • admin-ui Persist dashboard layout to localStorage (ace115d)
  • admin-ui Persist dashboard layout to localStorage (15cae77), closes #​334
  • core Add Order history entry for modifications (894f95b), closes #​314
  • core Allow multiple Fulfillments per OrderItem (3245e00), closes #​565
  • core Allow Order/OrderLine customFields to be modified (ce656c4), closes #​314
  • core ChannelAware ProductVariants (4c1a2be)
  • core Extend OrderLine type with more discount & tax info (aa5513f), closes #​573
  • core Implement add/remove Surcharge methods in OrderService (6cf6984), closes #​583
  • core Implement FulfillmentHandlers (4e53d08), closes #​529
  • core Implement order modification (9cd3e24), closes #​314
  • core Implement Order surcharges (b608e14), closes #​583
  • core Implement Shipping promotion actions (69b12e3), closes #​580
  • core Implement TaxLineCalculationStrategy (95663b4), closes #​307
  • core Improve naming of price calculation strategies (ccbebc9), closes #​307
  • core Improved handling of ShopAPI activeOrder mutations (958af1a), closes #​557
  • core Log unhandled errors (4dbb974)
  • core Modify ShippingCalculator API to enable correct tax handling (1ab1c81), closes #​580 #​573
  • core Pass amount argument into createPayment method (0c85c76)
  • core Re-work handling of taxes, order-level discounts (9e39af3), closes #​573 #​573
  • core Rework Order shipping to support multiple shipping lines (a711780), closes #​580
  • core Simplify TaxCalculationStrategy API (9544dd4), closes #​307
  • core Split taxes from adjustments (2c71a82), closes #​573
  • ui-devkit Make baseUrl configurable (54700d2), closes #​552
BREAKING CHANGE
  • A change to the relation between OrderItems and Fulfillments means a database
    migration will be required to preserve fulfillment data of existing Orders.
    See the release blog post for details.

  • In order to support order modification, a couple of new default order states
    have been created - Modifying and ArrangingAdditionalPayment. Also a new DB entity,
    OrderModification has been created.

  • The OrderLine.pendingAdjustments field has been renamed to adjustments, tax
    adjustments are now stored in a new field, taxLines. This will require a DB migration to
    preserve data from existing Orders (see guide in release blog post)

  • The PaymentMethodHandler.createPayment() method now takes a new amount
    argument. Update any custom PaymentMethodHandlers to use account for this new parameter and use
    it instead of order.total when creating a new payment.

    // before
    createPayment: async (ctx, order, args, metadata) {
      const transactionAmount = order.total;
      // ...
    }
    
    // after
    createPayment: async (ctx, order, amount, args, metadata) {
      const transactionAmount = amount;
      // ...
    }
  • The TaxCalculationStrategy has been renamed to
    ProductVariantPriceCalculationStrategy and moved in the VendureConfig from taxOptions to
    catalogOptions and its API has been simplified.
    The PriceCalculationStrategy has been renamed to OrderItemPriceCalculationStrategy.

  • The Fulfillment and ShippingMethod entities have new fields relating to
    FulfillmentHandlers. This will require a DB migration, though no custom data migration will be
    needed for this particular change.

  • The addFulfillmentToOrder mutation input has changed: the method & trackingCode fields
    have been replaced by a handler field which accepts a FulfillmentHandler code, and any
    expected arguments defined by that handler.

  • The ProductTranslation entity has had a constraint removed, requiring a schema
    migration.

  • The return object of the ShippingCalculator class has changed:

    // before
    return {
      price: 500,
      priceWithTax: 600,
    };
    
    // after
    return {
      price: 500,
      taxRate: 20,
      priceIncludesTax: false,
    };

    This change will require you to update any custom ShippingCalculator implementations, and also
    to update any ShippingMethods by removing and re-selecting the ShippingCalculator.

  • The Shop API mutations setOrderShippingAddress, setOrderBillingAddress
    setOrderCustomFields now return a union type which includes a new NoActiveOrderError.
    Code which refers to these mutations will need to be updated to account for the union
    with the fragment spread syntax ...on Order {...}.

  • The TaxCalculationStrategy return value has been simplified - it now only need
    return the price and priceIncludesTax properties. The ProductVariant entity has also been
    refactored to bring it into line with the corrected tax handling of the OrderItem entity. This
    will require a DB migration. See release blog post for details.

  • The way shipping charges on Orders are represented has been changed - an Order
    now contains multiple ShippingLine entities, each of which has a reference to a ShippingMethod.
    This will require a database migration with manual queries to preserve existing order data. See
    release blog post for details.

  • There have been some major changes to the way that Order taxes and discounts are handled. For a full discussion of the issues behind these changes see #​573. These changes will
    require a DB migration as well as possible custom scripts to port existing Orders to the new
    format. See the release blog post for details.

  • The following GraphQL Order type properties have changed:

    • subTotalBeforeTax has been removed, subTotal now excludes tax, and
      subTotalWithTax has been added.
    • totalBeforeTax has been removed, total now excludes tax, and
      totalWithTax has been added.

Configuration

📅 Schedule: "every weekend" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/vendure-core-0.x branch from fa45cfa to 299231a Compare January 23, 2021 12:59
@renovate renovate bot changed the title chore(deps): update dependency @vendure/core to v0.18.1 chore(deps): update dependency @vendure/core to v0.18.2 Jan 23, 2021
@renovate renovate bot force-pushed the renovate/vendure-core-0.x branch from 299231a to 87c2cf3 Compare January 30, 2021 11:57
@renovate renovate bot changed the title chore(deps): update dependency @vendure/core to v0.18.2 chore(deps): update dependency @vendure/core to v0.18.3 Jan 30, 2021
@renovate renovate bot force-pushed the renovate/vendure-core-0.x branch from 87c2cf3 to ef3c8ac Compare February 10, 2021 20:48
@renovate renovate bot changed the title chore(deps): update dependency @vendure/core to v0.18.3 chore(deps): update dependency @vendure/core to v0.18.4 Feb 10, 2021
@renovate renovate bot force-pushed the renovate/vendure-core-0.x branch from ef3c8ac to 57db1ce Compare April 26, 2021 17:21
@renovate renovate bot changed the title chore(deps): update dependency @vendure/core to v0.18.4 chore(deps): update dependency @vendure/core to v0.18.5 Apr 26, 2021
@renovate renovate bot force-pushed the renovate/vendure-core-0.x branch from 57db1ce to 7253c6a Compare May 9, 2021 22:08
@renovate renovate bot force-pushed the renovate/vendure-core-0.x branch from 7253c6a to 7c946c9 Compare May 15, 2021 19:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant