Skip to content

Releases: netbox-community/pynetbox

v4.0.3

07 Dec 23:54
8d5d981
Compare
Choose a tag to compare

v4.0.3 (2018-12-07)

Bug Fixes

  • #127 - Fixes __iter__ method on Record object so that it properly returns lists of record objects. Like tagged_vlans on for Interfaces.

v4.0.2

07 Dec 05:03
Compare
Choose a tag to compare

v4.0.2 (2018-12-06)

Bug Fixes

  • #126 - Fixes TypeError when calling save on interfaces Record with tagged_vlans.

v4.0.1

06 Dec 15:45
6463568
Compare
Choose a tag to compare

v4.0.1 (2018-12-06)

Bug Fixes

  • #122 - Adds missing authentication credentials for .choices().

v4.0.0

05 Dec 01:01
2cada45
Compare
Choose a tag to compare

v4.0.0 (2018-12-04)

Enhancements

  • #109 - Clean up tests a bit.
  • Added cable endpoint support coming in NetBox 2.5.
  • Added some detail to the ValueError raised when .get() returns more than one object.
  • Added reserved kwargs to .get() and .filter() ("id", "pk", "limit", "offset").
  • Made RequestError more verbose when the NetBox API returns a json response. Also added more details when a 404 is returned (e.g. misspelled endpoints).

API Changes

  • #22 - Switch to using PATCH instead of PUTs for updates. Also added an .update() method to Response objects that takes a dictionary to update multiple values on the object.
  • #24 - Add basic support for the _choices endpoint on each app by adding a choices() method to the App object.
  • #108 - Return Record objects from .create().

Bug Fixes

  • #88 - Raise an exception now if .filter() is passed no kwargs.
  • #90 - Fixes some miscellaneous issues related to converting certain Record object's fields into netaddr.IPNetwork objects. That feature has been removed and it simply return strings now.

v4.0.0-rc.1

05 Dec 00:23
Compare
Choose a tag to compare
v4.0.0-rc.1 Pre-release
Pre-release

v4.0.0 (2018-12-04)

Enhancements

  • #109 - Clean up tests a bit.
  • Added cable endpoint support coming in NetBox 2.5.
  • Added some detail to the ValueError raised when .get() returns more than one object.
  • Added reserved kwargs to .get() and .filter() ("id", "pk", "limit", "offset").
  • Made RequestError more verbose when the NetBox API returns a json response. Also added more details when a 404 is returned (e.g. misspelled endpoints).

API Changes

  • #22 - Switch to using PATCH instead of PUTs for updates. Also added an .update() method to Response objects that takes a dictionary to update multiple values on the object.
  • #24 - Add basic support for the _choices endpoint on each app by adding a choices() method to the App object.
  • #108 - Return Record objects from .create().

Bug Fixes

  • #88 - Raise an exception now if .filter() is passed no kwargs.
  • #90 - Fixes some miscellaneous issues related to converting certain Record object's fields into netaddr.IPNetwork objects. That feature has been removed and it simply return strings now.

v3.4.11

30 Nov 23:24
01d9182
Compare
Choose a tag to compare

Fixes #119

v3.4.10

29 Nov 19:03
aa77901
Compare
Choose a tag to compare
  • Should actually fix idempotent tags (#94) now.

v3.4.9

27 Nov 00:20
ad921bc
Compare
Choose a tag to compare
  • Fixes #94 where users were unable to use .append() to add a tag. This converts tag lists to a set and back to a list when serialize() is called so we don't send an update when we append a tag that's already there.

v3.4.8

26 Nov 22:51
736b789
Compare
Choose a tag to compare
  • Fixes #106 by adding a units DetailEndpoint onto the Racks object that lets users get the devices in a rack. Calling netbox.dcim.racks.get(x).units.list() will return a list of RU objects that have a device attribute populated with a Record object of the device in that RU.

  • Fixes #110 in serializer that failed to handle tagged_vlans field correctly. This also added the ability for objects stored in lists to be turned into Record objects requested in #92

v3.4.7

10 Oct 15:06
Compare
Choose a tag to compare
  • Fixes memory leak in endpoints.filter() by getting rid of unused CACHE variable. Thanks @abringenberg (#97)