Skip to content

v1.9.0

Compare
Choose a tag to compare
@Ahoo-Wang Ahoo-Wang released this 06 Jan 09:26
· 467 commits to main since this release

What's Changed

  • Feature: add RequestAttributesAppender api by @Ahoo-Wang in #57
  • Feature: support request.attributes.
  • Feature: support request.attributes.ipRegion
  • Feature: add Ip2RegionRequestAttributesAppender
    {
      "name": "RegionWhitelist",
      "effect": "deny",
      "actions": [
        {
          "type": "all"
        }
      ],
      "conditions": [
        {
          "negate": true,
          "type": "reg",
          "part": "request.attributes.ipRegion",
          "pattern": "^中国\\|0\\|(上海|广东省)\\|.*"
        }
      ]
    }

Full Changelog: v1.8.9...v1.9.0