Skip to content

Commit 36dcdf8

Browse files
author
Martin Björklund
committed
preparing for 1.7.2
1 parent 808b703 commit 36dcdf8

File tree

4 files changed

+50
-18
lines changed

4 files changed

+50
-18
lines changed

CHANGES

+37-12
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,33 @@
1-
??? - ???
1+
1.7.2 - 2016-06-14
2+
added support for external plugins, using setuptools entry_points
23
added a warning for unsafe escape sequences in double quoted
34
strings.
45
added --lax-quote-checks to turn of the warning for unsafe
56
escape sequences.
7+
added restconf plugin
8+
added --tree-print-yang-data
9+
print anydata/anyxml better in tree diagrams
10+
grammar fix; "must" not allowed in "case"
11+
12+
pr:248 replace newlines in typestrings with spaces in UML,
13+
thanks to William Lupton
14+
pr:281 added --jstree-path, thanks to Ralph Schmieder
15+
pr:289 added plugins for bbf, ieee, and mef, thanks to
16+
Mahesh Jethanandani
17+
pr:312 ignore actions when generating sample XML, thanks to
18+
William Lupton
19+
pr:313 corrected --tree-help output, thanks to lifeunleaded
20+
21+
#278 - handle unprefixed leafref paths in jsonxsl.py
22+
#284 - removed broken error message for 'when' on key leafs
23+
#285 - handle illegal integer strings
24+
#297 - corrected translation of empty container with extension
25+
statement in DSDL
26+
#300 - handle unknown extensions in deviation
27+
#301 - fix bug w/ refine of leafref leaf
28+
#310 - when using the windows command prompt, "pyang" was not
29+
found, thanks to Mallikarjunarao Kosuri
30+
631

732
1.7.1 - 2016-11-02
833
added support for RFC 7952, metadata annotations
@@ -226,7 +251,7 @@
226251
handle auto-assignment of enum values and bit positions
227252
allow plugins to register grammar for extensions
228253
added a plugin for the 'yang-smi' SMIv2 module
229-
rewrote yin_parser - now handles extensions properly
254+
rewrote yin_parser - now handles extensions properly
230255
added bin/yang2html which can be used to syntax coloring of yang
231256
modules
232257
new algorithm for finding standard YANG modules (see pyang(1))
@@ -250,21 +275,21 @@
250275
XSD: added --xsd-no-lecture command line option
251276
XSD: fixed XSD output bug in some rare cases involving typedef chains
252277

253-
DSDL: corrected handling of multiple length alternatives
254-
DSDL: added TODO
255-
DSDL: added support for multiple patterns in string restrictions
256-
DSDL: added xmlns declaration for the data model NS
257-
DSDL: $this in must-stmt is now replaced with current()
258-
rather than '.'
259-
DSDL: local top-level named patterns now don't start with '__'
260-
DSDL: added XSLT stylesheet that separates DSRL
278+
DSDL: corrected handling of multiple length alternatives
279+
DSDL: added TODO
280+
DSDL: added support for multiple patterns in string restrictions
281+
DSDL: added xmlns declaration for the data model NS
282+
DSDL: $this in must-stmt is now replaced with current()
283+
rather than '.'
284+
DSDL: local top-level named patterns now don't start with '__'
285+
DSDL: added XSLT stylesheet that separates DSRL
261286

262287
known issue: augmenting the input parameters of an rpc that is
263288
declared without any input parameters does not work
264289
known issue: an error is not reported if the same node is added
265290
twice via an augment
266-
known issue: chained derivation of types doesn't work properly
267-
in the DSDL translator
291+
known issue: chained derivation of types doesn't work properly
292+
in the DSDL translator
268293

269294
0.9.1 - 2008-07-08
270295
rewrote yang parser

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2007-2013, Martin Bjorklund, [email protected]
1+
Copyright (c) 2007-2017, Martin Bjorklund, [email protected]
22

33
Permission to use, copy, modify, and/or distribute this software for any
44
purpose with or without fee is hereby granted, provided that the above

README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,22 @@
22
[![Coverage Status](https://coveralls.io/repos/mbj4668/pyang/badge.svg)](https://coveralls.io/r/mbj4668/pyang)
33

44
## News ##
5-
**2016-11-02 - Version 1.7.1 released **
5+
**2017-06-14 - Version 1.7.2 released**
6+
7+
* Added support for external plugins, using setuptools entry_points,
8+
with the entry point "pyang.plugin".
9+
10+
* ... and various other enhancements and bug fixes, see CHANGES.
11+
12+
**2016-11-02 - Version 1.7.1 released**
613

714
* This is mainly a bug fix release, see CHANGES for details.
815

9-
**2016-06-16 - Version 1.7 released **
16+
**2016-06-16 - Version 1.7 released**
1017
* Support for YANG 1.1, with the exception of the new submodule scoping rules.
1118

1219

13-
**2015-10-06 - Version 1.6 released **
20+
**2015-10-06 - Version 1.6 released**
1421

1522
* pyang can now be installed via [PyPi](https://pypi.python.org/pypi).
1623

pyang/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
from . import util
1515
from . import statements
1616

17-
__version__ = '1.7.1'
18-
__date__ = '2016-11-02'
17+
__version__ = '1.7.2'
18+
__date__ = '2017-06-14'
1919

2020
class Context(object):
2121
"""Class which encapsulates a parse session"""

0 commit comments

Comments
 (0)