New Features
Plugin Extension Framework (#774)
pynetbox can now be extended to support third-party NetBox plugins without modifying the library. You can register custom record types for a plugin's endpoints, so working with plugin objects feels the same as working with built-in NetBox objects. The new branching (#710) and Custom Objects (#751) integrations are built on this framework.
Custom Thread Pool Executor (#633)
When threading is enabled, you can now control how the parallel requests behind .all() and .filter() are run. You can adjust how many worker threads are used, and supply your own executor - useful for carrying context such as tracing information into the worker threads.
Cursor-Based Pagination (#764)
pynetbox can now page through large result sets using NetBox 4.6's cursor-based pagination.
Other New Features
Enhancements
- #625 - Preserve JSON list fields instead of returning them as
Records
Bug Fixes
- #701 - Fix filtering for custom fields
- #749 - Don't treat
Recordmethods as constructors in_parse_values - #745 - Serialize list-
Recorditems that lack an ID - #519 - Fix link peer casting
- #688 - Skip network fetch for dunder attributes in
Record.__getattr__ - #748 - Stop re-sending PATCH for unchanged partial
custom_fields
Compatibility
- Supports NetBox 4.6