Mercurial > hgrepos > Python > libs > ConfigMix
annotate CHANGES.txt @ 712:8a28ff4ea59c
Docs
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Tue, 15 Aug 2023 16:46:46 +0200 |
| parents | c076de854ac6 |
| children | 9b0dc1d57a9f |
| 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 | |
| 453 | 12 Pre-1.0 Series |
| 13 -------------- | |
| 14 | |
| 699 | 15 v0.21.4 (2023-06-14) |
| 16 ~~~~~~~~~~~~~~~~~~~~ | |
|
697
57fe110c50c8
Implement a new "SYS" namespace with "prefix", "base_prefix" and "platform"
Franz Glasner <fzglas.hg@dom66.de>
parents:
694
diff
changeset
|
17 |
|
57fe110c50c8
Implement a new "SYS" namespace with "prefix", "base_prefix" and "platform"
Franz Glasner <fzglas.hg@dom66.de>
parents:
694
diff
changeset
|
18 - **[feature]** |
|
698
3a9d661d33b5
Implement SYS:executable
Franz Glasner <fzglas.hg@dom66.de>
parents:
697
diff
changeset
|
19 Implement a new ``SYS`` variable namespace with ``executable``, |
|
3a9d661d33b5
Implement SYS:executable
Franz Glasner <fzglas.hg@dom66.de>
parents:
697
diff
changeset
|
20 ``prefix``, ``base_prefix`` and ``platform`` as current content. |
|
697
57fe110c50c8
Implement a new "SYS" namespace with "prefix", "base_prefix" and "platform"
Franz Glasner <fzglas.hg@dom66.de>
parents:
694
diff
changeset
|
21 |
|
57fe110c50c8
Implement a new "SYS" namespace with "prefix", "base_prefix" and "platform"
Franz Glasner <fzglas.hg@dom66.de>
parents:
694
diff
changeset
|
22 |
| 694 | 23 v0.21.3 (2023-06-12) |
| 24 ~~~~~~~~~~~~~~~~~~~~ | |
| 681 | 25 |
| 688 | 26 - **[bugfix]** |
| 27 Fixed some format string errors in the YAML loader. These errors were only | |
| 28 encountered in exception handlers. | |
| 29 | |
| 691 | 30 - **[misc]** |
| 693 | 31 The installer got now an extra "sasl" that requires :py:mod:`passlib`. |
| 32 This package is needed by the filter :py:func:`saslprep`. | |
| 33 | |
| 34 - **[misc]** | |
| 691 | 35 Enhance compatibility with newer Python :py:mod:`setuptools` or :py:mod:`pip`: |
| 36 Create a basic :file:`pyproject.toml`. | |
| 37 | |
| 38 - **[doc]** | |
|
689
e06c4480b7d7
FIX: Docu for references at jail roots
Franz Glasner <fzglas.hg@dom66.de>
parents:
688
diff
changeset
|
39 Document that jails now support references at their roots: they act |
|
e06c4480b7d7
FIX: Docu for references at jail roots
Franz Glasner <fzglas.hg@dom66.de>
parents:
688
diff
changeset
|
40 like a symbolic link. |
|
e06c4480b7d7
FIX: Docu for references at jail roots
Franz Glasner <fzglas.hg@dom66.de>
parents:
688
diff
changeset
|
41 |
| 681 | 42 |
| 675 | 43 0.21.2 (2023-04-12) |
| 44 ~~~~~~~~~~~~~~~~~~~ | |
| 674 | 45 |
| 46 - **[misc]** | |
| 47 Test with PyYAML 6.0. | |
| 48 | |
| 49 | |
| 669 | 50 0.21.1 (2022-06-03) |
| 51 ~~~~~~~~~~~~~~~~~~~ | |
| 649 | 52 |
| 53 - **[feature]** | |
|
656
2b1c7a68f913
Enable indexed access to lists in the configuration using an access path string representation like "~NNN~"
Franz Glasner <fzglas.hg@dom66.de>
parents:
654
diff
changeset
|
54 Enable indexed access to lists in the configuration using an access |
|
660
cb950239ec94
FIX: Docs: reST syntax in changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
656
diff
changeset
|
55 path string representation like ``~NNN~`` |
|
656
2b1c7a68f913
Enable indexed access to lists in the configuration using an access path string representation like "~NNN~"
Franz Glasner <fzglas.hg@dom66.de>
parents:
654
diff
changeset
|
56 |
|
2b1c7a68f913
Enable indexed access to lists in the configuration using an access path string representation like "~NNN~"
Franz Glasner <fzglas.hg@dom66.de>
parents:
654
diff
changeset
|
57 - **[feature]** |
|
666
0eff8441c4b9
Implement iteration support that yields properly jailed configurations for each container item
Franz Glasner <fzglas.hg@dom66.de>
parents:
661
diff
changeset
|
58 Implement methods :py:meth:`configmix.config.Configuration.iter_jailed` and |
|
0eff8441c4b9
Implement iteration support that yields properly jailed configurations for each container item
Franz Glasner <fzglas.hg@dom66.de>
parents:
661
diff
changeset
|
59 :py:meth:`configmix.config._JailedConfiguration.iter_jailed` that yield |
|
0eff8441c4b9
Implement iteration support that yields properly jailed configurations for each container item
Franz Glasner <fzglas.hg@dom66.de>
parents:
661
diff
changeset
|
60 properly jailed configurations for container items (for lists and dicts, |
|
0eff8441c4b9
Implement iteration support that yields properly jailed configurations for each container item
Franz Glasner <fzglas.hg@dom66.de>
parents:
661
diff
changeset
|
61 no sets). |
| 674 | 62 |
|
666
0eff8441c4b9
Implement iteration support that yields properly jailed configurations for each container item
Franz Glasner <fzglas.hg@dom66.de>
parents:
661
diff
changeset
|
63 - **[feature]** |
| 649 | 64 Allow to enable and disable the internal caching |
| 65 | |
|
654
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
66 - **[feature]** |
|
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
67 Add support for using :py:mod:`tomllib` (in Python's stdlib since 3.11) |
|
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
68 and :py:mod:`tomli` TOML packages. They are preferred if they are found |
|
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
69 to be installed. |
|
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
70 |
|
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
71 But note that the declared dependency for the ``toml`` extra nevertheless |
|
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
72 is the :py:mod:`toml` package. Because it is available for all supported |
|
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
73 Python versions. |
|
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
74 So use Python 3.11+ or install :py:mod:`tomli` manually if you want to |
|
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
75 use the alternate packages. |
|
0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
Franz Glasner <fzglas.hg@dom66.de>
parents:
653
diff
changeset
|
76 |
| 649 | 77 - **[bugfix]** |
| 78 For better consistency: use `.getvarl_s()` instead of `.getvarl()` | |
| 79 in the implementation of `__len__()` in jailed configurations. | |
| 80 | |
|
653
211288645f02
For better TOML compatibility open TOML files with encoding=""
Franz Glasner <fzglas.hg@dom66.de>
parents:
649
diff
changeset
|
81 - **[bugfix]** |
|
211288645f02
For better TOML compatibility open TOML files with encoding=""
Franz Glasner <fzglas.hg@dom66.de>
parents:
649
diff
changeset
|
82 For better TOML compatibility open TOML files with ``encoding=""``. |
|
211288645f02
For better TOML compatibility open TOML files with encoding=""
Franz Glasner <fzglas.hg@dom66.de>
parents:
649
diff
changeset
|
83 |
| 649 | 84 |
| 669 | 85 0.21 (2022-06-03) |
| 86 ~~~~~~~~~~~~~~~~~ | |
| 87 | |
| 88 **YANKED** because of release errors. | |
| 89 | |
| 90 | |
| 644 | 91 0.20.5 (2022-03-07) |
| 92 ~~~~~~~~~~~~~~~~~~~ | |
|
637
4499e9b4855d
The ``{{::DEL::}}`` is not subject to interpolation any more.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
633
diff
changeset
|
93 |
|
4499e9b4855d
The ``{{::DEL::}}`` is not subject to interpolation any more.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
633
diff
changeset
|
94 - **[bugfix]** |
| 643 | 95 The configuration value ``{{::DEL::}}`` is not subject to |
| 96 interpolation any more. This fixes the handling of these deletion | |
| 97 markers when merging configurations: sometimes they were tried to be | |
| 98 interpolated -- and this failed. | |
|
637
4499e9b4855d
The ``{{::DEL::}}`` is not subject to interpolation any more.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
633
diff
changeset
|
99 |
|
638
ef485419d723
FIX: Now the merge logic does not interpolate variables in any case.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
637
diff
changeset
|
100 - **[bugfix]** |
|
661
0844288d9a8b
FIX: Docs: Typo in changelog: "login" -> "logic"
Franz Glasner <fzglas.hg@dom66.de>
parents:
660
diff
changeset
|
101 The merge logic should never interpolate variables. But some parts |
|
638
ef485419d723
FIX: Now the merge logic does not interpolate variables in any case.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
637
diff
changeset
|
102 of the merge logic did this unintentionally. |
|
ef485419d723
FIX: Now the merge logic does not interpolate variables in any case.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
637
diff
changeset
|
103 |
|
637
4499e9b4855d
The ``{{::DEL::}}`` is not subject to interpolation any more.
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
633
diff
changeset
|
104 |
| 633 | 105 0.20.4 (2022-01-17) |
| 106 ~~~~~~~~~~~~~~~~~~~ | |
| 626 | 107 |
| 108 - **[bugfix]** | |
| 109 In the C extension: make sure that a default is returned as-is and not | |
| 110 as copy. | |
| 111 | |
| 632 | 112 - **[misc]** |
| 113 Bring the exception messages from the C extension more in-line with the | |
| 114 Python implementation. | |
| 115 | |
| 626 | 116 |
| 615 | 117 0.20.3 (2022-01-12) |
| 118 ~~~~~~~~~~~~~~~~~~~ | |
| 613 | 119 |
| 120 - **[feature]** | |
| 121 Add some more functions to the optional C-extension module: | |
| 122 :py:meth:`configmix.config.Configuration.getvarl_s` and | |
| 123 :py:meth:`configmix.config.Configuration.getvar`. | |
| 124 | |
| 125 - **[feature]** | |
| 126 Some internal enhancements within the C-extension module. | |
| 127 | |
| 128 | |
| 606 | 129 0.20.2 (2022-01-11) |
| 130 ~~~~~~~~~~~~~~~~~~~ | |
| 598 | 131 |
| 132 - **[bugfix]** | |
| 133 The source distribution archive file did not contain any of the | |
| 134 `__init__.py` files because of a bogus entry in :file:`MANIFEST.in`. | |
| 135 | |
| 604 | 136 - **[feature]** |
| 137 More speedsups by implementing | |
| 138 :py:meth:`~configmix.config.Configuration.getvarl` and | |
| 139 :py:meth:`~configmix.config.Configuration.getvar_s` within the | |
| 140 C-extension also. | |
| 141 | |
| 598 | 142 |
| 594 | 143 0.20.1 (2022-01-10) |
| 144 ~~~~~~~~~~~~~~~~~~~ | |
| 592 | 145 |
| 146 - **[misc]** | |
| 147 Add an optional C-extension with some speedups to often used functions | |
| 148 and methods. Also allow to cross-build this modules for Windows with | |
| 149 LLVM-11 and Ninja on POSIX systems. | |
| 150 | |
| 151 - **[misc]** | |
| 152 Some internal code refactoring. This also yields more consistency in | |
| 153 interpreting the `varname` string arguments. | |
| 154 | |
| 155 | |
| 535 | 156 0.20 (2021-12-21) |
| 157 ~~~~~~~~~~~~~~~~~ | |
| 520 | 158 |
| 159 - **[breaking]** | |
| 160 Removed some unused keyword arguments from methods -- also public ones: | |
| 161 | |
| 162 * :py:meth:`~configmix.config.Configuration.expand_ref_uri` | |
| 163 * :py:meth:`~configmix.config.Configuration.expand_if_reference` | |
| 164 * :py:meth:`~configmix.config.Configuration._lookupref` | |
| 165 | |
|
525
be6ef72c55d5
Change Configuration.expand_variable() to Configuration.interpolate_variables()
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
520
diff
changeset
|
166 - **[breaking]** |
|
be6ef72c55d5
Change Configuration.expand_variable() to Configuration.interpolate_variables()
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
520
diff
changeset
|
167 Change methodname from `expand_variable()` to |
|
be6ef72c55d5
Change Configuration.expand_variable() to Configuration.interpolate_variables()
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
520
diff
changeset
|
168 :py:meth:`configmix.config.Configuration.interpolate_variables` |
|
be6ef72c55d5
Change Configuration.expand_variable() to Configuration.interpolate_variables()
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
520
diff
changeset
|
169 |
| 520 | 170 - **[misc]** |
| 534 | 171 Improved overall performance by a factor of 0.25 to 0.3 using |
| 172 algorithmic changes. | |
| 173 | |
| 174 - **[misc]** | |
| 175 Improved performance by internal caching. | |
| 520 | 176 |
| 177 - **[bugfix]** | |
| 178 Implement :py:meth:`~configmix.config.Configuration.values` and | |
| 179 :py:meth:`~configmix.config.Configuration.items` that yield non-interpolated | |
| 180 configuration values. This is needed now because attribute access now | |
| 181 yields interpolated results. | |
| 182 | |
| 183 | |
| 472 | 184 0.19.2 (2021-12-16) |
| 185 ~~~~~~~~~~~~~~~~~~~ | |
| 470 | 186 |
| 187 - **[feature]** | |
| 188 Implement "__len__()"-support for jailed configurations. | |
| 471 | 189 Their container-like interface is now fairly complete. |
| 470 | 190 |
| 191 | |
| 464 | 192 0.19.1 (2021-12-15) |
| 193 ~~~~~~~~~~~~~~~~~~~ | |
| 462 | 194 |
| 195 - **[feature]** | |
| 196 Jailed configuration support proper evaluation in boolean context | |
| 197 - **[feature]** | |
| 198 Proper iteration support for jailed configurations | |
| 199 - **[bugfix]** | |
| 200 Fixes for proper exception formatting in many cases | |
| 201 - **[bugfix]** | |
| 202 Proper "yield" support for older Python versions | |
| 203 - **[test]** | |
| 204 Test fixes and enhancements | |
| 470 | 205 |
| 462 | 206 |
| 453 | 207 0.19.1b1 (2021-12-14) |
| 208 ~~~~~~~~~~~~~~~~~~~~~ | |
| 452 | 209 |
| 210 - **[feature]** | |
| 211 Attribute-style access also for jailed configurations | |
| 212 | |
| 213 - **[bugfix}** | |
| 214 Make exception formatting robust when there is a single parameter for | |
| 215 "%"-style formatting and the single parameter happend to be a tuple; | |
| 216 now it is wrapped into a tuple. | |
| 217 | |
| 218 | |
|
447
4505ef8a1b56
Typo in changelog: missing `)'
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
444
diff
changeset
|
219 0.19 (2021-12-10) |
|
4505ef8a1b56
Typo in changelog: missing `)'
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
444
diff
changeset
|
220 ~~~~~~~~~~~~~~~~~ |
|
437
bbc5b64e137a
- Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents:
434
diff
changeset
|
221 |
|
bbc5b64e137a
- Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents:
434
diff
changeset
|
222 - **[breaking] [feature}** |
|
bbc5b64e137a
- Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents:
434
diff
changeset
|
223 Access to a configuration key using dict-level access now does variable |
|
bbc5b64e137a
- Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents:
434
diff
changeset
|
224 interpolation |
|
bbc5b64e137a
- Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents:
434
diff
changeset
|
225 |
|
bbc5b64e137a
- Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents:
434
diff
changeset
|
226 - **[feature]** |
|
451
e47ba40974a6
Changelog: wording
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
447
diff
changeset
|
227 Simple dict-style access for jailed configuration |
|
437
bbc5b64e137a
- Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents:
434
diff
changeset
|
228 |
|
439
bd27da55483a
Optimized __contains__() implementation for jailed and unjailed configurations
Franz Glasner <fzglas.hg@dom66.de>
parents:
437
diff
changeset
|
229 - **[feature]** |
|
bd27da55483a
Optimized __contains__() implementation for jailed and unjailed configurations
Franz Glasner <fzglas.hg@dom66.de>
parents:
437
diff
changeset
|
230 Optimized "__contains__()" implementation for jailed and unjailed |
|
bd27da55483a
Optimized __contains__() implementation for jailed and unjailed configurations
Franz Glasner <fzglas.hg@dom66.de>
parents:
437
diff
changeset
|
231 configurations |
|
bd27da55483a
Optimized __contains__() implementation for jailed and unjailed configurations
Franz Glasner <fzglas.hg@dom66.de>
parents:
437
diff
changeset
|
232 |
|
437
bbc5b64e137a
- Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents:
434
diff
changeset
|
233 |
| 434 | 234 0.18.1 (2021-12-10) |
| 235 ~~~~~~~~~~~~~~~~~~~ | |
| 433 | 236 |
| 237 - **[feature]** | |
| 238 Proper "repr()" for jailed configurations | |
| 239 | |
| 240 | |
|
431
49cadb78c45a
FIX: Missing date in changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
429
diff
changeset
|
241 0.18.1b1 (2021-12-09) |
|
49cadb78c45a
FIX: Missing date in changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
429
diff
changeset
|
242 ~~~~~~~~~~~~~~~~~~~~~ |
|
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
|
243 |
|
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
|
244 - **[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
|
245 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
|
246 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
|
247 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
|
248 :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
|
249 |
|
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
|
250 |
| 421 | 251 0.18 (2021-12-02) |
| 252 ~~~~~~~~~~~~~~~~~ | |
|
417
83d537f1dfbb
Implement sub-jails: allow to get a jailed configuration from a jail
Franz Glasner <fzglas.hg@dom66.de>
parents:
413
diff
changeset
|
253 |
|
83d537f1dfbb
Implement sub-jails: allow to get a jailed configuration from a jail
Franz Glasner <fzglas.hg@dom66.de>
parents:
413
diff
changeset
|
254 - **[feature]** |
|
419
079a82129110
Allow the empty variable name to retrieve the root configuration object
Franz Glasner <fzglas.hg@dom66.de>
parents:
418
diff
changeset
|
255 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
|
256 configuration. |
|
079a82129110
Allow the empty variable name to retrieve the root configuration object
Franz Glasner <fzglas.hg@dom66.de>
parents:
418
diff
changeset
|
257 - **[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
|
258 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
|
259 - **[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
|
260 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
|
261 :meth:`~configmix.config.Configuration.getkeys` that return generators |
| 420 | 262 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
|
263 |
|
417
83d537f1dfbb
Implement sub-jails: allow to get a jailed configuration from a jail
Franz Glasner <fzglas.hg@dom66.de>
parents:
413
diff
changeset
|
264 |
| 413 | 265 0.17 (2021-11-22) |
| 266 ~~~~~~~~~~~~~~~~~ | |
|
412
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
267 |
|
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
268 - **[feature]** |
|
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
269 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
|
270 configuration. |
|
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
271 |
|
816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents:
409
diff
changeset
|
272 |
| 409 | 273 0.17b2 (2021-11-19) |
| 274 ~~~~~~~~~~~~~~~~~~~ | |
| 408 | 275 |
| 276 - **[feature]** All configuration objects carry a flag `is_jail` that | |
| 277 allows to determine whether a configuration is jailed | |
| 278 - **[feature]** Allow a jailed configuration to be rebound to another | |
| 279 unjailed configuration | |
| 280 - **[feature}** A public accessor property to the base configuration | |
| 281 of a jailed configuration | |
| 282 | |
| 283 | |
| 401 | 284 0.17b1 (2021-11-19) |
| 285 ~~~~~~~~~~~~~~~~~~~ | |
|
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
|
286 |
| 401 | 287 - **[feature]** Jailed (aka "restricted" or "rooted") configurations |
| 288 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
|
289 |
|
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
|
290 |
| 391 | 291 0.16.1 (2021-11-10) |
| 292 ~~~~~~~~~~~~~~~~~~~ | |
|
381
fe3dfd687621
Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
377
diff
changeset
|
293 |
|
fe3dfd687621
Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
377
diff
changeset
|
294 - **[feature]** New access methods |
|
fe3dfd687621
Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
377
diff
changeset
|
295 :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
|
296 :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
|
297 :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
|
298 :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
|
299 :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
|
300 |
|
383
5c72da46b8ae
Implemented Configuration.getfirstfloatvar_s().
Franz Glasner <fzglas.hg@dom66.de>
parents:
381
diff
changeset
|
301 - **[feature]** New access method |
|
394
e05195ee869d
FIX: markup in the changelog: missing leading colon
Franz Glasner <fzglas.hg@dom66.de>
parents:
391
diff
changeset
|
302 :py:meth:`~configmix.config.Configuration.getfirstfloatvar_s` |
|
383
5c72da46b8ae
Implemented Configuration.getfirstfloatvar_s().
Franz Glasner <fzglas.hg@dom66.de>
parents:
381
diff
changeset
|
303 |
|
381
fe3dfd687621
Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents:
377
diff
changeset
|
304 |
| 377 | 305 0.16 (2021-07-11) |
| 306 ~~~~~~~~~~~~~~~~~ | |
|
376
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
307 |
|
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
308 - **[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
|
309 :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
|
310 :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
|
311 :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
|
312 :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
|
313 |
|
c2e427d49209
Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
365
diff
changeset
|
314 |
| 365 | 315 0.15.1 (2021-07-09) |
| 316 ~~~~~~~~~~~~~~~~~~~ | |
|
364
1941f0188e81
FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents:
361
diff
changeset
|
317 |
|
1941f0188e81
FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents:
361
diff
changeset
|
318 - **[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
|
319 :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
|
320 |
|
1941f0188e81
FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents:
361
diff
changeset
|
321 |
| 361 | 322 0.15 (2021-06-25) |
| 323 ~~~~~~~~~~~~~~~~~ | |
|
347
d7daec119383
New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents:
344
diff
changeset
|
324 |
|
d7daec119383
New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents:
344
diff
changeset
|
325 - **[feature]** |
|
d7daec119383
New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents:
344
diff
changeset
|
326 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
|
327 |
|
353
a7491f835cb0
Changelog and minimal docu for `None` and `Empty` filters
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
347
diff
changeset
|
328 - **[feature]** |
|
a7491f835cb0
Changelog and minimal docu for `None` and `Empty` filters
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
347
diff
changeset
|
329 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
|
330 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
|
331 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
|
332 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
|
333 |
|
347
d7daec119383
New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents:
344
diff
changeset
|
334 |
| 344 | 335 0.14 (2021-05-10) |
| 336 ~~~~~~~~~~~~~~~~~ | |
|
305
f529ca46dd50
Implemented the "ref" namespace to get configuration tree references.
Franz Glasner <fzglas.hg@dom66.de>
parents:
303
diff
changeset
|
337 |
|
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
|
338 - **[breaking] [feature]** |
| 333 | 339 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
|
340 |
|
324
87424f4754d1
Docs: enhanced changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
320
diff
changeset
|
341 This is mostly important for variable names that contain ``.``, |
|
87424f4754d1
Docs: enhanced changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
320
diff
changeset
|
342 ``:`` or ``|`` but probably useful for characters like ``"` ``'`` |
|
87424f4754d1
Docs: enhanced changelog
Franz Glasner <fzglas.hg@dom66.de>
parents:
320
diff
changeset
|
343 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
|
344 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
345 - **[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
|
346 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
|
347 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
|
348 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
349 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
350 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
|
351 namespace |
|
285
ac2e631d8ab9
Changelog: note AWS additions
Franz Glasner <fzglas.hg@dom66.de>
parents:
279
diff
changeset
|
352 |
| 342 | 353 - **[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
|
354 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
|
355 :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
|
356 :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
|
357 |
| 342 | 358 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
359 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
|
360 ~~~~~~~~~~~~~~~~~ |
|
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
|
361 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
362 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
363 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
|
364 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
|
365 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
366 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
|
367 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
|
368 |
| 342 | 369 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
370 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
|
371 ~~~~~~~~~~~~~~~~~ |
|
260
2cfd670281ae
Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents:
257
diff
changeset
|
372 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
373 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
374 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
|
375 |
| 342 | 376 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
377 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
|
378 ~~~~~~~~~~~~~~~~~ |
|
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
|
379 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
380 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
381 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
|
382 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
383 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
|
384 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
|
385 |
|
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
|
386 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
387 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
|
388 ~~~~~~~~~~~~~~~~~ |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
389 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
390 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
391 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
|
392 "<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
|
393 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
394 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
|
395 automatically. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
396 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
397 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
398 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
|
399 :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
|
400 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
401 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
402 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
|
403 ~~~~~~~~~~~~~~~~ |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
404 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
405 - **[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
|
406 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
|
407 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
|
408 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
|
409 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
410 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
|
411 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
412 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
413 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
|
414 ~~~~~~~~~~~~~~~~~~ |
|
238
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
415 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
416 - **[bugfix]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
417 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
|
418 |
| 342 | 419 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
420 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
|
421 ~~~~~~~~~~~~~~~~ |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
422 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
423 - **[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
|
424 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
|
425 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
|
426 |
|
238
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
427 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
428 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
|
429 ~~~~~~~~~~~~~~~~~~ |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
430 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
431 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
432 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
|
433 computername. |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
434 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
435 - **[bugfix]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
436 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
|
437 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
|
438 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
439 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
440 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
|
441 ~~~~~~~~~~~~~~~~~~ |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
442 |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
443 - No code changes. |
|
238
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
444 |
|
be04384727c8
Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
234
diff
changeset
|
445 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
446 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
|
447 ~~~~~~~~~~~~~~~~~~ |
|
227
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
448 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
449 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
450 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
|
451 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
|
452 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
|
453 |
|
226
8b1c52d5e7d5
Bump version to 0.7.2.dev1 for next development steps
Franz Glasner <fzglas.hg@dom66.de>
parents:
223
diff
changeset
|
454 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
455 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
|
456 ~~~~~~~~~~~~~~~~~~ |
|
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
|
457 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
458 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
459 :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
|
460 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
|
461 *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
|
462 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
463 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
|
464 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
|
465 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
466 - **[bugfix]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
467 :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
|
468 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
|
469 |
|
227
f5011eec3b6e
Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents:
226
diff
changeset
|
470 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
471 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
|
472 ~~~~~~~~~~~~~~~~ |
|
170
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
473 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
474 - **[breaking]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
475 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
|
476 :py:data:`configmix.mode_loaders` dictionary directly. |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
477 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
478 - **[breaking]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
479 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
|
480 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
|
481 :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
|
482 :py:func:`configmix.get_default_assoc`. |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
483 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
484 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
|
485 dictionary. |
|
192
46c7d872db83
Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents:
182
diff
changeset
|
486 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
487 - **[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
|
488 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
|
489 :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
|
490 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
491 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
|
492 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
|
493 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
|
494 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
495 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
496 :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
|
497 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
|
498 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
|
499 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
|
500 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
501 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
502 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
|
503 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
|
504 |
|
170
c247a5dc35ed
Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
167
diff
changeset
|
505 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
506 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
|
507 ~~~~~~~~~~~~~~~~ |
| 91 | 508 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
509 - **[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
|
510 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
|
511 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
|
512 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
|
513 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
514 - **[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
|
515 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
|
516 :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
|
517 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
|
518 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
519 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
|
520 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
521 - **[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
|
522 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
|
523 starting with ``__doc`` or ``__comment``. |
|
147
8b7333caba25
Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents:
139
diff
changeset
|
524 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
525 - **[misc]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
526 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
|
527 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
528 - **[doc]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
529 Begin the documentation with `Sphinx <http://www.sphinx-doc.org>`_ |
| 93 | 530 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
531 - **[test]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
532 Begin formal unittests |
| 91 | 533 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
534 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
535 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
|
536 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
537 - **[feature]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
538 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
|
539 ".json"). |
|
122
21d92ff8cf31
Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents:
120
diff
changeset
|
540 |
| 342 | 541 - **[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
|
542 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
|
543 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
|
544 |
|
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
|
545 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
546 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
|
547 ~~~~~~~~~~~~~~~~ |
| 91 | 548 |
|
319
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
549 - **[feature]]** |
|
5427ca342c1e
Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents:
314
diff
changeset
|
550 First really used release. |
