Zconfig

Latest version: v4.2

Safety actively analyzes 714919 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

2.6.0

==================

- Added support for file rotation by time by specifying when and
interval, rather than max-size, for log files.

- Removed dependency on setuptools from the setup.py.

2.5.1

==================

- Made it possible to run unit tests via 'python setup.py test' (requires
setuptools on sys.path).

- Added better error messages to test failure assertions.

2.5

================

*A note on the version number:*

Information discovered in the revision control system suggests that some
past revision has been called "2.4", though it is not clear that any
actual release was made with that version number. We're going to skip
revision 2.4 entirely to avoid potential issues with anyone using
something claiming to be ZConfig 2.4, and go straight to version 2.5.

- Add support for importing schema components from ZIP archives (including
eggs).

- Added a 'formatter' configuration option in the logging handler sections
to allow specifying a constructor for the formatter.

- Documented the package: URL scheme that can be used in extending schema.

- Added support for reopening all log files opened via configurations using
the ZConfig.components.logger package. For Zope, this is usable via the
``zc.signalhandler`` package. ``zc.signalhandler`` is not required for
ZConfig.

- Added support for rotating log files internally by size.

- Added a minimal implementation of schema-less parsing; this is mostly
intended for applications that want to read several fragments of ZConfig
configuration files and assemble a combined configuration. Used in some
``zc.buildout`` recipes.

- Converted to using ``zc.buildout`` and the standard test runner from
``zope.testing``.

- Added more tests.

2.3.1

==================

- Isolated some of the case-normalization code so it will at least be
easier to override. This remains non-trivial.

2.3

================

- Added "inet-binding-address" and "inet-connection-address" to the
set of standard datatypes. These are similar to the "inet-address"
type, but the default hostname is more sensible. The datatype used
should reflect how the value will be used.

- Alternate rotating logfile handler for Windows, to avoid platform
limitations on renaming open files. Contributed by Sidnei da Silva.

- For <section> and <multisection>, if the name attribute is omitted,
assume name="*", since this is what is used most often.

2.2

================

- More documentation has been written.

- Added a timedelta datatype function; the input is the same as for
the time-interval datatype, but the resulting value is a
datetime.timedelta object.

- Make sure keys specified as attributes of the <default> element are
converted by the appropriate key type, and are re-checked for
derived sections.

- Refactored the ZConfig.components.logger schema components so that a
schema can import just one of the "eventlog" or "logger" sections if
desired. This can be helpful to avoid naming conflicts.

- Added a reopen() method to the logger factories.

- Always use an absolute pathname when opening a FileHandler.

- A fix to the logger 'format' key to allow the %(process)d expansion variable
that the logging package supports.

- A new timedelta built-in datatype was added. Similar to time-interval
except that it returns a datetime.timedelta object instead.

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.