v15.2

lfnovo/open-notebookv15.2Sep 2, 2025by snail007

AI Summary

This release introduces protocol support for loading configuration files for proxy parameters. Users can now specify rules using file paths, Base64 encoded content, or inline strings for enhanced configuration flexibility.

Key Highlights

  • Added protocol support for proxy parameters including `--blocked`, `--resolve-rules`, and `--rewriter-rules`.
  • Support for loading rules from local files (one rule per line, comments start with `#`).
  • Support for Base64 encoded file content via the `base64://` protocol.
  • Support for inline string rules via the `str://` protocol.

New Features

  • Protocol-based configuration loading for proxy parameters.
  • Local file rule loading with comment support.
  • Base64 encoded rule loading support.
  • Inline string rule loading support.

Full Release Notes

1、一些使用文件的参数,增加了协议加载文件支持。
proxy的参数:--blocked --direct --stop --only --hosts --resolve-rules --rewriter-rules --ip-allow --ip-deny 支持协议加载文件。
格式可以是:
    a.文件名,文件内容一行一个规则,# 开头的行,为注释。
    b."base64://" 开头的base64编码的上面a说明的文件内容,比如:base64://ajfpoajsdfa=
    c."str://" 开头的字符串,规则之间用英文逗号分割,比如:str://