Python-application

Latest version: v2.8.0

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

Scan your dependencies

Page 5 of 7

1.1.5

------------------------

* Made a ConfigSection iterable as (name, value) pairs
* Modified ConfigSetting to allow any callable to be used as a validator
* Fixed __import__ statement to work with python older than 2.5
* Refactored ConfigSectionMeta to decouple it from ConfigSetting
* Save ConfigSetting's initial default values as cls.__defaults__
* Added __delattr__ on ConfigSectionMeta to prevent deletion of settings
* Added a mechanism to skip applying the type for a ConfigSetting
* Added set/reset capabilities to ConfigSection
* Enhanced ConfigFile.get_section with filtering and default return value
for missing section capabilities
* Reworded docstrings to fit in width on a standard terminal
* Allow ConfigSection.__configfile__ to be an instance of ConfigFile too
* Added read capabilities directly on ConfigSection classes
* Improved caching mechanism in ConfigFile
* Use ConfigSection's read capabilities instead of ConfigFile.read_settings
* Added support for specifying the configuration file type in ConfigSection
* Deprecated ConfigFile.read_settings and dump_settings
* Added local_config_directory property on Process
* Deprecated using __configfile__ in favor of __cfgfile__ on ConfigSection
* Added filename attribute to ConfigFile instances
* Added __str__ representation to ConfigSection
* Added tracing capabilities to ConfigSection
* Replaced dump_settings function body with printing the class
* Updated ConfigSection's docstring to describe the special attributes
* Rephrased exception message for clarity
* Modified data type converters to accept what they generate as input
* Updated examples to match the latest configuration API changes

1.1.4

------------------------

* Allow version numbers without the micro or minor number
* Added concept of undefined version that compares lower than any other
* Added missing entry about notification.py example
* Added dependency module and example

1.1.3

------------------------

* Added isdescriptor function to application.python.descriptor
* Fixed handling of special attributes in ConfigSection subclasses
* Fixed ConfigSection behaviour with multi-level inheritance

1.1.2

------------------------

* Deprecated config_directory in favor of system_config_directory
* No longer raise an exception when setting the system config directory,
if the directory doesn't exist
* Changed datatypes.Boolean into a validator
* Added ConfigSetting descriptor that is meant to deprecate the use of the
_datatypes mapping when declaring setting types inside a ConfigSection
* Deprecated ConfigFile.get_option in favor ConfigFile.get_setting
* Added support for specifying a config file and section in ConfigSection
* Fixed memory leak caused by ThreadLocal not releasing some internal data
* Added WriteOnceAttribute descriptor
* Added note about restrictions that apply when using the new descriptors
* Added version module
* Bumped debian standards version to 3.8.2
* Fixed lintian warning about missing misc:Depends dependency
* Modified examples to honor the latest changes in the API

1.1.1

------------------------

* By default show rate when measuring timing
* For better visibility log deprecation warning with log.warn
* Deprecated _defaultPort and _name in favor of default_port and name
* Use a better description for an endpoint address
* Define log levels ALL and NONE consistently with the others
* Added LogLevel configuration data type
* Replaced deprecated startSyslog with start_syslog in examples

1.1.0

------------------------

* Allow process.runtime_file(None) and return None for it
* Switched from python-central to python-support
* Enhanced the Singleton metaclass to properly handle classes that take
arguments in __init__ and/or __new__
* Extended singleton example with classes that take arguments to __init__
* Added descriptor that allows objects to have thread specific attributes
* Added a new module that implements a notification system
* Added example script for notification system
* Do not indent subsequent lines in a multi line log in syslog
* Simplified logging of multi-lines in syslog
* Specify the priority when logging to syslog, based on the message type
* Implemented fallback log capabilities via the logging module
* Added prefix to debug log records with twisted backend
* Add prefix to log lines when logging to console with twisted backend
* Added log level support to application.log module
* Removed system identifier when logging to syslog in twisted backend
* Added start_syslog function and deprecated startSyslog variant
* Updated README with information about the new notification module
* Added NEWS file to document user visible changes between versions
* Updated debian description to include the new notification system
* Updated debian dependencies
* Bumped debian standards version

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.