Skip to content

v3.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Mar 02:11

🆕 New Features

  • 新增基于云函数的 WeatherKit (Rewrite) 新模块,面向 LoonSurgeStashShadowrocket 提供新的 Rewrite 版本配置。

🛠️ Bug Fixes

  • 修复和风天气 YesterdayAirQualitylocationInfo 为空时的空值访问问题,避免港澳等特殊定位条件下请求失败。
  • 修复规则拦截范围,新增 IP-ASN 6185 并统一 QUIC 拒绝表达式,减少异常直连。
  • 修复重复天气提供者设置逻辑。

🔣 Dependencies

  • 新增运行时依赖:hononode-fetchfetch-cookie
  • 更新开发与基础依赖:@rspack/cli@rspack/core 升级至 ^1.7.7@nsnanocat/util 升级至 ^2.2.3

‼️ Breaking Changes

  • none

🔄 Other Changes

  • 为新的 Rewrite 版本补充基于 Hono 的云函数转发入口,并支持通过 VercelCloudflare Workers 部署。
  • 新增 workers 构建链路:增加 arguments-builder.workers.config.tsbuild:args:workers,用于生成各平台代理模块产物。
  • 统一工程结构:Hono 入口调整为 src/Hono.js,请求/响应处理拆分到 src/process/Request*.mjssrc/process/Response*.mjs,并统一模块后缀与命名。
  • 新增并统一 workers 模板与模块命名,配置名称追加 (Rewrite) 后缀,提升不同版本的辨识度。
  • 更新 wrangler 可观测性配置,并在 .gitignore 中补充 .idea 忽略规则。