Skip to content

Releases: netbox-community/pynetbox

5.0.1

25 Jun 21:41
4687e08
Compare
Choose a tag to compare

Publish to pypi with github-actions.

5.0.0

25 Jun 21:28
1b8cc97
Compare
Choose a tag to compare
  • 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 on a different endpoint (thanks @jsenecal).
  • 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.

4.3.3

22 Jun 18:17
9a01988
Compare
Choose a tag to compare

Re-release of 4.3.2 that wasn't published to pypi.

4.3.2

05 Jun 19:25
5cc0897
Compare
Choose a tag to compare
  • Adds support for the rack elevation endpoint in NetBox 2.8 (#238).

4.3.1

23 Mar 15:21
7fcd3fd
Compare
Choose a tag to compare
  • Makes config_contex on virtualization record objects a JsonField. (PR #227)

4.3.0

16 Mar 21:19
5930103
Compare
Choose a tag to compare
  • Adds the ability to thread calls to NetBox from .filter() and .all() methods. (PR #216)

4.2.5

11 Feb 03:32
2523bd9
Compare
Choose a tag to compare
  • save() is not idempotent when dealing with choice objects from NetBox 2.7 (PR #223).

4.2.4

12 Jan 06:24
6a9190a
Compare
Choose a tag to compare
Merge pull request #214 from digitalocean/nested-writes

Fixes Nested Record Write methods

4.2.3

12 Jan 06:20
479f0db
Compare
Choose a tag to compare
  • Previously if save() or delete() were called on nested records the URL called would be that of the parent (#161 &#212). PR #214 fixes this issue.

4.2.2

10 Dec 16:26
479f0db
Compare
Choose a tag to compare
  • Fixes issues with hashing Record objects by adding name attribute to Endpoint and __eq__ method to Record objects to facilitate comparison. (PR #210)