Liferay DXP 2024.Q2 Breaking Changes
Breaking changes break or significantly alter existing functionality or code structure. Here are all of the breaking changes for Liferay DXP 2024.Q2. As the product changes and improves, we try our best to minimize these disruptions, but sometimes they are unavoidable.
Changes in Liferay DXP
Here is a list of changes that break or significantly alter existing functionality within Liferay.
| Breaking Change | Description | References | 
|---|---|---|
| Commerce Countries Page Removed | The Countries page is removed from the Commerce menu because it’s no longer a Commerce-specific feature. Countries are now instead managed via the Countries Management page in the Control Panel. | LPD-15148 | 
| Translating Status for Web Content Articles | Translating any field in a web content article now changes the status to Translating. The article is only considered translated once all fields are translated. | LPD-6589 | 
| Confirming Permissions when Publishing Content | Users are prompted to confirm permissions for new content when initially published or saved, requiring an extra click. This is not required for updates or subsequent publishes. | LPD-6769 | 
| Date Shown in the Mine Content Filter | The Mine content filter displays creation dates for content instead of modified dates. | LPD-6830 | 
| Date Shown in the Recent Content Filter | The Recent content filter displays creation dates for content instead of modified dates. | LPD-6828 | 
| Virtual Hosts for Default Sites in Company XML Sitemaps | A new SEO menu is added to Instance Settings to select specific sites for the instance, and the default site cannot be removed from the list. If the default site has a Virtual Host defined, it is not added to the company’s XML sitemap (though it is in the description). | LPD-6672 | 
| Removed Configuration Screens for Utility Pages | Configuration screens not relevant to utility pages no longer appear when configuring them. The HTML Title, HTML Description, and SEO Configuration screens are still included. | LPD-4459 | 
| Clearing Facet Selections for New Searches | Searching with a new keyword (in the header’s search bar or a search bar widget) clears all selected facets. The old behavior of keeping selected facets can be enabled via the Retain Facet Selections Across Searches option in the Search Options widget. | LPD-19994 | 
| com.liferay.portal.kernel.util.RemotePreferenceAPI Removed | The com.liferay.portal.kernel.util.RemotePreferenceAPI is removed. Any custom code using theUser.getRemotePreference(String)orUser.getRemotePreferences()methods is impacted. Instead, get the necessary cookies from the request to get remote preferences. | LPD-20659 | 
| Localizations for Custom Objects | Users can now set the localization for custom objects. Translatable object fields now use the preferred Locale given by the DTOConverterContext. Depending on your use case, adjust your code to add or remove theAccept-Languageheader. | LPD-19561 | 
Changes in Module Source Code
CMISRepositoryHandler.java
modules/apps/document-library/document-library-repository-cmis-api/src/main/java/com/liferay/document/library/repository/cmis/CMISRepositoryHandler.java
- Date: Feb. 9, 2024
- Ticket: LPD-6960
- What Changed: The addFileEntry(String, long, long, String, String, String, String, String, String, InputStream, long, Date, Date, ServiceContext)has a newDate(displayDate) parameter.
- Reason: The new parameter implements the new method in DocumentRepository.
FragmentEntryLocalServiceUtil.java
modules/apps/fragment/fragment-api/src/main/java/com/liferay/fragment/service/FragmentEntryLocalServiceUtil.java
- Date: Feb. 9, 2024
- Ticket: LPD-16310
- What Changed: The updateFragmentEntry(long, long, long, String, String, String, String, boolean, String, String, long, int)method was removed. Instead, useupdateFragmentEntry(long, long, long, String, String, String, String, boolean, String, String, long, boolean, String, int).
- Reason: Updating a fragment entry now requires additional parameters.
FragmentEntryServiceUtil.java
modules/apps/fragment/fragment-api/src/main/java/com/liferay/fragment/service/FragmentEntryServiceUtil.java
- Date: Feb. 9, 2024
- Ticket: LPD-16310
- What Changed: The updateFragmentEntry(long, long, String, String, String, String, boolean, String, String, long, int)method was deleted. Instead, useupdateFragmentEntry(long, long, String, String, String, String, boolean, String, String, long, boolean, String, int).
- Reason: Updated a fragment entry now requires additional parameters.
GroupSearchProvider.java
modules/apps/site/site-api/src/main/java/com/liferay/site/provider/GroupSearchProvider.java
- Date: Feb. 12, 2024
- Ticket: LPD-17465
- What Changed: The setResultsAndTotal(List<String>, GroupSearch, PortletRequest)method has a newlong[](excludedGroupIds) parameter.
- Reason: This change is necessary to exclude some sites from the site item selector (for example, when the parent site is being changed).
FriendlyURLSeparatorCompanyConfiguration.java
modules/apps/friendly-url/friendly-url-api/src/main/java/com/liferay/friendly/url/configuration/FriendlyURLSeparatorCompanyConfiguration.java
- Date: Feb. 14, 2024
- Ticket: LPD-15434
- What Changed: The friendlyURLSeparatorsmethod is removed. Instead, a newfriendlyURLSeparatorsJSONObjectStringmethod is added.
- Reason: This change is made to be consistent with the naming pattern in other locations.
SitemapConfigurationManager.java
modules/apps/site/site-api/src/main/java/com/liferay/site/configuration/manager/SitemapConfigurationManager.java
- Date: Feb. 15, 2024
- Ticket: LPD-15718
- What Changed: The saveSitemapCompanyConfigurationmethod has a newlong[](companySitemapGroupIds) parameter. Additionally, the newgetCompanySitemapGroupIds(long)method is added.
- Reason: This change is necessary to save the group IDs for the company sitemap configuration.
BatchEngineImportTaskServiceImpl.java
modules/apps/batch-engine/batch-engine-service/src/main/java/com/liferay/batch/engine/service/impl/BatchEngineImportTaskServiceImpl.java
- Date: Feb. 19, 2024
- Ticket: LPD-15802
- What Changed: The new addBatchEngineImportTask(String, long, long, long, String, String, byte[], String, String, Map<String, String>, int, String, Map<String, Serializable>, String),addBatchEngineImportTask(String, long, long, long, String, String, byte[], String, String, Map<String, String>, int, String, Map<String, Serializable>, String, BatchEngineTaskItemDelegate<?>),getBatchEngineImportTaskByExternalReferenceCode(String, long), andgetBatchEngineImportTasksCount(long)methods are added.
- Reasons: This change is necessary to ensure only administrators and owners can read exported information.
BatchEngineImportTaskServiceImpl.java
modules/apps/batch-engine/batch-engine-service/src/main/java/com/liferay/batch/engine/service/impl/BatchEngineImportTaskServiceImpl.java
- Date: Feb. 19, 2024
- Ticket: LPD-15576
- What Changed: The new getBatchEngineImportTask(long)method is added.
- Reason: This change is necessary to retrieve a specific BatchEngineImportTaskwith controlled permissions.
rest-openapi.yaml
/modules/apps/digital-signature/digital-signature-rest-impl/rest-openapi.yaml
- Date: Feb. 19, 2024
- Ticket: LPD-15600
- What Changed: The getSiteDSEnvelopesPageAPI has newStringparameters (forfromDate,keywords,order, andstatus).
- Reason: The additional parameters are necessary to filter DSEnvelopeobjects.
BatchEngineExportTaskServiceImpl.java
modules/apps/batch-engine/batch-engine-service/src/main/java/com/liferay/batch/engine/service/impl/BatchEngineExportTaskServiceImpl.java
- Date: Feb. 19, 2024
- Ticket: LPD-15802
- What Changed: The new addBatchEngineExportTask(String, long, long, String, String, String, String, List<String>, Map<String, Serializable>, String),getBatchEngineExportTaskByExternalReferenceCode(String, long), andgetBatchEngineExportTasksCount(long)methods are added.
- Reason: The new methods are necessary to ensure only administrators and owners can read exported information.
BatchEngineExportTaskServiceImpl.java
modules/apps/batch-engine/batch-engine-service/src/main/java/com/liferay/batch/engine/service/impl/BatchEngineExportTaskServiceImpl.java
- Date: Feb. 19, 2024
- Ticket: LPD-15576
- What Changed: The new getBatchEngineExportTask(long)method is added.
- Reason: The new method is necessary to retrieve a specific BatchEngineExportTaskwith controlled permissions.
BatchEngineImportTaskServiceImpl.java
modules/apps/batch-engine/batch-engine-service/src/main/java/com/liferay/batch/engine/service/impl/BatchEngineImportTaskServiceImpl.java
- Date: Feb. 21, 2024
- Ticket: LPD-15576
- What Changed: The getBatchEngineImportTaskErrorsmethod is removed.
- Reason: The getBatchEngineImportTaskErrorslogic belongs inBatchEngineImportErrorTaskLocalServiceinstead.
APIApplication.java
modules/apps/headless/headless-builder/headless-builder-api/src/main/java/com/liferay/headless/builder/application/APIApplication.java
- Date: Feb. 21, 2024
- Ticket: LPD-11973
- What Changed: The new getPropertyTypemethod is added.
- Reason: This change adds support for API property types.
CTCollectionResource.java
modules/apps/change-tracking/change-tracking-rest-api/src/main/java/com/liferay/change/tracking/rest/resource/v1_0/CTCollectionResource.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getCTCollectionsPageandpostCTCollectionsPageExportBatchare reordered.
- Reason: This change sorts the parameters in a consistent order.
CTEntryResource.java
modules/apps/change-tracking/change-tracking-rest-api/src/main/java/com/liferay/change/tracking/rest/resource/v1_0/CTEntryResource.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getCtCollectionCTEntriesPageare reordered.
- Reason: This change sorts the parameters in a consistent order.
CTProcessReource.java
modules/apps/change-tracking/change-tracking-rest-api/src/main/java/com/liferay/change/tracking/rest/resource/v1_0/CTProcessResource.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getCTProcessesPageandpostCTProcessesPageExportBatchare reordered.
- Reason: This change sorts the parameters in a consistent order.
CTCollectionResource.java
modules/apps/change-tracking/change-tracking-rest-client/src/main/java/com/liferay/change/tracking/rest/client/resource/v1_0/CTCollectionResource.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getCTCollectionsPage,getCTCollectionsPageHttpResponse,postCTCollectionsPageExportBatch, andpostCTCollectionsPageExportBatchHttpResponsein multiple classes contained inCTCollectionResourceare reordered.
- Reason: This change sorts the parameters consistently.
CTEntryResource.java
modules/apps/change-tracking/change-tracking-rest-client/src/main/java/com/liferay/change/tracking/rest/client/resource/v1_0/CTEntryResource.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getCtCollectionCTEntriesPageandgetCtCollectionCTEntriesPageHttpResponsein multiple classes contained inCTEntryResourceare reordered.
- Reason: This change sorts the parameters consistently.
CTProcessResource.java
modules/apps/change-tracking/change-tracking-rest-client/src/main/java/com/liferay/change/tracking/rest/client/resource/v1_0/CTProcessResource.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getCTProcessesPage,getCTProcessesPageHttpResponse,postCTProcessesPageExportBatch, andpostCTProcessesPageExportBatchHttpResponsein multiple classes contained inCTProcessResourceare reordered.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/change-tracking/change-tracking-rest-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getCTCollectionsPage,getCtCollectionCTEntriesPage, andgetCTProcessesPageAPIs.
- Reason: This change sorts the parameters consistently.
CTCollectionResourceImpl.java
modules/apps/change-tracking/change-tracking-rest-impl/src/main/java/com/liferay/change/tracking/rest/internal/resource/v1_0/CTCollectionResourceImpl.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getCTCollectionsPageandpostCTCollectionsPageExportBatchare reordered.
- Reason: This change sorts the parameters consistently.
CTEntryResourceImpl.java
modules/apps/change-tracking/change-tracking-rest-impl/src/main/java/com/liferay/change/tracking/rest/internal/resource/v1_0/CTEntryResourceImpl.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getCtCollectionCTEntriesPageare reordered.
- Reason: This change sorts the parameters consistently.
CTProcessResourceImpl.java
modules/apps/change-tracking/change-tracking-rest-impl/src/main/java/com/liferay/change/tracking/rest/internal/resource/v1_0/CTProcessResourceImpl.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getCTProcessesPageare reordered.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/commerce/headless/headless-commerce/headless-commerce-admin-catalog-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getProductByExternalReferenceCodeRelatedProductsPageandgetProductIdRelatedProductsPageAPIs.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/commerce/headless/headless-commerce/headless-commerce-admin-inventory-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getWarehouseItemsUpdatedPageAPI.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/commerce/headless/headless-commerce/headless-commerce-delivery-cart-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getCartItemsPageAPI.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/commerce/headless/headless-commerce/headless-commerce-delivery-catalog-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getChannelProductProductOptionProductOptionValuesPage,postChannelProductProductOptionProductOptionValuesPage, andgetChannelProductRelatedProductsPageAPIs.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/headless/headless-admin-content/headless-admin-content-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getSiteDisplayPageTemplatesPageandgetSiteStructuredContentsPageAPIs.
- Reason: This change sorts the parameters consistently.
KeywordResource.java
modules/apps/headless/headless-admin-taxonomy/headless-admin-taxonomy-api/src/main/java/com/liferay/headless/admin/taxonomy/resource/v1_0/KeywordResource.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getKeywordsRankedPageare reordered.
- Reason: This change sorts the parameters consistently.
KeywordResource.java
modules/apps/headless/headless-admin-taxonomy/headless-admin-taxonomy-client/src/main/java/com/liferay/headless/admin/taxonomy/client/resource/v1_0/KeywordResource.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getKeywordsRankedPageandgetKeywordsRankedPageHttpResponsein multiple classes contained inKeywordResourceare reordered.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/headless/headless-admin-taxonomy/headless-admin-taxonomy-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getAssetLibraryKeywordsPage,getAssetLibraryTaxonomyVocabulariesPage,getKeywordsRankedPage,getSiteKeywordsPage,getSiteTaxonomyVocabulariesPage,getTaxonomyCategoriesRankedPage,getTaxonomyCategoryTaxonomyCategoriesPage, andgetTaxonomyVocabularyTaxonomyCategoriesPageAPIs.
- Reason: This change sorts the parameters consistently.
KeywordResourceImpl.java
modules/apps/headless/headless-admin-taxonomy/headless-admin-taxonomy-impl/src/main/java/com/liferay/headless/admin/taxonomy/internal/resource/v1_0/KeywordResourceImpl.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getKeywordsRankedPageare reordered.
- Reason: This change sorts the parameters consistently.
RoleResource.java
modules/apps/headless/headless-admin-user/headless-admin-user-api/src/main/java/com/liferay/headless/admin/user/resource/v1_0/RoleResource.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getRolesPageandpostRolesPageExportBatchare reordered.
- Reason: This change sorts the parameters consistently.
RoleResource.java
modules/apps/headless/headless-admin-user/headless-admin-user-client/src/main/java/com/liferay/headless/admin/user/client/resource/v1_0/RoleResource.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getRolesPage,getRolesPageHttpResponse,postRolesPageExportBatch, andpostRolesPageExportBatchHttpResponsein multiple classes contained inRoleResourceare reordered.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/headless/headless-admin-user/headless-admin-user-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getAccountAccountRolesByExternalReferenceCodePage,getAccountAccountRolesPage,getOrganizationsPage,getOrganizationChildOrganizationsPage,getOrganizationOrganizationsPage, andgetRolesPageAPIs.
- Reason: This change sorts the parameters consistently.
RoleResourceImpl.java
modules/apps/headless/headless-admin-user/headless-admin-user-impl/src/main/java/com/liferay/headless/admin/user/internal/resource/v1_0/RoleResourceImpl.java
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters in getRolesPageare reordered.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/headless/headless-admin-workflow/headless-admin-workflow-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getWorkflowInstanceWorkflowLogsPage,getWorkflowTasksAssignedToRolePage, andgetWorkflowTaskWorkflowLogsPageAPIs.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/headless/headless-delivery/headless-delivery-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getAssetLibraryContentElementsPage,getAssetLibraryContentSetByKeyContentSetElementsPage,getAssetLibraryContentSetByUuidContentSetElementsPage,getAssetLibraryContentStructuresPage,getAssetLibraryContentTemplatesPage,getAssetLibraryDocumentFoldersPage,getAssetLibraryDocumentsPage,getAssetLibraryStructuredContentFoldersPage,getAssetLibraryStructuredContentsPage,getBlogPostingCommentsPage,getCommentCommentsPage,getContentSetContentSetElementsPage,getContentStructureStructuredContentsPage,getDocumentFolderDocumentsPage,getDocumentFolderDocumentFoldersPage,getDocumentCommentsPage,getKnowledgeBaseArticleKnowledgeBaseArticlesPage,getKnowledgeBaseFolderKnowledgeBaseArticlesPage,getKnowledgeBaseFolderKnowledgeBaseFoldersPage,getMessageBoardMessageMessageBoardMessagesPage,getMessageBoardSectionMessageBoardThreadsPage,getMessageBoardSectionMessageBoardSectionsPage,getMessageBoardThreadsRankedPage,getMessageBoardThreadMessageBoardMessagesPage,getSiteBlogPostingImagesPage,getSiteBlogPostingsPage,getSiteContentElementsPage,getSiteContentSetByKeyContentSetElementsPage,getSiteContentSetByUuidContentSetElementsPage,getSiteContentStructuresPage,getSiteContentTemplatesPage,getSiteDocumentFoldersPage,getSiteDocumentsPage,getSiteKnowledgeBaseArticlesPage,getSiteKnowledgeBaseFoldersPage,getSiteMessageBoardMessagesPage,getSiteMessageBoardSectionsPage,getSiteMessageBoardThreadsPage,getSiteNavigationMenusPage,getSiteSitePagesPage,getSiteStructuredContentFoldersPage,getSiteStructuredContentsPage,getSiteWikiNodesPage,getStructuredContentFolderStructuredContentFoldersPage,getStructuredContentFolderStructuredContentsPage,getStructuredContentCommentsPage, andgetWikiNodeWikiPagesPageAPIs.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/headless/headless-user-notification/headless-user-notification-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getMyUserNotificationsPageandgetUserAccountUserNotificationsPageAPIs.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/object/object-rest-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getObjectEntriesPageandgetScopeScopeKeyPageAPIs.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/apps/portal-search/portal-search-rest-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the postSearchPageAPI.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/dxp/apps/commerce/headless/headless-commerce-machine-learning-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getSkuForecastsByMonthlyRevenuePageAPI.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/dxp/apps/portal-workflow/portal-workflow-metrics-rest-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the getProcessMetricsPage,getProcessInstancesPage,getProcessNodeMetricsPage, andgetProcessSLAsPageAPIs.
- Reason: This change sorts the parameters consistently.
rest-openapi.yaml
modules/dxp/apps/search-experiences/search-experiences-rest-impl/rest-openapi.yaml
- Date: Feb. 21, 2024
- Ticket: LPD-18192
- What Changed: The parameters are reordered for the postSearchAPI.
- Reason: This change sorts the parameters consistently.
com-fedex-ws
/modules/third-party/com-fedex-ws
- Date: Feb. 22, 2024
- Ticket: LPD-3475
- What Changed: The com-fedex-wsmodule is removed.
- Reason: The module is removed for security concerns.
commerce-shipping-engine-fedex
/modules/apps/commerce/commerce-shipping-engine-fedex
- Date: Feb. 22, 2024
- Ticket: LPD-3475
- What Changed: The commerce-shipping-engine-fedexmodule is removed.
- Reason: The module is removed for security concerns.
PanelCategoryRegistry.java
modules/apps/application-list/application-list-api/src/main/java/com/liferay/application/list/PanelCategoryRegistry.java
- Date: Feb. 26, 2024
- Ticket: LPS-196226
- What Changed: The PanelCategoryRegistryclass is renamed toPanelCategoryRegistryUtiland moved to thecom.liferay.application.list.utilpackage.
- Reason: The PanelCategoryRegistrycomponent has its own name as a service.
CPDefinitionSpecificationOptionValueLocalService.java
modules/apps/commerce/commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPDefinitionSpecificationOptionValueLocalService.java
- Date: Feb. 26, 2024
- Ticket: LPD-13466
- What Changed: The addCPDefinitionSpecificationOptionValueandupdateCPDefinitionSpecificationOptionValuemethods have reordered parameters. Additionally, theupdateCPDefinitionSpecificationOptionValuemethod has a newString(key) parameter.
- Reason: The new parameter is required to create fragments showing product specifications based on a key. The method parameters are reordered to sort them properly.
BaseDBPartitionTestCase.java
modules/apps/portal/portal-db-partition-test-util/src/main/java/com/liferay/portal/db/partition/test/util/BaseDBPartitionTestCase.java
- Date: Feb. 26, 2024
- Ticket: LPD-17898
- What Changed: The enableDBPartitionanddisableDBPartitionmethods are removed.
- Reason: Database partition tests are only executed when the database partition is enabled, so these methods are unnecessary.
AccountEntryEmailConfiguration.java
modules/apps/account/account-api/src/main/java/com/liferay/account/configuration/AccountEntryEmailConfiguration.java
- Date: Feb. 28, 2024
- Ticket: LPD-4319
- What Changed: The new invitationEmailSenderEmailAddressandinvitationEmailSenderNamesettings are added.
- Reason: This change is necessary to define specific names or email addresses for users sending invitation emails.
VirtualCPTypeTestUtil.java
modules/apps/commerce/commerce-product-type-virtual-test-util/src/main/java/com/liferay/commerce/product/type/virtual/test/util/VirtualCPTypeTestUtil.java
- Date: Feb. 29, 2024
- Ticket: LPD-15104
- What Changed: The addJournalArticle(long)method is removed.
- Reason: The method was not used.
AssetListAssetEntryProvider.java
modules/apps/asset/asset-list-api/src/main/java/com/liferay/asset/list/asset/entry/provider/AssetListAssetEntryProvider.java
- Date: Mar. 1, 2024
- Ticket: LPD-19219
- What Changed: The getAssetEntriesCountmethod is removed. Additionally, thegetAssetEntriesmethod now returns anInfoPage<AssetEntry>instead of aList<AssetEntry>.
- Reason: This change improves the performance of getting asset entry counts and search results.
SimilarResultsContributor.java
modules/dxp/apps/portal-search-similar-results/portal-search-similar-results-web-spi/src/main/java/com/liferay/portal/search/similar/results/web/spi/contributor/SimilarResultsContributor.java
- Date: Mar. 4, 2024
- Ticket: LPD-19398
- What Changed: The SimilarResultsContributorclass is moved to theportal-search-similar-results-webmodule (nowmodules/dxp/apps/portal-search-similar-results/portal-search-similar-results-web/src/main/java/com/liferay/portal/search/similar/results/web/internal/contributor/SimilarResultsContributor.java).
- Reason: The SimilarResultsContributorclass is only ever implemented or used in theportal-search-similar-results-web, and it is not an SPI.
CommercePaymentEntryRefundType.java
modules/apps/commerce/commerce-payment-api/src/main/java/com/liferay/commerce/payment/entry/CommercePaymentEntryRefundType.java
- Date: Mar. 5, 2024
- Ticket: LPD-15909
- What Changed: The new getEnabledmethod is added.
- Reason: This change is necessary to manage whether a CommercePaymentEntryRefundTypeis enabled.
LearnMessageUtil.java
modules/apps/learn/learn-api/src/main/java/com/liferay/learn/LearnMessageUtil.java
- Date: Mar. 6, 2024
- Ticket: LPD-19760
- What Changed: The devandoffresources modes are added. If the resource mode is set todev, Learn resources are read fromhttp://localhost:3062. If the mode ison, they are read from https://s3.amazonaws.com/learn-resources.liferay.com. If the mode isoff, the Learn tag library is disabled.
- Reason: This change makes it easier to add new messages to Liferay Learn.
CPSpecificationOptionLocalService.java
modules/apps/commerce/commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPSpecificationOptionLocalService.java
- Date: Mar. 8, 2024
- Ticket: LPD-13560
- What Changed: The addCPSpecificationOptionandupdateCPSpecificationOptionmethods have a newdouble(priority) parameter.
- Reason: This change is required to sort specifications in the storefront.
CPSpecificationOptionService.java
modules/apps/commerce/commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPSpecificationOptionService.java
- Date: Mar. 8, 2024
- Ticket: LPD-13560
- What Changed: The addCPSpecificationOptionandupdateCPSpecificationOptionmethods have a newdouble(priority) parameter.
- Reason: This change is required to sort specifications in the storefront.
FrontendTokenDefinitionRegistry.java
modules/apps/frontend-token/frontend-token-definition-api/src/main/java/com/liferay/frontend/token/definition/FrontendTokenDefinitionRegistry.java
- Date: Mar. 12, 2024
- Ticket: LPD-7080
- What Changed: The getFrontendTokenDefinitionmethod’sString(themeId) parameter is replaced with a newLayoutSetparameter.
- Reason: This change is required to retrieve a FrontendTokenDefinitionadded by a theme CSS client extension.
ObjectStateLocalServiceImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/service/impl/ObjectStateLocalServiceImpl.java
- Date: Mar. 14, 2024
- Ticket: LPD-20078
- What Changed: The new fetchObjectStateFlowObjectStatemethod is added.
- Reason: This change is necessary to check whether an object state exists without having to wrap the code in a try-catch block.
WorkspaceExtension.java
modules/sdk/gradle-plugins-workspace/src/main/java/com/liferay/gradle/plugins/workspace/WorkspaceExtension.java
- Date: Mar. 14, 2024
- Ticket: LPD-16636
- What Changed: The getBundleChecksumMD5andsetBundleChecksumMD5(java.lang.Object)methods are removed. Instead, use thegetBundleChecksumSHA512andsetBundleChecksumSHA512(java.lang.Object)methods. ThegetDefaultBundleChecksumMD5,getDefaultBundleUrl,getProduceInfo,getBundleTokenEmailAddress,getBundleTokenPassword,getBundleTokenPasswordFile,isBundleTokenDownload,isBundleTokenForce,isBundleTokenDownload(java.lang.Object),setBundleTokenEmailAddress(java.lang.Object),setBundleTokenForce(java.lang.Object),setBundleTokenPassword(java.lang.Object), andsetBundleTokenPasswordFile(java.lang.Object)methods and the innerProductInfoclass are also removed.
- Reason: Bundles are now instead verified with a checksum using the SHA-512 algorithm. The details of retrieving release info from the product key is now completely internal, so this implementation is no longer useful. Properties that relate to release data using the product key have been removed (though individual details can still be overridden manually in the DSL). Authentication is no longer needed to download bundles.
BasePortalToolsTask.java
modules/sdk/gradle-plugins/src/main/java/com/liferay/gradle/plugins/task/BasePortalToolsTask.java
- Date: Mar. 15, 2024
- Ticket: LPD-15162
- What Changed: The getMainmethod is removed.
- Reason: The underlying JavaExecclass removed the method with Gradle 8.
LayoutPageTemplateCollectionTreeNodeItemSelectorCriterion.java
modules/apps/layout/layout-page-template-item-selector-api/src/main/java/com/liferay/layout/page/template/item/selector/criterion/LayoutPageTemplateCollectionTreeNodeItemSelectorCriterion.java
- Date: Mar. 25, 2024
- Ticket: LPD-19160
- What Changed: The getLayoutPageTemplateCollectionIdmethod is replaced by the newgetLayoutPageTemplateCollectionIdsmethod, which returns along[]value. ThesetLayoutPageTemplateCollectionId(long)method is also replaced by the newsetLayoutPageTemplateCollectionIds(long[])method.
- Reason: This change is necessary to support setting multiple layout page template collection IDs.
util.js
modules/apps/frontend-js/frontend-js-aui-web/src/main/resources/META-INF/resources/liferay/util.js
- Date: Mar. 28, 2024
- Ticket: LPD-18840
- What Changed: The selectEntityfunction is no longer provided.
- Reason: The function was no longer used.
ObjectEntryLocalServiceImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/service/impl/ObjectEntryLocalServiceImpl.java
- Date: Mar. 28, 2024
- Ticket: LPD-19409
- What Changed: The getValuesListmethod replaces theOrderByExpression[]parameter with aSort[]parameter.
- Reason: This change is necessary because the expressions must be calculated in the object service layer.
BaseNotificationType.java
modules/apps/notification/notification-api/src/main/java/com/liferay/notification/type/BaseNotificationType.java
- Date: Mar. 28, 2024
- Ticket: LPD-20526
- What Changed: The formatContentandformatLocalizedContentmethods is removed.
- Reason: The formatContentlogic is moved to theDefaultEmailProviderclass. TheformatLocalizedContentlogic is moved to theNotificationTypeUtilclass.
CommercePaymentEntryRefundTypeRegistry.java
modules/apps/commerce/commerce-payment-api/src/main/java/com/liferay/commerce/payment/entry/CommercePaymentEntryRefundTypeRegistry.java
- Date: Mar. 28, 2024
- Ticket: LPD-15909
- What Changed: The getCommercePaymentEntryRefundTypeandgetCommercePaymentEntryRefundTypesmethods have a newlong(companyId) parameter.
- Reason: This change is necessary to manage different configurations per company.
AccountListTypeConstants.java
modules/apps/account/account-api/src/main/java/com/liferay/account/constants/AccountListTypeConstants.java
- Date: Mar. 29, 2024
- Ticket: LPD-18486
- What Changed: The ACCOUNT_ENTRY_PHONE_TYPE_TOOL_FREEconstant is renamed toACCOUNT_ENTRY_PHONE_TYPE_TOLL_FREE.
- Reason: This change corrects a typo in the constant name.
DefaultCommerceOrderValidatorImpl.java
modules/apps/commerce/commerce-service/src/main/java/com/liferay/commerce/internal/order/DefaultCommerceOrderValidatorImpl.java
- Date: Mar. 29, 2024
- Ticket: LPD-3387
- What Changed: DefaultCommerceOrderValidatorImplhas a new check for commerce order status.
- Reason: This change requires commerce orders to have the open status to add an order item.
ObjectDefinitionLocalServiceImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/service/impl/ObjectDefinitionLocalServiceImpl.java
- Date: Apr. 3, 2024
- Ticket: LPD-19574
- What Changed: The addObjectDefinitionmethod has a newlong(rootObjectDefinitionId) parameter.
- Reason: This change is necessary to associate ObjectDefinitionobjects with their root object definitions to allow imports.
InputLocalized.tsx
modules/apps/frontend-js/frontend-js-components-web/src/main/resources/META-INF/resources/forms/input/InputLocalized.tsx
- Date: Apr. 3, 2024
- Ticket: LPD-1952
- What Changed: InputLocalizedno longer receives thedisableFlagproperty.
- Reason: This change improves the InputLocalizedcomponent’s usability.
PlacedOrderItemResourceImpl.java
modules/apps/commerce/headless/headless-commerce/headless-commerce-delivery-order-impl/src/main/java/com/liferay/headless/commerce/delivery/order/internal/resource/v1_0/PlacedOrderItemResourceImpl.java
- Date: Apr. 5, 2024
- Ticket: LPD-20059
- What Changed: The getPlacedOrderPlacedOrdItemsPagemethod has newString(search) andSort[](sorts) parameters.
- Reason: This change is necessary to allow searches through Placed Order Items to initiate a Return.
CTDisplayRendererRegistry.java
modules/apps/change-tracking/change-tracking-spi/src/main/java/com/liferay/change/tracking/spi/display/CTDisplayRendererRegistry.java
- Date: Apr. 9, 2024
- Ticket: LPD-19748
- What Changed: A new isWorkflowEnabled(CTEntry, T)generic method is added.
- Reason: This change is required to check whether workflow is enabled for a CTEntryobject.
IndexNameBuilder.java
modules/apps/portal-search/portal-search-api/src/main/java/com/liferay/portal/search/index/IndexNameBuilder.java
- Date: Apr. 9, 2024
- Ticket: LPD-20777
- What Changed: The new getIndexNamePrefixmethod is added.
- Reason: This change is required to identify Liferay indices in the search engine cluster.
TranslationEntryLocalService.java
modules/apps/translation/translation-api/src/main/java/com/liferay/translation/service/TranslationEntryLocalService.java
- Date: Apr. 13, 2024
- Ticket: LPD-22843
- What Changed: The addOrUpdateTranslationEntrymethod has a newString(languageId) parameter.
- Reason: This change is necessary to perform translations correctly.
TranslationEntryLocalServiceUtil.java
modules/apps/translation/translation-api/src/main/java/com/liferay/translation/service/TranslationEntryLocalServiceUtil.java
- Date: Apr. 13, 2024
- Ticket: LPD-22843
- What Changed: The addOrUpdateTranslationEntrymethod has a newString(languageId) parameter.
- Reason: This change is necessary to perform translations correctly.
TranslationEntryLocalServiceWrapper.java
modules/apps/translation/translation-api/src/main/java/com/liferay/translation/service/TranslationEntryLocalServiceWrapper.java
- Date: Apr. 13, 2024
- Ticket: LPD-22843
- What Changed: The addOrUpdateTranslationEntrymethod has a newString(languageId) parameter.
- Reason: This change is necessary to perform translations correctly.
TranslationEntryService.java
modules/apps/translation/translation-api/src/main/java/com/liferay/translation/service/TranslationEntryService.java
- Date: Apr. 13, 2024
- Ticket: LPD-22843
- What Changed: The addOrUpdateTranslationEntrymethod has a newString(languageId) parameter.
- Reason: This change is necessary to perform translations correctly.
TranslationEntryServiceUtil.java
modules/apps/translation/translation-api/src/main/java/com/liferay/translation/service/TranslationEntryServiceUtil.java
- Date: Apr. 13, 2024
- Ticket: LPD-22843
- What Changed: The addOrUpdateTranslationEntrymethod has a newString(languageId) parameter.
- Reason: This change is necessary to perform translations correctly.
TranslationEntryServiceWrapper.java
modules/apps/translation/translation-api/src/main/java/com/liferay/translation/service/TranslationEntryServiceWrapper.java
- Date: Apr. 13, 2024
- Ticket: LPD-22843
- What Changed: The addOrUpdateTranslationEntrymethod now has a newString(languageId) parameter.
- Reason: This change is necessary to perform translations correctly.
CommerceOrderItemQuantityFormatter.java
modules/apps/commerce/commerce-api/src/main/java/com/liferay/commerce/util/CommerceOrderItemQuantityFormatter.java
- Date: Apr. 17, 2024
- Ticket: LPD-3472
- What Changed: New methods are added: format(CommerceOrderItem, Locale),parse(ActionRequest, String), andparse(String, Locale).
- Reason: This change is necessary to parse non-US locale inputs for price and quantity correctly.
CommerceQuantityFormatter.java
modules/apps/commerce/commerce-api/src/main/java/com/liferay/commerce/util/CommerceQuantityFormatter.java
- Date: Apr. 17, 2024
- Ticket: LPD-3472
- What Changed: A new parse(String, Locale)method is added.
- Reason: This change is necessary to parse non-US locale inputs for price and quantity correctly.
ObjectEntryDTOConverter.java
modules/apps/object/object-rest-impl/src/main/java/com/liferay/object/rest/internal/dto/v1_0/converter/ObjectEntryDTOConverter.java
- Date: Apr. 17, 2024
- Ticket: LPD-21413
- What Changed: Translatable object fields now use the preferred Localegiven by theDTOConverterContextinstead of the user’s configuredlanguageId.
- Reason: The new implementation returns the appropriate translatable object field values for the language in the Accept-Languageheader.
LayoutUtilityPageEntryLocalServiceImpl.java
modules/apps/layout/layout-utility-page-service/src/main/java/com/liferay/layout/utility/page/service/impl/LayoutUtilityPageEntryLocalServiceImpl.java
- Date: Apr. 18, 2024
- Ticket: LPD-19863
- What Changed: The addLayoutUtilityPageEntrymethods have newString(friendlyURL) andboolean(privateLayout) parameters.
- Reason: This change allows utility pages to be created in a public layout.
COREntryConfiguration.java
modules/apps/commerce/commerce-order-rule-api/src/main/java/com/liferay/commerce/order/rule/configuration/COREntryConfiguration.java
- Date: Apr. 18, 2024
- Ticket: LPD-23389
- What Changed: The enabledmethod is removed.
- Reason: The enabledmethod was originally introduced as a feature flag.
MockInfoServiceRegistrationHolder.java
modules/apps/info/info-test-util/src/main/java/com/liferay/info/test/util/MockInfoServiceRegistrationHolder.java
- Date: Apr. 22, 2024
- Ticket: LPD-23742
- What Changed: The MockInfoServiceRegistrationHolderconstructor now has newMockObjectandPortalparameters.
- Reason: This change adds display page support to the mock info framework.
MockObject.java
modules/apps/info/info-test-util/src/main/java/com/liferay/info/test/util/model/MockObject.java
- Date: Apr. 22, 2024
- Ticket: LPD-23742
- What Changed: A new constructor is added (MockObject(long, boolean, boolean)).
- Reason: This change adds permission support to the mock info framework.
CommerceAddressFormatterImpl.java
modules/apps/commerce/commerce-service/src/main/java/com/liferay/commerce/internal/address/CommerceAddressFormatterImpl.java
- Date: Apr. 22, 2024
- Ticket: LPD-3491
- What Changed: The getBasicAddressandgetDescriptiveAddressmethods have a newLocaleparameter.
- Reason: This change adds support for localized country names.
ClientExtensionEntryConstants.java
modules/apps/client-extension/client-extension-api/src/main/java/com/liferay/client/extension/constants/ClientExtensionEntryConstants.java
- Date: Apr. 24, 2024
- Ticket: LPD-22159
- What Changed: The TYPE_THEME_JSconstant (for theme JS client extensions) is removed.
- Reason: The theme JS client extension type is not used because it’s unnecessary.
ThemeJSCET.java
modules/apps/client-extension/client-extension-type-api/src/main/java/com/liferay/client/extension/type/ThemeJSCET.java
- Date: Apr. 24, 2024
- Ticket: LPD-22159
- What Changed: The ThemeJSCETclass is removed.
- Reason: The theme JS client extension type is not used because it’s unnecessary.
TemplateEntryLocalServiceImpl.java
modules/apps/template/template-service/src/main/java/com/liferay/template/service/impl/TemplateEntryLocalServiceImpl.java
- Date: Apr. 27, 2024
- Ticket: LPD-24010
- What Changed: The addTemplateEntrymethod has a newExternalReferenceCodeparameter.
- Reason: The new parameter adds support for external reference codes in TemplateEntryentities.
FieldPredicateProvider.java
modules/apps/object/object-api/src/main/java/com/liferay/object/odata/filter/expression/field/predicate/provider/FieldPredicateProvider.java
- Date: Apr. 29, 2024
- Ticket: LPD-22155
- What Changed: The getContainsPredicatemethod has a newStringparameter (fieldName), thegetInPredicatemethod has a newObjectparameter (left), and thegetStartsWithPredicatemethod has a newStringparameter (fieldName).
- Reason: These parameters are necessary to enable filtering by MultiselectPicklistObject fields.
WorkflowDefinitionConfiguration.java
modules/apps/portal-workflow/portal-workflow-api/src/main/java/com/liferay/portal/workflow/configuration/WorkflowDefinitionConfiguration.java
- Date: Apr. 29, 2024
- Ticket: LPD-23925
- What Changed: The new preventNotifyingAncestorSitesmethod is added.
- Reason: This new method is needed to configure notifications to notify ancestor sites.
LayoutPageTemplateCollectionServiceImpl.java
modules/apps/layout/layout-page-template-service/src/main/java/com/liferay/layout/page/template/service/impl/LayoutPageTemplateCollectionServiceImpl.java
- Date: Apr. 29, 2024
- Ticket: LPD-24298
- What Changed: The addLayoutPageTemplateCollectionmethod has a newExternalReferenceCodeparameter.
- Reason: The new parameter adds support for external reference codes in LayoutPageTemplateCollectionentities.
AssetListEntryLocalServiceImpl.java
modules/apps/asset/asset-list-service/src/main/java/com/liferay/asset/list/service/impl/AssetListEntryLocalServiceImpl.java
- Date: Apr. 30, 2024
- Ticket: LPD-24142
- What Changed: The addAssetListEntrymethod now has a newExternalReferenceCodeparameter.
- Reason: The new parameter adds support for external reference codes in AssetListentities.
AccountEntryLocalServiceUtil.java
modules/apps/account/account-api/src/main/java/com/liferay/account/service/AccountEntryLocalServiceUtil.java
- Date: May 1, 2024
- Ticket: LPD-24745
- What Changed: The setServicemethod is removed.
- Reason: The AccountEntryLocalServiceUtilclass tracks the service viaSnapshot, so setting it explicitly is no longer necessary.
Changes in portal-impl Classes
PortalImpl.java
portal-impl/src/com/liferay/portal/util/PortalImpl.java
- Date: Feb. 22, 2024
- Ticket: LPD-2110
- What Changed: The LocalizedFriendlyUrlmethod is removed.
- Reason: The code was moved into the FriendlyURLServletclass because it’s only used for this servlet.
portal.properties
portal-impl/src/portal.properties
- Date: Apr. 24, 2024
- Ticket: LPD-24115
- What Changed: The transaction.isolation.counterportal property is removed.
- Reason: The CounterLocalServicecode is refactored to manage transactions directly instead of using an AOP proxy.
PropsValues.java
portal-impl/src/com/liferay/portal/util/PropsValues.java
- Date: Apr. 24, 2024
- Ticket: LPD-24115
- What Changed: The TRANSACTION_ISOLATION_COUNTERfield is removed.
- Reason: The CounterLocalServicecode is refactored to manage transactions directly instead of using an AOP proxy.
PortalSessionCreator.java
portal-impl/src/com/liferay/portal/servlet/PortalSessionCreator.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The PortalSessionCreatorclass is removed.
- Reason: The logic from PortalSessionCreatoris moved intoDependencyManagerSyncUtil’sregisterSyncCallablemethod.
PortalSessionDestroyer.java
portal-impl/src/com/liferay/portal/servlet/PortalSessionDestroyer.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The PortalSessionDestroyerclass is removed.
- Reason: The logic from PortalSessionCreatoris moved intoDependencyManagerSyncUtil’sregisterSyncCallablemethod.
Changes in portal-kernel Classes
DLAppLocalService.java
portal-kernel/src/com/liferay/document/library/kernel/service/DLAppLocalService.java
- Date: Feb. 9, 2024
- Ticket: LPD-6960
- What Changed: The addFileEntry(String, long, long, long, String, String, byte[], Date, Date, ServiceContext),addFileEntry(String, long, long, long, String, String, String, String, String, String, byte[], Date, Date, ServiceContext),addFileEntry(String, long, long, long, String, String, String, String, String, String, File, Date, Date, ServiceContext), andaddFileEntry(String, long, long, long, String, String, String, String, String, String, InputStream, long, Date, Date, ServiceContext)methods all have a newDate(displayDate) parameter.
- Reason: The new parameter allows for adding file entries and file versions with display dates.
DLAppService.java
portal-kernel/src/com/liferay/document/library/kernel/service/DLAppService.java
- Date: Feb. 9, 2024
- Ticket: LPD-6960
- What Changed: The addFileEntry(String, long, long, String, String, String, String, String, String, byte[], Date, Date, ServiceContext),addFileEntry(String, long, long, String, String, String, String, String, String, File, Date, Date, ServiceContext), andaddFileEntry(String, long, long, String, String, String, String, String, String, InputStream, long, Date, Date, ServiceContext)methods all have a newDate(displayDate) parameter.
- Reason: The new parameter allows for adding file entries and file versions with display dates.
BaseRepositoryImpl.java
portal-kernel/src/com/liferay/portal/kernel/repository/BaseRepositoryImpl.java
- Date: Feb. 9, 2024
- Ticket: LPD-6960
- What Changed: The addFileEntry(String, long, long, String, String, String, String, String, String, File, Date, Date, ServiceContext)andaddFileEntry(String, long, long, String, String, String, String, String, String, InputStream, long, Date, Date, ServiceContext)methods both have a newDate(displayDate) parameter.
- Reason: The new parameter allows for adding file entries and file versions with display dates.
DocumentRepository.java
portal-kernel/src/com/liferay/portal/kernel/repository/DocumentRepository.java
- Date: Feb. 9, 2024
- Ticket: LPD-6960
- What Changed: The addFileEntry(String, long, long, String, String, String, String, String, String, File, Date, Date, ServiceContext)andaddFileEntry(String, long, long, String, String, String, String, String, String, InputStream, long, Date, Date, ServiceContext)methods both have a newDate(displayDate) parameter.
- Reason: The new parameter allows for adding file entries and file versions with display dates.
DLFileEntryLocalService.java
portal-kernel/src/com/liferay/document/library/kernel/service/DLFileEntryLocalService.java
- Date: Feb. 9, 2024
- Ticket: LPD-6960
- What Changed: The addFileEntry(String, long, long, long, String, String, String, String, String, String, long, Map<String, DDMFormValues>, File, InputStream, long, Date, Date, ServiceContext)method has a newDate(displayDate) parameter.
- Reason: The new parameter allows for adding file entries and file versions with display dates.
DLFileEntryService.java
portal-kernel/src/com/liferay/document/library/kernel/service/DLFileEntryService.java
- Date: Feb. 9, 2024
- Ticket: LPD-6960
- What Changed: The addFileEntry(String, long, long, long, String, String, String, String, String, String, long, Map<String, DDMFormValues>, File, InputStream, long, Date, Date, ServiceContext)method has a newDate(displayDate) parameter.
- Reason: The new parameter allows for adding file entries and file versions with display dates.
DLAppLocalService.java
portal-kernel/src/com/liferay/document/library/kernel/service/DLAppLocalService.java
- Date: Feb. 12, 2024
- Ticket: LPD-16993
- What Changed: The updateFileEntry(long, long, String, String, String, String, String, String, DLVersionNumberIncrease, byte[], Date, Date, ServiceContext),updateFileEntry(long, long, String, String, String, String, String, String, DLVersionNumberIncrease, File, Date, Date, ServiceContext), andupdateFileEntry(long, long, String, String, String, String, String, String, DLVersionNumberIncrease, InputStream, long, Date, Date, ServiceContext)methods all have a newDate(displayDate) parameter.
- Reason: The new parameter allows for updating display dates for file entries and file versions.
DLAppService.java
portal-kernel/src/com/liferay/document/library/kernel/service/DLAppService.java
- Date: Feb. 12, 2024
- Ticket: LPD-16993
- What Changed: The updateFileEntry(long, String, String, String, String, String, String, DLVersionNumberIncrease, byte[], Date, Date, ServiceContext),updateFileEntry(long, String, String, String, String, String, String, DLVersionNumberIncrease, File, Date, Date, ServiceContext),updateFileEntry(long, String, String, String, String, String, String, DLVersionNumberIncrease, InputStream, long, Date, Date, ServiceContext),updateFileEntryAndCheckIn(long, String, String, String, String, String, String, DLVersionNumberIncrease, File, Date, Date, ServiceContext), andupdateFileEntryAndCheckIn(long, String, String, String, String, String, String, DLVersionNumberIncrease, InputStream, long, Date, Date, ServiceContext)methods all have a newDate(displayDate) parameter.
- Reason: The new parameter allows for updating display dates for file entries and file versions.
BaseRepositoryImpl.java
portal-kernel/src/com/liferay/portal/kernel/repository/BaseRepositoryImpl.java
- Date: Feb. 12, 2024
- Ticket: LPD-16993
- What Changed: The updateFileEntry(long, long, String, String, String, String, String, String, DLVersionNumberIncrease, File, Date, Date, ServiceContext)andupdateFileEntry(long, long, String, String, String, String, String, String, DLVersionNumberIncrease, InputStream, long, Date, Date, ServiceContext)methods both have a newDate(displayDate) parameter.
- Reason: The new parameter allows for updating display dates for file entries and file versions.
DocumentRepository.java
portal-kernel/src/com/liferay/portal/kernel/repository/DocumentRepository.java
- Date: Feb. 12, 2024
- Ticket: LPD-16993
- What Changed: The updateFileEntry(long, long, String, String, String, String, String, String, DLVersionNumberIncrease, File, Date, Date, ServiceContext)andupdateFileEntry(long, long, String, String, String, String, String, String, DLVersionNumberIncrease, InputStream, long, Date, Date, ServiceContext)methods both have a newDate(displayDate) parameter.
- Reason: The new parameter allows for updating display dates for file entries and file versions.
DLFileEntryLocalService.java
portal-kernel/src/com/liferay/document/library/kernel/service/DLFileEntryLocalService.java
- Date: Feb. 12, 2024
- Ticket: LPD-16993
- What Changed: The updateFileEntry(long, long, String, String, String, String, String, String, DLVersionNumberIncrease, long, Map<String, DDMFormValues>, File, InputStream, long, Date, Date, ServiceContext)method has a newDate(displayDate) parameter.
- Reason: The new parameter allows for updating display dates for file entries and file versions.
DLFileEntryService.java
portal-kernel/src/com/liferay/document/library/kernel/service/DLFileEntryService.java
- Date: Feb. 12, 2024
- Ticket: LPD-16993
- What Changed: The updateFileEntry(long, String, String, String, String, String, String, DLVersionNumberIncrease, long, Map<String, DDMFormValues>, File, InputStream, long, Date, Date, ServiceContext)method has a newDate(displayDate) parameter.
- Reason: The new parameter allows for updating display dates for file entries and file versions.
PortalUtil.java
portal-kernel/src/com/liferay/portal/kernel/util/PortalUtil.java
- Date: Feb. 22, 2024
- Ticket: LPD-2110
- What Changed: The getLocalizedFriendlyURLmethod is removed.
- Reason: The PortalImpl.getLocalizedFriendlyURLmethod is also removed, so this method is no longer needed.
Portal.java
portal-kernel/src/com/liferay/portal/kernel/util/Portal.java
- Date: Feb. 22, 2024
- Ticket: LPD-2110
- What Changed: The getLocalizedFriendlyURLmethod is removed.
- Reason: The PortalImpl.getLocalizedFriendlyURLmethod is also removed, so this method is no longer needed.
FileVersion.java
portal-kernel/src/com/liferay/portal/kernel/repository/model/FileVersion.java
- Date: Feb. 28, 2024
- Ticket: LPD-6962
- What Changed: The new isScheduledmethod is added, which returns aDateobject.
- Reason: The new method allows for checking whether a FileVersion’s status is enabled (WorkflowConstants.STATUS_SCHEDULED), if it’s not in an external repository.
RemotePreference.java
portal-kernel/src/com/liferay/portal/kernel/util/RemotePreference.java
- Date: Mar. 16, 2024
- Ticket: LPD-20659
- What Changed: The RemotePreferenceclass is removed.
- Reason: The RemotePreferenceclass is not used.
InfrastructureUtil.java
portal-kernel/src/com/liferay/portal/kernel/util/InfrastructureUtil.java
- Date: Mar. 27, 2024
- Ticket: LPD-19928
- What Changed: The getMailSessionmethod is removed.
- Reason: The getMailSessionLogicis moved intoMailServiceImpl, because it’s the only class that uses it.
BaseTransactionExecutor.java
portal-impl/src/com/liferay/portal/spring/transaction/BaseTransactionExecutor.java
- Date: Apr. 24, 2024
- Ticket: LPD-24115
- What Changed: The BaseTransactionExecutorclass is removed.
- Reason: The BaseTransactionExecutorclass is no longer used.
CounterTransactionExecutor.java
portal-impl/src/com/liferay/portal/spring/transaction/CounterTransactionExecutor.java
- Date: Apr. 24, 2024
- Ticket: LPD-24115
- What Changed: The CounterTransactionExecutorclass is removed.
- Reason: The CounterTransactionExecutorclass is no longer used.
DefaultTransactionExecutor.java
portal-impl/src/com/liferay/portal/spring/transaction/DefaultTransactionExecutor.java
- Date: Apr. 24, 2024
- Ticket: LPD-24115
- What Changed: The DefaultTransactionExecutorclass no longer extendsBaseTransactionExecutor. It now implementsTransactionExecutoritself instead. A newexecute(TransactionAttributeAdapter, UnsafeSupplier<T, Throwable>)method is added.
- Reason: The BaseTransactionExecutorclass is removed.
Isolation.java
portal-kernel/src/com/liferay/portal/kernel/transaction/Isolation.java
- Date: Apr. 24, 2024
- Ticket: LPD-24115
- What Changed: The COUNTERfield is removed.
- Reason**: The CounterLocalServicecode is refactored to manage transactions directly instead of using an AOP proxy.
TransactionDefinition.java
portal-kernel/src/com/liferay/portal/kernel/transaction/TransactionDefinition.java
- Date: Apr. 24, 2024
- Ticket: LPD-24115
- What Changed: The ISOLATION_COUNTERfield is removed.
- Reason: The CounterLocalServicecode is refactored to manage transactions directly instead of using an AOP proxy.
PropsKeys.java
portal-kernel/src/com/liferay/portal/kernel/util/PropsKeys.java
- Date: Apr. 24, 2024
- Ticket: LPD-24115
- What Changed: The TRANSACTION_ISOLATION_COUNTERfield is removed.
- Reason: The CounterLocalServicecode is refactored to manage transactions directly instead of using an AOP proxy.
HotDeployEvent.java
portal-kernel/src/com/liferay/portal/kernel/deploy/hot/HotDeployEvent.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The addPortalLifeCycle(PortalLifecycle)andflushInitsmethods are removed.
- Reason: These methods are no longer used.
HotDeployUtil.java
portal-kernel/src/com/liferay/portal/kernel/deploy/hot/HotDeployUtil.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The registerDependentPortalLifecycle(String, PortalLifecycle)method is removed.
- Reason: This method is no longer used.
InvokerFilter.java
portal-kernel/src/com/liferay/portal/kernel/servlet/filters/invoker/InvokerFilter.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The InvokerFilterclass no longer extendsBasePortalLifecycle.
- Reason: The PortalLifecycleAPI is no longer needed.
BasePortalLifecycle.java
portal-kernel/src/com/liferay/portal/kernel/util/BasePortalLifecycle.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The BasePortalLifecycleclass is removed.
- Reason: The PortalLifecycleAPI is no longer needed.
PortalLifecycle.java
portal-kernel/src/com/liferay/portal/kernel/util/PortalLifecycle.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The PortalLifecycleclass is removed.
- Reason: The PortalLifecycleAPI is no longer needed.
PortalLifecycleUtil.java
portal-kernel/src/com/liferay/portal/kernel/util/PortalLifecycleUtil.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The PortalLifecycleUtilclass is removed.
- Reason: The PortalLifecycleAPI is no longer needed.
LogContextRegistryUtil.java
portal-kernel/src/com/liferay/portal/kernel/log/LogContextRegistryUtil.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The LogContextRegistryUtilclass is removed.
- Reason: The logic from LogContextRegistryUtilis moved intoLog4jLogContextLogWrapper.
ModuleServiceLifecycle.java
portal-kernel/src/com/liferay/portal/kernel/module/framework/ModuleServiceLifecycle.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The DATABASE_INITIALIZEDandSPRING_INITIALIZEDfields are removed.
- Reason: These states are no longer used.
Changes in Taglibs
InputPermissionsTag.java
util-taglib/src/com/liferay/taglib/ui/InputPermissionsTag.java
- Date: Feb. 20, 2024
- Ticket: LPD-15184
- What Changed: The doTagmethod now has a newboolean(showAllRoles) parameter. The newisShowAllRolesandsetShowAllRoles(boolean)methods are also added.
- Reason: The new parameter allows for viewing all roles when configuring permissions.
JspFactoryServletContainerInitializer.java
util-taglib/src/com/liferay/taglib/servlet/JspFactoryServletContainerInitializer.java
- Date: Apr. 30, 2024
- Ticket: LPD-24699
- What Changed: The JspFactoryServletContainerInitializerclass is removed.
- Reason: The JspFactoryServletContainerInitializerclass is no longer used.