Mercurial > hgrepos > Python > libs > ConfigMix
annotate CHANGES.txt @ 216:c03c9162f7e6
Prepare next version (planned: 0.7.1.dev1)
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 08 May 2019 09:34:00 +0200 |
| parents | 657cf709463b |
| children | b869e792310e |
| rev | line source |
|---|---|
|
103
2eac386f825a
FIX: Typo in Emacs line: indent-tags-mode -> indent-tabs-mode
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
97
diff
changeset
|
1 .. -*- coding: utf-8; mode: rst; indent-tabs-mode: nil; -*- |
| 91 | 2 |
| 3 .. | |
|
166
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
4 .. Valid tags: breaking, feature, bugfix, misc, test, doc |
|
103
2eac386f825a
FIX: Typo in Emacs line: indent-tags-mode -> indent-tabs-mode
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
97
diff
changeset
|
5 .. |
| 91 | 6 |
| 7 .. _changelog: | |
| 8 | |
| 9 Changelog | |
| 10 ========= | |
| 11 | |
| 12 Pre-1.0 Series | |
| 13 -------------- | |
| 14 | |
| 15 .. changelog:: | |
|
216
c03c9162f7e6
Prepare next version (planned: 0.7.1.dev1)
Franz Glasner <fzglas.hg@dom66.de>
parents:
211
diff
changeset
|
16 :version: 0.7.1.dev1 |
|
c03c9162f7e6
Prepare next version (planned: 0.7.1.dev1)
Franz Glasner <fzglas.hg@dom66.de>
parents:
211
diff
changeset
|
17 :released: unreleased |
|
c03c9162f7e6
Prepare next version (planned: 0.7.1.dev1)
Franz Glasner <fzglas.hg@dom66.de>
parents:
211
diff
changeset
|
18 |
|
c03c9162f7e6
Prepare next version (planned: 0.7.1.dev1)
Franz Glasner <fzglas.hg@dom66.de>
parents:
211
diff
changeset
|
19 .. changelog:: |
| 211 | 20 :version: 0.7 |
| 21 :released: 2019-05-06 | |
|
170
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
22 |
|
171
1ff11462a5c1
The associations from filename extensions to parsers are "fnmatch" style patterns now.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
170
diff
changeset
|
23 .. change:: |
| 182 | 24 :tags: breaking |
| 25 | |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
26 Additional or alternative loaders can be installed by changing |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
27 the :py:data:`configmix.mode_loaders` dictionary directly. |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
28 |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
29 .. change:: |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
30 :tags: breaking |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
31 |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
32 The public functions to associate filename extensions to filemodes |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
33 have been renamed to :py:func:`configmix.set_assoc`, |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
34 :py:func:`configmix.get_assoc`, |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
35 :py:func:`configmix.clear_assoc`, |
| 182 | 36 :py:func:`configmix.get_default_assoc`. |
| 37 | |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
38 The filemodes must be keys in the :py:data:`configmix.mode_loaders` |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
39 dictionary. |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
40 |
| 182 | 41 .. change:: |
|
171
1ff11462a5c1
The associations from filename extensions to parsers are "fnmatch" style patterns now.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
170
diff
changeset
|
42 :tags: breaking, feature |
|
1ff11462a5c1
The associations from filename extensions to parsers are "fnmatch" style patterns now.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
170
diff
changeset
|
43 |
|
1ff11462a5c1
The associations from filename extensions to parsers are "fnmatch" style patterns now.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
170
diff
changeset
|
44 The associations from filename extensions to parsers are |
|
172
8138d56d7cd3
".load" and ".safe_load" get a keyword parameter "defaults" that allows the provision of a configuration dictionary with default settings
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
171
diff
changeset
|
45 :py:mod:`fnmatch` style patterns now. |
|
171
1ff11462a5c1
The associations from filename extensions to parsers are "fnmatch" style patterns now.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
170
diff
changeset
|
46 |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
47 Calling :py:func:`configmix.set_assoc` by default prepends to |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
48 the currently defined associations and therefore gets the |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
49 highest priority. Appending is possible also. |
|
171
1ff11462a5c1
The associations from filename extensions to parsers are "fnmatch" style patterns now.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
170
diff
changeset
|
50 |
|
172
8138d56d7cd3
".load" and ".safe_load" get a keyword parameter "defaults" that allows the provision of a configuration dictionary with default settings
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
171
diff
changeset
|
51 .. change:: |
|
8138d56d7cd3
".load" and ".safe_load" get a keyword parameter "defaults" that allows the provision of a configuration dictionary with default settings
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
171
diff
changeset
|
52 :tags: feature |
|
8138d56d7cd3
".load" and ".safe_load" get a keyword parameter "defaults" that allows the provision of a configuration dictionary with default settings
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
171
diff
changeset
|
53 |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
54 :py:func:`configmix.load` and :py:func:`configmix.safe_load` got |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
55 a keyword argument `defaults` that allow the provision of an |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
56 already existing default configuration into which all additional |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
57 configuration settings are merged into. |
|
172
8138d56d7cd3
".load" and ".safe_load" get a keyword parameter "defaults" that allows the provision of a configuration dictionary with default settings
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
171
diff
changeset
|
58 |
|
195
28e6c1413947
Added support for TOML style configuration files
Franz Glasner <fzglas.hg@dom66.de>
parents:
192
diff
changeset
|
59 .. change:: |
|
28e6c1413947
Added support for TOML style configuration files
Franz Glasner <fzglas.hg@dom66.de>
parents:
192
diff
changeset
|
60 :tags: feature |
|
28e6c1413947
Added support for TOML style configuration files
Franz Glasner <fzglas.hg@dom66.de>
parents:
192
diff
changeset
|
61 |
|
198
0b855758ba08
An additional TOML-related unittest (types)
Franz Glasner <fzglas.hg@dom66.de>
parents:
195
diff
changeset
|
62 Added support for TOML style configuration files. This needs |
|
204
bbc1aa40d781
Doc: use the correct URL for the source of the used toml library: https://github.com/uiri/toml
Franz Glasner <fzglas.hg@dom66.de>
parents:
203
diff
changeset
|
63 the external package :py:mod:`toml` (from https://github.com/uiri/toml). |
|
195
28e6c1413947
Added support for TOML style configuration files
Franz Glasner <fzglas.hg@dom66.de>
parents:
192
diff
changeset
|
64 |
|
170
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
65 |
|
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
66 .. changelog:: |
| 91 | 67 :version: 0.6 |
| 167 | 68 :released: 2019-03-14 |
| 91 | 69 |
| 70 .. change:: | |
|
111
d51a18e5b0e3
Reimplement configmix.safe_merge() do to a deepcopy of all source configurations when merging.
Franz Glasner <hg@dom66.de>
parents:
103
diff
changeset
|
71 :tags: breaking, feature |
|
d51a18e5b0e3
Reimplement configmix.safe_merge() do to a deepcopy of all source configurations when merging.
Franz Glasner <hg@dom66.de>
parents:
103
diff
changeset
|
72 |
|
198
0b855758ba08
An additional TOML-related unittest (types)
Franz Glasner <fzglas.hg@dom66.de>
parents:
195
diff
changeset
|
73 Reimplemented :py:func:`configmix.safe_merge` do to a deepcopy of all |
|
118
e37fc67ae7f3
Changes: Document that previously "safe_merge()" made sort of shallow copies
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
111
diff
changeset
|
74 source configurations when merging. Previously is was sort of a |
|
e37fc67ae7f3
Changes: Document that previously "safe_merge()" made sort of shallow copies
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
111
diff
changeset
|
75 shallow copy. |
|
111
d51a18e5b0e3
Reimplement configmix.safe_merge() do to a deepcopy of all source configurations when merging.
Franz Glasner <hg@dom66.de>
parents:
103
diff
changeset
|
76 |
|
d51a18e5b0e3
Reimplement configmix.safe_merge() do to a deepcopy of all source configurations when merging.
Franz Glasner <hg@dom66.de>
parents:
103
diff
changeset
|
77 .. change:: |
|
120
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
118
diff
changeset
|
78 :tags: breaking, feature |
|
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
118
diff
changeset
|
79 |
|
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
118
diff
changeset
|
80 The default file encoding when reading INI style files with |
|
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
118
diff
changeset
|
81 :py:func:`configmix.ini.load` is now "UTF-8". Previously it was |
|
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
118
diff
changeset
|
82 undefined and therefore dependent on the user's locale. |
|
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
118
diff
changeset
|
83 |
|
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
118
diff
changeset
|
84 An `encoding` keyword argument can be specified explicitely now. |
|
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
118
diff
changeset
|
85 |
|
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
118
diff
changeset
|
86 .. change:: |
|
147
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
87 :tags: breaking, feature |
|
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
88 |
|
203
b2a5442867e7
Doc: Wording: "allow" -> "support"
Franz Glasner <fzglas.hg@dom66.de>
parents:
198
diff
changeset
|
89 Support comment-like key-value pairs with configuration keys starting |
|
147
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
90 with ``__doc`` or ``__comment``. |
|
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
91 |
|
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
92 .. change:: |
|
166
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
93 :tags: misc |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
94 |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
95 Use the filesystem encoding where appripriate. |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
96 |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
97 .. change:: |
| 91 | 98 :tags: doc |
| 99 | |
| 93 | 100 Begin the documentation with `Sphinx <http://www.sphinx-doc.org>`_ |
| 101 | |
| 102 .. change:: | |
| 103 :tags: test | |
| 104 | |
| 105 Begin formal unittests | |
| 91 | 106 |
|
97
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
107 .. change:: |
|
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
108 :tags: feature |
|
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
109 |
|
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
110 Build a tree of configuration settings from INI files |
|
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
111 |
|
122
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
112 .. change:: |
|
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
113 :tags: feature |
|
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
114 |
|
203
b2a5442867e7
Doc: Wording: "allow" -> "support"
Franz Glasner <fzglas.hg@dom66.de>
parents:
198
diff
changeset
|
115 Support JSON formatted files as configuration files also (suffix ".json"). |
|
122
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
116 |
|
139
c87b0dc54e1d
Allow custom configuration filename extensions and custom loaders that can handle custom configuration file syntax styles
Franz Glasner <hg@dom66.de>
parents:
122
diff
changeset
|
117 .. change:: |
|
c87b0dc54e1d
Allow custom configuration filename extensions and custom loaders that can handle custom configuration file syntax styles
Franz Glasner <hg@dom66.de>
parents:
122
diff
changeset
|
118 :tags: feature |
|
c87b0dc54e1d
Allow custom configuration filename extensions and custom loaders that can handle custom configuration file syntax styles
Franz Glasner <hg@dom66.de>
parents:
122
diff
changeset
|
119 |
|
c87b0dc54e1d
Allow custom configuration filename extensions and custom loaders that can handle custom configuration file syntax styles
Franz Glasner <hg@dom66.de>
parents:
122
diff
changeset
|
120 Allow custom configuration filename extensions and custom loaders that |
|
c87b0dc54e1d
Allow custom configuration filename extensions and custom loaders that can handle custom configuration file syntax styles
Franz Glasner <hg@dom66.de>
parents:
122
diff
changeset
|
121 can handle custom configuration file syntax styles. |
|
c87b0dc54e1d
Allow custom configuration filename extensions and custom loaders that can handle custom configuration file syntax styles
Franz Glasner <hg@dom66.de>
parents:
122
diff
changeset
|
122 |
|
111
d51a18e5b0e3
Reimplement configmix.safe_merge() do to a deepcopy of all source configurations when merging.
Franz Glasner <hg@dom66.de>
parents:
103
diff
changeset
|
123 |
| 91 | 124 .. changelog:: |
| 125 :version: 0.5 | |
|
118
e37fc67ae7f3
Changes: Document that previously "safe_merge()" made sort of shallow copies
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
111
diff
changeset
|
126 :released: 2016-04-19 |
| 91 | 127 |
| 128 .. change:: | |
| 129 :tags: feature | |
| 130 | |
| 131 First really used release. |
