-
Now, I develop netbox plugin in NetBox v3.4.4. I use it in NetBox v3.3.x and execute However I got a error with
This module is added in v3.4 for Decimal field. This PR is good, however, it is not good to be spoiled compatibility. Do you have an ides to resolve this. or Should we develop in NetBox v3.3.x? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Your conclusion is correct: if you want your plugin to work in v3.3, it's safest to develop it with v3.3. If you want it to work with v3.4, then develop with v3.4. If you want to it to work with both v3.3 and v3.4, then you may have to add extra code to handle the differences. There is an example here.
|
Beta Was this translation helpful? Give feedback.
Your conclusion is correct: if you want your plugin to work in v3.3, it's safest to develop it with v3.3. If you want it to work with v3.4, then develop with v3.4. If you want to it to work with both v3.3 and v3.4, then you may have to add extra code to handle the differences. There is an example here.
utilities.json
is an internal part of Netbox, and if you choose to use them there are no stability guarantees. For that matter, even core models and the public REST API can change between versions in incompatible ways, and often do. This is something that you need to track as a plugin writer, script writer, API consumer e…