Config-Model

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    * BackendTrackOrder: call 'no warnings' after 'use Mouse::Util'
    * WarpedNode: fix crash during WarpedNode creation (seen with
      Config::Model::Itself tests)

  Misc:
    * dist.ini: move Filesys::Fuse3 dependency in suggested list

2.161 2026-04-18

  Bug fix:
    * WarpedNode: really check by default
    * Value: resets needs_check when store(check => 'no') is used
    * Value: don't notify when loading redundant values.

  Features:
    * FuseUI: replace Fuse with Filesys::Fuse3
    * Value: add check and silent parameters to clear()
    * remove support for annotation as pod

  Misc:
    * Build.PL: cleanup and use v5.20
    * add missing entry in Changes

2.160 2026-03-21

  Bug fix:
    * Instance: fix warning in Perl < 5.36

2.159 2026-03-08

  Bug fixes:
    * Instance,ObjTreeScanner: avoid experimental warnings
    * ObjTreeScanner: deprecate fallback parameter to fix backward
      compat issue

  Doc update:
    * master Loader: update .foreach_match() pod doc

  Dependencies:
    * value.t: add version req >= 0.125 on Path::Tiny dependency
      (Closes #36)

2.158 2026-03-04

  Bug fixes:
    * add missing "no warnings" to fix tests broken on perl < 5.36

2.157 2026-03-03

  New feature:
    * Value model: add update parameter to specify how to load
      value from INI, YAML, JSON or TOML file when running "cme update"
      comand
    * Loader: add function to load data from INI files
    * Node: can extract gist from a array element
    * Warper: allow warping from hidden element
    * AnyId: add fetch_size method

  Bug fixes:
    * Loader: fix bug with function call like .b("bar","foo(a > b)")
    * ObjTreeScanner: add missing callbacks for file and dir value types

  Doc update:
    * Node: add filter parameter doc for apply_fixes()

  Dependencies:
    * switch from Config::IniFiles to Config::INI::Reader and make this dependency optional
    * switch YAML::Tiny to YAML::PP and make this dependency optional
    * make JSON and TOML::Tiny dependencies optional

2.156 2026-02-02

  New feature:
    * Model: add delete_instance method

  Doc update:
    * AnyId: update default_with_init parameter doc
    * Instance: improve doc of update() method

  Misc:
    * remove obsolete multistrap model. Multistrap project is dead.

2.155 2024-11-24

  New feature:
    * Loader: add .set_to_standard_value() function

2.154 2024-06-15

  Bug fixes:
    * AnyId: raise an error when copy is called on an unknown key or idx
    * HashId: raise an error when move is called on an unknown key
    * HashId: improve copy method to fix PlainFile backend
    * grab: fix error message when autoadd is 0
    * loader: update .ensure() doc

  New feature:
    * Loader: add .rename() function for hash

2.153 2023-07-14

  Bug fixes:
    * term_ui.t: fix test for Term::ReadLine::Gnu 1.46
    * Config::Model::Value: remove deprecated given instruction
    * docs: remove links to cpanratings

  New feature:
    * Loader: add support for single quotes

2.152 2022-07-28

  Bug fixes:
    * fix regression (Value): error_msg now returns empty string
      when there's no error 

2.151 2022-07-26

  Bug fixes:
    * fix (Value): do not check compute result with mandatory value
      (Debian #1015913)
    * fix (Value): consider an empty string as an unset value

Changes  view on Meta::CPAN


        * lib/Config/Model/Loader.pm (load): Load string now support:
        - '.=' operator to append to config values.
        - '=~' to loop configurations instruction over list or hash elements


        * all: Applied spelling corrections done by Debian Perl
        team (thanks gregoa)

0.643 2010-02-23

        * lib/Config/Model/DumpAsData.pm (dump_as_data): Can dump ordered
        hash in hash ref with __order key to specify order of hash
        elements

        * lib/Config/Model/HashId.pm (load_data): Accept hash ref with
        __order to load ordered data


        * lib/Config/Model/AnyId.pm: For better clarity, Hash and List
        parameter max and min are changed to max_index and
        min_index. Backward compatibility is kept, but warning will be
        displayed on the terminal when the old parameters are used.

        * lib/Config/Model/Backend/Yaml.pm: New backend to read and write
        YAML configuration files.


        * lib/Config/Model/CheckList.pm (set): buf fix: split input value
        to get the list of checked items.
        Migrated to Log4perl


        * lib/Config/Model/CheckList.pm: Fixed default and upstream
        default handling

0.642 2010-01-21

        * lib/Config/Model/WarpedNode.pm: added get_help to methods
        forwarded to Node object to avoid breaking the graphical model
        editor

0.641 2010-01-19

        * lib/Config/Model/Node.pm: Ported to Log4Perl (Tree::Node class)

        * lib/Config/Model/AutoRead.pm: Doc updates on plugin mechanism
        for read/write classes

        * lib/Config/Model/Value.pm: model example updates

        * lib/Config/Model/Dumper.pm (dump_tree): Correctly quote values
        in list elements


        * lib/Config/Model/HashId.pm: Ported to
        Log4Perl (Tree::Element::Hash class)


        * lib/Config/Model/Instance.pm (write_back): Croak if no
        write_back callbacks were registered

0.640 2009-09-09

        * lib/Config/Model/WizardHelper.pm (new): Correctly scan list
        element.

0.639 2009-07-30

        * lib/Config/Model/WizardHelper.pm (leaf_element_cb): bug fix:
        scan correctly leaf elements of a hash.
        * lib/Config/Model/WizardHelper.pm: use Log4perl


        * config-edit: Tk cosmetic improvement. Thanks to Jerome Quelin
        for the suggestion

        * lib/Config/Model/WarpedThing.pm (_do_warp): Use
        Log4Perl. Improved error message

        * lib/Config/Model/Searcher.pm (): replace prints with
        Log4perl. Fixed data structure bug

0.638 2009-06-29

        * lib/Config/Model/WarpedNode.pm (is_auto_write_for_type): Added
        new method that need to be forwarded to Node to avoid write
        cds_file bug.

0.637 2009-06-23

        * lib/Config/Model/Value.pm: As suggested by Jonas Smedegaard,
        replaced 'built_in' parameter with 'upstream_default'. This change
        will trigger warnings but no errors with existing model. To get
        rid of the warnings, the easiest solution is to update the model
        by running "config-model-edit -model Foo -save" (config-model-edit
        is provided by Config::Model::Itself)

        * lib/Config/Model/CheckList.pm: replaced 'built_in_list'
        parameter with 'upstream_default_list'. This change may also
        trigger warnings. These warnings will also be fixed by running the
        config-model-edit command described above.

        * lib/Config/Model/Value.pm: use Log::Log4perl with categories
        Tree::Element::Value and Tree::Element::Warper

0.636 2009-05-30

        * lib/Config/Model/AutoRead.pm: Added skip_open to avoid opening
        config target file when the open must be done by the
        backend (e.g. for Augeas backend)

        * lib/Config/Model.pm (instance): name parameter is no longer
        mandatory. Uses 'default' as default instance name.


        * lib/Config/Model/AutoRead.pm: When calling backend, 'file'
        parameter contains configuration file name without path and
        'file_path' parameter contains complete path and file name

0.635 2009-04-17



( run in 0.558 second using v1.01-cache-2.11-cpan-d7f47b0818f )