Release Notes / Version 10.2104
Table Of ContentsThird-Party Update: Apache Tika and Transitive Dependencies
Apache Tika has been updated to version 1.25. As part of this change, the following transitive dependencies of Apache Tika have been updated to match versions used by Tika. Some of these updates fix known security vulnerabilities: CVE-2020-28052 (Bouncy Castle), CVE-2020-8908 (Guava), CVE-2020-13956 (Http Client).
Updated dependencies:
com.google.guava:guava: 30.0-jre
com.rometools:rome: 1.15.0
commons-codec:commons-codec: 1.15
commons-io:commons-io: 2.8.0
jakarta.xml.bind:jakarta.xml.bind-api: 2.3.3
org.apache.commons:commons-lang3: 3.11
org.apache.httpcomponents:httpclient: 4.5.13
org.apache.httpcomponents:httpmime: 4.5.13
org.apache.pdfbox:pdfbox: 2.0.21
org.apache.tika:tika-core: 1.25
org.apache.tika:tika-parsers: 1.25
org.bouncycastle:bcmail-jdk15on: 1.67
org.bouncycastle:bcpkix-jdk15on: 1.67
org.bouncycastle:bcprov-jdk15on: 1.67
org.glassfish.jaxb:jaxb-runtime: 2.3.3
org.ow2.asm:asm: 9.0
If you use the libraries in project code, please check their respective release notes for changes and upgrade information. No changes were necessary in the CoreMedia Blueprint for these updates.
(CMS-18720)
Extended API for Implementations of CommandLineClient
CoreMedia introduced several extensions to assist implementing custom implementations of
CommandLineClient
and related.
Some basic tool-handling moved from
CommandLineClient
to new parent classcom.coremedia.cmdline.BaseCommandLineClient
. This base client for example skips adding parameters for login credentials.Automatic Synopsis: Introduced
isAutoUsage()
(default:false
) which signals, that any options added will be automatically added to the command synopsis.-?, --help: Introduced methods for automatically handling usage options (default: -?, --help), which, when enabled and given, will print usage information and quit the tool immediately:
understandsUsage()
which defaults to returnfalse
. Override to enable usage options.addUsageOptions(Options)
which adds usage options.parseCommandLineHelp(CommandLine)
which parses usage options.printExplicitUsage(CommandLine)
called whenparseCommandLineHelp
recognized a help-parameter. Defaults to callinggetUsage()
but may be customized to output other or additional information, based on the command line options passed to this method.
(CMS-18408)
Introducing Content-UUID-Migration Tooling
CoreMedia introduced three command-line tools, which are meant to support customers using multi-environment deployment like development and production, to synchronize UUIDs of documents. While for daily use,
serverexport
and
serverimport
have been extended before supporting export and import of content-UUIDs, these tools are meant to assist those, which had servers since before introducing UUIDs for contents.
The new tools will synchronize UUIDs of contents in two environments which share the same path and type.
Usage Example:
dev$ cm content-uuid-export -u <user> ... --output export.csv prod$ cm generate-content-uuid-map ... --input export.csv --output merge.csv prod$ cm content-uuid-import ... --input merge.csv
For details see usage information of tools provided with
--help
or have a look at the documentation of Server Utility Programs (Operation) in
Content Server Manual
, section
Content-UUID-Migration
.
(CMS-17000)