Remove backward compatibility for importing process_webhook() #9024

Closed
opened 2025-12-29 20:44:19 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 2, 2024).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

extras.webhooks_worker.process_webhook() was renamed and moved to `extras.webhooks.send_webhook() in v3.7 under #14395, with backward compatibility being retained for importing the function from its previous location. This change removes that backward compatibility.

Justification

Removes obsolete code

Impact

Any plugins which utilize this function imported from its previous location & name will need to be updated to reference the new path. (This function is not supported for direct use by plugins, but we provided backward compatibility across v3.7 releases just in case.)

Originally created by @jeremystretch on GitHub (Jan 2, 2024). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes `extras.webhooks_worker.process_webhook()` was renamed and moved to `extras.webhooks.send_webhook() in v3.7 under #14395, with backward compatibility being retained for importing the function from its previous location. This change removes that backward compatibility. ### Justification Removes obsolete code ### Impact Any plugins which utilize this function imported from its previous location & name will need to be updated to reference the new path. (This function is _not_ supported for direct use by plugins, but we provided backward compatibility across v3.7 releases just in case.)
adam added the status: acceptedtype: deprecation labels 2025-12-29 20:44:19 +01:00
adam closed this issue 2025-12-29 20:44:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9024