Skip to content

Remove deprecated legacy rule support#26

Merged
dash14 merged 1 commit intomainfrom
remove/legacy-rule-support
Mar 17, 2026
Merged

Remove deprecated legacy rule support#26
dash14 merged 1 commit intomainfrom
remove/legacy-rule-support

Conversation

@dash14
Copy link
Copy Markdown
Owner

@dash14 dash14 commented Mar 17, 2026

Summary

Remove the deprecated legacy rule input parameters and their conversion logic.

Removed inputs

  • allowed_http_domains (replaced by allowed_http_rules)
  • allowed_https_domains (replaced by allowed_https_rules)
  • http_ports (replaced by port specification in rules, e.g., example.com:8080)
  • https_ports (replaced by port specification in rules, e.g., example.com:8443)

Changes

  • Delete setup/lib/legacy-rules.mjs and setup/lib/legacy-rules.test.mjs
  • Simplify buildACLRules() in setup/main.mjs to only handle current wildcard-format rules
  • Remove deprecated input definitions from setup/action.yml
  • Remove "Deprecated Parameters" section from docs/rules.md
  • Remove test_legacy target from Makefile
  • Update directory structure in docs/development.md

Breaking change: Users still referencing the old allowed_http_domains / allowed_https_domains / http_ports / https_ports inputs must migrate to allowed_http_rules / allowed_https_rules with explicit port specification.

Drop the legacy domain/port input parameters (allowed_http_domains, allowed_https_domains, http_ports, https_ports) and the conversion logic that translated them into the current wildcard-format rules.
@dash14 dash14 merged commit b27a45a into main Mar 17, 2026
6 checks passed
@dash14 dash14 deleted the remove/legacy-rule-support branch March 17, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant