Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download commerce-8.x-2.16.tar.gztar.gz 632.78 KB
MD5: 5e383cfc5de93139fccf854edbc0614b
SHA-1: c290217622e952b69e0ff8187cb5d44cfd902449
SHA-256: a4e53f73b241278ba57e082a79301c60e15584c0da95bbbcbd671ed76f0a3ec4
Download commerce-8.x-2.16.zipzip 1.33 MB
MD5: d4532585248748020cd2a9617ee41b00
SHA-1: 9c3297f4f18d1276bd76d2129aac3b4476dc5db5
SHA-256: 9e696f0baceee19d8d1e05f87eac8346679cac46f79fe547e2ff46d171efd941

Release notes

Summary

  • Added cart expiration (delete abandoned carts after a configured number of days)
  • Promotion start/end dates now have a time component as well
  • Reworked timezone handling for promotions and taxes
  • Reworked Views integration for base fields, fixing over a dozen issues
  • #3002939: Convert order/product multivalue configurable fields back into base fields improves both JSON API and GraphQL usage, since stores/variations/order_items fields are now available by default without selecting a bundle. It also eliminates a class of bugs where on some installs these fields weren't created properly.

Warning: Because of #3002939: Convert order/product multivalue configurable fields back into base fields, any exported product and order types will need to be updated to remove the exported stores/variations/order_items fields (which are now base fields), as well as dependencies on them from the exported form/view displays. We have tagged new releases of commerce_demo and commerce_recurring for this reason. See #3099622: Update for Commerce 2.16 for an example fix.

Contributors (31)

mirom, bojanz, johnjw59, czigor, dion-jensen, manuel.adan, firfin, lisastreeter, andyg5000, rovo, Gode.Agarunov, AndyD328, joachim, flocondetoile, mglaman, tuutti, rthornton, jacobbell84, carstenG, drugan, mradcliffe, Neograph734, quietone, Wim Leers, nlz, chrisrockwell, Hubbs, petar.gnjidic, tbradbury, shabana.navas, jsacksick

Changelog

Issues: 40 issues resolved.

Changes since 8.x-2.15:

Bug

  • #2945939 by czigor, bojanz, dion-jensen, manuel.adan, firfin: Remove the default_store config key, replace it with isDefault() flag
  • #3099624 by bojanz: MailHandler does not support specifying "CC" addresses
  • #3099335 by bojanz: commerce_price_form_views_ui_config_item_form_alter() does not handle configurable fields properly
  • #3099314 by bojanz: The currency_code views filter does not provide available options
  • #3029969 by lisastreeter, andyg5000, bojanz: "Product variation: Operations links" causes a crash in ProductVariationListBuilder
  • #3066704 by bojanz, rovo: Missing "Link to Product variation" views handler
  • #3095829 by bojanz, Gode.Agarunov, AndyD328: The product/order views update functions should not cover Search API views
  • #3003105 by czigor, bojanz: The views bundle (type) filter shows items that the user doesn't have access to
  • #2914092 by bojanz, joachim: Views field handler for bundle field shows machine names for an entity with bundle plugins
  • #3027073 by mradcliffe, bojanz: Exceptions thrown by Price need to have a message
  • #3072156 by bojanz: ConfigurableFieldManager::hasData() doesn't work for address field types
  • #3097581 by bojanz: EntityViewsData generates incorrect data for fields with multiple properties (address, price)
  • #3097586: Multivalue base fields are missing the "delta" views field
  • #3097072 by bojanz: Bundle plugin fields don't have views integration
  • #3096157 by bojanz: Notice: Undefined index: entity_type in commerce_price.module on line 51
  • #3095413 by bojanz: Error: Call to a member function getCountryCode() on null in Drupal\commerce_order\AddressBook->isAvailable()
  • #3093398 by bojanz: Boolean getters must cast the value before returning it
  • #3093396 by bojanz: PaymentMethod's is_default boolean is missing a default value

Feature

Task

Created by: bojanz
Created on: 11 Dec 2019 at 14:22 UTC
Last updated: 27 May 2020 at 16:49 UTC
Bug fixes
New features
Insecure

Other releases