diff --git a/bonobo/_version.py b/bonobo/_version.py index 7fd229a..fc79d63 100644 --- a/bonobo/_version.py +++ b/bonobo/_version.py @@ -1 +1 @@ -__version__ = '0.2.0' +__version__ = '0.2.1' diff --git a/bonobo/util/objects.py b/bonobo/util/objects.py index 0f33301..b233fff 100644 --- a/bonobo/util/objects.py +++ b/bonobo/util/objects.py @@ -25,6 +25,7 @@ class ValueHolder: at least all in a certain category, but it feels like a more correct method should exist, like with a getattr-something on the value. Let's see later. """ + def __init__(self, value, *, type=None): self.value = value self.type = type @@ -117,10 +118,10 @@ class ValueHolder: return divmod(other, self.value) def __pow__(self, other): - return self.value ** other + return self.value**other def __rpow__(self, other): - return other ** self.value + return other**self.value def __ipow__(self, other): self.value **= other @@ -181,4 +182,3 @@ class ValueHolder: def __invert__(self): return ~self.value - diff --git a/docs/changelog.rst b/docs/changelog.rst index 887c22a..ea9eaa0 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,20 +1,18 @@ Changelog ========= +v.0.2.1 +::::::: -Incoming... -::::::::::: - -* todo migrate doc -* todo migrate tests -* todo migrate transforms ? - -Version 0.3 -::::::::::: - -* Autodetect if within jupyter notebook context, and apply plugin if it's the case. -* Console run should allow console plugin as a command line argument. -* New bonobo.structs package with simple data structures (bags, graphs, tokens). +* Plugins (jupyter, console) are now auto-activated depending on the environment when using bonobo.run(...). +* Remove dependencies to toolz (which was unused) and blessings (which caused problems on windows). +* New dependency on colorama, which has better cross-platform support than blessings. +* New bonobo.structs package containing basic datastructures, like graphs, tokens and bags. +* Enhancements of ValueHolder to implement basic operators on its value without referencing the value attribute. +* Fix issue with timezone argument of OpenDataSoftAPI (Sanket Dasgupta). +* Fix Jupyter plugin. +* Better continuous integration, testing and fixes in documentation. +* Version updates for dependencies (psutil install problem on windows). Initial release :::::::::::::::