Mercurial > hgrepos > Python > libs > ConfigMix
changeset 176:24a05dae0e76
FIX: Document the breaking change in the upcoming v0.7 in the chapter for "Breaking Changes" also
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Fri, 26 Apr 2019 18:28:31 +0200 |
| parents | 327032bb0f6b |
| children | 6dde1e344ae8 |
| files | doc/changes.rst |
| diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/changes.rst Fri Apr 26 18:27:53 2019 +0200 +++ b/doc/changes.rst Fri Apr 26 18:28:31 2019 +0200 @@ -16,6 +16,16 @@ Breaking Changes ================ +0.7 +--- + +- :py:func:`configmix.set_loader` now requires a :mod:`fnmatch` style + pattern instead of just a file extension string (i.e. a plain trailer). + The previons dictionary with mapping from filename extensions to loader + callables is now a list of tuples containing the :mod:`fnmatch` style + pattern and the corresponding loader callable. + + 0.6 ---
