diff options
author | Jakub Stasiak <jakub@stasiak.at> | 2020-07-03 16:26:11 +0200 |
---|---|---|
committer | Jakub Stasiak <jakub@stasiak.at> | 2020-07-03 16:38:35 +0200 |
commit | 0d5318c21c7af682c842e01177fee7247416b9a3 (patch) | |
tree | e7b931b6d6bdf1d667e6d0a1e6d5dfc069a169d4 | |
parent | bf552350fd8c33b61187efae3c7e3356935b682d (diff) | |
download | netaddr-0d5318c21c7af682c842e01177fee7247416b9a3.tar.gz |
Prepare release 0.8.00.8.0
-rw-r--r-- | CHANGELOG | 42 | ||||
-rw-r--r-- | docs/source/changes.rst | 6 | ||||
-rw-r--r-- | docs/source/conf.py | 4 | ||||
-rw-r--r-- | docs/source/index.rst | 6 | ||||
-rw-r--r-- | netaddr/__init__.py | 2 |
5 files changed, 51 insertions, 9 deletions
@@ -1,3 +1,45 @@ +-------------- +Release: 0.8.0 +-------------- +Date: 3 Jul 2020 + +^^^^^^^^^^^^^^^^^^^^ +Changes since 0.7.20 +^^^^^^^^^^^^^^^^^^^^ + +* Fixed weak reference support in classes with ``__slots__`` +* Added ``__bytes__`` to ``IPAddress`` for intuitive usage, thanks to Michael Belousov. +* Added ``format()`` function to EUI, thanks to Omer Anson. +* Added ``IPNetwork.netmask`` property setter, thanks to Naveen Nathan. +* Added support for IABs in the ``40:D8:55`` OUI, thanks to Brian Maissy. +* Drastically optimized ``spanning_cidr()``, thanks to Brian Maissy. +* Fixed ``"x.x.x.x/x" in IPNetwork`` tests, thanks to xpac1985. +* Added support for passing iterables of ``IPRange`` to ``IPSet`` and ``cidr_merge()``, based + on a patch by Henry Stern. + +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Specific bug fixes addressed in this release +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +FIXED Issue 205: https://github.com/netaddr/netaddr/issues/205 + - N log N complexity instead of linear + +FIXED Issue 171: https://github.com/netaddr/netaddr/issues/171 + - Efficiently creating a large IPSet from a list of IPRanges? + +FIXED Issue 161: https://github.com/netaddr/netaddr/issues/161 + - Weak reference support + +^^^^^^^^^^^ +Miscellanea +^^^^^^^^^^^ + +- The next release (0.9.0) will contain a backwards incompatible change in IPNetwork's behaviour. + It's connected to handling of RFC 6164 IPv6 addresses (/127 and /128): IPNetwork.broadcast will + return None for those and first addresses in the networks will no longer be excluded when + iterating IPNetwork and IPNetwork.iter_hosts(). See https://github.com/netaddr/netaddr/pull/168 + (or temporarily reverted commit 2984c0a40a70 in this repository) to see the actual patch. + --------------- Release: 0.7.20 --------------- diff --git a/docs/source/changes.rst b/docs/source/changes.rst index b5edddb..81d6fc8 100644 --- a/docs/source/changes.rst +++ b/docs/source/changes.rst @@ -1,5 +1,5 @@ -============================ -What's new in netaddr 0.7.20 -============================ +=========================== +What's new in netaddr 0.8.0 +=========================== .. include:: ../../CHANGELOG diff --git a/docs/source/conf.py b/docs/source/conf.py index 86b132b..5774365 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -48,9 +48,9 @@ copyright = u'Copyright (c) 2008 by David P. D. Moss. All rights reserved.' # built documents. # # The short X.Y version. -version = '0.7.20' +version = '0.8.0' # The full version, including alpha/beta/rc tags. -release = '0.7.20' +release = '0.8.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/source/index.rst b/docs/source/index.rst index e46cf00..97bef4d 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -1,6 +1,6 @@ -============================ -netaddr 0.7.20 documentation -============================ +=========================== +netaddr 0.8.0 documentation +=========================== .. toctree:: :maxdepth: 1 diff --git a/netaddr/__init__.py b/netaddr/__init__.py index d5b1ca0..54a6566 100644 --- a/netaddr/__init__.py +++ b/netaddr/__init__.py @@ -6,7 +6,7 @@ """A Python library for manipulating IP and EUI network addresses.""" #: Version info (major, minor, maintenance, status) -__version__ = '0.7.20' +__version__ = '0.8.0' VERSION = tuple(int(part) for part in __version__.split('.')) STATUS = '' |