-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from digitalocean/4-0-release
4.0 Release
- Loading branch information
Showing
37 changed files
with
1,842 additions
and
1,015 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
|
||
v4.0.0 (2018-12-04) | ||
|
||
## Enhancements | ||
|
||
* [#109](https://github.com/digitalocean/pynetbox/issues/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](https://github.com/digitalocean/pynetbox/issues/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](https://github.com/digitalocean/pynetbox/issues/24) - Add basic support for the `_choices` endpoint on each app by adding a `choices()` method to the App object. | ||
* [#108](https://github.com/digitalocean/pynetbox/issues/108) - Return `Record` objects from `.create()`. | ||
|
||
## Bug Fixes | ||
|
||
* [#88](https://github.com/digitalocean/pynetbox/issues/88) - Raise an exception now if `.filter()` is passed no kwargs. | ||
* [#90](https://github.com/digitalocean/pynetbox/issues/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. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
IPAM | ||
======== | ||
|
||
.. autoclass:: pynetbox.ipam.Prefixes | ||
.. autoclass:: pynetbox.models.ipam.Prefixes | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Endpoint | ||
======== | ||
|
||
.. autoclass:: pynetbox.lib.endpoint.Endpoint | ||
.. autoclass:: pynetbox.core.endpoint.Endpoint | ||
:members: | ||
|
||
.. autoclass:: pynetbox.lib.endpoint.DetailEndpoint | ||
.. autoclass:: pynetbox.core.endpoint.DetailEndpoint | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Request | ||
======== | ||
|
||
.. autoclass:: pynetbox.lib.query.RequestError | ||
.. autoclass:: pynetbox.core.query.RequestError | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
Response | ||
======== | ||
|
||
.. autoclass:: pynetbox.lib.response.Record | ||
:members: | ||
|
||
.. autoclass:: pynetbox.lib.response.IPRecord | ||
.. autoclass:: pynetbox.core.response.Record | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.