Skip to content

Releases: rxliuli/redirector

v0.15.0

22 Dec 06:40

Choose a tag to compare

  1. Properly handle circular redirect scenarios like a => b => b.
  2. Unified editing rule experience, compatible with mobile devices
  3. Save testUrl for easier rule editing later
image

v0.14.2

04 Dec 06:26

Choose a tag to compare

Multi-level internal redirects are here – chain redirects from a → b → c → d without making browser requests for intermediate URLs. Your browser will only see the initial URL (canceled) and the final destination.

Redirector-handle-multi-level-redirects-internally-within-extension.mp4

v0.14.1

03 Dec 18:25

Choose a tag to compare

This release fixes an important issue where the extension wasn't triggering redirects after a website performed a 302 redirect. Your redirect rules will now work reliably even when sites use intermediate redirects.

image

v0.14.0

31 Oct 17:51

Choose a tag to compare

✨ Features

  • Pipeline Syntax Support: Added powerful pipeline syntax for URL transformations
    • New {{}} template syntax with pipeline support
    • Support for chained transformations (e.g., {{$1|atob|decodeURIComponent}})
    • Available pipelines: decodeURIComponent, atob
    • Flexible syntax with optional spaces (e.g., {{ $1 | atob }})

💥 Breaking Changes

  • URL Pattern Mode - Automatic Decoding Removed: URL Pattern mode no longer automatically applies decodeURIComponent to captured values

    Migration Guide:

    If you were using URL Pattern mode and relying on automatic URL decoding, you need to update your rules:

    Before:

    From: https://link.zhihu.com/?target=:url
    To: {{search.groups.url}}
    

    After:

    From: https://link.zhihu.com/?target=:url
    To: {{search.groups.url|decodeURIComponent}}
    

    Why this change?

    • Gives users explicit control over when decoding happens
    • Enables pipeline transformations for advanced use cases
    • Makes behavior more predictable and consistent

    What you need to do:

    • Review your URL Pattern rules
    • Add |decodeURIComponent pipeline where you need URL decoding
    • Test your rules to ensure they work as expected

🔧 Improvements

  • Removed mustache dependency, reducing bundle size
  • Unified template replacement logic across regex and URL Pattern modes
  • Reduced codebase by ~20% through better abstraction

📝 Documentation

  • Added comprehensive pipeline syntax examples to README
  • Added migration guide for breaking changes

v0.13.3

11 Sep 15:36

Choose a tag to compare

0.13.3

v0.13.2

11 Sep 15:07

Choose a tag to compare

0.13.2

v0.13.1

25 Aug 04:51

Choose a tag to compare

0.13.1

v0.13.0

24 Aug 16:02

Choose a tag to compare

feat: Auto-check for potential circular redirect errors in rules

Snipaste_2025-08-24_23-26-55 Snipaste_2025-08-24_23-26-32

v0.12.7

24 Aug 13:29

Choose a tag to compare

0.12.7

v0.12.6

21 Aug 10:54

Choose a tag to compare

0.12.6