All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
TBD
4.0.0 2023-07-31
- Gradle 8 support (#45)
- Commerce build,
HybrisAntTask
: configure additional ant properties via command line flags (#29), e.g.> ./gradlew ybuild --antProperty=build.parallel=true --antProperty=foo.bar=false
- Commerce build,
removeUnusedExtensions
:sparseBootstrap
introduced in 3.9.0 is the better way to save disk space
- Dropped support for all Gradle versions < 7.6.2
- Commerce build,
removeUnusedExtensions
: do not modify default excludes (#52)
3.10.0 2023-07-17
- Commerce build: improve support of preview versions, e.g.
2211.FP1
with mapping to patch levels (#53)
Thank You to @iccaprar for his continued support.
3.9.1 2023-05-30
- Commerce build: preliminary support of preview versions, e.g.
2211.FP1
(#48) - Commerce build, sparse bootstrap: fix performance extension scan performance degradation when including smartedittools (#49)
Thank You to @iccaprar for his continued support.
- Commerce plugin: Add
sparseBootstrap
mode.
Only unpack the extensions your project needs instead of the whole zip. Details can be found in the Documentation
A huge Thank You to @iccaprar for designing and implementing sparseBootstrap
!
- CCv2 Plugin, manifest validation: Add support for SAP Commerce 2211 and Integration Extension Pack 2211 (#41)
Thank you @iccaprar for adding the 2211 compatibility check!
3.7.1 2022-06-15
- Commerce plugin, task
cleanPlatform
: Fix OutOfMemory error and performance issues
Details: Conversation in Gradle Community Slack
3.7.0 2022-06-15
sap.commerce.ccv1.package
- CCv1 is sunset.
The packaging plugin will be removed in the next major release
- Commerce plugin: Lazy configuration with fallback for ant properties ([$32])
- Commerce plugin:
HybrisAntTaks
support for 2205 - CCv2 Plugin, manifest validation: Add support for SAP Commerce 2105 and Integration Extension Pack 2108 (#38)
- CCv2 Plugin, manifest validation: Add support for SAP Commerce 2205 and Integration Extension Pack 2205
- Windows compatibility ([#34])
Thank you @tklostermannNSD for adding the 2105 / 2108 compatibility check!
Special shout out to @aepfli for not only adding lazy configuration to HybrisAntTas
and improving
the Windows compatibility, but for also adding the much-needed OS compatibility check to our
GH Actions flow.
3.6.0 2021-06-25
- CCv2 Plugin, Tasks
cloudTests
andcloudWebTests
: build fails when tests fail (failbuildonerror=yes
, #26)
- CCv2 Plugin, Tasks
cloudTests
andcloudWebTests
Tasks are now always instances ofmpern.sap.commerce.build.tasks.HybrisAntTask
(#27)
Thank you @guiliguili for reporting both issues!
3.5.0 2021-04-21
- Task
validateManifest
- Validate Integration Extension Pack
Ensure that the correct Integration Extension Pack is used.
manifest.json
- Stricter validation forextensionPacks
. Invalid entries now cause the parser to fail.
- Task
unpackPlatform
could fail in case of duplicate files. Now Gradle will emit a warning and overwrite the file.
3.4.0 2021-03-15
- Task
validateManifest
ValidatesolrVersion
and warn if you customize solr without pinning the version.
3.3.0 2021-01-20
-
Task
validateManifest
- New Validations- Check if of cloud media conversion is correctly configured
- Fail if
<extension>.webroot
properties are used
3.2.0 2021-01-15
-
CCv2: New Task
validateManifest
Validate yourmanifest.json
for common errors locally, instead of detecting error only after you have triggered the build in the cloud portal or, even worse, during deployment.
For details please check the user documentation -
CCv2: Task
installManifestAddons
Support forstorefrontAddons.addons
/storefrontAddons.storefronts
arrays (Documentation) -
Build: Configure default task dependencies for generated ant tasks (#24)
You can now configure the default dependencies for ant tasks generated by the ant task rulehybris { antTaskDependencies.set(listOf("bootstrapPlatform")) }
- CCv2: Task
installManifestAddons
Addons are now installed exactly in the same way as they are in the cloud build.
3.1.0 - 2020-12-23
removeUnusedExtensions
- remove all extensions that the project doesn't use (to save disk space)
3.0.0 - 2020-09-25
- Plugin IDs
The new plugin IDs are:sap.commerce.build
sap.commerce.build.ccv2
sap.commerce.ccv1.package
- Removed
SupportPortalDownload
2.1.1 - 2020-09-25
-
Plugin IDs
Since the plugin recently moved to the SAP open source organization, the plugin will soon be updated to reflect this changeOld New mpern.sap.commerce.build
sap.commerce.build
mpern.sap.commerce.build.ccv2
sap.commerce.build.ccv2
mpern.sap.commerce.ccv1.package
sap.commerce.ccv1.package
-
Task Type
SupportPortalDownload
The logic to determine the download link for an artifact is quite complex and brittle, and there are easier ways to do achieve the same outcome.
Check the FAQ for more information
2.1.0 - 2020-06-16
- CCv2 Plugin: Support
extensionPacks
array (docs). This is especially relevant for the new "Integration Extension Pack"
During the execution of the bootstrapPlatform
task, the plugin resolves extension packs as dependencies as follows:
name
/version
:
de.hybris.platform:${name}:${version}@zip
artifact
:
${artifact}
(as is, without any changes)
ifartifact
is configured,name
andversion
are ignored (as specified in the docs)
The plugin unpacks all resolved dependencies into the project root folder. (the same way as the platform.zip is unpacked).
- Changed the default value for
hybris.cleanGlob
toglob:**hybris/bin/{ext-**,platform**,modules**}
to match the new folder structure.
2.0.0 - 2020-02-16
- Support Gradle 6.x
- Dropped support for Gradle 4.x due to changes in the Gradle Plugin API in 6.x
1.5.1 - 2019-10-22
- Change the file format of the deployment package checksum file to follow the latest packaging guidelines. (#15)
A big "thank you" to @I048752 for providing the fix!
1.5.0 - 2019-08-09
- CCv2 Plugin: Cloud Extension Pack support
If the cloud extension pack is enabled in your manifest.json
("useCloudExtensionPack": true
), the bootstrapPlatform
task will automatically:
- download and unpack the extension pack (artifact coordinates:
de.hybris.platform:hybris-cloud-extension-pack:<commerce-version-without-patch>.+
) into the foldercloud-extension-pack
- patch
localextensions.xml
to load the extensions from the cloud extension pack, if necessary
- Install addons defined in
manifest.json
faster
1.4.0 - 2019-04-09
- Task
buildCCV1Package
now declares task outputs - you can now easily (post)process the generated package (#12)
1.3.3 - 2019-03-29
- Ensure correct ccv1 deployment package name (#11)
1.3.2 - 2019-03-18
- Fix calling ant targets on the SAP JVM (#10)
1.3.1 - 2019-03-07
- CCv2 plugin correctly parses a minimal
manifest.json
(#9)
1.3.0 - 2019-01-18
-
Gradle 5+ support
Check the kotlin-dsl-example repository on how to write your build with the Kotlin DSL -
New property
sha256Sum
forSupportPortalDownloadTask
to support checksums available on launchpad.support.sap.com (More details in the documentation and the FAQ)
1.2.2 - 2019-01-17
- CCv2 Plugin: you can override the platform version configured in
manifest.json
in thebuild.gradle
- Improve platform version detection
This should take care of #8
1.2.1 - 2018-12-14
- Keep case of ant target (#5)
1.2.0 - 2018-10-26
- Include Solr customization in a CCv1 package (PR #3)
A big "thank you" to @karol-szczecinski-sap for implementing the feature!
1.1.1 - 2018-09-24
- Change glob pattern to match ant directory in 1808
1.1.0 - 2018-08-27
- CCV2
manifest.json
support
Configure your local build using amanifest.json
file using the new CCV2 build plugin.
Details can be found in the wiki!
-
HybrisAntTask
configure Ant properties consistently via the new methodsantProperty(String key, String value)
andsetAntProperties(Map<String,String>)
Using the built-in method
systemProperty
(provided byJavaExec
) doesn't work for all cases, unfortunately
1.0.2 - 2018-08-23
- Fixed ccv1 package generation on Linux (see PR #1)
Shout out to @corneleberle for providing the fix.
1.0.1 - 2018-06-29
- Fix unpack of platform zip on Windows
1.0.0 - 2018-06-25
🎉 Initial release 🎉