Mercurial > hgrepos > Python > libs > ConfigMix
annotate CHANGES.txt @ 429:5b928606fa00 v0.18.1b1
+++++ v0.18.1b1
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 09 Dec 2021 13:03:56 +0100 |
| parents | 090a25f36a3d |
| children | 49cadb78c45a |
| 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 | |
| 429 | 15 0.18.1b1 (not yet) |
| 16 ~~~~~~~~~~~~~~~~~~ | |
|
428
090a25f36a3d
FIX: Allow jailed configurations to use correctly use base configurations that use a different "default" marker object.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
421
diff
changeset
|
17 |
|
090a25f36a3d
FIX: Allow jailed configurations to use correctly use base configurations that use a different "default" marker object.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
421
diff
changeset
|
18 - **[bugfix]** |
|
090a25f36a3d
FIX: Allow jailed configurations to use correctly use base configurations that use a different "default" marker object.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
421
diff
changeset
|
19 Jailed configurations assumed that their "default" marker object is |
|
090a25f36a3d
FIX: Allow jailed configurations to use correctly use base configurations that use a different "default" marker object.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
421
diff
changeset
|
20 identical to the "default" marker object in the unjailed base |
|
090a25f36a3d
FIX: Allow jailed configurations to use correctly use base configurations that use a different "default" marker object.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
421
diff
changeset
|
21 configuration. This is not always true, especially if |
|
090a25f36a3d
FIX: Allow jailed configurations to use correctly use base configurations that use a different "default" marker object.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
421
diff
changeset
|
22 :py:meth:`~configmix.config._JailedConfiguration.rebind` is used. |
|
090a25f36a3d
FIX: Allow jailed configurations to use correctly use base configurations that use a different "default" marker object.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
421
diff
changeset
|
23 |
|
090a25f36a3d
FIX: Allow jailed configurations to use correctly use base configurations that use a different "default" marker object.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
421
diff
changeset
|
24 |
| 421 | 25 0.18 (2021-12-02) |
| 26 ~~~~~~~~~~~~~~~~~ | |
|
417
83d537f1dfbb
Implement sub-jails: allow to get a jailed configuration from a jail
Franz Glasner <fzglas.hg@dom66.de>
parents:
413
diff
changeset
|
27 |
|
83d537f1dfbb
Implement sub-jails: allow to get a jailed configuration from a jail
Franz Glasner <fzglas.hg@dom66.de>
parents:
413
diff
changeset
|
28 - **[feature]** |
|
419
079a82129110
Allow the empty variable name to retrieve the root configuration object
Franz Glasner <fzglas.hg@dom66.de>
parents:
418
diff
changeset
|
29 Allow empty variable names in some cases to get the root object of a |
|
079a82129110
Allow the empty variable name to retrieve the root configuration object
Franz Glasner <fzglas.hg@dom66.de>
parents:
418
diff
changeset
|
30 configuration. |
|
079a82129110
Allow the empty variable name to retrieve the root configuration object
Franz Glasner <fzglas.hg@dom66.de>
parents:
418
diff
changeset
|
31 - **[feature]** |
|
417
83d537f1dfbb
Implement sub-jails: allow to get a jailed configuration from a jail
Franz Glasner <fzglas.hg@dom66.de>
parents:
413
diff
changeset
|
32 Allow to get sub-jails from an already jailed configuration. |
|
418
bb5f11abd12a
Implement .getkeysl() and .getkeys() for configuration objects that iterate over all the keys of a configuration value
Franz Glasner <fzglas.hg@dom66.de>
parents:
417
diff
changeset
|
33 - **[feature]** |
|
bb5f11abd12a
Implement .getkeysl() and .getkeys() for configuration objects that iterate over all the keys of a configuration value
Franz Glasner <fzglas.hg@dom66.de>
parents:
417
diff
changeset
|
34 Implement :meth:`~configmix.config.Configuration.getkeysl` and |
|
bb5f11abd12a
Implement .getkeysl() and .getkeys() for configuration objects that iterate over all the keys of a configuration value
Franz Glasner <fzglas.hg@dom66.de>
parents:
417
diff
changeset
|
35 :meth:`~configmix.config.Configuration.getkeys` that return generators |
| 420 | 36 over all keys of a configuration value. |
|
418
bb5f11abd12a
Implement .getkeysl() and .getkeys() for configuration objects that iterate over all the keys of a configuration value
Franz Glasner <fzglas.hg@dom66.de>
parents:
417
diff
changeset
|
37 |
|
417
83d537f1dfbb
Implement sub-jails: allow to get a jailed configuration from a jail
Franz Glasner <fzglas.hg@dom66.de>
parents:
413
diff
changeset
|
38 |
| 413 | 39 0.17 (2021-11-22) |
| 40 ~~~~~~~~~~~~~~~~~ | |
|
412
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
41 |
|
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
42 - **[feature]** |
|
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
43 Complete the set of configuration retrieval methods for the jailed |
|
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
44 configuration. |
|
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
45 |
|
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
46 |
| 409 | 47 0.17b2 (2021-11-19) |
| 48 ~~~~~~~~~~~~~~~~~~~ | |
| 408 | 49 |
| 50 - **[feature]** All configuration objects carry a flag `is_jail` that | |
| 51 allows to determine whether a configuration is jailed | |
| 52 - **[feature]** Allow a jailed configuration to be rebound to another | |
| 53 unjailed configuration | |
| 54 - **[feature}** A public accessor property to the base configuration | |
| 55 of a jailed configuration | |
| 56 | |
| 57 | |
| 401 | 58 0.17b1 (2021-11-19) |
| 59 ~~~~~~~~~~~~~~~~~~~ | |
|
395
0b3ffc34fa5c
Begin a jailed configuration with access to a sub-tree of the original configuration
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
394
diff
changeset
|
60 |
| 401 | 61 - **[feature]** Jailed (aka "restricted" or "rooted") configurations |
| 62 with :py:meth:`~configmix.config.Configuration.jailed` | |
|
395
0b3ffc34fa5c
Begin a jailed configuration with access to a sub-tree of the original configuration
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
394
diff
changeset
|
63 |
|
0b3ffc34fa5c
Begin a jailed configuration with access to a sub-tree of the original configuration
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
394
diff
changeset
|
64 |
| 391 | 65 0.16.1 (2021-11-10) |
| 66 ~~~~~~~~~~~~~~~~~~~ | |
|
381
fe3dfd687621
Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
377
diff
changeset
|
67 |
|
fe3dfd687621
Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
377
diff
changeset
|
68 - **[feature]** New access methods |
|
fe3dfd687621
Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
377
diff
changeset
|
69 :py:meth:`~configmix.config.Configuration.getfirstvarl`, |
|
384
8c3aaa894089
Implemented Configuration.getfirstintvarl_s(), .getfirstboolvar_s() and .getfirstfloatvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
383
diff
changeset
|
70 :py:meth:`~configmix.config.Configuration.getfirstvarl_s`, |
|
8c3aaa894089
Implemented Configuration.getfirstintvarl_s(), .getfirstboolvar_s() and .getfirstfloatvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
383
diff
changeset
|
71 :py:meth:`~configmix.config.Configuration.getfirstintvarl_s` |
|
8c3aaa894089
Implemented Configuration.getfirstintvarl_s(), .getfirstboolvar_s() and .getfirstfloatvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
383
diff
changeset
|
72 :py:meth:`~configmix.config.Configuration.getfirstboolvarl_s`, |
|
8c3aaa894089
Implemented Configuration.getfirstintvarl_s(), .getfirstboolvar_s() and .getfirstfloatvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
383
diff
changeset
|
73 :py:meth:`~configmix.config.Configuration.getfirstfloatvarl_s` |
|
381
fe3dfd687621
Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
377
diff
changeset
|
74 |
|
383
5c72da46b8ae
Implemented Configuration.getfirstfloatvar_s().
Franz Glasner <fzglas.hg@dom66.de>
parents:
381
diff
changeset
|
75 - **[feature]** New access method |
|
394
e05195ee869d
FIX: markup in the changelog: missing leading colon
Franz Glasner <fzglas.hg@dom66.de>
parents:
391
diff
changeset
|
76 :py:meth:`~configmix.config.Configuration.getfirstfloatvar_s` |
|
383
5c72da46b8ae
Implemented Configuration.getfirstfloatvar_s().
Franz Glasner <fzglas.hg@dom66.de>
parents:
381
diff
changeset
|
77 |
|
381
fe3dfd687621
Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
377
diff
changeset
|
78 |
| 377 | 79 0.16 (2021-07-11) |
| 80 ~~~~~~~~~~~~~~~~~ | |
|
376
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
81 |
|
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
82 - **[feature]** New access methods |
|
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
83 :py:meth:`~configmix.config.Configuration.getfirstvar`, |
|
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
84 :py:meth:`~configmix.config.Configuration.getfirstvar_s`, |
|
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
85 :py:meth:`~configmix.config.Configuration.getfirstintvar_s` and |
|
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
86 :py:meth:`~configmix.config.Configuration.getfirstboolvar_s` |
|
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
87 |
|
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
88 |
| 365 | 89 0.15.1 (2021-07-09) |
| 90 ~~~~~~~~~~~~~~~~~~~ | |
|
364
1941f0188e81
FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents:
361
diff
changeset
|
91 |
|
1941f0188e81
FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents:
361
diff
changeset
|
92 - **[bugfix]** Handle the `default` keyword parameter in |
|
1941f0188e81
FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents:
361
diff
changeset
|
93 :py:meth:`configmix.config.Configuration.getvar` properly. |
|
1941f0188e81
FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents:
361
diff
changeset
|
94 |
|
1941f0188e81
FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents:
361
diff
changeset
|
95 |
| 361 | 96 0.15 (2021-06-25) |
| 97 ~~~~~~~~~~~~~~~~~ | |
|
347
d7daec119383
New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents:
344
diff
changeset
|
98 |
|
d7daec119383
New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents:
344
diff
changeset
|
99 - **[feature]** |
|
d7daec119383
New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents:
344
diff
changeset
|
100 New filter function :py:func:`urlquote_plus` |
|
d7daec119383
New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents:
344
diff
changeset
|
101 |
|
353
a7491f835cb0
Changelog and minimal docu for `None` and `Empty` filters
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
347
diff
changeset
|
102 - **[feature]** |
|
a7491f835cb0
Changelog and minimal docu for `None` and `Empty` filters
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
347
diff
changeset
|
103 New filter functions :py:func:`None` and :py:func:`Empty`. They are |
|
354
bd28fb4565e1
FIX: Tagging of the KeyError: :py:exception: -> :py:exc:
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
353
diff
changeset
|
104 useful in variable interpolation context where they suppress |
|
bd28fb4565e1
FIX: Tagging of the KeyError: :py:exception: -> :py:exc:
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
353
diff
changeset
|
105 possible lookup errors (aka :py:exc:`KeyError`) and instead return |
|
bd28fb4565e1
FIX: Tagging of the KeyError: :py:exception: -> :py:exc:
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
353
diff
changeset
|
106 with :py:obj:`None` or an empty string. |
|
353
a7491f835cb0
Changelog and minimal docu for `None` and `Empty` filters
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
347
diff
changeset
|
107 |
|
347
d7daec119383
New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents:
344
diff
changeset
|
108 |
| 344 | 109 0.14 (2021-05-10) |
| 110 ~~~~~~~~~~~~~~~~~ | |
|
305
f529ca46dd50
Implemented the "ref" namespace to get configuration tree references.
Franz Glasner <fzglas.hg@dom66.de>
parents:
303
diff
changeset
|
111 |
|
320
98490375d90c
Allow variable name quoting to be used in .getvar() and .getvar_s() and references
Franz Glasner <fzglas.hg@dom66.de>
parents:
319
diff
changeset
|
112 - **[breaking] [feature]** |
| 333 | 113 Allowed quoting of variable and namespace names. |
|
320
98490375d90c
Allow variable name quoting to be used in .getvar() and .getvar_s() and references
Franz Glasner <fzglas.hg@dom66.de>
parents:
319
diff
changeset
|
114 |
|
324
87424f4754d1
Docs: enhanced changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
320
diff
changeset
|
115 This is mostly important for variable names that contain ``.``, |
|
87424f4754d1
Docs: enhanced changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
320
diff
changeset
|
116 ``:`` or ``|`` but probably useful for characters like ``"` ``'`` |
|
87424f4754d1
Docs: enhanced changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
320
diff
changeset
|
117 and ``#`` also. |
|
320
98490375d90c
Allow variable name quoting to be used in .getvar() and .getvar_s() and references
Franz Glasner <fzglas.hg@dom66.de>
parents:
319
diff
changeset
|
118 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
119 - **[breaking] [misc]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
120 Moved some important public constants from :py:mod:`configmix` into |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
121 the :py:mod:`configmix.constants` module. |
|
291
edf5cc1ffd26
Provide an optional "strict" keyword flag to all YAML load functions to detect and prevent duplicate keys within a single YAML document
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
290
diff
changeset
|
122 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
123 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
124 Configuration tree references are implemented in the ``ref`` |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
125 namespace |
|
285
ac2e631d8ab9
Changelog: note AWS additions
Franz Glasner <fzglas.hg@dom66.de>
parents:
279
diff
changeset
|
126 |
| 342 | 127 - **[feature]** |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
128 Implemented new access methods |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
129 :py:meth:`configmix.config.Configuration.getvarl` and |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
130 :py:meth:`configmix.config.Configuration.getvarl_s` |
|
276
af371f9c016d
Allow deletion of key-value pairs when merging is done.
Franz Glasner <fzglas.hg@dom66.de>
parents:
270
diff
changeset
|
131 |
| 342 | 132 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
133 0.13 (2021-04-21) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
134 ~~~~~~~~~~~~~~~~~ |
|
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
|
135 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
136 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
137 All YAML load functions got a new optional keyword `strict` to |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
138 detect and prevent duplicate keys within a single YAML document. |
|
268
1484f6c0223a
Implemented "del_assoc()"
Franz Glasner <fzglas.hg@dom66.de>
parents:
266
diff
changeset
|
139 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
140 The top-level load function also understands this flag and provides |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
141 it to low-level-loaders that understand it. |
|
260
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
142 |
| 342 | 143 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
144 0.12 (2020-12-07) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
145 ~~~~~~~~~~~~~~~~~ |
|
260
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
146 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
147 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
148 Provide an ``AWS`` namespace to retrieve some AWS instance metadata. |
|
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
|
149 |
| 342 | 150 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
151 0.11 (2020-10-05) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
152 ~~~~~~~~~~~~~~~~~ |
|
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
|
153 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
154 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
155 Allow the deletion of key-value pairs while merging configurations. |
|
244
6d473abe308d
Change the order of items in CHANGES.txt
Franz Glasner <fzglas.hg@dom66.de>
parents:
243
diff
changeset
|
156 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
157 This is done by recognizing and handling the special configuration |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
158 value ``{{::DEL::}}``. |
|
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
|
159 |
|
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
|
160 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
161 0.10 (2020-09-10) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
162 ~~~~~~~~~~~~~~~~~ |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
163 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
164 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
165 Allow loading configuration files from directories when using the |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
166 "<dir>" prefix in filenames. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
167 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
168 Unknown filetypes within these directories are ignored |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
169 automatically. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
170 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
171 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
172 Implemented a function to delete an association: |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
173 :py:func:`configmix.del_assoc`. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
174 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
175 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
176 0.9 (2020-07-28) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
177 ~~~~~~~~~~~~~~~~ |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
178 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
179 - **[breaking] [feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
180 Do not set "root", "self" and "here" variables any more. The old |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
181 behaviour hindered proper automatic configuration on some PyPy |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
182 configurations when using `genapplib`. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
183 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
184 Only the INI-parser did set this variables automatically. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
185 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
186 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
187 0.8.1 (2020-07-08) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
188 ~~~~~~~~~~~~~~~~~~ |
|
238
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
189 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
190 - **[bugfix]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
191 Allow non-string keys when merging configurations. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
192 |
| 342 | 193 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
194 0.8 (2020-07-08) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
195 ~~~~~~~~~~~~~~~~ |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
196 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
197 - **[breaking] [feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
198 Do not implicitely convert a configuration value to text if the |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
199 value is the result of just a variable expansion. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
200 |
|
238
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
201 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
202 0.7.4 (2020-05-21) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
203 ~~~~~~~~~~~~~~~~~~ |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
204 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
205 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
206 Implemented new namespace function ``OS:node`` to return the node's |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
207 computername. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
208 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
209 - **[bugfix]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
210 The ``OS`` namespace lookup did not handle non-existing variables |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
211 properly and ignored the `default` parameter. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
212 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
213 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
214 0.7.3 (2020-05-13) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
215 ~~~~~~~~~~~~~~~~~~ |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
216 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
217 - No code changes. |
|
238
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
218 |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
219 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
220 0.7.2 (2019-05-13) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
221 ~~~~~~~~~~~~~~~~~~ |
|
227
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
222 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
223 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
224 Implemented a loader with key ``-*-ignore-*-`` effectively ignores |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
225 the contents of given file. No file extensions are by default |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
226 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
|
227 |
|
226
8b1c52d5e7d5
Bump version to 0.7.2.dev1 for next development steps
Franz Glasner <fzglas.hg@dom66.de>
parents:
223
diff
changeset
|
228 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
229 0.7.1 (2019-05-10) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
230 ~~~~~~~~~~~~~~~~~~ |
|
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
|
231 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
232 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
233 :py:func:`configmix.load` and :py:func:`configmix.safe_load` got a |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
234 new keyword argument `extras` that (if given) will be used as the |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
235 *last* configuration dictionary to be merged into the configuration. |
|
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
|
236 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
237 This can be used to overwrite configuration file settings from |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
238 commandline arguments. |
|
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
|
239 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
240 - **[bugfix]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
241 :py:func:`configmix.safe_load` did some preliminary unsafe merges |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
242 from `defaults` and an extra additional unneeded merge. |
|
217
b869e792310e
FIX: Extra merged and unsafe merges in configmix.safe_load
Franz Glasner <fzglas.hg@dom66.de>
parents:
216
diff
changeset
|
243 |
|
227
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
244 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
245 0.7 (2019-05-06) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
246 ~~~~~~~~~~~~~~~~ |
|
170
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
247 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
248 - **[breaking]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
249 Additional or alternative loaders can be installed by changing the |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
250 :py:data:`configmix.mode_loaders` dictionary directly. |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
251 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
252 - **[breaking]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
253 The public functions to associate filename extensions to filemodes |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
254 have been renamed to :py:func:`configmix.set_assoc`, |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
255 :py:func:`configmix.get_assoc`, :py:func:`configmix.clear_assoc`, |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
256 :py:func:`configmix.get_default_assoc`. |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
257 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
258 The filemodes must be keys in the :py:data:`configmix.mode_loaders` |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
259 dictionary. |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
260 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
261 - **[breaking] [feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
262 The associations from filename extensions to parsers are |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
263 :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
|
264 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
265 Calling :py:func:`configmix.set_assoc` by default prepends to the |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
266 currently defined associations and therefore gets the highest |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
267 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
|
268 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
269 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
270 :py:func:`configmix.load` and :py:func:`configmix.safe_load` got a |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
271 keyword argument `defaults` that allow the provision of an already |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
272 existing default configuration into which all additional |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
273 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
|
274 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
275 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
276 Added support for TOML style configuration files. This needs the |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
277 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
|
278 |
|
170
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
279 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
280 0.6 (2019-03-14) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
281 ~~~~~~~~~~~~~~~~ |
| 91 | 282 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
283 - **[breaking] [feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
284 Reimplemented :py:func:`configmix.safe_merge` to do a deepcopy of |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
285 all source configurations when merging. Previously is was sort of a |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
286 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
|
287 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
288 - **[breaking] [feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
289 The default file encoding when reading INI style files with |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
290 :py:func:`configmix.ini.load` is now "UTF-8". Previously it was |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
291 undefined and therefore dependent on the user's locale. |
|
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
|
292 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
293 An `encoding` keyword argument can be specified explicitely now. |
|
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
|
294 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
295 - **[breaking] [feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
296 Support comment-like key-value pairs with configuration keys |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
297 starting with ``__doc`` or ``__comment``. |
|
147
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
298 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
299 - **[misc]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
300 Use the filesystem encoding where appripriate. |
|
166
b5ce9a8461bf
Use the filesystem encoding explicitely where appropriate.
Franz Glasner <fzglas.hg@dom66.de>
parents:
164
diff
changeset
|
301 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
302 - **[doc]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
303 Begin the documentation with `Sphinx <http://www.sphinx-doc.org>`_ |
| 93 | 304 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
305 - **[test]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
306 Begin formal unittests |
| 91 | 307 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
308 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
309 Build a tree of configuration settings from INI files |
|
122
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
310 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
311 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
312 Support JSON formatted files as configuration files also (suffix |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
313 ".json"). |
|
122
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
314 |
| 342 | 315 - **[feature]** |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
316 Allow custom configuration filename extensions and custom loaders |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
317 that can handle custom configuration file syntax styles. |
|
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
|
318 |
|
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
|
319 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
320 0.5 (2016-04-19) |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
321 ~~~~~~~~~~~~~~~~ |
| 91 | 322 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
323 - **[feature]]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
324 First really used release. |
