Mercurial > hgrepos > Python > libs > ConfigMix
annotate CHANGES.txt @ 261:b84f8060d54c
More elaborated changelog for the last change.
And technically it is a breaking change.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 28 Jul 2020 08:31:08 +0200 |
| parents | 2cfd670281ae |
| children | f62764292b9d |
| 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:: | |
|
260
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
16 :version: n/a |
|
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
17 :released: n/a |
|
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
18 |
|
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
19 .. change:: |
|
261
b84f8060d54c
More elaborated changelog for the last change.
Franz Glasner <fzglas.hg@dom66.de>
parents:
260
diff
changeset
|
20 :tags: breaking, feature |
|
260
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
21 |
|
261
b84f8060d54c
More elaborated changelog for the last change.
Franz Glasner <fzglas.hg@dom66.de>
parents:
260
diff
changeset
|
22 Do not set "root", "self" and "here" variables any more. The old |
|
b84f8060d54c
More elaborated changelog for the last change.
Franz Glasner <fzglas.hg@dom66.de>
parents:
260
diff
changeset
|
23 behaviour hindered proper automatic configuration on some PyPy |
|
b84f8060d54c
More elaborated changelog for the last change.
Franz Glasner <fzglas.hg@dom66.de>
parents:
260
diff
changeset
|
24 configurations when using `genapplib`. |
|
b84f8060d54c
More elaborated changelog for the last change.
Franz Glasner <fzglas.hg@dom66.de>
parents:
260
diff
changeset
|
25 |
|
b84f8060d54c
More elaborated changelog for the last change.
Franz Glasner <fzglas.hg@dom66.de>
parents:
260
diff
changeset
|
26 Only the INI-parser did set this variables automatically. |
|
260
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
27 |
|
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
28 .. changelog:: |
| 257 | 29 :version: 0.8.1 |
| 30 :released: 2020-07-08 | |
| 31 | |
| 32 .. change:: | |
| 33 :tags: bugfix | |
| 34 | |
| 35 Allow non-string keys when merging configurations. | |
| 36 | |
| 37 .. changelog:: | |
| 253 | 38 :version: 0.8 |
| 39 :released: 2020-07-08 | |
|
251
2a8dcab2de8c
Do not implicitely convert a configuration value to text if the value is the result of just a variable expansion.
Franz Glasner <fzglas.hg@dom66.de>
parents:
245
diff
changeset
|
40 |
|
2a8dcab2de8c
Do not implicitely convert a configuration value to text if the value is the result of just a variable expansion.
Franz Glasner <fzglas.hg@dom66.de>
parents:
245
diff
changeset
|
41 .. change:: |
|
2a8dcab2de8c
Do not implicitely convert a configuration value to text if the value is the result of just a variable expansion.
Franz Glasner <fzglas.hg@dom66.de>
parents:
245
diff
changeset
|
42 :tags: breaking, feature |
|
2a8dcab2de8c
Do not implicitely convert a configuration value to text if the value is the result of just a variable expansion.
Franz Glasner <fzglas.hg@dom66.de>
parents:
245
diff
changeset
|
43 |
|
2a8dcab2de8c
Do not implicitely convert a configuration value to text if the value is the result of just a variable expansion.
Franz Glasner <fzglas.hg@dom66.de>
parents:
245
diff
changeset
|
44 Do not implicitely convert a configuration value to text if the |
|
2a8dcab2de8c
Do not implicitely convert a configuration value to text if the value is the result of just a variable expansion.
Franz Glasner <fzglas.hg@dom66.de>
parents:
245
diff
changeset
|
45 value is the result of just a variable expansion. |
|
2a8dcab2de8c
Do not implicitely convert a configuration value to text if the value is the result of just a variable expansion.
Franz Glasner <fzglas.hg@dom66.de>
parents:
245
diff
changeset
|
46 |
|
2a8dcab2de8c
Do not implicitely convert a configuration value to text if the value is the result of just a variable expansion.
Franz Glasner <fzglas.hg@dom66.de>
parents:
245
diff
changeset
|
47 .. changelog:: |
| 245 | 48 :version: 0.7.4 |
| 49 :released: 2020-05-21 | |
|
242
bfa4d125fd14
FIX: The namespace lookup implementation for the "OS" namespace did not properly handle the "default" argument.
Franz Glasner <fzglas.hg@dom66.de>
parents:
239
diff
changeset
|
50 |
|
bfa4d125fd14
FIX: The namespace lookup implementation for the "OS" namespace did not properly handle the "default" argument.
Franz Glasner <fzglas.hg@dom66.de>
parents:
239
diff
changeset
|
51 .. change:: |
|
244
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
52 :tags: feature |
|
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
53 |
|
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
54 Implemented new namespace function ``OS:node`` to return the node's |
|
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
55 computername. |
|
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
56 |
|
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
57 .. change:: |
|
242
bfa4d125fd14
FIX: The namespace lookup implementation for the "OS" namespace did not properly handle the "default" argument.
Franz Glasner <fzglas.hg@dom66.de>
parents:
239
diff
changeset
|
58 :tags: bugfix |
|
bfa4d125fd14
FIX: The namespace lookup implementation for the "OS" namespace did not properly handle the "default" argument.
Franz Glasner <fzglas.hg@dom66.de>
parents:
239
diff
changeset
|
59 |
|
bfa4d125fd14
FIX: The namespace lookup implementation for the "OS" namespace did not properly handle the "default" argument.
Franz Glasner <fzglas.hg@dom66.de>
parents:
239
diff
changeset
|
60 The ``OS`` namespace lookup did not handle non-existing variables |
|
bfa4d125fd14
FIX: The namespace lookup implementation for the "OS" namespace did not properly handle the "default" argument.
Franz Glasner <fzglas.hg@dom66.de>
parents:
239
diff
changeset
|
61 properly and ignored the `default` parameter. |
|
bfa4d125fd14
FIX: The namespace lookup implementation for the "OS" namespace did not properly handle the "default" argument.
Franz Glasner <fzglas.hg@dom66.de>
parents:
239
diff
changeset
|
62 |
|
bfa4d125fd14
FIX: The namespace lookup implementation for the "OS" namespace did not properly handle the "default" argument.
Franz Glasner <fzglas.hg@dom66.de>
parents:
239
diff
changeset
|
63 |
|
bfa4d125fd14
FIX: The namespace lookup implementation for the "OS" namespace did not properly handle the "default" argument.
Franz Glasner <fzglas.hg@dom66.de>
parents:
239
diff
changeset
|
64 .. changelog:: |
|
238
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
65 :version: 0.7.3 |
| 239 | 66 :released: 2020-05-13 |
|
238
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
67 |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
68 .. change:: |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
69 :tags: |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
70 |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
71 No code changes. |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
72 |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
73 |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
74 .. changelog:: |
| 230 | 75 :version: 0.7.2 |
|
233
2ec722518d5d
FIX: v0.7.2 is released already: put the release date into the changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
230
diff
changeset
|
76 :released: 2019-05-13 |
|
227
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
77 |
|
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
78 .. change:: |
|
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
79 :tags: feature |
|
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
80 |
|
234
f39e54e4f29a
FIX: Wording in CHANGES.txt
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
233
diff
changeset
|
81 Implemented a loader with key ``-*-ignore-*-`` effectively |
|
f39e54e4f29a
FIX: Wording in CHANGES.txt
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
233
diff
changeset
|
82 ignores the contents of given file. No file extensions are by |
|
f39e54e4f29a
FIX: Wording in CHANGES.txt
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
233
diff
changeset
|
83 default associated with this loader. |
|
227
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
84 |
|
226
8b1c52d5e7d5
Bump version to 0.7.2.dev1 for next development steps
Franz Glasner <fzglas.hg@dom66.de>
parents:
223
diff
changeset
|
85 |
|
8b1c52d5e7d5
Bump version to 0.7.2.dev1 for next development steps
Franz Glasner <fzglas.hg@dom66.de>
parents:
223
diff
changeset
|
86 .. changelog:: |
| 223 | 87 :version: 0.7.1 |
| 88 :released: 2019-05-10 | |
|
216
c03c9162f7e6
Prepare next version (planned: 0.7.1.dev1)
Franz Glasner <fzglas.hg@dom66.de>
parents:
211
diff
changeset
|
89 |
|
217
b869e792310e
FIX: Extra merged and unsafe merges in configmix.safe_load
Franz Glasner <fzglas.hg@dom66.de>
parents:
216
diff
changeset
|
90 .. change:: |
|
221
6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
Franz Glasner <fzglas.hg@dom66.de>
parents:
218
diff
changeset
|
91 :tags: feature |
|
6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
Franz Glasner <fzglas.hg@dom66.de>
parents:
218
diff
changeset
|
92 |
|
6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
Franz Glasner <fzglas.hg@dom66.de>
parents:
218
diff
changeset
|
93 :py:func:`configmix.load` and :py:func:`configmix.safe_load` got a |
|
6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
Franz Glasner <fzglas.hg@dom66.de>
parents:
218
diff
changeset
|
94 new keyword argument `extras` that (if given) will be used as the |
|
6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
Franz Glasner <fzglas.hg@dom66.de>
parents:
218
diff
changeset
|
95 *last* configuration dictionary to be merged into the configuration. |
|
6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
Franz Glasner <fzglas.hg@dom66.de>
parents:
218
diff
changeset
|
96 |
|
6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
Franz Glasner <fzglas.hg@dom66.de>
parents:
218
diff
changeset
|
97 This can be used to overwrite configuration file settings from |
|
6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
Franz Glasner <fzglas.hg@dom66.de>
parents:
218
diff
changeset
|
98 commandline arguments. |
|
6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
Franz Glasner <fzglas.hg@dom66.de>
parents:
218
diff
changeset
|
99 |
|
6f0f39a9a46f
configmix.load() and .safe_load() got a new keyword argument "extras" to be merged in as last configuration dictionary
Franz Glasner <fzglas.hg@dom66.de>
parents:
218
diff
changeset
|
100 .. change:: |
|
217
b869e792310e
FIX: Extra merged and unsafe merges in configmix.safe_load
Franz Glasner <fzglas.hg@dom66.de>
parents:
216
diff
changeset
|
101 :tags: bugfix |
|
b869e792310e
FIX: Extra merged and unsafe merges in configmix.safe_load
Franz Glasner <fzglas.hg@dom66.de>
parents:
216
diff
changeset
|
102 |
|
218
b56586789838
FIX: Docu: Sphinx reference syntax to a Python function
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
217
diff
changeset
|
103 :py:func:`configmix.safe_load` did some preliminary unsafe merges |
|
217
b869e792310e
FIX: Extra merged and unsafe merges in configmix.safe_load
Franz Glasner <fzglas.hg@dom66.de>
parents:
216
diff
changeset
|
104 from `defaults` and an extra additional unneeded merge. |
|
b869e792310e
FIX: Extra merged and unsafe merges in configmix.safe_load
Franz Glasner <fzglas.hg@dom66.de>
parents:
216
diff
changeset
|
105 |
|
227
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
106 |
|
216
c03c9162f7e6
Prepare next version (planned: 0.7.1.dev1)
Franz Glasner <fzglas.hg@dom66.de>
parents:
211
diff
changeset
|
107 .. changelog:: |
| 211 | 108 :version: 0.7 |
| 109 :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
|
110 |
|
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
|
111 .. change:: |
| 182 | 112 :tags: breaking |
| 113 | |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
114 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
|
115 the :py:data:`configmix.mode_loaders` dictionary directly. |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
116 |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
117 .. change:: |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
118 :tags: breaking |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
119 |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
120 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
|
121 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
|
122 :py:func:`configmix.get_assoc`, |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
123 :py:func:`configmix.clear_assoc`, |
| 182 | 124 :py:func:`configmix.get_default_assoc`. |
| 125 | |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
126 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
|
127 dictionary. |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
128 |
| 182 | 129 .. 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
|
130 :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
|
131 |
|
1ff11462a5c1
The associations from filename extensions to parsers are "fnmatch" style patterns now.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
170
diff
changeset
|
132 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
|
133 :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
|
134 |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
135 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
|
136 the currently defined associations and therefore gets the |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
137 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
|
138 |
|
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
|
139 .. 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
|
140 :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
|
141 |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
142 :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
|
143 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
|
144 already existing default configuration into which all additional |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
145 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
|
146 |
|
195
28e6c1413947
Added support for TOML style configuration files
Franz Glasner <fzglas.hg@dom66.de>
parents:
192
diff
changeset
|
147 .. change:: |
|
28e6c1413947
Added support for TOML style configuration files
Franz Glasner <fzglas.hg@dom66.de>
parents:
192
diff
changeset
|
148 :tags: feature |
|
28e6c1413947
Added support for TOML style configuration files
Franz Glasner <fzglas.hg@dom66.de>
parents:
192
diff
changeset
|
149 |
|
198
0b855758ba08
An additional TOML-related unittest (types)
Franz Glasner <fzglas.hg@dom66.de>
parents:
195
diff
changeset
|
150 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
|
151 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
|
152 |
|
170
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
153 |
|
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
154 .. changelog:: |
| 91 | 155 :version: 0.6 |
| 167 | 156 :released: 2019-03-14 |
| 91 | 157 |
| 158 .. 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
|
159 :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
|
160 |
| 222 | 161 Reimplemented :py:func:`configmix.safe_merge` to do 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
|
162 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
|
163 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
|
164 |
|
d51a18e5b0e3
Reimplement configmix.safe_merge() do to a deepcopy of all source configurations when merging.
Franz Glasner <hg@dom66.de>
parents:
103
diff
changeset
|
165 .. 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
|
166 :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
|
167 |
|
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
|
168 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
|
169 :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
|
170 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
|
171 |
|
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
|
172 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
|
173 |
|
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
|
174 .. change:: |
|
147
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
175 :tags: breaking, feature |
|
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
176 |
|
203
b2a5442867e7
Doc: Wording: "allow" -> "support"
Franz Glasner <fzglas.hg@dom66.de>
parents:
198
diff
changeset
|
177 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
|
178 with ``__doc`` or ``__comment``. |
|
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
179 |
|
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
180 .. change:: |
|
166
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
181 :tags: misc |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
182 |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
183 Use the filesystem encoding where appripriate. |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
184 |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
185 .. change:: |
| 91 | 186 :tags: doc |
| 187 | |
| 93 | 188 Begin the documentation with `Sphinx <http://www.sphinx-doc.org>`_ |
| 189 | |
| 190 .. change:: | |
| 191 :tags: test | |
| 192 | |
| 193 Begin formal unittests | |
| 91 | 194 |
|
97
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
195 .. change:: |
|
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
196 :tags: feature |
|
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
197 |
|
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
198 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
|
199 |
|
122
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
200 .. change:: |
|
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
201 :tags: feature |
|
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
202 |
|
203
b2a5442867e7
Doc: Wording: "allow" -> "support"
Franz Glasner <fzglas.hg@dom66.de>
parents:
198
diff
changeset
|
203 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
|
204 |
|
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
|
205 .. 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
|
206 :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
|
207 |
|
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
|
208 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
|
209 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
|
210 |
|
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
|
211 |
| 91 | 212 .. changelog:: |
| 213 :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
|
214 :released: 2016-04-19 |
| 91 | 215 |
| 216 .. change:: | |
| 217 :tags: feature | |
| 218 | |
| 219 First really used release. |
