Commits

Virgil Dupras committed 90620f4

v1.1.0

Comments (0)

Files changed (3)

 Changes
 =======
 
+Version 1.1.0 -- 2012/01/23
+---------------------------
+
+* Allow null items (with ``[NSNull null]``) in p2o collection conversions.
+* Added support for floats.
+* p2o conversions returning ``NSObject`` subclasses can now convert ``None`` to ``nil``.
+
 Version 1.0.0 -- 2012/01/16
 ---------------------------
 
 Only a few argument types are supported by ObjP, the goal being to keep the project simple.
 
 * ``int/NSInteger``
+* ``float/CGFloat``
 * ``str/NSString*``
 * ``bool/BOOL``
 * ``list/NSArray*``
 * ``dict/NSDictionary*``
 
 ObjP also supports ``object`` which dynamically converts the argument depending on its type and
-returns an ``NSObject`` subclass (which means that ``int`` and ``bool` convert to ``NSNumber``
-instead of converting to ``NSInteger`` and ``BOOL``). This type of conversion is used to convert
-the contents of ``list`` and ``dict`` (it's impossible to have an NSArray directly containing
-``BOOL``).
+returns an ``NSObject`` subclass (which means that ``int``, ``float`` and ``bool` convert to
+``NSNumber`` instead of converting to ``NSInteger`` and ``BOOL``). This type of conversion is used
+to convert the contents of ``list`` and ``dict`` (it's impossible to have an NSArray directly
+containing ``BOOL``).
 
 Another special argument type is ``pyref`` (which you must import from ``objp.util`` in your code)
 which simply passes the ``PyObject*`` instance around without converting it.
 
 setup(
     name='objp',
-    version='1.0.0',
+    version='1.1.0',
     author='Hardcoded Software',
     author_email='hsoft@hardcoded.net',
     packages=['objp'],