-
-
Notifications
You must be signed in to change notification settings - Fork 103
Description
Regression from 3.15 -> 3.19.1
I tracked this down to a change introduced in 161849c
Specifically, the method signature of MibNode.prototype.setValue was changed so the first argument is typeFromSet instead of newValue. We call this method when we dynamically set OID values from a handler.
Mark, what's your versioning policy, and should it be expected for a minor version change to introduce incompatible changes?
I can adapt my code, but I'm opening this issue to call out the breaking change in case anyone else runs into this same issue when upgrading.
I also ran into several other issues during upgrade where constraint validation failed but that was because I was trying to set a value that legit violated the MIB constraints. This is my problem but it's still an unexpected/ breaking change for a minor version bump. It would have been nice to have an option to disable the constraint checking/ maintain the old behavior for compatibility but at this point I've resolved most of the issues.
Actually I see a third problem here but I'll open a separate issue for that.