YANG Tools

Overview

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

Behavior/Feature Changes

The mapping of YANG augmentations in yang-data-api has changed. Where previously these have been supported by AugmetationNode and addressable via AugmentationIdentifier, any augmented nodes are now direct children of their data tree parent nodes.

YangTextSchemaSource is now a CharSource rather than a ByteSource. This eliminates ambiguity and assumptions made on the text encoding character set, pushing the responsibility down to users introducing schema sources into the system.

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.0 through 14.0.4 (JIRA)

Type

Key

Summary

Resolution

Fix Version(s)

Bug

YANGTOOLS-1646

UT failure with binding-data-codec-dynamic

Done

14.0.4

Bug

YANGTOOLS-1637

Cannot use Grouping and DataObject in generic specifier

Done

14.0.2

Bug

YANGTOOLS-1635

Grouping subclasses cannot be specified for caching

Done

14.0.1

Bug

YANGTOOLS-1633

BaseIdentity is not Serializable

Done

14.0.1

Bug

YANGTOOLS-1571

RegexUtils does not convert all XSD specifics to Java-compatible regex

Done

11.0.8, 13.0.7, 14.0.0

Improvement

YANGTOOLS-1638

Disconnect binding-codec-api from binding-runtime-api

Done

14.0.3

Improvement

YANGTOOLS-1632

Generated list keys classes should be final

Done

14.0.0

Improvement

YANGTOOLS-1626

Introduce AbstractEntryObject

Done

14.0.0

Improvement

YANGTOOLS-1609

Improve keyed list mapping

Done

14.0.0

Improvement

YANGTOOLS-1608

Add binding.DataObject{Identifier,Reference}(.WithKey)

Done

14.0.0

Improvement

YANGTOOLS-1577

Fix instance-identifier mapping

Done

14.0.0

New Feature

YANGTOOLS-1554

Add option to track InMemoryDataTree modification metadata

Done

14.0.0

Task

YANGTOOLS-1576

Receive YANG binding code from MD-SAL

Done

14.0.0

Task

YANGTOOLS-1568

JSONCodec is a I=Void,O=JSONValueWriter specialization

Done

14.0.0

Task

YANGTOOLS-1552

Remove ListenerRegistration and ListenerRegistry

Done

14.0.0

Known Issues

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

Issues affecting versions 14.0.0 through 14.0.4 (JIRA)

Type

Key

Summary

Status

Affected Version(s)

Fix Version(s)

Bug

YANGTOOLS-1640

Generated unions fail to enforce patterns

Confirmed

14.0.0

15.0.0