annotate CHANGES.txt @ 756:cabd1046d95f

Extract new config methods extract_new_config
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 04 Dec 2023 09:20:30 +0100
parents c431160e3c48
children 5178794bb208
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
2
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
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
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
6
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
7 .. _changelog:
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
8
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
9 Changelog
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
10 =========
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
11
453
60ac94b64138 +++++ v0.19.1b1
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 452
diff changeset
12 Pre-1.0 Series
60ac94b64138 +++++ v0.19.1b1
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 452
diff changeset
13 --------------
60ac94b64138 +++++ v0.19.1b1
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 452
diff changeset
14
754
c431160e3c48 FIX: Make tests workinng on Windows again
Franz Glasner <fzglas.hg@dom66.de>
parents: 751
diff changeset
15 n/a (n/a)
c431160e3c48 FIX: Make tests workinng on Windows again
Franz Glasner <fzglas.hg@dom66.de>
parents: 751
diff changeset
16 ~~~~~~~~~
c431160e3c48 FIX: Make tests workinng on Windows again
Franz Glasner <fzglas.hg@dom66.de>
parents: 751
diff changeset
17
756
cabd1046d95f Extract new config methods extract_new_config
Franz Glasner <fzglas.hg@dom66.de>
parents: 754
diff changeset
18 - **[feature]**
cabd1046d95f Extract new config methods extract_new_config
Franz Glasner <fzglas.hg@dom66.de>
parents: 754
diff changeset
19
cabd1046d95f Extract new config methods extract_new_config
Franz Glasner <fzglas.hg@dom66.de>
parents: 754
diff changeset
20 Implement new method
cabd1046d95f Extract new config methods extract_new_config
Franz Glasner <fzglas.hg@dom66.de>
parents: 754
diff changeset
21 :py:meth:`~configmix.config.Configuration.extract_new_config`.
cabd1046d95f Extract new config methods extract_new_config
Franz Glasner <fzglas.hg@dom66.de>
parents: 754
diff changeset
22
754
c431160e3c48 FIX: Make tests workinng on Windows again
Franz Glasner <fzglas.hg@dom66.de>
parents: 751
diff changeset
23 - **[test]**
c431160e3c48 FIX: Make tests workinng on Windows again
Franz Glasner <fzglas.hg@dom66.de>
parents: 751
diff changeset
24 Test fixes for the tests on Windows
c431160e3c48 FIX: Make tests workinng on Windows again
Franz Glasner <fzglas.hg@dom66.de>
parents: 751
diff changeset
25
c431160e3c48 FIX: Make tests workinng on Windows again
Franz Glasner <fzglas.hg@dom66.de>
parents: 751
diff changeset
26
751
8238e3c22f89 +++++ v0.23.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 750
diff changeset
27 v0.23.1 (2023-10-31)
8238e3c22f89 +++++ v0.23.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 750
diff changeset
28 ~~~~~~~~~~~~~~~~~~~~
750
4da49cc5e62b Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 744
diff changeset
29
4da49cc5e62b Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 744
diff changeset
30 - **[bugfix,misc]**
4da49cc5e62b Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 744
diff changeset
31 Implement real proper conformance to :pep:`491`:
4da49cc5e62b Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 744
diff changeset
32 Even is ``Root-Is-Purelib: false`` the wheel package data subdir
4da49cc5e62b Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 744
diff changeset
33 ``platlib`` dictated installation into ``platlib`` previously.
4da49cc5e62b Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 744
diff changeset
34
4da49cc5e62b Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 744
diff changeset
35
744
e4fad9cdd906 +++++ v0.23
Franz Glasner <fzglas.hg@dom66.de>
parents: 743
diff changeset
36 v0.23 (2023-10-30)
e4fad9cdd906 +++++ v0.23
Franz Glasner <fzglas.hg@dom66.de>
parents: 743
diff changeset
37 ~~~~~~~~~~~~~~~~~~
735
b01d76710ddb Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 728
diff changeset
38
b01d76710ddb Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 728
diff changeset
39 - **[feature]**
741
e069797f0e36 Implemented the new merge stragegies when merging lists: "extend" and "prepend"
Franz Glasner <fzglas.hg@dom66.de>
parents: 735
diff changeset
40 Allow new merge strategies for lists: extend or prepend instead of
e069797f0e36 Implemented the new merge stragegies when merging lists: "extend" and "prepend"
Franz Glasner <fzglas.hg@dom66.de>
parents: 735
diff changeset
41 replace. This is implemented with a new optional parameter
e069797f0e36 Implemented the new merge stragegies when merging lists: "extend" and "prepend"
Franz Glasner <fzglas.hg@dom66.de>
parents: 735
diff changeset
42 ``merge_lists`` for :py:func:`configmix.load` or
e069797f0e36 Implemented the new merge stragegies when merging lists: "extend" and "prepend"
Franz Glasner <fzglas.hg@dom66.de>
parents: 735
diff changeset
43 :py:func:`configmix.merge`.
735
b01d76710ddb Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 728
diff changeset
44
b01d76710ddb Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 728
diff changeset
45 - **[bugfix]**
b01d76710ddb Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 728
diff changeset
46 Allow again the installation of the pure-Python version for Python < 3.7.
b01d76710ddb Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 728
diff changeset
47
743
b26a1afe0558 Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 741
diff changeset
48 - **[test]**
b26a1afe0558 Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 741
diff changeset
49 Test fixes and enhancements
b26a1afe0558 Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 741
diff changeset
50
735
b01d76710ddb Changes
Franz Glasner <fzglas.hg@dom66.de>
parents: 728
diff changeset
51
728
450223a8cff2 +++++ v0.22
Franz Glasner <fzglas.hg@dom66.de>
parents: 726
diff changeset
52 v0.22 (2023-08-17)
450223a8cff2 +++++ v0.22
Franz Glasner <fzglas.hg@dom66.de>
parents: 726
diff changeset
53 ~~~~~~~~~~~~~~~~~~
726
9b0dc1d57a9f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 699
diff changeset
54
9b0dc1d57a9f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 699
diff changeset
55 - **[feature]**
9b0dc1d57a9f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 699
diff changeset
56 Nested interpolation for filters.
9b0dc1d57a9f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 699
diff changeset
57
9b0dc1d57a9f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 699
diff changeset
58 - **[feature]**
9b0dc1d57a9f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 699
diff changeset
59 Chaining filters can be done (and is indeed now the preferred way) with
9b0dc1d57a9f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 699
diff changeset
60 commas (``,``) in addition to the pipe symbol (``|``).
9b0dc1d57a9f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 699
diff changeset
61
9b0dc1d57a9f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 699
diff changeset
62
699
c076de854ac6 +++++ v0.21.4
Franz Glasner <fzglas.hg@dom66.de>
parents: 698
diff changeset
63 v0.21.4 (2023-06-14)
c076de854ac6 +++++ v0.21.4
Franz Glasner <fzglas.hg@dom66.de>
parents: 698
diff changeset
64 ~~~~~~~~~~~~~~~~~~~~
697
57fe110c50c8 Implement a new "SYS" namespace with "prefix", "base_prefix" and "platform"
Franz Glasner <fzglas.hg@dom66.de>
parents: 694
diff changeset
65
57fe110c50c8 Implement a new "SYS" namespace with "prefix", "base_prefix" and "platform"
Franz Glasner <fzglas.hg@dom66.de>
parents: 694
diff changeset
66 - **[feature]**
698
3a9d661d33b5 Implement SYS:executable
Franz Glasner <fzglas.hg@dom66.de>
parents: 697
diff changeset
67 Implement a new ``SYS`` variable namespace with ``executable``,
3a9d661d33b5 Implement SYS:executable
Franz Glasner <fzglas.hg@dom66.de>
parents: 697
diff changeset
68 ``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
69
57fe110c50c8 Implement a new "SYS" namespace with "prefix", "base_prefix" and "platform"
Franz Glasner <fzglas.hg@dom66.de>
parents: 694
diff changeset
70
694
cce494edd752 +++++ v0.21.3
Franz Glasner <fzglas.hg@dom66.de>
parents: 693
diff changeset
71 v0.21.3 (2023-06-12)
cce494edd752 +++++ v0.21.3
Franz Glasner <fzglas.hg@dom66.de>
parents: 693
diff changeset
72 ~~~~~~~~~~~~~~~~~~~~
681
6a55cbc836f1 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 675
diff changeset
73
688
127d38c3b309 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 682
diff changeset
74 - **[bugfix]**
127d38c3b309 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 682
diff changeset
75 Fixed some format string errors in the YAML loader. These errors were only
127d38c3b309 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 682
diff changeset
76 encountered in exception handlers.
127d38c3b309 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 682
diff changeset
77
691
4643f801379e Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 689
diff changeset
78 - **[misc]**
693
2848e0212a3d Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 691
diff changeset
79 The installer got now an extra "sasl" that requires :py:mod:`passlib`.
2848e0212a3d Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 691
diff changeset
80 This package is needed by the filter :py:func:`saslprep`.
2848e0212a3d Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 691
diff changeset
81
2848e0212a3d Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 691
diff changeset
82 - **[misc]**
691
4643f801379e Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 689
diff changeset
83 Enhance compatibility with newer Python :py:mod:`setuptools` or :py:mod:`pip`:
4643f801379e Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 689
diff changeset
84 Create a basic :file:`pyproject.toml`.
4643f801379e Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 689
diff changeset
85
4643f801379e Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 689
diff changeset
86 - **[doc]**
689
e06c4480b7d7 FIX: Docu for references at jail roots
Franz Glasner <fzglas.hg@dom66.de>
parents: 688
diff changeset
87 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
88 like a symbolic link.
e06c4480b7d7 FIX: Docu for references at jail roots
Franz Glasner <fzglas.hg@dom66.de>
parents: 688
diff changeset
89
681
6a55cbc836f1 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 675
diff changeset
90
675
2ca35f4b03a5 +++++ v0.21.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 674
diff changeset
91 0.21.2 (2023-04-12)
2ca35f4b03a5 +++++ v0.21.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 674
diff changeset
92 ~~~~~~~~~~~~~~~~~~~
674
006513997cef Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 669
diff changeset
93
006513997cef Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 669
diff changeset
94 - **[misc]**
006513997cef Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 669
diff changeset
95 Test with PyYAML 6.0.
006513997cef Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 669
diff changeset
96
006513997cef Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 669
diff changeset
97
669
02a21e689fc1 +++++ v0.21.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 666
diff changeset
98 0.21.1 (2022-06-03)
02a21e689fc1 +++++ v0.21.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 666
diff changeset
99 ~~~~~~~~~~~~~~~~~~~
649
ca8bba673200 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 644
diff changeset
100
ca8bba673200 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 644
diff changeset
101 - **[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
102 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
103 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
104
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
105 - **[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
106 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
107 :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
108 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
109 no sets).
674
006513997cef Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 669
diff changeset
110
666
0eff8441c4b9 Implement iteration support that yields properly jailed configurations for each container item
Franz Glasner <fzglas.hg@dom66.de>
parents: 661
diff changeset
111 - **[feature]**
649
ca8bba673200 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 644
diff changeset
112 Allow to enable and disable the internal caching
ca8bba673200 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 644
diff changeset
113
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
114 - **[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
115 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
116 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
117 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
118
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
119 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
120 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
121 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
122 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
123 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
124
649
ca8bba673200 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 644
diff changeset
125 - **[bugfix]**
ca8bba673200 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 644
diff changeset
126 For better consistency: use `.getvarl_s()` instead of `.getvarl()`
ca8bba673200 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 644
diff changeset
127 in the implementation of `__len__()` in jailed configurations.
ca8bba673200 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 644
diff changeset
128
653
211288645f02 For better TOML compatibility open TOML files with encoding=""
Franz Glasner <fzglas.hg@dom66.de>
parents: 649
diff changeset
129 - **[bugfix]**
211288645f02 For better TOML compatibility open TOML files with encoding=""
Franz Glasner <fzglas.hg@dom66.de>
parents: 649
diff changeset
130 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
131
649
ca8bba673200 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 644
diff changeset
132
669
02a21e689fc1 +++++ v0.21.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 666
diff changeset
133 0.21 (2022-06-03)
02a21e689fc1 +++++ v0.21.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 666
diff changeset
134 ~~~~~~~~~~~~~~~~~
02a21e689fc1 +++++ v0.21.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 666
diff changeset
135
02a21e689fc1 +++++ v0.21.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 666
diff changeset
136 **YANKED** because of release errors.
02a21e689fc1 +++++ v0.21.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 666
diff changeset
137
02a21e689fc1 +++++ v0.21.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 666
diff changeset
138
644
e73cf5593010 +++++ v0.20.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 643
diff changeset
139 0.20.5 (2022-03-07)
e73cf5593010 +++++ v0.20.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 643
diff changeset
140 ~~~~~~~~~~~~~~~~~~~
637
4499e9b4855d The ``{{::DEL::}}`` is not subject to interpolation any more.
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 633
diff changeset
141
4499e9b4855d The ``{{::DEL::}}`` is not subject to interpolation any more.
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 633
diff changeset
142 - **[bugfix]**
643
078ffa821af4 Wording in changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 638
diff changeset
143 The configuration value ``{{::DEL::}}`` is not subject to
078ffa821af4 Wording in changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 638
diff changeset
144 interpolation any more. This fixes the handling of these deletion
078ffa821af4 Wording in changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 638
diff changeset
145 markers when merging configurations: sometimes they were tried to be
078ffa821af4 Wording in changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 638
diff changeset
146 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
147
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
148 - **[bugfix]**
661
0844288d9a8b FIX: Docs: Typo in changelog: "login" -> "logic"
Franz Glasner <fzglas.hg@dom66.de>
parents: 660
diff changeset
149 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
150 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
151
637
4499e9b4855d The ``{{::DEL::}}`` is not subject to interpolation any more.
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 633
diff changeset
152
633
9ab72688278b +++++ v0.20.4
Franz Glasner <fzglas.hg@dom66.de>
parents: 632
diff changeset
153 0.20.4 (2022-01-17)
9ab72688278b +++++ v0.20.4
Franz Glasner <fzglas.hg@dom66.de>
parents: 632
diff changeset
154 ~~~~~~~~~~~~~~~~~~~
626
b54f2932415f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 615
diff changeset
155
b54f2932415f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 615
diff changeset
156 - **[bugfix]**
b54f2932415f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 615
diff changeset
157 In the C extension: make sure that a default is returned as-is and not
b54f2932415f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 615
diff changeset
158 as copy.
b54f2932415f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 615
diff changeset
159
632
1fa686cc72e8 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 626
diff changeset
160 - **[misc]**
1fa686cc72e8 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 626
diff changeset
161 Bring the exception messages from the C extension more in-line with the
1fa686cc72e8 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 626
diff changeset
162 Python implementation.
1fa686cc72e8 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 626
diff changeset
163
626
b54f2932415f Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 615
diff changeset
164
615
d51f57cfc197 +++++ v0.20.3
Franz Glasner <fzglas.hg@dom66.de>
parents: 613
diff changeset
165 0.20.3 (2022-01-12)
d51f57cfc197 +++++ v0.20.3
Franz Glasner <fzglas.hg@dom66.de>
parents: 613
diff changeset
166 ~~~~~~~~~~~~~~~~~~~
613
d9e0c93b2838 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 606
diff changeset
167
d9e0c93b2838 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 606
diff changeset
168 - **[feature]**
d9e0c93b2838 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 606
diff changeset
169 Add some more functions to the optional C-extension module:
d9e0c93b2838 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 606
diff changeset
170 :py:meth:`configmix.config.Configuration.getvarl_s` and
d9e0c93b2838 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 606
diff changeset
171 :py:meth:`configmix.config.Configuration.getvar`.
d9e0c93b2838 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 606
diff changeset
172
d9e0c93b2838 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 606
diff changeset
173 - **[feature]**
d9e0c93b2838 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 606
diff changeset
174 Some internal enhancements within the C-extension module.
d9e0c93b2838 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 606
diff changeset
175
d9e0c93b2838 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 606
diff changeset
176
606
0db860d649d1 +++++ v0.20.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 604
diff changeset
177 0.20.2 (2022-01-11)
0db860d649d1 +++++ v0.20.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 604
diff changeset
178 ~~~~~~~~~~~~~~~~~~~
598
a150aa60d983 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 594
diff changeset
179
a150aa60d983 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 594
diff changeset
180 - **[bugfix]**
a150aa60d983 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 594
diff changeset
181 The source distribution archive file did not contain any of the
a150aa60d983 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 594
diff changeset
182 `__init__.py` files because of a bogus entry in :file:`MANIFEST.in`.
a150aa60d983 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 594
diff changeset
183
604
be25b1ae693d Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 598
diff changeset
184 - **[feature]**
be25b1ae693d Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 598
diff changeset
185 More speedsups by implementing
be25b1ae693d Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 598
diff changeset
186 :py:meth:`~configmix.config.Configuration.getvarl` and
be25b1ae693d Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 598
diff changeset
187 :py:meth:`~configmix.config.Configuration.getvar_s` within the
be25b1ae693d Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 598
diff changeset
188 C-extension also.
be25b1ae693d Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 598
diff changeset
189
598
a150aa60d983 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 594
diff changeset
190
594
238e94aacef6 +++++ v0.20.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 592
diff changeset
191 0.20.1 (2022-01-10)
238e94aacef6 +++++ v0.20.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 592
diff changeset
192 ~~~~~~~~~~~~~~~~~~~
592
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
193
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
194 - **[misc]**
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
195 Add an optional C-extension with some speedups to often used functions
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
196 and methods. Also allow to cross-build this modules for Windows with
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
197 LLVM-11 and Ninja on POSIX systems.
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
198
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
199 - **[misc]**
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
200 Some internal code refactoring. This also yields more consistency in
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
201 interpreting the `varname` string arguments.
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
202
eae394e86e22 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 535
diff changeset
203
535
16f077229ec2 +++++ v0.20
Franz Glasner <fzglas.hg@dom66.de>
parents: 534
diff changeset
204 0.20 (2021-12-21)
16f077229ec2 +++++ v0.20
Franz Glasner <fzglas.hg@dom66.de>
parents: 534
diff changeset
205 ~~~~~~~~~~~~~~~~~
520
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
206
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
207 - **[breaking]**
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
208 Removed some unused keyword arguments from methods -- also public ones:
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
209
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
210 * :py:meth:`~configmix.config.Configuration.expand_ref_uri`
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
211 * :py:meth:`~configmix.config.Configuration.expand_if_reference`
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
212 * :py:meth:`~configmix.config.Configuration._lookupref`
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
213
525
be6ef72c55d5 Change Configuration.expand_variable() to Configuration.interpolate_variables()
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 520
diff changeset
214 - **[breaking]**
be6ef72c55d5 Change Configuration.expand_variable() to Configuration.interpolate_variables()
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 520
diff changeset
215 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
216 :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
217
520
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
218 - **[misc]**
534
07199a532bf8 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 525
diff changeset
219 Improved overall performance by a factor of 0.25 to 0.3 using
07199a532bf8 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 525
diff changeset
220 algorithmic changes.
07199a532bf8 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 525
diff changeset
221
07199a532bf8 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 525
diff changeset
222 - **[misc]**
07199a532bf8 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 525
diff changeset
223 Improved performance by internal caching.
520
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
224
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
225 - **[bugfix]**
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
226 Implement :py:meth:`~configmix.config.Configuration.values` and
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
227 :py:meth:`~configmix.config.Configuration.items` that yield non-interpolated
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
228 configuration values. This is needed now because attribute access now
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
229 yields interpolated results.
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
230
45ad19fe1e5b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 472
diff changeset
231
472
89bbb66aff02 +++++ v0.19.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 471
diff changeset
232 0.19.2 (2021-12-16)
89bbb66aff02 +++++ v0.19.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 471
diff changeset
233 ~~~~~~~~~~~~~~~~~~~
470
b09b18b146e1 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 464
diff changeset
234
b09b18b146e1 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 464
diff changeset
235 - **[feature]**
b09b18b146e1 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 464
diff changeset
236 Implement "__len__()"-support for jailed configurations.
471
38e4f91d0c70 Changelog: wording
Franz Glasner <fzglas.hg@dom66.de>
parents: 470
diff changeset
237 Their container-like interface is now fairly complete.
470
b09b18b146e1 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 464
diff changeset
238
b09b18b146e1 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 464
diff changeset
239
464
b6f2450c782c +++++ v0.19.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 462
diff changeset
240 0.19.1 (2021-12-15)
b6f2450c782c +++++ v0.19.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 462
diff changeset
241 ~~~~~~~~~~~~~~~~~~~
462
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
242
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
243 - **[feature]**
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
244 Jailed configuration support proper evaluation in boolean context
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
245 - **[feature]**
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
246 Proper iteration support for jailed configurations
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
247 - **[bugfix]**
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
248 Fixes for proper exception formatting in many cases
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
249 - **[bugfix]**
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
250 Proper "yield" support for older Python versions
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
251 - **[test]**
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
252 Test fixes and enhancements
470
b09b18b146e1 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 464
diff changeset
253
462
0a09a6acc824 Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 453
diff changeset
254
453
60ac94b64138 +++++ v0.19.1b1
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 452
diff changeset
255 0.19.1b1 (2021-12-14)
60ac94b64138 +++++ v0.19.1b1
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 452
diff changeset
256 ~~~~~~~~~~~~~~~~~~~~~
452
c785fcb8f31c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 451
diff changeset
257
c785fcb8f31c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 451
diff changeset
258 - **[feature]**
c785fcb8f31c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 451
diff changeset
259 Attribute-style access also for jailed configurations
c785fcb8f31c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 451
diff changeset
260
c785fcb8f31c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 451
diff changeset
261 - **[bugfix}**
c785fcb8f31c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 451
diff changeset
262 Make exception formatting robust when there is a single parameter for
c785fcb8f31c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 451
diff changeset
263 "%"-style formatting and the single parameter happend to be a tuple;
c785fcb8f31c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 451
diff changeset
264 now it is wrapped into a tuple.
c785fcb8f31c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 451
diff changeset
265
c785fcb8f31c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 451
diff changeset
266
447
4505ef8a1b56 Typo in changelog: missing `)'
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 444
diff changeset
267 0.19 (2021-12-10)
4505ef8a1b56 Typo in changelog: missing `)'
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 444
diff changeset
268 ~~~~~~~~~~~~~~~~~
437
bbc5b64e137a - Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents: 434
diff changeset
269
bbc5b64e137a - Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents: 434
diff changeset
270 - **[breaking] [feature}**
bbc5b64e137a - Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents: 434
diff changeset
271 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
272 interpolation
bbc5b64e137a - Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents: 434
diff changeset
273
bbc5b64e137a - Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents: 434
diff changeset
274 - **[feature]**
451
e47ba40974a6 Changelog: wording
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 447
diff changeset
275 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
276
439
bd27da55483a Optimized __contains__() implementation for jailed and unjailed configurations
Franz Glasner <fzglas.hg@dom66.de>
parents: 437
diff changeset
277 - **[feature]**
bd27da55483a Optimized __contains__() implementation for jailed and unjailed configurations
Franz Glasner <fzglas.hg@dom66.de>
parents: 437
diff changeset
278 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
279 configurations
bd27da55483a Optimized __contains__() implementation for jailed and unjailed configurations
Franz Glasner <fzglas.hg@dom66.de>
parents: 437
diff changeset
280
437
bbc5b64e137a - Dict-level access to a configuration key now does variable interpolation.
Franz Glasner <fzglas.hg@dom66.de>
parents: 434
diff changeset
281
434
fa08713a4992 +++++ v0.18.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 433
diff changeset
282 0.18.1 (2021-12-10)
fa08713a4992 +++++ v0.18.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 433
diff changeset
283 ~~~~~~~~~~~~~~~~~~~
433
8408662b5b1b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 431
diff changeset
284
8408662b5b1b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 431
diff changeset
285 - **[feature]**
8408662b5b1b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 431
diff changeset
286 Proper "repr()" for jailed configurations
8408662b5b1b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 431
diff changeset
287
8408662b5b1b Changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 431
diff changeset
288
431
49cadb78c45a FIX: Missing date in changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 429
diff changeset
289 0.18.1b1 (2021-12-09)
49cadb78c45a FIX: Missing date in changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 429
diff changeset
290 ~~~~~~~~~~~~~~~~~~~~~
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
291
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
292 - **[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
293 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
294 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
295 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
296 :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
297
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
298
421
7193d900978b +++++ v0.18
Franz Glasner <fzglas.hg@dom66.de>
parents: 420
diff changeset
299 0.18 (2021-12-02)
7193d900978b +++++ v0.18
Franz Glasner <fzglas.hg@dom66.de>
parents: 420
diff changeset
300 ~~~~~~~~~~~~~~~~~
417
83d537f1dfbb Implement sub-jails: allow to get a jailed configuration from a jail
Franz Glasner <fzglas.hg@dom66.de>
parents: 413
diff changeset
301
83d537f1dfbb Implement sub-jails: allow to get a jailed configuration from a jail
Franz Glasner <fzglas.hg@dom66.de>
parents: 413
diff changeset
302 - **[feature]**
419
079a82129110 Allow the empty variable name to retrieve the root configuration object
Franz Glasner <fzglas.hg@dom66.de>
parents: 418
diff changeset
303 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
304 configuration.
079a82129110 Allow the empty variable name to retrieve the root configuration object
Franz Glasner <fzglas.hg@dom66.de>
parents: 418
diff changeset
305 - **[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
306 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
307 - **[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
308 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
309 :meth:`~configmix.config.Configuration.getkeys` that return generators
420
212a27cb0fc4 Docs: wording
Franz Glasner <fzglas.hg@dom66.de>
parents: 419
diff changeset
310 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
311
417
83d537f1dfbb Implement sub-jails: allow to get a jailed configuration from a jail
Franz Glasner <fzglas.hg@dom66.de>
parents: 413
diff changeset
312
413
ed24edf9ecf7 +++++ v0.17
Franz Glasner <fzglas.hg@dom66.de>
parents: 412
diff changeset
313 0.17 (2021-11-22)
ed24edf9ecf7 +++++ v0.17
Franz Glasner <fzglas.hg@dom66.de>
parents: 412
diff changeset
314 ~~~~~~~~~~~~~~~~~
412
816327e178b0 Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents: 409
diff changeset
315
816327e178b0 Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents: 409
diff changeset
316 - **[feature]**
816327e178b0 Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents: 409
diff changeset
317 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
318 configuration.
816327e178b0 Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents: 409
diff changeset
319
816327e178b0 Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
Franz Glasner <fzglas.hg@dom66.de>
parents: 409
diff changeset
320
409
2fc2e0bd0a56 +++++ v0.17b2
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 408
diff changeset
321 0.17b2 (2021-11-19)
2fc2e0bd0a56 +++++ v0.17b2
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 408
diff changeset
322 ~~~~~~~~~~~~~~~~~~~
408
1aa4cab0169c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 401
diff changeset
323
1aa4cab0169c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 401
diff changeset
324 - **[feature]** All configuration objects carry a flag `is_jail` that
1aa4cab0169c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 401
diff changeset
325 allows to determine whether a configuration is jailed
1aa4cab0169c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 401
diff changeset
326 - **[feature]** Allow a jailed configuration to be rebound to another
1aa4cab0169c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 401
diff changeset
327 unjailed configuration
1aa4cab0169c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 401
diff changeset
328 - **[feature}** A public accessor property to the base configuration
1aa4cab0169c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 401
diff changeset
329 of a jailed configuration
1aa4cab0169c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 401
diff changeset
330
1aa4cab0169c Changelog
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 401
diff changeset
331
401
7c4805439949 +++++ v0.17b1
Franz Glasner <fzglas.hg@dom66.de>
parents: 395
diff changeset
332 0.17b1 (2021-11-19)
7c4805439949 +++++ v0.17b1
Franz Glasner <fzglas.hg@dom66.de>
parents: 395
diff changeset
333 ~~~~~~~~~~~~~~~~~~~
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
334
401
7c4805439949 +++++ v0.17b1
Franz Glasner <fzglas.hg@dom66.de>
parents: 395
diff changeset
335 - **[feature]** Jailed (aka "restricted" or "rooted") configurations
7c4805439949 +++++ v0.17b1
Franz Glasner <fzglas.hg@dom66.de>
parents: 395
diff changeset
336 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
337
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
338
391
fd948c62908d +++++ v0.16.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 384
diff changeset
339 0.16.1 (2021-11-10)
fd948c62908d +++++ v0.16.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 384
diff changeset
340 ~~~~~~~~~~~~~~~~~~~
381
fe3dfd687621 Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents: 377
diff changeset
341
fe3dfd687621 Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents: 377
diff changeset
342 - **[feature]** New access methods
fe3dfd687621 Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents: 377
diff changeset
343 :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
344 :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
345 :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
346 :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
347 :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
348
383
5c72da46b8ae Implemented Configuration.getfirstfloatvar_s().
Franz Glasner <fzglas.hg@dom66.de>
parents: 381
diff changeset
349 - **[feature]** New access method
394
e05195ee869d FIX: markup in the changelog: missing leading colon
Franz Glasner <fzglas.hg@dom66.de>
parents: 391
diff changeset
350 :py:meth:`~configmix.config.Configuration.getfirstfloatvar_s`
383
5c72da46b8ae Implemented Configuration.getfirstfloatvar_s().
Franz Glasner <fzglas.hg@dom66.de>
parents: 381
diff changeset
351
381
fe3dfd687621 Implemented Configuration.getfirstvarl() and Configuration.getfirstvarl_s()
Franz Glasner <fzglas.hg@dom66.de>
parents: 377
diff changeset
352
377
5ad3fd49891f +++++ v0.16
Franz Glasner <fzglas.hg@dom66.de>
parents: 376
diff changeset
353 0.16 (2021-07-11)
5ad3fd49891f +++++ v0.16
Franz Glasner <fzglas.hg@dom66.de>
parents: 376
diff changeset
354 ~~~~~~~~~~~~~~~~~
376
c2e427d49209 Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 365
diff changeset
355
c2e427d49209 Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 365
diff changeset
356 - **[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
357 :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
358 :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
359 :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
360 :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
361
c2e427d49209 Put the newly implemented access methods getfirstXXX() into the changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 365
diff changeset
362
365
c404e5548e4b +++++ v0.15.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 364
diff changeset
363 0.15.1 (2021-07-09)
c404e5548e4b +++++ v0.15.1
Franz Glasner <fzglas.hg@dom66.de>
parents: 364
diff changeset
364 ~~~~~~~~~~~~~~~~~~~
364
1941f0188e81 FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents: 361
diff changeset
365
1941f0188e81 FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents: 361
diff changeset
366 - **[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
367 :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
368
1941f0188e81 FIX: Handle a "default" keyword parameter in ".getvar()" properly.
Franz Glasner <fzglas.hg@dom66.de>
parents: 361
diff changeset
369
361
3d5eaa6895d9 +++++ v0.15
Franz Glasner <fzglas.hg@dom66.de>
parents: 354
diff changeset
370 0.15 (2021-06-25)
3d5eaa6895d9 +++++ v0.15
Franz Glasner <fzglas.hg@dom66.de>
parents: 354
diff changeset
371 ~~~~~~~~~~~~~~~~~
347
d7daec119383 New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents: 344
diff changeset
372
d7daec119383 New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents: 344
diff changeset
373 - **[feature]**
d7daec119383 New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents: 344
diff changeset
374 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
375
353
a7491f835cb0 Changelog and minimal docu for `None` and `Empty` filters
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 347
diff changeset
376 - **[feature]**
a7491f835cb0 Changelog and minimal docu for `None` and `Empty` filters
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 347
diff changeset
377 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
378 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
379 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
380 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
381
347
d7daec119383 New filter function "urlquote_plus" which quotes a space into a '+' character
Franz Glasner <fzglas.hg@dom66.de>
parents: 344
diff changeset
382
344
ce7aea9eac4a +++++ v0.14
Franz Glasner <fzglas.hg@dom66.de>
parents: 342
diff changeset
383 0.14 (2021-05-10)
ce7aea9eac4a +++++ v0.14
Franz Glasner <fzglas.hg@dom66.de>
parents: 342
diff changeset
384 ~~~~~~~~~~~~~~~~~
305
f529ca46dd50 Implemented the "ref" namespace to get configuration tree references.
Franz Glasner <fzglas.hg@dom66.de>
parents: 303
diff changeset
385
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
386 - **[breaking] [feature]**
333
5ec0ae3bb8db Docs: quoting
Franz Glasner <fzglas.hg@dom66.de>
parents: 324
diff changeset
387 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
388
324
87424f4754d1 Docs: enhanced changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 320
diff changeset
389 This is mostly important for variable names that contain ``.``,
87424f4754d1 Docs: enhanced changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 320
diff changeset
390 ``:`` or ``|`` but probably useful for characters like ``"` ``'``
87424f4754d1 Docs: enhanced changelog
Franz Glasner <fzglas.hg@dom66.de>
parents: 320
diff changeset
391 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
392
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
393 - **[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
394 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
395 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
396
319
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 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
399 namespace
285
ac2e631d8ab9 Changelog: note AWS additions
Franz Glasner <fzglas.hg@dom66.de>
parents: 279
diff changeset
400
342
Franz Glasner <fzglas.hg@dom66.de>
parents: 333
diff changeset
401 - **[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
402 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
403 :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
404 :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
405
342
Franz Glasner <fzglas.hg@dom66.de>
parents: 333
diff changeset
406
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
407 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
408 ~~~~~~~~~~~~~~~~~
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
409
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
410 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
411 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
412 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
413
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
414 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
415 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
416
342
Franz Glasner <fzglas.hg@dom66.de>
parents: 333
diff changeset
417
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
418 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
419 ~~~~~~~~~~~~~~~~~
260
2cfd670281ae Do not set "root", "self" and "here" variables any more.
Franz Glasner <fzglas.hg@dom66.de>
parents: 257
diff changeset
420
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
421 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
422 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
423
342
Franz Glasner <fzglas.hg@dom66.de>
parents: 333
diff changeset
424
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
425 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
426 ~~~~~~~~~~~~~~~~~
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
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 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
429 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
430
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
431 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
432 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
433
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
434
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
435 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
436 ~~~~~~~~~~~~~~~~~
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
437
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
438 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
439 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
440 "<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
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 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
443 automatically.
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
444
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
445 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
446 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
447 :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
448
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
449
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
450 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
451 ~~~~~~~~~~~~~~~~
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
452
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
453 - **[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
454 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
455 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
456 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
457
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
458 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
459
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
460
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
461 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
462 ~~~~~~~~~~~~~~~~~~
238
be04384727c8 Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents: 234
diff changeset
463
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
464 - **[bugfix]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
465 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
466
342
Franz Glasner <fzglas.hg@dom66.de>
parents: 333
diff changeset
467
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
468 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
469 ~~~~~~~~~~~~~~~~
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
470
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
471 - **[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
472 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
473 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
474
238
be04384727c8 Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents: 234
diff changeset
475
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
476 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
477 ~~~~~~~~~~~~~~~~~~
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
478
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
479 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
480 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
481 computername.
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
482
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
483 - **[bugfix]**
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 ``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
485 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
486
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
487
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
488 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
489 ~~~~~~~~~~~~~~~~~~
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
490
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
491 - No code changes.
238
be04384727c8 Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents: 234
diff changeset
492
be04384727c8 Prepare CHANGES for 0.7.3
Franz Glasner <fzglas.hg@dom66.de>
parents: 234
diff changeset
493
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
494 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
495 ~~~~~~~~~~~~~~~~~~
227
f5011eec3b6e Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
496
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
497 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
498 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
499 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
500 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
501
226
8b1c52d5e7d5 Bump version to 0.7.2.dev1 for next development steps
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
502
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
503 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
504 ~~~~~~~~~~~~~~~~~~
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
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 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
507 :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
508 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
509 *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
510
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
511 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
512 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
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 - **[bugfix]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
515 :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
516 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
517
227
f5011eec3b6e Added a loader with key "ignore" that ignores the given configuration file
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
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 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
520 ~~~~~~~~~~~~~~~~
170
c247a5dc35ed Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 167
diff changeset
521
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
522 - **[breaking]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
523 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
524 :py:data:`configmix.mode_loaders` dictionary directly.
192
46c7d872db83 Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents: 182
diff changeset
525
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
526 - **[breaking]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
527 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
528 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
529 :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
530 :py:func:`configmix.get_default_assoc`.
192
46c7d872db83 Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents: 182
diff changeset
531
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
532 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
533 dictionary.
192
46c7d872db83 Changelog: note the latest refactorings
Franz Glasner <fzglas.hg@dom66.de>
parents: 182
diff changeset
534
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
535 - **[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
536 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
537 :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
538
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
539 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
540 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
541 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
542
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
543 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
544 :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
545 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
546 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
547 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
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 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
551 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
552
170
c247a5dc35ed Begin development of a version 0.7 with some API changes
Franz Glasner <f.glasner@feldmann-mg.com>
parents: 167
diff changeset
553
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
554 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
555 ~~~~~~~~~~~~~~~~
91
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
556
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
557 - **[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
558 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
559 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
560 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
561
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
562 - **[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
563 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
564 :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
565 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
566
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
567 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
568
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
569 - **[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
570 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
571 starting with ``__doc`` or ``__comment``.
147
8b7333caba25 Put the new comment-key feature into CHANGES
Franz Glasner <hg@dom66.de>
parents: 139
diff changeset
572
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
573 - **[misc]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
574 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
575
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
576 - **[doc]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
577 Begin the documentation with `Sphinx <http://www.sphinx-doc.org>`_
93
84b9578cacce Start with unit tests
Franz Glasner <hg@dom66.de>
parents: 91
diff changeset
578
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
579 - **[test]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
580 Begin formal unittests
91
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
581
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
582 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
583 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
584
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
585 - **[feature]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
586 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
587 ".json").
122
21d92ff8cf31 Begin the handling of JSON-style configuration files
Franz Glasner <hg@dom66.de>
parents: 120
diff changeset
588
342
Franz Glasner <fzglas.hg@dom66.de>
parents: 333
diff changeset
589 - **[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
590 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
591 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
592
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
593
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
594 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
595 ~~~~~~~~~~~~~~~~
91
5ca36fbea43d Created a changelog
Franz Glasner <hg@dom66.de>
parents:
diff changeset
596
319
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
597 - **[feature]]**
5427ca342c1e Change the formatting the changelog: remove the dependency on the changelog package.
Franz Glasner <fzglas.hg@dom66.de>
parents: 314
diff changeset
598 First really used release.