From 3f272705037a530e656a645e4773be4723a88c76 Mon Sep 17 00:00:00 2001 From: Jakub Stasiak Date: Tue, 20 Aug 2013 00:08:26 +0200 Subject: [PATCH] Update changelog and bump version to 0.7.7 --- CHANGES.md | 8 ++++++-- injector.py | 3 +-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 14db1ec..8a2926d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,10 +1,14 @@ # ChangeLog for Injector -## 0.7.5 +## 0.7.7 + +- Made AssistedBuilder behave more explicitly: it can build either innstance of a concrete class (``AssistedBuilder(cls=Class)``) or it will follow Injector bindings (if exist) and construct instance of a class pointed by an interface (``AssistedBuilder(interface=Interface)``). ``AssistedBuilder(X)`` behaviour remains the same, it's equivalent to ``AssistedBuilder(interface=X)`` + +## 0.7.6 - Auto-convert README.md to RST for PyPi. -## 0.7.4 +## 0.7.5 - Added a ChangeLog! - Added support for using Python3 annotations as binding types. diff --git a/injector.py b/injector.py index ae2fa75..bedd5e5 100644 --- a/injector.py +++ b/injector.py @@ -16,7 +16,6 @@ See https://github.com/alecthomas/injector for documentation. :license: BSD """ -import collections import itertools import functools import inspect @@ -35,7 +34,7 @@ except AttributeError: pass __author__ = 'Alec Thomas ' -__version__ = '0.7.6' +__version__ = '0.7.7' __version_tag__ = '' log = logging.getLogger('injector')