From 7aac03ba5edcee8bc411adb0fd274fc064bbb8d8 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Wed, 3 Jul 2024 09:21:23 +0200 Subject: [PATCH] Clixon 7.1.0 --- CHANGELOG.md | 29 ++++++++++++++++++----------- doc/DEVELOP.md | 6 +++--- lib/src/clixon_yang_module.c | 1 - 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25044d501..67eb96fea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Clixon Changelog -* [7.1.0](#710) Expected: June 2024 +* [7.1.0](#710) 3 July 2024 * [7.0.1](#701) 3 April 2024 * [7.0.0](#700) 8 March 2024 * [6.5.0](#650) 6 December 2023 @@ -11,21 +11,28 @@ * [6.0.0](#600) 29 Nov 2022 ## 7.1.0 -Expected: June 2024 +3 July 2024 + + ### Features * RESTCONF notification for native mode * Previously only for FCGI - * Limitations, ie only HTTP/1, regular subscription + stop-time -* Optimization of yang schema mount: share yang-specs if equal + * The following does not work: Regular subscription + stop-time +* Optimization of yang schema mount: share yang-specs if all YANGs are equal + * This reduces memory if many mount-points share YANGs * Changed datastore modstate to be last in file, as prior to 7.0 -* New: Event priority. Backend socket has higher prio -* New: Split configure datastore multiple sub-files on mount-point boundaries - * Avoid writing sub-files without new data (dirty cache) -* Added: Code for SHA digests. -* New: [Autolock](https://github.com/clicon/clixon/issues/508) -* CLI configurable format: [Default format should be configurable](https://github.com/clicon/clixon-controller/issues/87) +* Event priority. Backend socket has higher prio +* Multi-datastore + * You can split configure datastore into multiple sub-files + * On edit, only changed sub-files are updated. + * Curently only implemented for mount-points +* Code for SHA digests. +* Option for automatic lock of datastore on edit-config + * See [Autolock](https://github.com/clicon/clixon/issues/508) +* Option to set default CLI output format + * See [Default format should be configurable](https://github.com/clicon/clixon-controller/issues/87) * CLI support for multiple inline commands separated by semi-colon * New `clixon-config@2024-04-01.yang` revision * Added options: @@ -53,7 +60,7 @@ Users may have to change how they access the system * In particular, the top-level is moved from `_db` to `.d/0.xml` * Backward-compatible: * If backend is started with `-s startup` or `-s running` then `_db` is read if `.d/0.xml` is not found -* Openssl mandatory for all configs, not only restconf +* Autoconf: Openssl mandatory for all configure, not only restconf, due to digest code ### C/CLI-API changes on existing features diff --git a/doc/DEVELOP.md b/doc/DEVELOP.md index 17d67d4a9..8c5e1f2de 100644 --- a/doc/DEVELOP.md +++ b/doc/DEVELOP.md @@ -171,7 +171,7 @@ What to think about when doing a new release. * Draft a new release and review generated release notes and use info to update CHANGELOG * Review README.md * New yang/clicon/clixon-config@XXX.yang revision? -* In configure.ac, for minor releases change CLIXON_VERSION in configure.ac to eg: (minor should have been bumped): +* In configure.ac, for minor releases change CLIXON_VERSION in configure.ac to eg: (minor should have been bumped) (OBSOLETE): ``` CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}\"" ``` @@ -186,10 +186,10 @@ What to think about when doing a new release. * Add a github release and copy release info from CHANGELOG After release: -* Bump minor version and add a "PRE": +* Bump minor version. ``` CLIXON_VERSION_MINOR="10" ++ - CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}.PRE\"" + CLIXON_VERSION="\"${CLIXON_VERSION_MAJOR}.${CLIXON_VERSION_MINOR}.${CLIXON_VERSION_PATCH}\"" ``` * Run autoconf diff --git a/lib/src/clixon_yang_module.c b/lib/src/clixon_yang_module.c index 23266778b..f56a39e6f 100644 --- a/lib/src/clixon_yang_module.c +++ b/lib/src/clixon_yang_module.c @@ -395,7 +395,6 @@ yang_modules_state_get(clixon_handle h, } retval = 1; done: - clixon_debug(CLIXON_DBG_YANG, "retval:%d", retval); if (xvec) free(xvec); if (cb)