####General
-
Upgrade to 2.0 is available only from 1.10 version.
To correctly upgrade to version 2.0 follow the steps in the guide How to Upgrade to a New Version. At Step 7 instead of running
$ sudo -u www-data php app/console oro:platform:update --env=prod --force
you will run only once the upgrade command introduced to help upgrading from 1.10 to 2.0
$ sudo -u www-data php app/console oro:platform:upgrade20 --env=prod --force
Upgrade from version less then 1.10 is not supported.
-
Changed minimum required php version to 5.6
-
Field
dataChannel
forLead
andOpportunity
was removed. To keep BC after upgrade to 2.0 and keep data in reports and data grids this field is converted in extend field with namedata_channel
.
###SOAP API was removed
- removed all dependencies to the
besimple/soap-bundle
bundle. - removed SOAP annotations from the entities. Updated entities:
- Oro\Bundle\AccountBundle\Entity\Account
- Oro\Bundle\ContactBundle\Entity\Contact
- Oro\Bundle\ContactBundle\Entity\ContactAddress
- Oro\Bundle\ContactBundle\Entity\ContactEmail
- Oro\Bundle\ContactBundle\Entity\ContactPhone
- Oro\Bundle\ContactBundle\Entity\Group
- Oro\Bundle\ContactBundle\Entity\Method
- Oro\Bundle\ContactBundle\Entity\Source
- Oro\Bundle\MagentoBundle\Entity\Address
- Oro\Bundle\MagentoBundle\Entity\CartAddress
- Oro\Bundle\MagentoBundle\Entity\OrderAddress
- Oro\Bundle\SalesBundle\Entity\B2bCustomerEmail
- Oro\Bundle\SalesBundle\Entity\LeadAddress
- Oro\Bundle\SalesBundle\Entity\LeadEmail
- removed classes:
- Oro\Bundle\AccountBundle\Controller\Api\Soap\AccountController
- Oro\Bundle\ContactBundle\Controller\Api\Soap\ContactController
- Oro\Bundle\ContactBundle\Controller\Api\Soap\ContactGroupController
- Oro\Bundle\SearchBundle\Controller\Api\SoapController
- Oro\Bundle\CaseBundle\Entity\CaseCommentSoap
- Oro\Bundle\CaseBundle\Entity\CaseEntitySoap
- Oro\Bundle\AccountBundle\Tests\Functional\API\SoapAccountTest
- Oro\Bundle\CaseBundle\Tests\Functional\Controller\Api\Soap\CaseControllerTest
- Oro\Bundle\CaseBundle\Tests\Functional\Controller\Api\Soap\CommentControllerTest
- Oro\Bundle\ContactBundle\Tests\Functional\API\SoapContactApiTest
- Oro\Bundle\ContactBundle\Tests\Functional\API\SoapContactGroupApiTest
####OroSalesBundle:
- Removed fields
workflowItem
andworkflowStep
from entityOro\Bundle\SalesBundle\Entity\Lead
- Removed fields
workflowItem
andworkflowStep
from entityOro\Bundle\SalesBundle\Entity\Opportunity
- Removed fields
workflowItem
andworkflowStep
from entityOro\Bundle\SalesBundle\Entity\SalesFunnel
OroCRM/Bundle/SalesBundle/Entity/LeadMailboxProcessSettings
extendsOro\Bundle\SalesBundle\Model\ExtendLeadMailboxProcessSettings
- Class
Oro\Bundle\SalesBundle\Provider\LeadToOpportunityProvider
- construction signature was changed, now it takes the next arguments:
B2bGuesser
$b2bGuesser,EntityFieldProvider
$entityFieldProvider,ChangeLeadStatus
$changeLeadStatus
- method
isDisqualifyAndConvertAllowed
was removed. Use methodsOro\Bundle\SalesBundle\Provider\LeadActionsAccessProvider::isDisqualifyAllowed
andOro\Bundle\SalesBundle\Provider\LeadActionsAccessProvider::isConvertToOpportunityAllowed
instead.
- construction signature was changed, now it takes the next arguments:
- Changed signature of constructor of
Oro\Bundle\SalesBundle\Form\Type\LeadType
- now it takes the following argument: -EntityAliasResolver $entityAliasResolver
. - Changed signature of constructor of
Oro\Bundle\SalesBundle\Form\Type\OpportunityType
- now it takes the following arguments: -ProbabilityProvider $probabilityProvider
,EnumValueProvider $enumValueProvider
,EnumTypeHelper $typeHelper
,OpportunityRelationsBuilder $relationsBuilder
,EntityAliasResolver $entityAliasResolver
. - Changed signature of constructor of
Oro\Bundle\SalesBundle\Provider\LeadToOpportunityProvider
- now it takes the following arguments: -EntityFieldProvider $entityFieldProvider
,ChangeLeadStatus $changeLeadStatus
- Service (
Oro\Bundle\SalesBundle\Model\B2bGuesser
) removed - Guesser (
Oro\Bundle\ChannelBundle\Form\Guesser\ChannelTypeGuesser
) removed Lead
andOpportunity
entities do not implementChannelAwareInterface
ChannelEntityTrait
was removed fromLead
andOpportunity
entities- Type (
Oro\Bundle\SalesBundle\Form\Type\LeadDataChannelAwareSelectType
) is removed - Type (
Oro\Bundle\SalesBundle\Form\Type\OpportunityDataChannelAwareSelectType
) is removed - For the type (
Oro\Bundle\SalesBundle\Form\Type\LeadSelectType
) was changed parent fromoro_entity_create_or_select_inline_channel_aware
tooro_entity_create_or_select_inline
- For the type (
Oro\Bundle\SalesBundle\Form\Type\OpportunitySelectType
) was changed parent fromoro_entity_create_or_select_inline_channel_aware
tooro_entity_create_or_select_inline
- Data girds
sales-funnel-lead-with-data-channel-grid
andsales-funnel-opportunity-with-data-channel-grid
were removed - Validation NotBlank for field
dataChannel
of entitiesOro\Bundle\ContactUsBundle\Entity\ContactRequest, Oro\Bundle\SalesBundle\Entity\Opportunity, Oro\Bundle\SalesBundle\Entity\Lead
was removed - Configurations of data grids
sales-opportunity-for-context-grid, sales-lead-for-context-grid, sales-lead-grid, sales-opportunity-grid
were updated. There were deleted configurations channelName in the sections columns, filters, sorters. - Changed signature of constructor of
Oro\Bundle\SalesBundle\Datagrid\Extension\Customers\AccountExtension
. The argumentGridConfigurationHelper $gridConfigurationHelper
was replaces withEntityClassResolver $entityClassResolver
.
####OroCaseBundle:
OroCRM/Bundle/CaseBundle/Entity/CaseMailboxProcessSettings
extendsOro\Bundle\CaseBundle\Model\ExtendCaseMailboxProcessSettings
####OroContactUsBundle:
- Removed fields
workflowItem
andworkflowStep
from entityOro\Bundle\ContactUsBundle\Entity\ContactRequest
- Removed implementation
ChannelAwareInterface
inOro/Bundle/ContactUsBundle/Entity/ContactRequest
####OroMagentoBundle:
- Removed fields
workflowItem
andworkflowStep
from entityOro\Bundle\MagentoBundle\Entity\Cart
- Removed fields
workflowItem
andworkflowStep
from entityOro\Bundle\MagentoBundle\Entity\Order
- The
Oro\Bundle\MagentoBundle\Provider\CartExpirationProcessor
now implementsOro\Bundle\IntegrationBundle\Provider\SyncProcessorInterface
- The class
Oro\Bundle\MagentoBundle\Command\CartExpirationSyncCommand
renamed toOro\Bundle\MagentoBundle\Command\SyncCartExpirationCommand
. - The
Oro\Bundle\MagentoBundle\Command\InitialSyncCommand
command was removed. - Removed constant
SELECT_PATH
fromOro\Bundle\MagentoBundle\EventListener\OrderGridListener
####OroChannelBundle:
- The event
orocrm_channel.channel.status_change
was removed. Use the message queue topicoro.channel.channel_status_changed
instead. - The class
Oro\Bundle\ChannelBundle\EventListener\ChangeIntegrationStatusListener
was removed. - The class
Oro\Bundle\ChannelBundle\Event\ChannelChangeStatusEvent
was removed. - The parameter
orocrm_channel.event_listener.change_integration_status.class
was removed. - The parameter
orocrm_channel.event_listener.timezone_change.class
was removed. - Channel configuration file now loads from
Resources/config/oro/channels.yml
instead ofResources/config/channel_configuration.yml
. - Root node for channel config in
Resources/config/oro/channels.yml
were changed fromorocrm_channel
tochannels
. - Added channel repository interface
Oro\Bundle\ChannelBundle\Entity\Repository\ChannelRepositoryInterface
. - Added channel repository abstract
Oro\Bundle\ChannelBundle\Entity\Repository\ChannelRepositoryAbstract
. - Deprecated
getVisitsCountByPeriodForChannelType()
method inOro\Bundle\ChannelBundle\Entity\Repository\ChannelRepositoryInterface
. - The interface
Oro/Bundle/ChannelBundle/Model/CustomerIdentityInterfaceCustomerIdentityInterface
was removed. - Using active/inactive status for channel terminated.
###OroMarketingListBundle
- Class
Oro\Bundle\MarketingListBundle\Model\ContactInformationFieldHelper
:- method
getQueryContactInformationColumns
was removed. Use methodgetQueryContactInformationFields
instead. - method
getEntityContactInformationColumns
was removed. Use method getEntityContactInformationFields
instead. - method
getEntityContactInformationColumnsInfo
was removed. Use methodgetEntityContactInformationFieldsInfo
instead. - method
getEntityLevelContactInfoColumns
was removed. Use methodgetEntityLevelContactInfoFields
instead.
- method
####OroAnalyticsBundle:
- The class
Oro\Bundle\AnalyticsBundle\Model\StateManager
and its serviceorocrm_analytics.model.state_manager
were removed. - The method
scheduleRecalculation
ofOro\Bundle\AnalyticsBundle\Model\RFMMetricStateManager
was removed. Use appropriate method fromOro\Bundle\AnalyticsBundle\Service\CalculateAnalyticsScheduler
service.
####CalendarCRMBridgeBundle:
- CalendarCRMBridgeBundle was added to integrate OroCalendarBundle into CRM
####OroCampaignBundle
- Moved
CampaignBundle
to a separatemarketing
package, required by default in the CRM application.
####OroMarketingListBundle
- Moved
MarketingListBundle
to a separatemarketing
package, required by default in the CRM application.
####OroDataGridBundle:
- New ACL Capability "Export Grid View" added under "Application" Category to control Export Grid action.
####OroSecurityBundle:
- Added fixture data loader
Oro\Bundle\SecurityBundle\Migrations\Data\ORM\AbstractLoadAclData
to provide easy way for setting default ACLs for Roles
####ContactBundle:
- Constructor of
Oro\Bundle\ContactBundle\EventListener\PrepareResultItemListener
was changed. AddedOro\Bundle\EntityBundle\ORM\DoctrineHelper
as last argument.
####ReportCRMBundle
- The command
oro:report:update
and its classOro\Bundle\ReportCRMBundle\Command\ReportUpdateCommand
were removed.