Skip to content

Releases: clicon/cligen

CLIgen 7.1.0

03 Jul 06:51
Compare
Choose a tag to compare

7.1.0

3 July 2024

Features

  • Added history callbacks API: cligen_hist_fn_set
    • Added history subsection in tutorial
  • Changed intermediate version numbers to be git-style, eg 7.0.0-39 instead of 7.1.0-PRE

CLIgen 7.0.0

08 Mar 08:41
Compare
Choose a tag to compare

7.0.0

8 March 2024

Minor items

  • Added new cligen_paging_get/set for a direct way to disable/enable output paging/scrolling.
  • Made coverity analysis and fixed most of them
    • Some were ignored being for generated code (eg lex) or not applicable
  • Added vcprintf

CLIgen 6.5.0

05 Dec 15:29
Compare
Choose a tag to compare

6.5.0

5 December 2023

Corrected Bugs

CLIgen 6.4.0

30 Sep 08:09
Compare
Choose a tag to compare

6.4.0

30 September 2023

C/CLI-API changes on existing features

Developers may need to change their code

  • Changed tv parameter of time2str() from struct to a pointer.
    • All calls to time2str() need to be converted.
  • Removed obsolete functions pt_name_get() / pt_name_set()

Corrected Bugs

CLIgen 6.3.0

29 Jul 12:54
Compare
Choose a tag to compare

6.3.0

29 July 2023

New features

  • Output pipes
    • Callbacks with name starting with | is a pipe tree containing pipe output function
    • Use 'pipetree="|"` to reference a default pipe-tree.
    • For more info:

Minor features

  • Added callback_argument access functions for keeping track of api-paths for recursive expands
    • This is to enable memory footprint optimization in higher layers (clixon)
  • Removed extras/ build-root/ and rpm build code since they are not properly maintained

C/CLI-API changes on existing features

Developers may need to change their code

  • Refactoring of tree expansion code,
    • Most of these API changes are internal and should not affect external API (but may):
    • cligen_eval(): Removed callback parameter
    • cliread_parse(): Removed callback parameter
    • Renamed co flag: CO_FLAGS_TREEREF to CO_FLAGS_TOPOFTREE
  • Renamed cligen_parse functions and added treename parameter:
    • Renamed cligen_parse_str to clispec_parse_str and cligen_parse_file to clispec_parse_file
    • Added treename parameter, default NULL

CLIgen 6.2.0

30 Apr 18:58
Compare
Choose a tag to compare

6.2.0

30 April 2023

Minor features

  • Added wrapper callback for accessing treerefs, in an effort to make them dynamical/programmable

Corrected Bugs

CLIgen 6.1.0

19 Feb 10:18
Compare
Choose a tag to compare

6.1.0

19 february 2023

Minor features

  • Make cligen_* functions const by @dima1308 in #83
  • Eliminate linear search for active parse tree by @rcmcdonald91 in #84
  • Added print functions for VOID type using printf %p

Corrected Bugs

CLIgen 6.0.0

29 Nov 15:44
Compare
Choose a tag to compare

6.0.0

29 November 2022

Minor features

Corrected Bugs

CLIgen 5.8.0

28 Jul 15:10
Compare
Choose a tag to compare

5.8.0

28 July 2022

New Features

  • The Variable preference implementation has been updated and documented
    • If more than one variable have the same preference, an "Ambiguos command" error is returned
    • Such tiebreaks can be resolved by a new "preference" keyword, eg: <string preference:20>
    • There is also an extended API: cligen_preference_mode_set()
    • This change may affect existing code in the following ways:
      • A string variable with "expand()" function has higher preference than without expand function
      • Ambiguous command error is returned in more cases
    • More info: Section 3.14 of the CLIgen tutorial

Corrected Bugs

CLIgen 5.7.0

17 May 08:27
Compare
Choose a tag to compare

17 May 2022

Corrected Bugs