Skip to content

Commit

Permalink
updates for 2.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mbj4668 committed Mar 5, 2020
1 parent ed00b66 commit 8469dbe
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 12 deletions.
40 changes: 39 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
* 2.2 - 2020-03-05

```
pr:557 - added new options for customizing error messages
thanks to @gribok
pr:556 - extended parsing of deviation in hello
thanks to Remington Campbell
pr:549 - align the --bbf option with the options that BBF uses
thanks to William Lupton
pr:437 - added "edit" transform
thanks to William Lupton
#572 - check that action/notification don't have keyless ancestor
thanks to Fred Gan
#564 - check that min-elements isn't larger than max-elements
thanks to Fred Gan
#563 - avoid crash i tree plugin when an augment path is invalid
#552 - correct prefix validation in default values
#547 - keep end-of-line comments in -f yang
thanks to Fred Gan
#543 - properly handle tab characters as 8 spaces
thanks to Fred Gan
#542 - handle spaces in PATH
thanks to Rui Pires
#538 - handle position values greater than 4294967295
thanks to Fred Gan
#537 - feature searched for in wrong module
#536 - better handling of prefixes in xpath strings
#501 - jtox plugin fails on yang 1.1 unprefixed paths in a leafref
thanks to Fred Gan
#475 - honor ABNF grammar for deviate delete substatements
thanks to Fred Gan
code cleanup
thanks to Miroslav Los
```

* 2.1.1 - 2020-01-03

```
Expand Down Expand Up @@ -608,4 +646,4 @@

```
Initial version, draft-bjorklund-netconf-yang-00 compliant.
```
```
4 changes: 4 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Remington Campbell
Joe Clark
John Dickinson
Mark Farrell
Fred Gan
Joe Gladston
Pravin Gohite
Yan Gorelik
Expand All @@ -14,11 +15,13 @@ Mahesh Jethanandani
Denys Knertser
Mallikarjunarao Kosuri
Miroslav Kovac
Miroslav Los
Ladislav Lhotka
William Lupton
Glenn Matthews
Paul Merlo
Ganesh Nalawade
Rui Pires
Reshad Rahman
Erik Rask
Ralph Schmieder
Expand All @@ -31,4 +34,5 @@ Nick Weeds
Jonathan Yang
Quentin Young
Huaian Zhou
@gribok
@lemikev
1 change: 1 addition & 0 deletions RELEASE-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# we use semver 2.0.0

# update CHANGELOG.md w/ new release number and date
# ensure CONTRIBUTORS is updated
# update pyang/__init__.py w/ new release number and date

# build doc (the nroff man pages are checked in)
Expand Down
6 changes: 3 additions & 3 deletions man/man1/json2xml.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: json2xml
.\" Author: Ladislav Lhotka <[email protected]>
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 2020-01-03
.\" Date: 2020-03-05
.\" Manual: pyang manual
.\" Source: json2xml-2.1.1
.\" Source: json2xml-2.2
.\" Language: English
.\"
.TH "JSON2XML" "1" "2020\-01\-03" "json2xml\-2\&.1\&.1" "pyang manual"
.TH "JSON2XML" "1" "2020\-03\-05" "json2xml\-2\&.2" "pyang manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
26 changes: 23 additions & 3 deletions man/man1/pyang.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: pyang
.\" Author: Martin Björklund <[email protected]>
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 2020-01-03
.\" Date: 2020-03-05
.\" Manual: pyang manual
.\" Source: pyang-2.1.1
.\" Source: pyang-2.2
.\" Language: English
.\"
.TH "PYANG" "1" "2020\-01\-03" "pyang\-2\&.1\&.1" "pyang manual"
.TH "PYANG" "1" "2020\-03\-05" "pyang\-2\&.2" "pyang manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down Expand Up @@ -174,6 +174,26 @@ $ pyang \-\-ignore\-error PATTERN_ERROR
.\}
.RE
.PP
\fB\-\-msg\-template\fR \fImsg\-template\fR
.RS 4
Print out error message in defined
\fImsg\-template\fR\&.
.sp
Template used to display error messages\&. This is a python new\-style format string used to format the message information with keys file, line, code, type, and msg\&.
.sp
The following example create a msg template in defined pattern:
.sp
.if n \{\
.RS 4
.\}
.nf
$ pyang \-\-msg\-template=\*(Aq{file} || {line} || {type} || {level} || {code} || {msg}\*(Aq
.fi
.if n \{\
.RE
.\}
.RE
.PP
\fB\-\-ignore\-errors\fR
.RS 4
Ignore all errors\&. Use with care\&. Plugins that don\*(Aqt expect to be invoked if there are errors present may crash\&.
Expand Down
6 changes: 3 additions & 3 deletions man/man1/yang2dsdl.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: yang2dsdl
.\" Author: Ladislav Lhotka <[email protected]>
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 2020-01-03
.\" Date: 2020-03-05
.\" Manual: pyang manual
.\" Source: yang2dsdl-2.1.1
.\" Source: yang2dsdl-2.2
.\" Language: English
.\"
.TH "YANG2DSDL" "1" "2020\-01\-03" "yang2dsdl\-2\&.1\&.1" "pyang manual"
.TH "YANG2DSDL" "1" "2020\-03\-05" "yang2dsdl\-2\&.2" "pyang manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions pyang/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
from . import statements
from . import syntax

__version__ = '2.1.1'
__date__ = '2020-01-03'
__version__ = '2.2'
__date__ = '2020-03-05'

class Context(object):
"""Class which encapsulates a parse session"""
Expand Down

0 comments on commit 8469dbe

Please sign in to comment.