Adobe Commerce B2B backward-incompatible changes
- Topics:
- B2B
CREATED FOR:
- Beginner
- Intermediate
- Admin
- Leader
- User
Review the high-level reference information for all backward-incompatible changes in B2B for Adobe Commerce releases. See the highlights section for incompatible changes that have a major impact and require detailed explanation and special instructions.
1.5.0-1.5.1
Class changes
What changed | How it changed |
---|---|
Magento\Company\Block\Company\Login\Info::__construct | [public] Method parameter typing changed. |
Magento\Company\Block\Company\Register\Link::__construct | [public] Method parameter typing changed. |
Magento\NegotiableQuote\Block\Adminhtml\Quote\View::__construct | [public] Method parameter typing changed. |
Magento\NegotiableQuote\Block\Adminhtml\Quote\View\CustomerGroup::__construct | [public] Method parameter typing changed. |
Magento\PurchaseOrderRule\Block\RuleFieldset\Condition::__construct | [public] Method parameter typing changed. |
Magento\PurchaseOrderRule\Block\RuleFieldset\ViewCondition::__construct | [public] Method parameter typing changed. |
Magento\PurchaseOrder\Block\PurchaseOrder\Info\Buttons::__construct | [public] Method parameter typing changed. |
Magento\RequisitionList\Block\Requisition\View\Item::__construct | [public] Method parameter typing changed. |
Interface changes
What changed | How it changed |
---|---|
Magento\CompanyCredit\Api\CreditBalanceManagementInterface::decrease | [public] Method parameter typing changed. |
Magento\CompanyCredit\Api\CreditBalanceManagementInterface::increase | [public] Method parameter typing changed. |
Magento\NegotiableQuoteTemplate\Api\Template\Actions\EditParentQuoteInterface::execute | [public] Method parameter typing changed. |
Magento\NegotiableQuote\Api\PaymentInformationManagementInterface::savePaymentInformation | [public] Method parameter typing changed. |
Magento\NegotiableQuote\Api\PaymentInformationManagementInterface::savePaymentInformationAndPlaceOrder | [public] Method parameter typing changed. |
Magento\PurchaseOrder\Api\Data\PurchaseOrderSearchResultsInterface::setItems | [public] Method parameter typing changed. |
Magento\PurchaseOrder\Api\PurchaseOrderPaymentInformationManagementInterface::savePaymentInformationAndPlacePurchaseOrder | [public] Method parameter typing changed. |
Layout changes
What changed | How it changed |
---|---|
company-select-tmpl | Block was removed |
store-settings-company-select-tmpl | Block was removed |
1.4.2-1.5.0
Highlights
With the addition of multi-company assignment, company user accounts can now have multiple company_id
values. The Magento\Company\Api\Data\CompanyCustomerInterface
was updated to set the default company_id
for a user. The default is set to the first company assigned to the company user account.
If you are upgrading from a previous release, Adobe recommends implementing the following methods in classes that use the Magento\Company\Api\Data\CompanyCustomerInterface
.
- Magento\Company\Api\Data\CompanyCustomerInterface::getIsDefault
- Magento\Company\Api\Data\CompanyCustomerInterface::setIsDefault
Class changes
Interface changes
Database changes
System changes
Class API membership changes
1.4.1-1.4.2
No changes.
1.4.0-1.4.1
No changes.