-
Notifications
You must be signed in to change notification settings - Fork 719
Breaking change in WatchEvent API introduced in v3.24.0 #2777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report! Sounds like needs to be reverted. |
Right, reverting the changes on the 3 modified lines in BgpServer.WatchEvent should be also sufficient - maybe @bayrinat could tell us what was the intention behind this change? |
The intention is adding EOR support to the EventAPI. |
Ah, I meant specifically, switching the |
Oops, understood. |
Due to a breaking change in GoBGP v3.24.0, do not update GoBGP until the issue osrg/gobgp#2777 is resolved. Signed-off-by: Rastislav Szabo <[email protected]>
Due to a breaking change in GoBGP v3.24.0, do not update GoBGP until the issue osrg/gobgp#2777 is resolved. Signed-off-by: Rastislav Szabo <[email protected]>
Due to a breaking change in GoBGP v3.24.0, do not update GoBGP until the issue osrg/gobgp#2777 is resolved. Signed-off-by: Rastislav Szabo <[email protected]>
Due to a breaking change in GoBGP v3.24.0, do not update GoBGP until the issue osrg/gobgp#2777 is resolved. Signed-off-by: Rastislav Szabo <[email protected]>
Due to a breaking change in GoBGP v3.24.0, do not update GoBGP until the issue osrg/gobgp#2777 is resolved. Signed-off-by: Rastislav Szabo <[email protected]>
Hello, my bad. This change wasn't suppose to be there. @rastislavs Thanks for the quick revert, I'll do the proper change soon. |
Due to a breaking change in GoBGP v3.24.0, do not update GoBGP until the issue osrg/gobgp#2777 is resolved. Signed-off-by: Rastislav Szabo <[email protected]>
I prefer clean revert: |
I reverted two commits. The API should work as before. |
Yes, I just tested that on top of the commit 9d05544 everything works as expected. Thank you. |
The second attempt without breaking changes - #2780 |
The
v3.24.0
introduced a breaking change in WatchEvent API by the commit aff055bAs of this commit,
Path
in generated events no longer hasNlri
andPattrs
attributes set (they are alwaysnil
), and insteadNlriBinary
andPattrsBinary
attributes are set.Not sure what was the motivation behind this change, but as it changes the behavior of the API, it is breaking for the API consumers.
The text was updated successfully, but these errors were encountered: