view doc/changes.rst @ 177:6dde1e344ae8

Style: put "__all__" into the meta-variables section as recommended by PEP
author Franz Glasner <f.glasner@feldmann-mg.com>
date Tue, 30 Apr 2019 12:38:52 +0200
parents 24a05dae0e76
children 46c7d872db83
line wrap: on
line source

.. -*- coding: utf-8 -*-

=========
 Changes
=========

All major changes over the versions are listed here. For breaking
changes have a look at :ref:`api-changes`, they are listed there in
detail.

.. include:: ../CHANGES.txt


.. _api-changes:

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
---

- :py:func:`configmix.safe_merge` does now a deepcopy of all source
  configurations when merging. Changes in configuration instances
  afterwards will not be reflected in the merged configuration any
  more.

  The public signature of :py:func:`configmix.safe_merge` has *not*
  changed.

- The default file encoding when reading INI style files with
  :py:func:`configmix.ini.load` is now "UTF-8". Previously it was undefined
  and therefore dependent on the user's locale.