From 6b6a3e83702b18ebb41ca1f94e957bdf7e44986d Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 29 Nov 2020 15:48:21 -0600 Subject: [PATCH] prep 0.3 --- CHANGES.rst | 17 +++++++++++++++++ setup.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 9466131..c563af5 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,20 @@ +0.3 (2020-11-29) +================ + +- Added the ``__wired_factory__`` protocol which enables classes/functions. + This feature allows objects to declare their factory in a reusable way + near the definition of the class/function instead of near the + ``ServiceRegistry.register_factory`` invocation. Build some decorators + that automatically inject this protocol! + See https://github.com/mmerickel/wired/pull/41 + +- Added the ``wired.service_factory`` venusian decorator which can be used + to discover factories by setting up a ``venusian.Scanner`` and scanning + your code to auto-register the services. In the future ``wired`` will likely + provide top-level scanning, but for now you have to do it yourself and + there are examples in the docs. + See https://github.com/mmerickel/wired/pull/41 + 0.2.2 (2020-05-26) ================== diff --git a/setup.py b/setup.py index 0c39125..ac60230 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def readfile(name): 'An inversion-of-control (IoC) container for building decoupled, ' 'configurable, pluggable applications.' ), - version='0.2.2', + version='0.3', long_description=readme + '\n\n' + changes, long_description_content_type='text/x-rst', author='Michael Merickel',