remove deprecated unused fields from tsa shaping object

This commit is contained in:
Wez Furlong
2025-02-24 08:59:24 -07:00
parent 161e7b6d3b
commit a805184a8f
2 changed files with 5 additions and 15 deletions
-15
View File
@@ -550,22 +550,7 @@ function mod:setup_with_automation(options)
load_shaping_data = cached_load_shaping_data,
get_egress_path_config = get_egress_path_config,
should_enqueue_log_record = function(msg, hook_name)
-- deprecated: no longer needed as we register a should_enqueue_log_record
-- handler above.
-- This is preserved for backwards compatibility; when
-- called, it does nothing.
-- TODO: remove me after next release.
return
end,
setup_publish = setup_publish,
get_queue_config = function(domain, tenant, campaign, routing_domain)
-- deprecated: no longer needed as we register a get_queue_config
-- handler above.
-- This is preserved for backwards compatibility; when
-- called, it does nothing.
-- TODO: remove me after next release.
end,
}
return mod.CONFIGURED
+5
View File
@@ -1,6 +1,11 @@
# Unreleased Changes in The Mainline
## Breaking Changes
* Removed deprecated `should_enqueue_log_record` and `get_queue_config` fields
from the `shaper` object returned from `shaping:setup_with_automation`.
These have had no effect for the past several stable releases, having been
made automatic. If you are referencing them in your policy, you can simply
remove the associated logic.
## Other Changes and Enhancements