Liferay Portal 7.4 GA21 and Liferay Commerce 4.0 GA21 Release

We are pleased to announce the release of Liferay Portal 7.4 GA21 and Liferay Commerce 4.0 GA21!

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image.  To get started using either Liferay Portal or Liferay Commerce, choose the best download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA21:

docker run -it -p 8080:8080 liferay/portal:

For more information on using the official Liferay docker image see the liferay/portal repo on Docker Hub.

Bundles and other download options

If you are used to binary releases, you can find the Liferay Portal 7.4 GA21 and Liferay Commerce 4.0 GA21 release on the download page.  If you need additional files (for example, the source code, or dependency libraries), visit the release page.

Dependency Management

For development using the Liferay Platform, update Liferay Workspace to use the  latest dependencies, by adding the following line to the build.gradle file:

dependencies {
	compileOnly group: "com.liferay.portal", name: "release.portal.api"

All portal dependencies are now defined with a single declaration. When using an IDE such as Eclipse or IntelliJ all apis are immediately available in autocomplete for immediate use.  

By setting a product info key property it will be possible to update all dependencies to a new version by updating the liferay.workspace.product property in the liferay workspace projects file:

liferay.workspace.product = portal-7.4-ga21

When using an IDE such as Eclipse or IntelliJ all apis are immediately available in autocomplete for immediate use.




System provides a warning notification when not all mandatory fields have been mapped.

Order Cart

Order Type and Order External Reference Code added to the Order cart and Placed Order Widget.


Allow Objects Users do Upload Files through Documents and Media

From GA19 power users are able to add fields that supports uploading files.

Now costumers are able to select files from the same scope as the object on Documents and Media, allowing them to reuse the files they have already on the Liferay Portal.

Allow Users do Duplicate Views

Allow users who have permission duplicate a entire Custom View from a selected one.
Except for the “Mark as Default” checkbox, that will be unchecked.

Experience Building

Improvements of Page Editor’s fragments styling UX/UI

Allow users to configure fragments styling in a more user-friendly way:

  • Collapsed sections in “Styles” tab, for better organization and more clear UI

  • More intiuitive margins & paddings selection UI

  • For this margins & paddings selection, show the token value along with the token name, to have a better understanding of what is being selected.


Cache controls for public documents

Now it is possible for admins to configure how they want CDNs to cache documents that have view permissions for Guests.

At instance level it is possible to set whether public documents are cacheable or not, as well as the maximum age and set different mimetypes to be excluded from caching.


All documentation for Liferay Portal and Liferay Commerce can now be found on our documentation site:  For more information on upgrading to Liferay Portal 7.4 GA21 see refer to the Upgrade Overview.

Compatibility Matrix

Liferay's general policy is to test Liferay Portal and Liferay Commerce  against newer major releases of operating systems, open source app servers, browsers, and open source databases (we regularly update the bundled upstream libraries to fix bugs or take advantage of new features in the open source we depend on). 

Liferay Portal 7.4 GA21 and Liferay Commerce 4.0 GA21 were tested extensively for use with the following Application/Database Servers: 

Application Server

  • Tomcat 9.0

  • Wildfly 18.0, 23.0


  • MySQL 5.7, 8.0

  • MariaDB 10.2, 10.4

  • PostgreSQL 12.x, 13.x


  • IBM J9 JDK 8

  • Oracle JDK 8

  • Oracle JDK 11

  • All Java Technical Compatibility Kit (TCK) compliant builds of Java 11 and Java 8

Search Engine Compatibility Matrix

Source Code

Source is available as a zip archive on the release page, or on its home on GitHub. If you're interested in contributing, take a look at our contribution page.

Bug Reporting

If you believe you have encountered a bug in the new release you can report your issue by following the bug reporting instructions.

Getting Support

Support is provided by our awesome community. Please visit helping a developer page for more details on how you can receive support.

Fixes and Known Issues


1.use docker, can not deploy package,It always generate the info below

2022-04-27 13:59:28.305 INFO  [][AutoDeployDir:238] Processing xiaoyi.wechat.web-1.0.0.jar 2022-04-27 13:59:31.307 INFO  [][AutoDeployDir:238] Processing xiaoyi.wechat.web-1.0.0.jar 2022-04-27 13:59:34.308 INFO  [][AutoDeployDir:238] Processing xiaoyi.wechat.web-1.0.0.jar 2022-04-27 13:59:37.309 INFO  [][AutoDeployDir:238] Processing xiaoyi.wechat.web-1.0.0.jar

2.This version can not login,It generates js errors.

Thank you in advanced