| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
- <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
- <reference id="ID" rev="3.5">
- <title>DITA Open Toolkit <keyword keyref="release"/> Release Notes</title>
- <titlealts>
- <navtitle>Release Notes</navtitle>
- </titlealts>
- <abstract>
- <shortdesc>DITA Open Toolkit <keyword keyref="release"/> is a feature release that provides new features and
- enhancements, including <ph conref="#v3.5/summary"/>.</shortdesc>
- <p conkeyref="conref-task/semver-info"/>
- <note type="tip"><ph conkeyref="conref-task/download-ot"/></note>
- </abstract>
- <reference id="requirements">
- <title>Requirements</title>
- <refbody>
- <section>
- <draft-comment author="Roger">Add info on new minimum Java version or any other requirements that have changed
- since previous release.</draft-comment>
- <p conkeyref="reusable-components/java-clients"/>
- </section>
- </refbody>
- </reference>
- <reference id="v3.5">
- <title>DITA-OT <keyword keyref="release"/>
- <!--<ph outputclass="small text-muted">released MMM d, yyyy</ph>-->
- </title>
- <prolog>
- <metadata>
- <keywords>
- <indexterm/>
- </keywords>
- </metadata>
- </prolog>
- <refbody>
- <section>
- <p>DITA Open Toolkit Release <keyword keyref="release"/> includes <ph id="summary">support for additional input
- resources, an alternative subcommand syntax for the <cmdname>dita</cmdname> command, and an initial preview
- of features for the latest draft of the upcoming DITA 2.0 standard</ph>.</p>
- </section>
- <section id="dita-2-0-preview">
- <title>DITA 2.0 preview</title>
- <p id="3449">DITA-OT <keyword keyref="release"/> includes processing support for the latest DRAFT versions of
- the DITA 2.0 DTD and RelaxNG grammar files from OASIS (as of April 2020).
- <xref href="https://github.com/dita-ot/dita-ot/issues/3449" format="html" scope="external">#3449</xref>
- </p>
- <p conkeyref="dita-v2-0-support/grammar-files"/>
- <ul>
- <li id="3453">
- <p>
- <ph conkeyref="dita-v2-0-support/include"/>
- <xref href="https://github.com/dita-ot/dita-ot/issues/3453" format="html" scope="external">#3453</xref>
- </p>
- </li>
- <li id="3462">
- <p>
- <ph conkeyref="dita-v2-0-support/specializations"/>
- <xref href="https://github.com/dita-ot/dita-ot/issues/3440" format="html" scope="external">#3440</xref>,
- <xref href="https://github.com/dita-ot/dita-ot/issues/3462" format="html" scope="external">#3462</xref>
- </p>
- </li>
- <li id="3463">
- <p>
- <ph conkeyref="dita-v2-0-support/outputclass"/>
- <xref href="https://github.com/dita-ot/dita-ot/issues/3463" format="html" scope="external">#3463</xref>,
- <xref href="https://github.com/dita-ot/dita-ot/issues/3482" format="html" scope="external">#3482</xref>
- </p>
- </li>
- <li id="3464">
- <p>
- <ph conkeyref="dita-v2-0-support/simple-table-titles"/>
- <xref href="https://github.com/dita-ot/dita-ot/issues/3464" format="html" scope="external">#3464</xref>,
- <xref href="https://github.com/dita-ot/dita-ot/issues/3465" format="html" scope="external">#3465</xref>,
- <xref href="https://github.com/dita-ot/dita-ot/issues/3479" format="html" scope="external">#3479</xref>
- </p>
- </li>
- <li id="3483">
- <p>
- <ph conkeyref="dita-v2-0-support/topic-based-classes"/>
- <xref href="https://github.com/dita-ot/dita-ot/issues/3483" format="html" scope="external">#3483</xref>
- </p>
- </li>
- </ul>
- <note conkeyref="dita-v2-0-support/more-to-come"/>
- </section>
- <section id="features">
- <title>New features</title>
- <indexterm><parmname>--resource</parmname></indexterm>
- <indexterm><parmname>result.rewrite-rule.class</parmname></indexterm>
- <indexterm><parmname>result.rewrite-rule.xsl</parmname></indexterm>
- <indexterm><cmdname>deliverables</cmdname> subcommand</indexterm>
- <indexterm><cmdname>install</cmdname> subcommand</indexterm>
- <indexterm><cmdname>plugins</cmdname> subcommand</indexterm>
- <indexterm><cmdname>transtypes</cmdname> subcommand</indexterm>
- <indexterm><cmdname>uninstall</cmdname> subcommand</indexterm>
- <indexterm><cmdname>version</cmdname> subcommand</indexterm>
- <p>DITA-OT <keyword keyref="release"/> also includes the following new features:</p>
- <!-- https://github.com/dita-ot/dita-ot/issues?q=milestone%3A3.5+is%3Aclosed+label%3Afeature+sort%3Acreated-asc -->
- <ul>
- <li id="3412">
- <p>You can now pass additional input resources to the <cmdname>dita</cmdname> command with the
- <parmname>--resource</parmname> option.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3412" format="html" scope="external"
- >#3412</xref></p>
- <p>For example, to process a single topic file with a map that contains key definitions, use a command like
- this:
- <codeblock><cmdname>dita</cmdname> <parmname>--input</parmname>=<filepath>topic.dita</filepath> <parmname>--resource</parmname>=<filepath>keys.ditamap</filepath> <parmname>--format</parmname>=<option>html5</option></codeblock>
- </p></li>
- <li id="3413">Two new parameters can be used to dynamically adjust the names and locations of output files in
- transformations that use the map-first pre-processing routine (<codeph>preprocess2</codeph>).
- <xref href="https://github.com/dita-ot/dita-ot/issues/3413" format="html" scope="external">#3413</xref>
- <ul>
- <li>Use <parmname>result.rewrite-rule.class</parmname> to rewrite filenames with a Java class</li>
- <li>Use <parmname>result.rewrite-rule.xsl</parmname> to rewrite via an XSLT stylesheet</li>
- </ul>
- </li>
- <li id="3437">
- <p>The <cmdname>dita</cmdname> command line interface has been refactored to support subcommands for common
- operations.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3437" format="html" scope="external">#3437</xref>,
- <xref href="https://github.com/dita-ot/dita-ot/issues/3492" format="html" scope="external">#3492</xref>,
- <xref href="https://github.com/dita-ot/dita-ot/issues/3494" format="html" scope="external">#3494</xref>
- </p>
- <dl conkeyref="reusable-components/3.5-subcommands">
- <dlentry>
- <dt/>
- <dd/>
- </dlentry>
- </dl>
- <p>For syntax details, see
- <xref keyref="dita-command-arguments"/>.</p>
- <note>The double-hyphen option syntax has been retained for backwards compatibility, so if you use
- <cmdname>dita</cmdname>
- <parmname>--install</parmname> in scripts (or out of habit), it will still work.</note>
- <note type="tip">Each subcommand has its own <parmname>--help</parmname> option, so you can run
- <cmdname>dita install</cmdname>
- <parmname>--help</parmname> for details on the available arguments and options.</note>
- </li>
- <li id="3489">
- <p>DITAVAL <xmlatt>style</xmlatt> tokens are now also generated as CSS classes that are added to the
- <xmlatt>class</xmlatt> attribute values in the generated HTML.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3489" format="html" scope="external"
- >#3489</xref></p>
- <p>Rules with corresponding class selectors have been added to the default stylesheets to implement the same
- appearance that previous versions of DITA-OT achieved with inline styles. You can override these flagging
- styles if necessary using the following classes: </p>
- <ul>
- <li><codeph>.flag__style--bold</codeph></li>
- <li><codeph>.flag__style--italics</codeph></li>
- <li><codeph>.flag__style--overline</codeph></li>
- <li><codeph>.flag__style--underline</codeph></li>
- <li><codeph>.flag__style--double-underline</codeph></li>
- </ul></li>
- </ul>
- </section>
- <section id="enhancements">
- <title>Enhancements and changes</title>
- <indexterm/>
- <p>DITA Open Toolkit Release <keyword keyref="release"/> includes the following enhancements and changes to
- existing features:</p>
- <!-- https://github.com/dita-ot/dita-ot/issues?q=milestone%3A3.5+is%3Aclosed+label%3Aenhancement+sort%3Acreated-asc -->
- <ul>
- <li id="3383">The Java code has been refactored to generate <codeph>xsl:message</codeph> output using methods
- that are compatible with Saxon Enterprise Edition.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3383" format="html" scope="external">#3383</xref>,
- <xref href="https://github.com/dita-ot/dita-ot/issues/3452" format="html" scope="external">#3452</xref>
- </li>
- <li id="3395">Handling for <msgph>UncheckedXPathException</msgph> errors has been improved to provide more
- details on the source of the error including line and column information.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3395" format="html" scope="external">#3395</xref>
- </li>
- <li id="3425">The integration tests for the map-first preprocessing routine (<codeph>preprocess2</codeph>)
- have been separated from the previous preprocessing tests, with dedicated results defined to evaluate the
- compliance of map-first preprocessing with the expected output.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3425" format="html" scope="external">#3425</xref>
- </li>
- <li id="3430">The HTML5 plug-in includes new attribute sets for link lists that make it easier for custom
- plug-ins to add supplementary classes or other customizations without overriding entire templates. The
- default output includes the same CSS classes as previous versions of DITA-OT (<codeph>relconcepts</codeph>,
- <codeph>relinfo</codeph>, <codeph>relref</codeph>, <codeph>reltasks</codeph>), so existing customizations
- that rely on these classes will behave as expected.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3430" format="html" scope="external">#3430</xref>
- </li>
- <li id="3434">Various unused and deprecated Ant properties, list files, and targets have been removed from the
- preprocessing configuration. Recent DITA-OT versions provide alternative mechanisms to achieve the same
- results, such as the <xmlelement>ditafileset</xmlelement> element to select resources in the temporary
- directory.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3434" format="html" scope="external">#3434</xref>
- </li>
- <li id="3442">The <codeph>org.dita.eclipsehelp</codeph> plugin, which is still bundled with DITA-OT, is now
- installed from a separate repository.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3442" format="html" scope="external">#3442</xref>
- </li>
- <li id="3471">XSLT processing has been adjusted to use Saxon’s preferred Java API for XSLT, XQuery, XPath, and
- XML Schema processing (S9API) directly instead of the JAXP wrapper used by previous versions of DITA-OT.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3471" format="html" scope="external">#3471</xref>
- </li>
- <li id="3473">Java code has been refactored to use a single instance of XML utilities during processing. This
- approach allows other XML-related resources to be shared, including Saxon processors and name pools.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3473" format="html" scope="external">#3473</xref>
- </li>
- </ul>
- </section>
- <section id="bugs">
- <title>Bugs</title>
- <indexterm/>
- <p>DITA Open Toolkit Release <keyword keyref="release"/> provides fixes for the following bugs:</p>
- <!-- https://github.com/dita-ot/dita-ot/issues?q=milestone%3A3.5+is%3Aclosed+label%3Abug+sort%3Acreated-asc -->
- <ul>
- <li id="1899">The DITA 1.x specification defines cascade behaviors for maps such that
- <xmlelement>othermeta</xmlelement> and <xmlelement>source</xmlelement> do not cascade to child
- <xmlelement>topicref</xmlelement> elements. In earlier releases the <codeph>mappull</codeph> stage of
- processing pushed these to nested elements; that behavior is now corrected to match the specification.
- <xref href="https://github.com/dita-ot/dita-ot/issues/1899" format="html" scope="external">#1899</xref>,
- <xref href="https://github.com/dita-ot/dita-ot/issues/3326" format="html" scope="external">#3326</xref></li>
- <li id="3232">When <xmlelement>coderef</xmlelement> elements imported code samples with key references via the
- <xmlatt>keyref</xmlatt> attribute, earlier versions of DITA-OT appended the (temporary) file name of the
- referenced code sample to the last line of the parent <xmlelement>codeblock</xmlelement> element. Processing
- has been corrected to ensure that code blocks contain only the referenced code samples.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3232" format="html" scope="external">#3232</xref>,
- <xref href="https://github.com/dita-ot/dita-ot/issues/3496" format="html" scope="external">#3496</xref>
- </li>
- <li id="3429">To support
- <xref href="#v3.5/3412">additional resources</xref>, the <codeph>mapref</codeph> preprocessing stage now
- runs even if the input file is not a map. DITA-OT now checks whether maps with additional resources are
- available, even if they are not specified as input files.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3429" format="html" scope="external">#3429</xref>
- </li>
- <li id="3484">In some earlier releases, a call to an empty stub template for table <xmlatt>summary</xmlatt>
- attributes was dropped. Calls to that template have been restored, making it available for easy overrides.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3484" format="html" scope="external">#3484</xref>
- </li>
- <li id="3497">When key definitions with external scope were defined in maps in subdirectories, earlier
- versions treated absolute paths beginning with slashes as relative paths, and prefixed the name of the
- enclosing directory to the output path, resulting in broken links. Map reference processing has been
- corrected to ensure that absolute paths are recognized as such and passed to the output as intended.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3497" format="html" scope="external">#3497</xref>
- </li>
- <li id="3498">If <xmlelement>term</xmlelement> elements pointed to missing topics using the
- <xmlatt>keyref</xmlatt> attribute, earlier versions of DITA-OT would crash during the build process. An
- additional check has been implemented to catch these cases, allowing the build to finish and report errors
- for any unresolved term references.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3498" format="html" scope="external">#3498</xref>
- </li>
- <li id="3502">In HTML5 output, earlier versions of DITA-OT displayed the “Note” label when the
- <xmlatt>type</xmlatt> attribute of a <xmlelement>note</xmlelement> element was set to
- <codeph>notice</codeph>. Processing has been updated to ensure that the “Notice” label is correctly
- applied.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3502" format="html" scope="external">#3502</xref>,
- <xref href="https://github.com/dita-ot/dita-ot/issues/3503" format="html" scope="external">#3503</xref>
- </li>
- <li id="3505">In previous releases, when <xmlelement>chunk</xmlelement> was used to combine a branch of
- content, and a file within that branch was missing or invalid, processing within the chunk module could fail
- with a NullPointerException. This condition has been fixed, and processing will continue without the missing
- file.
- <xref href="https://github.com/dita-ot/dita-ot/issues/3505" format="html" scope="external">#3505</xref>
- </li>
- </ul>
- </section>
- <section id="contrib">
- <title>Contributors</title>
- <p>DITA Open Toolkit Release <keyword keyref="release"/> includes
- <xref keyref="contributions"/> by the following people:</p>
- <!-- https://github.com/tj/git-extras/blob/master/Commands.md#git-summary – `git summary 3.4..` -->
- <draft-comment author="Roger">NOTE: This lists contributions to the core toolkit, not docs.</draft-comment>
- <ol>
- <li>Jarno Elovirta</li>
- <li>Robert D Anderson</li>
- <li>Radu Coravu</li>
- <li>Roger Sheen</li>
- <li>Lionel Moizeau</li>
- <li>Stefan Weil</li>
- </ol>
- <p>For the complete list of changes since the previous release, see the
- <xref href="https://github.com/dita-ot/dita-ot/compare/3.4...3.5" format="html" scope="external">
- changelog</xref> on GitHub.</p>
- </section>
- <section id="docs">
- <title>Documentation updates</title>
- <p>The documentation for DITA Open Toolkit Release <keyword keyref="release"/> provides corrections and
- improvements to existing topics, along with new information in the following topics:</p>
- <ul>
- <li>
- <xref keyref="dita-command-arguments"/></li>
- <li>
- <xref keyref="plugins-installing"/></li>
- <li>
- <xref keyref="plugins-removing"/></li>
- <li>
- <xref keyref="migrating-to-3.5"/></li>
- <li>
- <xref keyref="dita-v2-0-support"/></li>
- </ul>
- <p>The topic hierarchy has been revised to promote information on common customization scenarios, including
- <xref keyref="html-customization"/> and
- <xref keyref="pdf-customization"/>, and how to extend the toolkit by
- <xref keyref="adding-plugins"/> and
- <xref keyref="custom-plugins"/>.</p>
- <p>For additional information on documentation issues resolved in DITA Open Toolkit Release <keyword
- keyref="release"/>, see the
- <xref href="https://github.com/dita-ot/docs/issues?q=milestone%3A3.5+is%3Aclosed" format="html"
- scope="external">
- <keyword keyref="release"/> milestone</xref> in the documentation repository.</p>
- <p>DITA Open Toolkit Release <keyword keyref="release"/> includes
- <xref keyref="docs-contributions"/> by the following people:</p>
- <draft-comment author="Roger">NOTE: This lists contributions to docs, not to the core toolkit.</draft-comment>
- <ol>
- <li>Roger Sheen</li>
- <li>Robert D Anderson</li>
- <li>Jarno Elovirta</li>
- <li>Shane Taylor</li>
- <li>Lief Erickson</li>
- <li>Heston Hoffman</li>
- </ol>
- <p>For the complete list of documentation changes since the previous release, see the
- <xref href="https://github.com/dita-ot/docs/compare/3.4...3.5" format="html" scope="external">
- changelog</xref>.</p>
- </section>
- </refbody>
- </reference>
- </reference>
|