Blogs

Blogs

Liferay Commerce 4.0 Release

We are pleased to announce the release of Liferay Commerce 4.0!

Announcing Liferay Commerce 4.0

We’re excited to continue expanding and improving upon the Liferay Commerce product. The latest version of Commerce offers improvements in data integration and administrator and developer experience, making managing common Commerce processes more efficient.

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 CE GA1:

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

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 CE GA1 and Liferay Commerce 4.0  release on the download page.  If you need additional files (for example, the source code, or dependency libraries), visit the release page.

Dependency Management

If you are developing on top of Liferay Platform using Liferay Workspace, you will only need to define a single dependency artifact by adding the following line to each modules build.gradle file:

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

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 gradle.property file:

liferay.workspace.product = portal-7.4-ga1

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

Liferay Commerce Features

Administrator and Developer Experience

Channel Visibility
Users can now edit channel visibility via headless API or batch code updates.

Filtering Options
Now users can filter Products by channel.

New Option Template Management
Administration of the option template has been updated to be more consistent with the rest of the UI.

Define Default Account Roles
When creating a new user on an account you can define and configure default account roles for all sites and instances.

Other

Implement FriendlyURL in the Checkout Portlet
In order to avoid long URLs when a payment method is active, we defined a pattern for the checkout portlet URL: /{checkoutStepName}/{commerceOrderUuid}

New Shipment API
See story here.

Documentation

All documentation for Liferay Portal and Liferay Commerce can now be found on our documentation site: learn.liferay.com.  For more information on upgrading to Liferay Portal 7.4 CE GA1 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 CE GA1 and Liferay Commerce 4.0 were tested extensively for use with the following Application/Database Servers: 

Application Server

  • Tomcat 9.0

  • Wildfly 17.0

Database

  • HSQLDB 2 (only for demonstration, development, and testing)

  • MySQL 5.7, 8.0

  • MariaDB 10.2, 10.4

  • PostgreSQL 12.x, 13.x

JDK

  • IBM J9 JDK 8

  • Oracle JDK 8

  • Oracle JDK 11

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

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.