YANG Tools

Overview

YANG Tools provides a set of libraries to deal with YANG models and data modeled using them.

Behavior/Feature Changes

There are no behavior changes.

New Features

No new features.

Removed Features

No removed features.

Deprecated Features

No deprecated features.

Resolved Issues

The following table lists the issues resolved in this release.

Issues resolved in versions 14.0.9 through 14.0.14 (JIRA)

Type

Key

Summary

Resolution

Fix Version(s)

Bug

YANGTOOLS-1666

max-elements argument range is not enforced

Done

13.0.10, 14.0.14

Bug

YANGTOOLS-1665

min-elements argument range is not enforced

Done

13.0.10, 14.0.14

Bug

YANGTOOLS-1664

Unexpected error with min-elements/max-elements mismatch

Done

13.0.10, 14.0.14

Bug

YANGTOOLS-1659

binding-data-codec-dynamic requires javax.inject

Done

14.0.10

Improvement

YANGTOOLS-1669

Extend DataTreeConfiguration to control full structural verification

Done

14.0.14

Improvement

YANGTOOLS-1668

Expose DOMSourceXMLStreamReader

Done

13.0.10, 14.0.14

Improvement

YANGTOOLS-1661

Add DataObjectIdentifier.Builder.toReferenceBuilder()

Done

14.0.10

Improvement

YANGTOOLS-1660

Add DataObjectReference.{find,get}FirstKeyOf()

Done

14.0.10

Known Issues

The following table lists the known issues that exist in this release.

Resolved Issues in SR1

The following table lists the issues resolved in this release.

Issues resolved in versions 14.0.15 through 14.0.17 (JIRA)

Type

Key

Summary

Resolution

Fix Version(s)

Improvement

YANGTOOLS-1676

Add DataObjectIdentifier.trimTo()

Done

14.0.15

Improvement

YANGTOOLS-1675

Deprecate DataObjectIdentifier.toIdentifier()

Done

14.0.15

Improvement

YANGTOOLS-1674

Add BindingInstanceIdentifier.firstKeyOf()

Done

14.0.15

Known Issues in SR1

The following table lists the known issues that exist in this release.

Issues affecting versions 14.0.15 through 14.0.17 (JIRA)

Type

Key

Summary

Status

Affected Version(s)

Fix Version(s)

Bug

YANGTOOLS-1890

Cannot augment notification with mandatory leaf

Resolved

13.0.10, 14.0.17, 14.0.23, 15.1.1

14.0.24, 15.1.2, 16.0.0

Resolved Issues in SR2

The following table lists the issues resolved in this release.

Issues resolved in versions 14.0.18 through 14.0.23 (JIRA)

Type

Key

Summary

Resolution

Fix Version(s)

Bug

YANGTOOLS-1741

CodecDataObjectGenerator.Fixed mis-references ClassGeneratorBridge

Done

14.0.21

Bug

YANGTOOLS-1701

Default YANG Parser does not include support for yang-ext:mount

Done

14.0.20

Improvement

YANGTOOLS-1775

Do not use Plexus injection in yang-maven-plugin

Done

14.0.23, 15.0.0

Improvement

YANGTOOLS-1766

Retain ArgumentDefinition in YangStmtMapping

Done

14.0.23, 15.0.0

Improvement

YANGTOOLS-1757

Improve StmtContextUtils.getModuleQNameByPrefix()

Done

14.0.22

Improvement

YANGTOOLS-1751

Add StmtContext.definingModule()

Done

14.0.22

Improvement

YANGTOOLS-1750

YangIRSourceInfoExtractor should use version-specific unescaping

Done

14.0.22

Improvement

YANGTOOLS-1749

Separate YangIRSourceInfoExtractor to yang.model.spi.source

Done

14.0.22

Improvement

YANGTOOLS-1748

Move ArgumentContextUtils to yang-ir

Done

14.0.22

Improvement

YANGTOOLS-1742

Add support for rc:yang-data in DataSchemaContextTree

Done

14.0.21

Improvement

YANGTOOLS-1740

Refactor ClassGeneratorBridge.BridgeProvider

Done

14.0.21

Improvement

YANGTOOLS-1728

Wire YangParserFactory et al. via ParserExtension

Done

14.0.21

Improvement

YANGTOOLS-1726

Add CodeHelpers.emptyFor(String)

Done

14.0.21

Improvement

YANGTOOLS-1725

Reduce use of JavaFileTemplate.importedName(Class)

Done

14.0.21

Improvement

YANGTOOLS-1724

Split up InMemoryDataTreeFactory

Done

14.0.21

Improvement

YANGTOOLS-1722

Add YangIRSource.toString()

Done

14.0.21

Improvement

YANGTOOLS-1704

Convert yang-parser-impl to JPMS

Done

14.0.20

Improvement

YANGTOOLS-1703

Convert yang-parser-rfc7950 to bnd-parent

Done

14.0.20

Improvement

YANGTOOLS-1687

Add ModuleLike.getSourceIdentifier()

Done

14.0.19

Improvement

YANGTOOLS-1686

Add SourceIdentifier.ofQName()

Done

14.0.19

Improvement

YANGTOOLS-1679

Simplify OSGiBindingRuntime and OSGiBindingDOMCodec

Done

14.0.18

Improvement

YANGTOOLS-1613

Suppress empty range checkers

Done

14.0.21

New Feature

YANGTOOLS-1754

Add model.spi.stmt.SchemaNodeIdentifierParser

Done

14.0.22

New Feature

YANGTOOLS-1747

Add SourceInfo extractor for YinDomSource

Done

14.0.22

New Feature

YANGTOOLS-1743

Add ImmutableNormalizedYangData

Done

14.0.21

New Feature

YANGTOOLS-1727

Daggerize YANG Tools

Done

14.0.21

New Feature

YANGTOOLS-1702

Expose ParserExtension from *-parser-support artifacts

Done

14.0.20

New Feature

YANGTOOLS-1682

Add util.xml.IndentedXML

Done

14.0.18

New Feature

YANGTOOLS-1476

Define model-api for RFC8791 YANG Data Structure Extensions

Done

14.0.21

Sub-task

YANGTOOLS-1773

Refactor AutomaticLifecycleMixin

Done

14.0.23, 15.0.0

Sub-task

YANGTOOLS-1710

Separate out yang.parser.antlr.IfFeatureArgumentParser

Done

14.0.21

Sub-task

YANGTOOLS-1709

Separate out yang.parser.antlr.YangTextParser

Done

14.0.21

Sub-task

YANGTOOLS-1708

Eliminate yang.parser.rfc7950.antlr

Done

14.0.21

Task

YANGTOOLS-1712

Drop @Beta annotations from yang-parser-rfc7950

Done

14.0.21

Task

YANGTOOLS-1699

Create xml/ top-level directory

Done

14.0.20

Task

YANGTOOLS-1689

Deprecate yang.model.util.SchemaContextUtil

Done

14.0.19

Known Issues in SR2

The following table lists the known issues that exist in this release.

Issues affecting versions 14.0.18 through 14.0.23 (JIRA)

Type

Key

Summary

Status

Affected Version(s)

Fix Version(s)

Bug

YANGTOOLS-1895

Augment inference fails to detect schema tree overlap when target node is a choice

Resolved

13.0.10, 14.0.23, 15.1.1

14.0.24, 15.1.2, 16.0.0

Bug

YANGTOOLS-1893

SharedEffectiveModelContextFactory fails on cyclic sibling-submodule includes

Confirmed

14.0.23, 15.1.1

14.0.25, 15.1.3

Bug

YANGTOOLS-1890

Cannot augment notification with mandatory leaf

Resolved

13.0.10, 14.0.17, 14.0.23, 15.1.1

14.0.24, 15.1.2, 16.0.0

Bug

YANGTOOLS-1885

Codegen shape for restricted ‘type bits’ does not work

Resolved

13.0.10, 14.0.23, 15.0.2, 15.1.1

16.0.0

Bug

YANGTOOLS-1861

Empty augmentation leads to incorrect contract definition

Resolved

12.0.0, 14.0.23, 15.0.0, 15.0.2, 15.1.0

15.1.1, 16.0.0

Bug

YANGTOOLS-1791

Parser mis-reports unordered ranges as overlapping

Confirmed

11.0.8, 12.0.0, 13.0.10, 14.0.22

16.0.0

Resolved Issues in SR3

The following table lists the issues resolved in this release.

Issues resolved in versions 14.0.23 through 14.0.24 (JIRA)

Type

Key

Summary

Resolution

Fix Version(s)

Bug

YANGTOOLS-1895

Augment inference fails to detect schema tree overlap when target node is a choice

Done

14.0.24, 15.1.2, 16.0.0

Bug

YANGTOOLS-1891

Yang-validation-tool missing runtime dependencies

Duplicate

14.0.24, 15.1.2, 16.0.0

Bug

YANGTOOLS-1890

Cannot augment notification with mandatory leaf

Done

14.0.24, 15.1.2, 16.0.0

Bug

YANGTOOLS-1866

DataContainer.nonnullFoo() forces empty container initialization

Done

14.0.24, 15.1.1, 16.0.0

Bug

YANGTOOLS-1827

StatementSupport.statementName() reports the wrong value

Done

14.0.24, 15.0.2

Bug

YANGTOOLS-1825

rfc6536-parser-support does not cover RFC8431

Done

14.0.24, 15.0.2

Bug

YANGTOOLS-1824

SubstatementValidator fails with cross-revision extensions

Done

14.0.24, 15.0.2

Improvement

YANGTOOLS-1775

Do not use Plexus injection in yang-maven-plugin

Done

14.0.23, 15.0.0

Improvement

YANGTOOLS-1766

Retain ArgumentDefinition in YangStmtMapping

Done

14.0.23, 15.0.0

Sub-task

YANGTOOLS-1773

Refactor AutomaticLifecycleMixin

Done

14.0.23, 15.0.0

Task

YANGTOOLS-1723

Use maven-assembly-plugin in yang-validation-tool

Done

14.0.24, 15.1.2, 16.0.0

Known Issues in SR3

The following table lists the known issues that exist in this release.

Issues affecting versions 14.0.23 through 14.0.24 (JIRA)

Type

Key

Summary

Status

Affected Version(s)

Fix Version(s)

Bug

YANGTOOLS-1894

Augment mechanics does not account for deviations lifecycle

Open

13.0.10, 14.0.24, 15.1.2

16.0.0

Bug

YANGTOOLS-1893

SharedEffectiveModelContextFactory fails on cyclic sibling-submodule includes

Confirmed

14.0.23, 15.1.1

14.0.25, 15.1.3

Bug

YANGTOOLS-1885

Codegen shape for restricted ‘type bits’ does not work

Resolved

13.0.10, 14.0.23, 15.0.2, 15.1.1

16.0.0

Bug

YANGTOOLS-1861

Empty augmentation leads to incorrect contract definition

Resolved

12.0.0, 14.0.23, 15.0.0, 15.0.2, 15.1.0

15.1.1, 16.0.0

Bug

YANGTOOLS-1832

Generated files have environment-dependent output

Resolved

11.0.8, 13.0.10, 14.0.24

15.1.0