From 701ef1dead876ae5df5141bd3e517a359f007523 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Thu, 21 Feb 2019 20:04:04 +0100 Subject: [PATCH] 3.9.0 --- CHANGELOG.md | 30 +++++++++++++++--------------- DEVELOP.md | 3 +-- README.md | 4 ++-- configure | 2 +- configure.ac | 2 +- doc/CLI.md | 4 ++-- 6 files changed, 22 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 878c6e08..a4fbd6d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Clixon Changelog -## Forthcoming: 3.9.0 (22 Feb 2019) +## 3.9.0 (21 Feb 2019) Thanks for all bug reports, feature requests and support! Thanks to [Netgate](https://www.netgate.com) and other sponsors for making Clixon a better tool! @@ -54,21 +54,21 @@ Thanks for all bug reports, feature requests and support! Thanks to [Netgate](ht ``` * To keep previous non-strict namespace handling (backwards compatible), set CLICON_XML_NS_STRICT to false. Note that this option will be removed asap after 3.9.0. -* A major uplift to conform to Yang RFC7950 +* An uplift of Yang to conform to RFC7950 * YANG parser cardinality checked (https://github.com/clicon/clixon/issues/48) * More precise Yang validation and better error messages * RPC method input parameters validated (https://github.com/clicon/clixon/issues/47) - * Example: adding bad-, missing-, or unknown-element error messages, instead of operation-failed. + * Added bad-, missing-, or unknown-element error messages, instead of operation-failed. * Validation of mandatory choice and recursive mandatory containers - * Support of YANG `submodule, include and belongs-to` and improved `unknown` handlin + * Support of YANG `submodule, include and belongs-to` and improved `unknown` handling * Parsing of standard yang files supported, such as: - * https://github.com/openconfig/public - except [https://github.com/clicon/clixon/issues/60]. See (test/test_openconfig.sh) - * https://github.com/YangModels/yang - except vendor-specific specs. See (test/test_yangmodels.sh). + * https://github.com/openconfig/public - except [https://github.com/clicon/clixon/issues/60]. See [test/test_openconfig.sh] + * https://github.com/YangModels/yang - except vendor-specific specs. See [test/test_yangmodels.sh]. * Yang load file configure options changed * `CLICON_YANG_DIR` is changed from a single directory to a path of directories - * Note CLIXON_DATADIR (=/usr/local/share/clixon) need to be in the list - * CLICON_YANG_MAIN_FILE Provides a filename with a single module filename. - * CLICON_YANG_MAIN_DIR Provides a directory where all yang modules should be loaded. + * Note `CLIXON_DATADIR` (=/usr/local/share/clixon) need to be in the list + * `CLICON_YANG_MAIN_FILE` Provides a filename with a single module filename. + * `CLICON_YANG_MAIN_DIR` Provides a directory where all yang modules should be loaded. * NACM (RFC8341) * Incoming RPC Message validation is supported (See sec 3.4.4 in RFC8341) * Data Node Access validation is supported (3.4.5), _except_: @@ -77,19 +77,19 @@ Thanks for all bug reports, feature requests and support! Thanks to [Netgate](ht * RPC:s are supported _except_: * `copy-config`for other src/target combinations than running/startup (3.2.6) * `commit` - NACM is applied to candidate and running operations only (3.2.8) - * Client-side RPC:s are _not_ supported. That is, RPC code that runs in Netconf, restconf and CLI clients. - * Recovery user "_nacm_recovery" added. - * Experimental support, no performance enhancements and need further testing + * Client-side RPC:s are _not_ supported. That is, RPC code that runs in Netconf, Restconf or CLI clients. + * Recovery user `_nacm_recovery` added. + * The NACM support is ongoing work and needs performance enhancements and further testing. * Change GIT branch handling to a single working master branch * Develop branched abandoned - * Travis CI supported, see [https://travis-ci.org/clicon/clixon] + * [Clixon Travis CI]([https://travis-ci.org/clicon/clixon]) continuous integration is now supported. * Clixon Alpine-based containers * [Clixon base container](docker/base). - * [CLixon system and test container](docker/system). + * [Clixon system and test container](docker/system) used in Travis CI. * See also: [Clixon docker hub](https://hub.docker.com/u/clixon) ### API changes on existing features (you may need to change your code) -* XML namespace handling is corrected (see (#major-changes)) +* XML namespace handling is corrected (see [#major-changes]) * For backward compatibility set config option CLICON_XML_NS_LOOSE * You may have to manually upgrade existing database files, such as startup-db or persistent running-db, or any other saved XML file. * Stricter Yang validation (see (#major-changes)): diff --git a/DEVELOP.md b/DEVELOP.md index 1755effa..d4c24e7f 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -96,10 +96,9 @@ EOF ## New release What to think about when doing a new release. -* valgrind for memory leaks +* run test/mem.sh * New clixon-config.yang revision? Tagging: -* git merge --no-ff develop * change CLIXON_VERSION in configure.ac * git tag -a diff --git a/README.md b/README.md index a8dba83b..fcf1f2ce 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,14 @@ support. * [Background](#background) * [Frequently asked questions (FAQ)](doc/FAQ.md) + * [Changelog](CHANGELOG.md) * [Installation](#installation) * [Licenses](#licenses) * [Support](#support) * [Dependencies](#dependencies) * [Extending](#extending) * [Yang](#yang) - * [CLI](cli/FAQ.md) + * [CLI](doc/FAQ.md) * [XML and XPATH](#xml) * [Netconf](#netconf) * [Restconf](#restconf) @@ -22,7 +23,6 @@ support. * [Authentication](#auth) * [NACM Access control](#nacm) * [Example](example/README.md) - * [Changelog](CHANGELOG.md) * [Runtime](#runtime) * [Clixon project page](http://www.clicon.org) * [Tests and CI](test/README.md) diff --git a/configure b/configure index 645b63d8..c05061a9 100755 --- a/configure +++ b/configure @@ -2169,7 +2169,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu CLIXON_VERSION_MAJOR="3" CLIXON_VERSION_MINOR="9" CLIXON_VERSION_PATCH="0" -CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}.PRE\"" +CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}\"" # Fix to specific CLIgen version (eg 3.5) or head (3) CLIGEN_VERSION="3" diff --git a/configure.ac b/configure.ac index c2d64ca8..ce93442f 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ AC_INIT(lib/clixon/clixon.h.in) CLIXON_VERSION_MAJOR="3" CLIXON_VERSION_MINOR="9" CLIXON_VERSION_PATCH="0" -CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}.PRE\"" +CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}\"" # Fix to specific CLIgen version (eg 3.5) or head (3) CLIGEN_VERSION="3" diff --git a/doc/CLI.md b/doc/CLI.md index f6f07f4f..3af378cd 100644 --- a/doc/CLI.md +++ b/doc/CLI.md @@ -1,7 +1,7 @@ -# CLixon CLI +# Clixon CLI * [CLIgen](#cligen) -* [Tricks - eg for large specs](tricks) +* [Tricks - eg for large specs](#tricks) ## CLIgen