Documentation
Javadoc |
Scaladoc
Get Release
Source
Binaries
The above release files should be verified using the PGP signatures and the
project release KEYS . See
verification instructions
for a description of using the PGP and KEYS files for
verification. A SHA512 checksum is also provided as
an alternative verification method.
<dependency>
<groupId> org.apache.daffodil</groupId>
<artifactId> daffodil-japi_2.12</artifactId>
<version> 2.6.0</version>
</dependency>
libraryDependencies += "org.apache.daffodil" %% "daffodil-sapi" % "2.6.0"
Release Notes
Multiple performance updates focused on schema compilation, hidden group references and other cleanups and refactoring.
[DAFFODIL-1444 ] Performance - schema compilation
[DAFFODIL-2281 ] isHidden - can’t have a group that is both hidden and not hidden
[DAFFODIL-2280 ] Clean up DSOM backpointers and object-factory clutter
[DAFFODIL-2299 ] Perfromance for nightly unparse tests for csvMixedNarrow format has degraded more than 30%
[DAFFODIL-2304 ] hiddenGroupRef in group is dropped during unparse
[DAFFODIL-2305 ] Remove some Unused Term Methods
Sonarcloud
The master branch of Daffodil was configured to be scanned by Static Analysis tool, Sonarqube, when PRs are merged.
Infrastructure
Multiple infrastructure changes were made, including bumping the minor version of Scala 2.12, bumping the SBT version, release container updates, and removal of Travis CI.
API Updates
See Deprecation/Compatibility for more details
[DAFFODIL-2309 ] API calls that take name and namespace should check for namespace-only error
[DAFFODIL-2311 ] API updates: thread-safety, variable-bindings being lost
TDML
Improvements were made to the TDML runner.
[DAFFODIL-2302 ] TDML Runner remembers external variable bindings even on subsequent test suites that don’t use them.
Miscellaneous Changes and Bug Fixes
[DAFFODIL-2308 ] element is used by expressions but DPathCompileInfo.isReferencedByExpressions is false
[DAFFODIL-2293 ] Too many bits in xs:string
[DAFFODIL-2306 ] Abort: NadaParsers are all supposed to optimize out!
[DAFFODIL-2004 ] daffodil site should have tutorials area
[DAFFODIL-2296 ] NACHA failing some tests with “Abort: NadaUnparsers are all supposed to optimize out”
[DAFFODIL-2283 ] ATO and HL7 saved parsers fail with Stack Overflow errors during generation on commit 7e8e1b3e
[DAFFODIL-2284 ] Non-thread safe failures with JSON schema
[DAFFODIL-2290 ] Change download links to downloads.apache.org
[DAFFODIL-2288 ] update jackson-core dependency to 2.9.8 to facility runtime2 work
[DAFFODIL-840 ] text numbers: textStandardBase
[DAFFODIL-2245 ] Compiler Error format message incorrectly rendered
[DAFFODIL-2286 ] Enable full validation, even if working from compiled binary of schema
[DAFFODIL-2276 ] Get java.lang.ClassCastException on nightly nitf unparse test
[DAFFODIL-2271 ] Prepare for 2.6.0 development
[DAFFODIL-2270 ] Update UDF Proposal to match Final Design
[DAFFODIL-942 ] Update parsers to handle static vs dynamic properties better
[DAFFODIL-2318 ] Test XML files missing license
[DAFFODIL-2319 ] Add license header to .gitignore file
[DAFFODIL-2320 ] Non en_US LANG causes test failure
Deprecation/Compatibility
The following changes have been made which may affect compatibility with past releases:
The following setters were deprecated in favor of these withXYZ functions
setValidateDFDLSchemas
-> None
setCheckAllTopLevel
-> withCheckAllTopLevel
setTunable
-> withTunable
setTunables
-> withTunables
setExternalDFDLVariable
-> DataProcessor.setExternalVariable
setExternalDFDLVariables
-> DataProcessor.setExternalVariables or TDMLDFDLProcessor.withExternalDFDLVariables
setDistinguishedRootNode
-> withDistinguishedRootNode or arguments to getProcessor, compileSource, or compileFile
setDebugger
-> withDebugger
setDebugging
-> withDebugging
setTracing
-> withTracing
setValidationMode
-> withValidationMode
setExternalDFDLVariables
-> withExternalDFDLVariables
setExternalVariables
-> withExternalVariables