Mercurial > hgrepos > Python > libs > ConfigMix
comparison doc/changes.rst @ 192:46c7d872db83
Changelog: note the latest refactorings
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 03 May 2019 20:04:40 +0200 |
| parents | 24a05dae0e76 |
| children | 24f4ab79a3ab |
comparison
equal
deleted
inserted
replaced
| 191:8af600d0e5c0 | 192:46c7d872db83 |
|---|---|
| 1 .. -*- coding: utf-8 -*- | 1 .. -*- coding: utf-8; mode: rst; -*- |
| 2 | 2 |
| 3 ========= | 3 ========= |
| 4 Changes | 4 Changes |
| 5 ========= | 5 ========= |
| 6 | 6 |
| 17 ================ | 17 ================ |
| 18 | 18 |
| 19 0.7 | 19 0.7 |
| 20 --- | 20 --- |
| 21 | 21 |
| 22 - :py:func:`configmix.set_loader` now requires a :mod:`fnmatch` style | 22 - A major overhowl of how filename extensions are associated with loaders |
| 23 pattern instead of just a file extension string (i.e. a plain trailer). | 23 has been done: |
| 24 The previons dictionary with mapping from filename extensions to loader | 24 |
| 25 callables is now a list of tuples containing the :mod:`fnmatch` style | 25 + Filename extensions in :mod:`fnmatch` style are associated with |
| 26 pattern and the corresponding loader callable. | 26 file-mode strings. These file-mode strings are associated with loader |
| 27 functions separately. | |
| 28 | |
| 29 + :py:func:`configmix.set_assoc`, :py:func:`configmix.get_assoc`, | |
| 30 :py:func:`configmix.clear_assoc` and | |
| 31 :py:func:`configmix.get_default_assoc` are the new names for the old | |
| 32 `set_loader()`, `get_loader()`, `clear_loader()` and | |
| 33 `get_default_loader()` functions. | |
| 34 | |
| 35 + :py:func:`configmix.set_assoc` now requires a :mod:`fnmatch` style | |
| 36 pattern instead of just a file extension string (i.e. a plain trailer). | |
| 37 The previons dictionary with mapping from filename extensions to loader | |
| 38 callables is now a list of tuples containing the :mod:`fnmatch` style | |
| 39 pattern and the corresponding loader callable. | |
| 27 | 40 |
| 28 | 41 |
| 29 0.6 | 42 0.6 |
| 30 --- | 43 --- |
| 31 | 44 |
