Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@gera2ld gera2ld released this 12 Mar 12:57
· 16 commits to master since this release

x

Highlights

  • Migrated to manifest V3
  • Added transform rules to transform the URL while preserving its structure
  • Added support for URL filters for easier request filtering
  • Improved rule data structure for easier management

Breaking Changes

  • headers must now be modified in a separate rule.
    • A request rule can no longer modify headers and redirect at the same time. You must split the header modification into a headers rule.
  • Match patterns are no longer supported due to limitations of the new manifest V3 APIs.
    • The new API only accepts a URL filter or a regular expressions. However, the regular expressions have a 2KB limit which is easy to be exceeded if the rule is long enough. In order to keep the rules simple, efficient and less confusing, I decided to remove the support for match patterns.
    • Migration from match patterns
      • *://www.google.com/* -> URL filter ||www.google.com or |https://www.google.com/
  • The JSON file structure has changed to align with the new rules.
    • Note: This is for subscription or importing. The old structure is still supported for backward compatibility but it will be removed in the future.
    • To migrate to the new structure, simply export the list in the new version.
    • Basically the changes are to make everything more explicit and less confusing.