Mercurial > hgrepos > Python > libs > ConfigMix
annotate CHANGES.txt @ 286:c50548709dac v0.12
+++++ v0.12
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 07 Dec 2020 09:45:43 +0100 |
| parents | ac2e631d8ab9 |
| children | aec97edf7945 |
| 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:: | |
| 286 | 16 :version: 0.12 |
| 17 :released: 2020-12-07 | |
|
285
ac2e631d8ab9
Changelog: note AWS additions
Franz Glasner <fzglas.hg@dom66.de>
parents:
279
diff
changeset
|
18 |
|
ac2e631d8ab9
Changelog: note AWS additions
Franz Glasner <fzglas.hg@dom66.de>
parents:
279
diff
changeset
|
19 .. change:: |
|
ac2e631d8ab9
Changelog: note AWS additions
Franz Glasner <fzglas.hg@dom66.de>
parents:
279
diff
changeset
|
20 :tags: feature |
|
ac2e631d8ab9
Changelog: note AWS additions
Franz Glasner <fzglas.hg@dom66.de>
parents:
279
diff
changeset
|
21 |
|
ac2e631d8ab9
Changelog: note AWS additions
Franz Glasner <fzglas.hg@dom66.de>
parents:
279
diff
changeset
|
22 Provide an ``AWS`` namespace to retrieve some AWS instance metadata. |
|
ac2e631d8ab9
Changelog: note AWS additions
Franz Glasner <fzglas.hg@dom66.de>
parents:
279
diff
changeset
|
23 |
|
ac2e631d8ab9
Changelog: note AWS additions
Franz Glasner <fzglas.hg@dom66.de>
parents:
279
diff
changeset
|
24 .. changelog:: |
| 279 | 25 :version: 0.11 |
| 26 :released: 2020-10-05 | |
|
276
af371f9c016d
Allow deletion of key-value pairs when merging is done.
Franz Glasner <fzglas.hg@dom66.de>
parents:
270
diff
changeset
|
27 |
|
af371f9c016d
Allow deletion of key-value pairs when merging is done.
Franz Glasner <fzglas.hg@dom66.de>
parents:
270
diff
changeset
|
28 .. change:: |
|
af371f9c016d
Allow deletion of key-value pairs when merging is done.
Franz Glasner <fzglas.hg@dom66.de>
parents:
270
diff
changeset
|
29 :tags: feature |
|
af371f9c016d
Allow deletion of key-value pairs when merging is done.
Franz Glasner <fzglas.hg@dom66.de>
parents:
270
diff
changeset
|
30 |
|
af371f9c016d
Allow deletion of key-value pairs when merging is done.
Franz Glasner <fzglas.hg@dom66.de>
parents:
270
diff
changeset
|
31 Allow the deletion of key-value pairs while merging configurations. |
|
af371f9c016d
Allow deletion of key-value pairs when merging is done.
Franz Glasner <fzglas.hg@dom66.de>
parents:
270
diff
changeset
|
32 |
| 278 | 33 This is done by recognizing and handling the special |
| 34 configuration value ``{{::DEL::}}``. | |
| 35 | |
|
276
af371f9c016d
Allow deletion of key-value pairs when merging is done.
Franz Glasner <fzglas.hg@dom66.de>
parents:
270
diff
changeset
|
36 .. changelog:: |
| 270 | 37 :version: 0.10 |
| 38 :released: 2020-09-10 | |
|
266
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
39 |
|
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
40 .. change:: |
|
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
41 :tags: feature |
|
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
42 |
|
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
43 Allow loading configuration files from directories when using |
|
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
44 the "<dir>" prefix in filenames. |
|
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
45 |
|
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
46 Unknown filetypes within these directories are ignored |
|
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
47 automatically. |
|
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
48 |
|
268
1484f6c0223a
Implemented "del_assoc()"
Franz Glasner <fzglas.hg@dom66.de>
parents:
266
diff
changeset
|
49 .. change:: |
|
1484f6c0223a
Implemented "del_assoc()"
Franz Glasner <fzglas.hg@dom66.de>
parents:
266
diff
changeset
|
50 :tags: feature |
|
1484f6c0223a
Implemented "del_assoc()"
Franz Glasner <fzglas.hg@dom66.de>
parents:
266
diff
changeset
|
51 |
|
1484f6c0223a
Implemented "del_assoc()"
Franz Glasner <fzglas.hg@dom66.de>
parents:
266
diff
changeset
|
52 Implemented a function to delete an association: |
|
1484f6c0223a
Implemented "del_assoc()"
Franz Glasner <fzglas.hg@dom66.de>
parents:
266
diff
changeset
|
53 :py:func:`configmix.del_assoc`. |
|
1484f6c0223a
Implemented "del_assoc()"
Franz Glasner <fzglas.hg@dom66.de>
parents:
266
diff
changeset
|
54 |
|
266
46571485b7d4
Allow loading configuration files from directories when using the "<dir>" prefix in filenames.
Franz Glasner <fzglas.hg@dom66.de>
parents:
262
diff
changeset
|
55 .. changelog:: |
| 262 | 56 :version: 0.9 |
| 57 :released: 2020-07-28 | |
|
260
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
58 |
|
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
59 .. change:: |
|
261
b84f8060d54c
More elaborated changelog for the last change.
Franz Glasner <fzglas.hg@dom66.de>
parents:
260
diff
changeset
|
60 :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
|
61 |
|
261
b84f8060d54c
More elaborated changelog for the last change.
Franz Glasner <fzglas.hg@dom66.de>
parents:
260
diff
changeset
|
62 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
|
63 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
|
64 configurations when using `genapplib`. |
|
b84f8060d54c
More elaborated changelog for the last change.
Franz Glasner <fzglas.hg@dom66.de>
parents:
260
diff
changeset
|
65 |
|
b84f8060d54c
More elaborated changelog for the last change.
Franz Glasner <fzglas.hg@dom66.de>
parents:
260
diff
changeset
|
66 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
|
67 |
|
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
68 .. changelog:: |
| 257 | 69 :version: 0.8.1 |
| 70 :released: 2020-07-08 | |
| 71 | |
| 72 .. change:: | |
| 73 :tags: bugfix | |
| 74 | |
| 75 Allow non-string keys when merging configurations. | |
| 76 | |
| 77 .. changelog:: | |
| 253 | 78 :version: 0.8 |
| 79 :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
|
80 |
|
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
|
81 .. 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
|
82 :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
|
83 |
|
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
|
84 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
|
85 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
|
86 |
|
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
|
87 .. changelog:: |
| 245 | 88 :version: 0.7.4 |
| 89 :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
|
90 |
|
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
|
91 .. change:: |
|
244
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
92 :tags: feature |
|
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
93 |
|
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
94 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
|
95 computername. |
|
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
96 |
|
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
97 .. 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
|
98 :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
|
99 |
|
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
|
100 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
|
101 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
|
102 |
|
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
|
103 |
|
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
|
104 .. changelog:: |
|
238
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
105 :version: 0.7.3 |
| 239 | 106 :released: 2020-05-13 |
|
238
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
107 |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
108 .. change:: |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
109 :tags: |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
110 |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
111 No code changes. |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
112 |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
113 |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
114 .. changelog:: |
| 230 | 115 :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
|
116 :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
|
117 |
|
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
118 .. change:: |
|
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
119 :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
|
120 |
|
234
f39e54e4f29a
FIX: Wording in CHANGES.txt
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
233
diff
changeset
|
121 Implemented a loader with key ``-*-ignore-*-`` effectively |
|
f39e54e4f29a
FIX: Wording in CHANGES.txt
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
233
diff
changeset
|
122 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
|
123 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
|
124 |
|
226
8b1c52d5e7d5
Bump version to 0.7.2.dev1 for next development steps
Franz Glasner <fzglas.hg@dom66.de>
parents:
223
diff
changeset
|
125 |
|
8b1c52d5e7d5
Bump version to 0.7.2.dev1 for next development steps
Franz Glasner <fzglas.hg@dom66.de>
parents:
223
diff
changeset
|
126 .. changelog:: |
| 223 | 127 :version: 0.7.1 |
| 128 :released: 2019-05-10 | |
|
216
c03c9162f7e6
Prepare next version (planned: 0.7.1.dev1)
Franz Glasner <fzglas.hg@dom66.de>
parents:
211
diff
changeset
|
129 |
|
217
b869e792310e
FIX: Extra merged and unsafe merges in configmix.safe_load
Franz Glasner <fzglas.hg@dom66.de>
parents:
216
diff
changeset
|
130 .. 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
|
131 :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
|
132 |
|
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
|
133 :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
|
134 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
|
135 *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
|
136 |
|
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
|
137 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
|
138 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
|
139 |
|
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
|
140 .. change:: |
|
217
b869e792310e
FIX: Extra merged and unsafe merges in configmix.safe_load
Franz Glasner <fzglas.hg@dom66.de>
parents:
216
diff
changeset
|
141 :tags: bugfix |
|
b869e792310e
FIX: Extra merged and unsafe merges in configmix.safe_load
Franz Glasner <fzglas.hg@dom66.de>
parents:
216
diff
changeset
|
142 |
|
218
b56586789838
FIX: Docu: Sphinx reference syntax to a Python function
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
217
diff
changeset
|
143 :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
|
144 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
|
145 |
|
227
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
146 |
|
216
c03c9162f7e6
Prepare next version (planned: 0.7.1.dev1)
Franz Glasner <fzglas.hg@dom66.de>
parents:
211
diff
changeset
|
147 .. changelog:: |
| 211 | 148 :version: 0.7 |
| 149 :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
|
150 |
|
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
|
151 .. change:: |
| 182 | 152 :tags: breaking |
| 153 | |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
154 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
|
155 the :py:data:`configmix.mode_loaders` dictionary directly. |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
156 |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
157 .. change:: |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
158 :tags: breaking |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
159 |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
160 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
|
161 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
|
162 :py:func:`configmix.get_assoc`, |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
163 :py:func:`configmix.clear_assoc`, |
| 182 | 164 :py:func:`configmix.get_default_assoc`. |
| 165 | |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
166 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
|
167 dictionary. |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
168 |
| 182 | 169 .. 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
|
170 :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
|
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
|
172 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
|
173 :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
|
174 |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
175 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
|
176 the currently defined associations and therefore gets the |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
177 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
|
178 |
|
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
|
179 .. 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
|
180 :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
|
181 |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
182 :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
|
183 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
|
184 already existing default configuration into which all additional |
|
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
185 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
|
186 |
|
195
28e6c1413947
Added support for TOML style configuration files
Franz Glasner <fzglas.hg@dom66.de>
parents:
192
diff
changeset
|
187 .. change:: |
|
28e6c1413947
Added support for TOML style configuration files
Franz Glasner <fzglas.hg@dom66.de>
parents:
192
diff
changeset
|
188 :tags: feature |
|
28e6c1413947
Added support for TOML style configuration files
Franz Glasner <fzglas.hg@dom66.de>
parents:
192
diff
changeset
|
189 |
|
198
0b855758ba08
An additional TOML-related unittest (types)
Franz Glasner <fzglas.hg@dom66.de>
parents:
195
diff
changeset
|
190 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
|
191 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
|
192 |
|
170
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
193 |
|
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
194 .. changelog:: |
| 91 | 195 :version: 0.6 |
| 167 | 196 :released: 2019-03-14 |
| 91 | 197 |
| 198 .. 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
|
199 :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
|
200 |
| 222 | 201 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
|
202 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
|
203 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
|
204 |
|
d51a18e5b0e3
Reimplement configmix.safe_merge() do to a deepcopy of all source configurations when merging.
Franz Glasner <hg@dom66.de>
parents:
103
diff
changeset
|
205 .. 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
|
206 :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
|
207 |
|
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
|
208 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
|
209 :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
|
210 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
|
211 |
|
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
|
212 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
|
213 |
|
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
|
214 .. change:: |
|
147
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
215 :tags: breaking, feature |
|
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
216 |
|
203
b2a5442867e7
Doc: Wording: "allow" -> "support"
Franz Glasner <fzglas.hg@dom66.de>
parents:
198
diff
changeset
|
217 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
|
218 with ``__doc`` or ``__comment``. |
|
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
219 |
|
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
220 .. change:: |
|
166
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
221 :tags: misc |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
222 |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
223 Use the filesystem encoding where appripriate. |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
224 |
|
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
225 .. change:: |
| 91 | 226 :tags: doc |
| 227 | |
| 93 | 228 Begin the documentation with `Sphinx <http://www.sphinx-doc.org>`_ |
| 229 | |
| 230 .. change:: | |
| 231 :tags: test | |
| 232 | |
| 233 Begin formal unittests | |
| 91 | 234 |
|
97
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
235 .. change:: |
|
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
236 :tags: feature |
|
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
237 |
|
1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
Franz Glasner <hg@dom66.de>
parents:
93
diff
changeset
|
238 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
|
239 |
|
122
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
240 .. change:: |
|
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
241 :tags: feature |
|
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
242 |
|
203
b2a5442867e7
Doc: Wording: "allow" -> "support"
Franz Glasner <fzglas.hg@dom66.de>
parents:
198
diff
changeset
|
243 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
|
244 |
|
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
|
245 .. 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
|
246 :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
|
247 |
|
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
|
248 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
|
249 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
|
250 |
|
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
|
251 |
| 91 | 252 .. changelog:: |
| 253 :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
|
254 :released: 2016-04-19 |
| 91 | 255 |
| 256 .. change:: | |
| 257 :tags: feature | |
| 258 | |
| 259 First really used release. |
