github netbox-community/pynetbox v4.0.0-rc.1

latest releases: v7.4.1, v7.4.0, v7.3.4...
pre-release5 years ago

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.

Don't miss a new pynetbox release

NewReleases is sending notifications on new releases.