Files
perl-Config-Model/perl-Config-Model.changes

345 lines
13 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Mon Apr 4 09:23:53 UTC 2016 - coolo@suse.com
- updated to 2.082
see /usr/share/doc/packages/perl-Config-Model/Changes
2.082 2016-03-29
No big change this time, but a lot of small improvements
required by the systemd model I'm working on...
Functional improvements:
* Loader: list operator :~ with no argument loops
over all values of a hash element
* DumpAsData: also accepts 'mode' param like fetch from
Config::Model::Value
Bug fixes:
* Fix tests broken by C::M::Tester 2.053 (required)
* Loader: fix loop bug which exited too soon
* Improve hash dump readability ...
* DumpAsData: Fix corrupted output...
* BackendMgr: always translate dir with ~/
Doc updates:
* removed Log4Perl instructions from synopsis.
Log4Perl initialisation is handled by Config::Model
constructor since v2.057
* Improved C::M::Warper and C::M:Lister docs
-------------------------------------------------------------------
Tue Mar 8 09:57:52 UTC 2016 - coolo@suse.com
- updated to 2.081
see /usr/share/doc/packages/perl-Config-Model/Changes
2.081 2016-02-29
Bug fixes:
* Fix error handling in Value. This should fix freebsd smoke tests.
The weird thing is that these tests should have failed in all arch...
2.080 2016-02-27
Functional improvements:
* storing a wrong value is no longer ignored but now
triggers an exception.
Other bug fixes:
* Trigger change notif when store_set reduces the nb of items
(closes gh #4)
* Improved change message shown to user
* Value: don't display grammar in case of error
-------------------------------------------------------------------
Sat Feb 13 09:46:18 UTC 2016 - coolo@suse.com
- updated to 2.079
see /usr/share/doc/packages/perl-Config-Model/Changes
2.079 2016-02-12
YAML backend changes:
* Remove YAML file when no data is left
* When a root class has only one element, the backend
write (and read) only the content of that element (this
reduce the depth of the written data structure by one).
Functional improvements:
* Added "ChangeTracker" log class and traces (Log::Log4Perl)
* HashId: load_data can load ordered data in non-ordered hash
Bug fixes:
* Removed Exception::Class from warper error handler
(gh #5, Thanks jplesnik)
* Dumper/Loader: handle literal \n
-------------------------------------------------------------------
Wed Jan 27 09:44:26 UTC 2016 - coolo@suse.com
- updated to 2.078
see /usr/share/doc/packages/perl-Config-Model/Changes
2.078 2016-01-24
A cleanup (and breaking) release: Error handling no longer uses
Exception::Class. Config::Model::Exception was re-written to emulate
most of Exception::Class behavior. This will break modules which
traps or throw exceptions using Exception::Class (at least
Config::Model::CursesUI will break).
* Config::Model: fix get_element_property (fix a bug with cme dpkg where
XS-Autobuild is wrongly added to debian/control file)
* Config::Model::Value:
* don't check value when loading layered config (aka system
default values). These values are assumed to be correct.
* accept when a mandatory value is set by a layered value.
(this fixes hangs in Config::Model::Itself tests)
2.077 2016-01-20
New features:
* Loader: added hash copy command. This new command can be used with
something like: "cme modify stuff some_hash:.copy(from,to)"
* Instance: added config_dir (used when provided by application info
and not by model)
Bug fix:
* ValueComputer: escape variables containing a quote (Debian #810768)
* Value: fix check of reference values
-------------------------------------------------------------------
Tue Jan 19 09:41:38 UTC 2016 - coolo@suse.com
- updated to 2.076
see /usr/share/doc/packages/perl-Config-Model/Changes
-------------------------------------------------------------------
Tue Nov 24 09:22:36 UTC 2015 - coolo@suse.com
- updated to 2.075
see /usr/share/doc/packages/perl-Config-Model/Changes
2.075 2015-11-22
Functionality improvements:
* Lister: can list local (dev) application
Support:
* changed bugtracker to github's
-------------------------------------------------------------------
Fri Oct 2 08:53:46 UTC 2015 - coolo@suse.com
- updated to 2.074
see /usr/share/doc/packages/perl-Config-Model/Changes
2.074 2015-09-30
Functionality improvements:
* Loader: added navigation with upward search. E.g. with a
command like '/foo', the loader will go up the tree until
a node containing a 'foo' element is found.
* C::M::Node: added backend_support_annotation method. This will
ne used by the Tk GUI to decide whether to display a widget to
edit annotation (aka comments)
Doc improvements:
* Backend::Any: added missing doc about method that can or must
be overloaded by a read/write backend.
-------------------------------------------------------------------
Sun Sep 20 15:42:00 UTC 2015 - coolo@suse.com
- updated to 2.073
see /usr/share/doc/packages/perl-Config-Model/Changes
2.073 2015-07-19
Bug fix:
* Fix typo in module name loaded in tests that led to
impossible build requirement (RT #105938)
2.072 2015-07-18
Functionality improvements:
* Loader: convert literal "
" into real
* shell UI: added 'tree' command to show config tree from current node
Improvement of messages shown to user:
* Node: Warn if an accepted element is likely a typo (Debian #789568)
(this feature requires recommended module Text::Levenshtein::Damerau
to be installed)
* All: improved location_short output (truncates long path with '[...]'
instead of '[truncated...]')
* All: improved change summary message
Documentation improvements:
* Loader: Added examples using cme modify in pod doc
* AnyThing: Added missing doc for location_short and composite_name_short
* Updated wordpress link to use config-model tag
Cruft cleanup:
* removed cme-old command
-------------------------------------------------------------------
Sun Jun 7 08:19:18 UTC 2015 - coolo@suse.com
- updated to 2.071
see /usr/share/doc/packages/perl-Config-Model/Changes
2.071 2015-05-23
Bug and doc fix release:
* shell like user interface:
* fixed completion of commands (like set, clear...)
* improved error message sent when command is wrong
* use item location as prompt
* Loader: fixed parding of command like foo:.insort("bar( stuff )")
which are also used in shell UI.
* Backend::Any: mention cme command used to edit config file in
comment header when writing back files. (e.g. "You can run
'cme edit lcdproc' to modify this file" is written in header
of /etc/LCDd.conf)
* Value: fixed formatting and errors in pod doc
-------------------------------------------------------------------
Tue May 5 08:14:19 UTC 2015 - coolo@suse.com
- updated to 2.070
see /usr/share/doc/packages/perl-Config-Model/Changes
2.070 2015-05-03
Added minor features and bug fixes:
* Model:
+ added include_backend model parameter for xorg
* include no longer include read/write spec... (Debian #783952)
* Hash and Array: clear now triggers notify_change
* Value: boolean conversion (e.g yes/no to 1/0) during initial load
must not trigger a change notification...
* shell UI:
+ added fix command
* added clear command for list hash and value...
-------------------------------------------------------------------
Sun Apr 26 07:15:42 UTC 2015 - coolo@suse.com
- updated to 2.069
see /usr/share/doc/packages/perl-Config-Model/Changes
2.069 2015-04-25
-------------------------------------------------------------------
Thu Apr 16 21:32:08 UTC 2015 - coolo@suse.com
- updated to 2.068
see /usr/share/doc/packages/perl-Config-Model/Changes
2.068 2015-03-29
Small improvements:
* Value: request configuration save when initial load
detects problem like duplicated or mismatched values in config file
* Loader: raise an exception when ':' action is used with a value element
New features:
* C::M::Anything::grab: type param can also be an array ref
* Instance: added 'update' method
2.067 2015-03-01
Bug fix release:
* SimpleUI: fix 'll' command (failed without argument)
* C::M::Backend::Any:
+ added show_message method (delegated to node)
* added missing doc for node attribute
* C::M::Instance: callback attributes are now rw
(should fix test failures of Config::Model::Itself)
* C::M::AnyThing: delegates show_message to instance
2.066 2015-02-15
* C::M::Instance:
+ added on_message_cb and show_message parameters
* C::M::GenClassPod:
* added missing doc for gen_class_pod parameters
* generate doc in a reproducible way by using "sort keys". This should
fix Debian problem with unreproducible build found on libconfig-model-dpkg-perl
and libconfig-model-itself-perl
* dist.ini: use free.fr address instead of cpan.org to avoid problems with
automated release e-mail
2.065 2015-01-06
Bug fixes:
* Value: avoid undef warning when creating error message
* Node: Must load override class to be able to use it...
New (small) feature:
* Value: warning or error message defined in a model can contain
a $_ to show the bad value to user
- (build) require perl(Path::Tiny) instead of perl(Path::Class) - update to 2.064: + General new features/changes: * The Perl class used to implement node, list and hash configuration element can be overridden using a new 'class' parameter. The Perl class passed to this parameter must inherit Config::Model::Node, or Config::Model::HashId or Config::Model::ListId. * Config::Model::Value: added warn_if parameter * Config::Model: initialise log4perl during construction * Value: added file and dir value type. A warning is issued when file or dir is not found. * removed all code related to asynchronous stores * added bash_completion snippet associated to a model. This will be useful for dpkg-patch model * C::M::Lister: skip backup files when listing available applications * replace File::Slurp with Path::Tiny in yaml backend test and gen-class-pod (RT #95692). (which changes the dependencies) * replaced Path::Class with Path::Tiny dependency + Other incompatible changes: * old config-edit command is now really gone * cme extensions are obsolete. Extension mechanism is now provided by App::Cmd + New features of the cme command: * cme command is no longer delivered with this distribution. cme is now delivered by App::Cme distribution. * cme: + added shell command as a shortcut to 'cme edit -ui shell'. E.g 'cme shell ssh' to edit ssh_config through a shell like UI + add :@ and :.sort sub command for ordered hash. E.g.: "cme modify dpkg-control ~~ 'binary:~/.*/ Depends:.sort' -save" OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-Model?expand=0&rev=3
2014-12-29 13:41:46 +00:00
-------------------------------------------------------------------
Mon Dec 29 13:31:32 UTC 2014 - lars@linux-schulserver.de
- (build) require perl(Path::Tiny) instead of perl(Path::Class)
- update to 2.064:
+ General new features/changes:
* The Perl class used to implement node, list and hash
configuration element can be overridden using a new 'class'
parameter. The Perl class passed to this parameter must inherit
Config::Model::Node, or Config::Model::HashId or Config::Model::ListId.
* Config::Model::Value: added warn_if parameter
* Config::Model: initialise log4perl during construction
* Value: added file and dir value type. A warning is issued when file
or dir is not found.
* removed all code related to asynchronous stores
* added bash_completion snippet associated to a model. This will be useful
for dpkg-patch model
* C::M::Lister: skip backup files when listing available applications
* replace File::Slurp with Path::Tiny in yaml backend test and gen-class-pod
(RT #95692). (which changes the dependencies)
* replaced Path::Class with Path::Tiny dependency
+ Other incompatible changes:
* old config-edit command is now really gone
* cme extensions are obsolete. Extension mechanism is now provided
by App::Cmd
+ New features of the cme command:
* cme command is no longer delivered with this distribution. cme
is now delivered by App::Cme distribution.
* cme:
+ added shell command as a shortcut to 'cme edit -ui shell'.
E.g 'cme shell ssh' to edit ssh_config through a shell like UI
+ add :@ and :.sort sub command for ordered hash.
E.g.: "cme modify dpkg-control ~~ 'binary:~/.*/ Depends:.sort' -save"
or "cme modify dpkg-copyright ~~ 'Files:.sort' -save "
* added remove by value on list and hash ( :-= and :-~ )
(Closes Debian #741453)
* added lots of list and hash operator usable on 'cme modify stuff'.
E.g. :.insort :.insert_before :.insert_at :.unshift :.push :.sort
* handle list/hash value substitution ( e.g. list:=~s/foo/bar/ )
* warn when trying to remove a list element with a non numeric index
* rationalize list and hash commands: list assignment is now
list:=a,b,c instead of list=a,b,c
* add possibility to override config file (for appli with
allow_config_file_override) (part of Debian #739387) if config
file override is '-', open STDIN to read and STDOUT to write.
This way, cme can be used as a filter.
* added -strict option so cme exits 1 when warnings are found
(Closes Debian #736972)
* added -save option to force save. Useful when just reformatting
is desired
* modify command can apply Perl substitution (s/foo/bar) to
configuration values
-------------------------------------------------------------------
Sat Feb 1 13:08:45 UTC 2014 - lars@linux-schulserver.de
- initial package 2.047
- recommend Term::ReadLine::Perl