Skip to content

6.0.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 23 Oct 12:16
· 880 commits to master since this release

Included commits: 5.2.0...6.0.0

Improvements

  • spy_shipment_method_price table is introduced to store multi-currency prices for shipment methods.
  • spy_shipment_method table is extended with shipment_method_key column to allow identify a specific entity using a readable name.
  • ShipmentMethod transfer object's DefaultPrice property is replaced with "prices" MoneyValue transfer object collection property.
  • ShipmentMethod transfer object is extended with storeCurrencyPrice property to have a specific "price mode-store-currency" related price.
  • ShipmentFacadeInterface::transformShipmentMethodEntityToShipmentMethodTransfer() method is introduced to convert a spy_shipment_method entity into ShipmentMethod transfer object.
  • ShipmentFacadeInterface::createMethod() method now saves the provided prices as well.
  • ShipmentFacadeInterface::updateMethod() method now saves the provided prices as well.
  • ShipmentFacadeInterface::getAvailableMethods() method does not set tax rate for shipment methods.
  • ShipmentFacadeInterface::getAvailableMethods() method now also retrieves price for the current store and requested currency + priceMode.
  • ShipmentFacadeInterface::getAvailableMethods() method excludes shipment methods with null prices.
  • Note: CheckoutAvailableShipmentMethodsPlugin uses Method::getAvailableMethod() method which has major changes in price retrieval.
  • MethodForm's defaultPrice field was replaced by the MoneyValue multi-currency and multi-store handling field.
  • MethodForm has its input/output as ShipmentMethod transfer object instead of generic array.
  • MethodForm::setDefaultOptions() deprecated method is removed.
  • ShipmentDependencyProvider's static Store::getInstance() access was replaced with StoreFacadeInterface interface.
  • ShipmentQueryContainer::queryMethodPriceByShipmentMethodAndStoreCurrency() method is introduced to allow selecting a specific shipment method price for a given store + currency pair within a shipment method.
  • ShipmentQueryContainer::queryMethodsWithMethodPrices() method is introduced to retrieve shipment methods with prices.
  • ShipmentTaxRateCalculator is refactored.
  • Zed UI shipment method list displays 2 new columns: net amount, gross amount.
  • Zed UI shipment method management success messages were updated.
  • Price transfer object is introduced.
  • haveShipmentCarrier data helper is introduced.
  • haveShipmentMethod data helper is introduced.
  • ShipmentMethod data provider is introduced.
  • ShipmentCarrier data provider is introduced.