Skip to content

Releases: xgfone/xutils

v2.2.0

28 Sep 08:20
Compare
Choose a tag to compare
  • Add the argument cli for register_opt.
  • Add gunicorn task worker based on eventlet.
  • Add SimpleWSGIServer and EventletWSGIServer.
  • Add the module atexit, which is copied from kazoo.

v2.1.0

04 Sep 08:13
Compare
Choose a tag to compare
  • Add the global logging instance LOG.
  • Add the attribute proxy AttributeProxy to get the attribute or key value by the name or key.
  • Add the function execpyfile and load_py_file to load the python file without importing.
  • Add the function get_app_version to acquire the version of the package by pbr.
  • Add the lock EmptyLock to allow the user to execute the empty lock when no lock.
  • Allow find_config_file to find the configuration file from the environment variable.
  • Update the implementation of EMail and add EMailCache.
  • Reimplement the configuration option in order to be more flexible.
  • DB supports the with context manager and change the default value of the argument min_pool_size .
  • WSGIServer supports the with context manager for Python 2.X.

v2.0.4

31 Jul 08:45
Compare
Choose a tag to compare
  • fix: use the absolute import to import sqlalchemy.
  • feat: support to appoint the json data for Resource.load_json().

v2.0.3

17 Jul 03:34
Compare
Choose a tag to compare
  • fix: subprocess_exception_to_str return a str instead of an Exception.

v2.0.2

17 Jul 02:16
Compare
Choose a tag to compare
  • Fix: json.loads supports str, bytes, bytearray on Python 3.0 ~ 3.5.
  • Use the default date formatter to initialize the logging.
  • Extract the error information from subprocess exception.

v2.0.1

17 Jul 02:25
Compare
Choose a tag to compare
  • Fix: the default value will override the value in configuration file for Configuration.
  • Use RotatingFileHandler instead of TimedRotatingFileHandler and initialize the ROOT logging.

v2.0.0

31 May 09:32
Compare
Choose a tag to compare
  • Add find_config_file to find the configuration file.
  • Add the utility functions, which.
  • Add the module messager.
  • Let check_output be compatible for some arguments in Python 2 & 3.
  • Add the default WSGI Server WSGIServer.
  • Add the method respond for Resource.
  • Add the customized Router for wsgi.
  • Change Application to the alias of falcon.API.
  • Add the function get_exception_handler to get a default exception of falcon.API.
  • Replace the method add_route of falcon.API.
  • Fix some bugs.

v1.3.0

07 May 10:00
Compare
Choose a tag to compare
  • Add wsgi.Resource

v1.2.0

07 May 07:19
Compare
Choose a tag to compare
  • Add the module wsgi based on falcon.

v1.1.0

07 May 07:23
Compare
Choose a tag to compare
  • Add the module Circuit Breaker.
  • Add the module Call Retry.
  • Add the module Lifecycle Manager.
  • Add the module Resource Pool Manager.
  • Add the module Process Manager.
  • Add the module Rate Limit.
  • Add the module Resource Lock.
  • Add the module sqlalchemy to support Database.