From eee8b7c019f4aa7874a0fbf12aebda4acff3ad272b065689b9dfcb7a609e5b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 26 Jun 2020 08:15:52 +0000 Subject: [PATCH] Accepting request 817204 from home:mnhauke:network:automation - Update to version 5.0.1 * Fixes #240 by adding an Api.openapi() method that returns a dictionary of the entire OpenAPI spec. Breaking Changes * Fixes #239, #229, #219, #209, #189, and #166 by allowing Api.http_session to be overridden by user-supplied custom requests.Session() objects to more precisely control certain requests behavior. While this was possible before, it wasn't applied to all requests. For example, getting session keys was done in Api().__init__() which wouldn't respect a custom http_session. This behavior has been changed and will now only occur when the secrets endpoint is called. * Note: this change removes the ssl_verify kwarg passed to .api() that controlled certificate validation in previous versions. Please see the docs for the new method. * Fixes #241 where the same objects failed equality tests if one was derived from a nested object vs directly from that endpoint * Fixes an inconsistency noted in #224 by making Endpoint.get() and Endpoint.filter() behave similarly (return None) when the resource isn't found. * Fixes #144 by returning proper objects from .create() on detail endpoint routes like available-ips and available-prefixes. - Use github source URL - Update to version 4.3.2 * Adds support for the rack elevation endpoint in NetBox 2.8 - Update to version 4.3.1 * Makes config_contex on virtualization record objects a JsonField. OBS-URL: https://build.opensuse.org/request/show/817204 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pynetbox?expand=0&rev=23 --- pynetbox-4.3.0.tar.gz | 3 --- pynetbox-5.0.1.tar.gz | 3 +++ python-pynetbox.changes | 40 +++++++++++++++++++++++++++++++++++++++- python-pynetbox.spec | 2 +- 4 files changed, 43 insertions(+), 5 deletions(-) delete mode 100644 pynetbox-4.3.0.tar.gz create mode 100644 pynetbox-5.0.1.tar.gz diff --git a/pynetbox-4.3.0.tar.gz b/pynetbox-4.3.0.tar.gz deleted file mode 100644 index 427b4e2..0000000 --- a/pynetbox-4.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b72fedef91951fc235ebf72f509e67151e3a9be972bd97c8b5501db19373d058 -size 47469 diff --git a/pynetbox-5.0.1.tar.gz b/pynetbox-5.0.1.tar.gz new file mode 100644 index 0000000..2381380 --- /dev/null +++ b/pynetbox-5.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e8bacf2018bdf9e29d247b1b95523024d98ba291beb0de5827754065bd35012 +size 49722 diff --git a/python-pynetbox.changes b/python-pynetbox.changes index 55662bb..15bab92 100644 --- a/python-pynetbox.changes +++ b/python-pynetbox.changes @@ -1,8 +1,46 @@ +------------------------------------------------------------------- +Fri Jun 26 08:08:29 UTC 2020 - Martin Hauke + +- Update to version 5.0.1 + * Fixes #240 by adding an Api.openapi() method that returns a + dictionary of the entire OpenAPI spec. + Breaking Changes + * Fixes #239, #229, #219, #209, #189, and #166 by allowing + Api.http_session to be overridden by user-supplied custom + requests.Session() objects to more precisely control certain + requests behavior. While this was possible before, it wasn't + applied to all requests. For example, getting session keys + was done in Api().__init__() which wouldn't respect a custom + http_session. This behavior has been changed and will now + only occur when the secrets endpoint is called. + * Note: this change removes the ssl_verify kwarg passed to + .api() that controlled certificate validation in previous + versions. Please see the docs for the new method. + * Fixes #241 where the same objects failed equality tests if one + was derived from a nested object vs directly from that endpoint + * Fixes an inconsistency noted in #224 by making Endpoint.get() + and Endpoint.filter() behave similarly (return None) when the + resource isn't found. + * Fixes #144 by returning proper objects from .create() on detail + endpoint routes like available-ips and available-prefixes. + +------------------------------------------------------------------- +Sat Jun 13 10:50:27 UTC 2020 - Martin Hauke + + +- Use github source URL +- Update to version 4.3.2 + * Adds support for the rack elevation endpoint in NetBox 2.8 +- Update to version 4.3.1 + * Makes config_contex on virtualization record objects a + JsonField. + ------------------------------------------------------------------- Mon Mar 23 14:49:20 UTC 2020 - pgajdos@suse.com - version update to 4.3.0 - * Adds the ability to thread calls to NetBox from .filter() and .all() methods. (PR #216) + * Adds the ability to thread calls to NetBox from .filter() and + .all() methods. (PR #216) ------------------------------------------------------------------- Tue Feb 11 06:39:06 UTC 2020 - Martin Hauke diff --git a/python-pynetbox.spec b/python-pynetbox.spec index 1a6cc50..3b0cc74 100644 --- a/python-pynetbox.spec +++ b/python-pynetbox.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pynetbox -Version: 4.3.0 +Version: 5.0.1 Release: 0 Summary: NetBox API client library License: Apache-2.0