Skip to content

7.0.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 13 Sep 08:17
· 325 commits to master since this release

Included commits: 6.10.0...7.0.0

Improvements

  • Increased the spryker/store version dependency.
  • Introduced the GatewayController::getAvailableMethodsByShipmentAction() controller action that retrieves available methods for shipment.
  • Introduced the GatewayController::expandQuoteWithShipmentGroupsAction() controller action that expands quote items with shipments and their expenses.
  • Introduced the ShipmentFacade::getAvailableMethodsByShipment() facade method that retrieves active shipment methods for every shipment in all shipment groups of the QuoteTransfer.
  • Introduced the ShipmentFacade::findShipmentById() facade method that returns ShipmentTransfer for the provided ID.
  • Introduced the ShipmentFacade::saveShipment() facade method that creates a new shipment or update an existing one for the specified order.
  • Introduced the ShipmentFacade::createShipmentGroupTransferWithListedItems() facade method that creates a new shipment group for the specified order.
  • Introduced the ShipmentFacade::findSalesOrderItemsIdsBySalesShipmentId() facade method that returns sales order items by sales order ID and salesShipmentId or null.
  • Introduced the ShipmentFacade::expandQuoteWithShipmentGroups() facade method that expands quote items with shipments and their expenses.
  • Introduced the ShipmentFacade::expandOrderMailTransfer() facade method that expands order mail transfer data with shipment groups data.
  • Introduced the ShipmentFacade::groupEventsByShipment() facade method that groups manual events by sales shipment ID.
  • Introduced the ShipmentManualEventGrouperPlugin plugin that groups manual events by sales shipment ID.
  • Introduced the ShipmentOrderMailExpanderPlugin plugin that expands order mail transfer data with shipment groups data.
  • Introduced the ShipmentClient::getAvailableMethodsByShipment() client method that retrieves active shipment methods for every shipment in all shipment groups of the QuoteTransfer.
  • Introduced the ShipmentClient::isMultiShipmentSelectionEnabled() client method that returns multi shipment selection by enabled status.
  • Introduced the ShipmentClient::expandQuoteWithShipmentGroups() client method that expand a quote with shipment groups by items.
  • Introduced the ShipmentService::groupItemsByShipment() service method that groups items by shipment.
  • Introduced the ShipmentService::getShipmentHashKey() service method that returns hash based on a shipping address, a shipment method, and a requested delivery date.
  • Introduced the Spryker\Shared\Shipment\ShipmentConfig::isMultiShipmentSelectionEnabled() config method that controls multi shipment selection availability.
  • Introduced the Spryker\Shared\Shipment\ShipmentConfig::SHIPMENT_EXPENSE_TYPE constant for a shipment expense type.
  • Introduced the \Spryker\Zed\Shipment\ShipmentConfig::getShipmentExpenseType() config method that returns a shipment expense type name.
  • Adjusted the SalesController::listAction() controller action, so now it supports split delivery.
  • Adjusted the ShipmentFacade::createMethod() facade method, so now it uses strict types for a return value.
  • Adjusted the ShipmentFacade::calculateShipmentTaxRate() facade method for support of split delivery in the BC way.
  • Impacted the ShipmentTaxRateCalculatorPlugin plugin with facade changes.
  • Adjusted the ShipmentFacade::saveOrderShipment() facade method for support of split delivery in the BC way.
  • Impacted the OrderShipmentSavePlugin plugin with facade changes.
  • Adjusted the ShipmentFacade::saveShipmentForOrder() facade method for support of split delivery in the BC way.
  • Adjusted the ShipmentFacade::hydrateOrderShipment() facade method for support of split delivery in the BC way.
  • Adjusted the ShipmentFacade::filterObsoleteShipmentExpenses() facade method for support of split delivery in the BC way.
  • Added the following new module dependencies:
    • spryker/calculation
    • spryker/customer
    • spryker/price
    • spryker/shipment-extension
    • spryker/oms-extension
  • Adjusted dependencies to allow a new version of spryker/sales.

Deprecations

  • Deprecated the QuoteTransfer::$shipment transfer object property; use the item level shipment ItemTransfer::$shipment instead.
  • Deprecated the QuoteTransfer::$shippingAddresses transfer object property; use the item level shipping addresses ItemTransfer::$shipment::$shippingAddress instead.
  • Deprecated the Order::$idShipmentMethod transfer object property; use the item level shipment method ItemTransfer::$shipment::$method::$idShipmentMethod instead.
  • Deprecated the OrderTransfer::$shipmentDeliveryTime transfer object property, use the shipment method, the delivery time ItemTransfer::$shipment::$method::$deliveryTime instead.
  • Deprecated the OrderTransfer::$shipmentMethods transfer object property.
  • Deprecated the GatewayController::getAvailableMethodsAction() controller action.
  • Deprecated the ShipmentConstants::SHIPMENT_EXPENSE_TYPE constant; use Spryker\Shared\Shipment\ShipmentConfig::SHIPMENT_EXPENSE_TYPE constant instead.
  • Deprecated the ShipmentClient::getAvailableMethods() client method.
  • Deprecated the ShipmentFacade::getAvailableMethods() facade method.
  • Deprecated the CheckoutAvailableShipmentMethodsPlugin plugin.
  • Deprecated the ShipmentFacade::getShipmentMethodTransferById() facade method.
  • Deprecated the ShipmentFacade::getShipmentExpenseTypeIdentifier() facade method.
  • Deprecated ShipmentMethodAvailabilityPluginInterface.
  • Deprecated ShipmentMethodDeliveryTimePluginInterface.
  • Deprecated ShipmentMethodPricePluginInterface.
  • Deprecated ShipmentMethodFilterPluginInterface.