# Clixon Changelog * [5.6.0](#560) Expected: March 2022 * [5.5.0](#550) 20 January 2022 * [5.4.0](#540) 30 November 2021 * [5.3.0](#530) 27 September 2021 * [5.2.0](#520) 1 July 2021 * [5.1.0](#510) 15 April 2021 * [5.0.0](#500) 27 February 2021 * [5.0.1](#501) 10 March 2021 * [4.9.0](#490) 18 December 2020 * [4.8.0](#480) 18 October 2020 * [4.7.0](#470) 14 September 2020 * [4.6.0](#460) 14 August 2020 * [4.5.0](#450) 12 May 2020 * [4.4.0](#440) 5 April 2020 * [4.3.0](#430) 1 January 2020 * [4.3.3](#433) * [4.3.2](#432) * [4.3.1](#431) * [4.2.0](#420) 27 October 2019 * [4.1.0](#410) 18 August 2019 * [4.0.0](#400) 13 July 2019 * [4.0.1](#401) * [3.9.0](#390) 21 Feb 2019 * [3.8.0](#380) 6 Nov 2018 * [3.7.0](#370) 22 July 2018 * [3.6.0](#360) 30 April 2018 * [3.6.1](#361) * [3.5.0](#350) 12 February 2018 * [3.4.0](#340) 1 January 2018 * [3.3.3](#333) 25 November 2017 * [3.3.2](#332) Aug 27 2017 * [3.3.1](#331) June 7 2017 ## 5.6.0 Expected: March 2022 ### New features * HTTP/1 native parser as part of the RESTCONF client * Replaced libevhtp/libevent2 with internal http1 parser * Replace configure option `--disable-evhtp` with `--disable-http1` for disabling HTTP/1 whihc is on by default ### API changes on existing protocol/config features Users may have to change how they access the system * New `clixon-config@2022-02-11.yang` revision * Added option: * `CLICON_LOG_STRING_LIMIT` * Removed (previosly marked) obsolete options: * `CLICON_RESTCONF_PATH` * `CLICON_RESTCONF_PRETTY` * `CLICON_CLI_GENMODEL` * `CLICON_CLI_GENMODEL_TYPE` * `CLICON_CLI_GENMODEL_COMPLETION` * `CLICON_CLI_AUTOCLI_EXCLUDE` * `CLICON_CLI_MODEL_TREENAME` * RESTCONF replies on the form: `{"data":...}` changed to: `{"ietf-restconf:data":...}` * See [restconf GET json response does not encode top level node with namespace as per rfc #303](https://github.com/clicon/clixon/issues/303) * YANG leafref `require-instance` default changed to `true` * This makes leafref validation stricter * See [statement: require-instance should be true if not present according to rfc7950 Sec 9.9.3](https://github.com/clicon/clixon/issues/302) * `configure --with-wwwdir=` is removed * Command field of clixon-lib:process-control RPC reply used CDATA encoding but now uses regular XML encoding ### C/CLI-API changes on existing features * Added rfc7951 parameter to `clixon_json_parse_string()` and `clixon_json_parse_file()` * If set, honor RFC 7951: JSON Encoding of Data Modeled with YANG, eg it requires module name prefixes * If not set, parse as regular JSON ### Minor features * [Strict auto completion for CLI argument expansion #163](https://github.com/clicon/clixon/issues/163) * [Convert int64, uint64 and decimal64 to string in xml to json #310](https://github.com/clicon/clixon/pull/310) * Backend ignore of SIGPIPE. This occurs if client quits unexpectedly over the UNIX socket. * This is a timing issue but occurs more frequently in large RESTCONF messgaes. * New `clixon-config@2022-02-11.yang` revision * Added option: `CLICON_LOG_STRING_LIMIT` * Limit the length of log and debug messages. Some log messages are dependendent on sizes that can be very large, such as packet lengths. This new option constrains the length of all messgaes. By default no limits. ### Corrected Bugs * Fixed: [Validate error when appending module B grouping to module A item use augment statement #308](https://github.com/clicon/clixon/issues/308) * Fixed: [ Restconf PATCH method request failed on item defined by submodule #306](https://github.com/clicon/clixon/issues/306) * Fixed: [restconf GET json response does not encode top level node with namespace as per rfc #303](https://github.com/clicon/clixon/issues/303) * Fixed: [statement: require-instance should be true if not present according to rfc7950 Sec 9.9.3](https://github.com/clicon/clixon/issues/302) * See also API changes * Fixed: input RPC validation of choice (non-case) * Fixed: More than one unknown/extension in combination with augment of extension resulted in extension being skipped. ## 5.5.0 20 January 2022 This release introduces a new autocli design with a clixon-autocli YANG file ### New features * Changed auto-cli design * See [autocli documentation](https://clixon-docs.readthedocs.io/en/latest/cli.html#autocli) for overview * Added new YANG `clixon-autocli.yang` moving all autocli options there * Default rules for module exclusion, list-keywords, edit-modes, treeref-state and completion * Specialized rules for module exclusion and compression * Replaced separate autocli trees with a single `@basemodel` tree by using filter labels * Filter labels are added to the basemodel tree and then filtered out using `@remove: