Skip to content

Commit

Permalink
Release 1.7.2
Browse files Browse the repository at this point in the history
- Add 'replaces' property to 'clientLibDirectoryFields'. It defines the path to the library that is replaced by 'this' one.
- Add 'disableIfReplacing' property to 'clientLibDirectoryFields'. It disables this library if it would replace the old one.
  • Loading branch information
Ingo Fahrentholz committed May 13, 2020
1 parent 8c35742 commit 14791e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 1.7.2

### Added

- Add 'replaces' property to 'clientLibDirectoryFields'. It defines the path to the library that is replaced by 'this' one.
- Add 'disableIfReplacing' property to 'clientLibDirectoryFields'. It disables this library if it would replace the old one.

## 1.7.1

- add travis ci
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ clientlib(arrProps, { verbose: true }, function () {
- `categories` `{Array<String>}` to set a category for the clientLib (optional), ovrrides the default that uses the name as category
- `cssProcessor` `{Array<String>}` configuration for the clientlib CSS processor, requires AEM 6.2 (optional)
- `jsProcessor` `{Array<String>}` configuration for the clientlib JS processor, requires AEM 6.2 (optional)
- `replaces` `{String}` Path to the library that is replaced by 'this' one
- `disableIfReplacing` `{boolean}` Disable this library if it would replace the old one
- `assets` `{Object}` content that should be copied to the clientlib folder, more details below (required)
- `allowProxy` `{Boolean}` allow for Clientlib creation under `/apps/myapp/clientLibs` but enable proxy to `/etc.clientlibs/myapp/clientlibs/mylib` See [AEM 6.3 Documentation](https://docs.adobe.com/docs/en/aem/6-3/develop/the-basics/clientlibs.html#Locating%20a%20Client%20Library%20Folder%20and%20Using%20the%20Proxy%20Client%20Libraries%20Servlet)
- `longCacheKey` `{String}` optional string with placeholders to use with URL Fingerprinting, eq. `"${project.version}-${buildNumber}"`. This requires the [build-helper-maven-plugin](http://www.mojohaus.org/build-helper-maven-plugin/usage.html) to be configured, see [wcm-io-samples - Clientlibs](https://github.com/wcm-io/wcm-io-samples/blob/develop/bundles/clientlibs/pom.xml#L56).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aem-clientlib-generator",
"version": "1.7.1",
"version": "1.7.2",
"description": "Creates configuration files for AEM ClientLibs and synchronizes assets.",
"author": {
"name": "pro!vision GmbH",
Expand Down

0 comments on commit 14791e4

Please sign in to comment.