Commit Graph
181 Commits
Author SHA1 Message Date
github-actions[bot] ebb84c714a Merge pull request #36 from xixu-me/dependabot/npm_and_yarn/handlebars-4.7.9
deps: bump handlebars from 4.7.8 to 4.7.9
2026-03-27 03:10:28 +00:00
dependabot[bot] 9bedebec16 deps: bump handlebars from 4.7.8 to 4.7.9
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.8 to 4.7.9.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.9/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.8...v4.7.9)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-27 03:09:56 +00:00
github-actions[bot] 1d27e05c08 Merge pull request #35 from xixu-me/dependabot/npm_and_yarn/multi-bf05dc1ecf
deps: bump picomatch
2026-03-26 09:25:41 +00:00
dependabot[bot] 2aa4a0d129 deps: bump picomatch
Bumps  and [picomatch](https://github.com/micromatch/picomatch). These dependencies needed to be updated together.

Updates `picomatch` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4)

Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 4.0.4
  dependency-type: indirect
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-26 09:25:11 +00:00
github-actions[bot] aad34ffc82 Merge pull request #34 from xixu-me/dependabot/npm_and_yarn/development-dependencies-b471d546a2
deps: bump the development-dependencies group with 2 updates
2026-03-23 01:12:24 +00:00
dependabot[bot] 7f12142319 deps: bump the development-dependencies group with 2 updates
Bumps the development-dependencies group with 2 updates: [@cloudflare/workers-types](https://github.com/cloudflare/workerd) and [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler).


Updates `@cloudflare/workers-types` from 4.20260316.1 to 4.20260317.1
- [Release notes](https://github.com/cloudflare/workerd/releases)
- [Changelog](https://github.com/cloudflare/workerd/blob/main/RELEASE.md)
- [Commits](https://github.com/cloudflare/workerd/commits)

Updates `wrangler` from 4.73.0 to 4.76.0
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.76.0/packages/wrangler)

---
updated-dependencies:
- dependency-name: "@cloudflare/workers-types"
  dependency-version: 4.20260317.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: wrangler
  dependency-version: 4.76.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-23 01:11:47 +00:00
github-actions[bot] 86ecf53a3d Merge pull request #33 from xixu-me/dependabot/npm_and_yarn/development-dependencies-1a16eb4d16
deps: bump the development-dependencies group with 2 updates
2026-03-16 01:12:36 +00:00
github-actions[bot] 07afec4371 Merge pull request #32 from xixu-me/dependabot/npm_and_yarn/production-dependencies-3a7d9e7e1b
deps: bump hono from 4.12.7 to 4.12.8 in the production-dependencies group
2026-03-16 01:12:08 +00:00
dependabot[bot] d4c60f2256 deps: bump the development-dependencies group with 2 updates
Bumps the development-dependencies group with 2 updates: [@cloudflare/workers-types](https://github.com/cloudflare/workerd) and [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler).


Updates `@cloudflare/workers-types` from 4.20260310.1 to 4.20260316.1
- [Release notes](https://github.com/cloudflare/workerd/releases)
- [Changelog](https://github.com/cloudflare/workerd/blob/main/RELEASE.md)
- [Commits](https://github.com/cloudflare/workerd/commits)

Updates `wrangler` from 4.72.0 to 4.73.0
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.73.0/packages/wrangler)

---
updated-dependencies:
- dependency-name: "@cloudflare/workers-types"
  dependency-version: 4.20260316.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: wrangler
  dependency-version: 4.73.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 01:11:58 +00:00
dependabot[bot] b643a39985 deps: bump hono in the production-dependencies group
Bumps the production-dependencies group with 1 update: [hono](https://github.com/honojs/hono).


Updates `hono` from 4.12.7 to 4.12.8
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.7...v4.12.8)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 01:11:35 +00:00
github-actions[bot] 1f3b8edf69 Merge pull request #31 from xixu-me/dependabot/npm_and_yarn/minimatch-3.1.5
deps: bump minimatch from 3.1.2 to 3.1.5
2026-03-11 08:10:08 +00:00
dependabot[bot] 6ea7e30bbb deps: bump minimatch from 3.1.2 to 3.1.5
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.2 to 3.1.5.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 08:09:35 +00:00
xixu-me 45c4d0d953 Merge pull request #30 from xixu-me/dependabot/npm_and_yarn/development-dependencies-ae8918cddc
deps: bump the development-dependencies group with 6 updates
2026-03-11 16:08:11 +08:00
xixu-me 9a26e2a850 Merge pull request #29 from xixu-me/dependabot/npm_and_yarn/production-dependencies-d3731d7e25
deps: bump hono from 4.10.3 to 4.12.7 in the production-dependencies group
2026-03-11 16:08:08 +08:00
xixu-me ff129dae48 Merge pull request #27 from xixu-me/dependabot/github_actions/actions/github-script-8
deps: bump actions/github-script from 7 to 8
2026-03-11 16:07:24 +08:00
xixu-me 06ba6201fd Merge pull request #26 from xixu-me/dependabot/github_actions/actions/checkout-6
deps: bump actions/checkout from 4 to 6
2026-03-11 16:07:23 +08:00
xixu-me 1d0e48d32f Merge pull request #28 from xixu-me/dependabot/github_actions/actions/setup-node-6
deps: bump actions/setup-node from 4 to 6
2026-03-11 16:07:22 +08:00
dependabot[bot] 215f6afc11 deps: bump actions/github-script from 7 to 8
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 08:07:07 +00:00
xixu-me 7f9f9e8024 Auto-merge Dependabot dependency PRs
Update the Dependabot auto-merge workflow to select the repository's allowed merge method and simplify PR filtering.

Changes:
- Renamed the workflow step to "Auto-merge Dependabot dependency PRs".
- Removed version parsing and update-type checks; no longer requires parsing PR title for major/minor/patch.
- Fetch repository settings and choose merge method from `allow_merge_commit`, `allow_squash_merge`, or `allow_rebase_merge`; fail if none allowed.
- Broaden Dependabot detection to any author string containing "dependabot" and require the `dependencies` label before attempting auto-merge.
- Preserve `automerge:disabled` label to skip merges when present.
- Use the chosen `merge_method` (instead of hardcoded `squash`) and log which method was used.

Rationale: support repositories with different merge configurations and simplify auto-merge rules by relying on labels rather than title version parsing.
2026-03-11 16:05:53 +08:00
dependabot[bot] 044292b49b deps: bump the development-dependencies group with 6 updates
Bumps the development-dependencies group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@cloudflare/workers-types](https://github.com/cloudflare/workerd) | `4.20250722.0` | `4.20260310.1` |
| [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) | `29.7.0` | `30.3.0` |
| [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) | `29.5.14` | `30.0.0` |
| [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.4.0` | `29.4.6` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.8.3` | `5.9.3` |
| [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) | `4.25.0` | `4.72.0` |


Updates `@cloudflare/workers-types` from 4.20250722.0 to 4.20260310.1
- [Release notes](https://github.com/cloudflare/workerd/releases)
- [Changelog](https://github.com/cloudflare/workerd/blob/main/RELEASE.md)
- [Commits](https://github.com/cloudflare/workerd/commits)

Updates `jest` from 29.7.0 to 30.3.0
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.3.0/packages/jest)

Updates `@types/jest` from 29.5.14 to 30.0.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Updates `ts-jest` from 29.4.0 to 29.4.6
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.4.0...v29.4.6)

Updates `typescript` from 5.8.3 to 5.9.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.8.3...v5.9.3)

Updates `wrangler` from 4.25.0 to 4.72.0
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.72.0/packages/wrangler)

---
updated-dependencies:
- dependency-name: "@cloudflare/workers-types"
  dependency-version: 4.20260310.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: jest
  dependency-version: 30.3.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: "@types/jest"
  dependency-version: 30.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: ts-jest
  dependency-version: 29.4.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: typescript
  dependency-version: 5.9.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: wrangler
  dependency-version: 4.72.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 07:51:11 +00:00
dependabot[bot] 6947f24f89 deps: bump hono in the production-dependencies group
Bumps the production-dependencies group with 1 update: [hono](https://github.com/honojs/hono).


Updates `hono` from 4.10.3 to 4.12.7
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.10.3...v4.12.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 07:50:14 +00:00
dependabot[bot] d289e85ad6 deps: bump actions/setup-node from 4 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 07:49:56 +00:00
dependabot[bot] ee172af1ac deps: bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 07:49:50 +00:00
xixu-me d1c66862f7 Fix Dependabot config and CI workflow 2026-03-11 15:48:50 +08:00
xixu-me 20f1abc2e8 Add dependency update and automerge workflows 2026-03-11 14:49:38 +08:00
xixu-me aa47344a9d Revert "Await proxy endpoints and simplify delayRequest"
This reverts commit 0d7a026761.
2026-03-11 14:18:04 +08:00
xixu-me 0d7a026761 Await proxy endpoints and simplify delayRequest
Make getDynamicRateLimits async and await getProxyEndpoints to ensure proxy endpoints are resolved before calculating limits; update checkRateLimit to await the dynamic limits. Replace the custom microtask-based delay loop with a simple setTimeout-based Promise in delayRequest, normalizing and clamping the delay to milliseconds. These changes fix async behavior and simplify the request-delay implementation.
2026-03-11 14:10:49 +08:00
xixu-me d520140a6a Disable debug endpoint by default 2026-03-11 14:07:24 +08:00
xixu-me c7d015d7ba Merge pull request #15 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-4265e88a4c
Bump js-yaml from 3.14.1 to 3.14.2 in the npm_and_yarn group across 1 directory
2025-11-18 21:28:57 +08:00
dependabot[bot] 5026f8e440 Bump js-yaml in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [js-yaml](https://github.com/nodeca/js-yaml).


Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 10:57:09 +00:00
xixu-me 2caa562d2a Update README to note suspension of pre-deployed instance
Added a notice in both English and Chinese README files indicating that the pre-deployed instance is temporarily suspended due to excessive requests, and advised users to self-deploy.
2025-11-09 19:44:46 +08:00
xixu-me 756ee0bf0a Enable custom headers in query requests
Uncommented the spread of config.customHeader in the request headers, allowing custom headers to be included in outgoing POST requests.
2025-11-07 16:44:07 +08:00
xixu-me fc696f0a4a Update request headers in query function
Removed charset from Content-Type, updated Accept-Encoding to include zstd, and commented out fingerprint and customHeader spreading. Also removed Cache-Control header for a more streamlined request.
2025-11-07 16:42:15 +08:00
xixu-me 4b6b2dc2ed Add detailed headers and error handling to query requests
Expanded request headers to better mimic browser requests and improve compatibility with DeepL. Added specific handling for HTTP 429 rate limit errors and enhanced general error reporting for non-200 responses.
2025-11-07 16:34:37 +08:00
xixu-me e1c60d67db Update browser fingerprint headers and observability config
Refined the generateBrowserFingerprint function to use more realistic and concise HTTP headers. Updated wrangler.jsonc to disable general observability but enable and configure detailed logging and tracing with persistence and full sampling.
2025-11-07 16:17:08 +08:00
xixu-me f938c7f457 Remove deployment status badge from README files
The deployment status badge was removed from both the English and Chinese README files, likely to reflect changes in service availability or to simplify the documentation.
2025-11-07 16:05:56 +08:00
xixu-me 1e858212c1 Add CLAUDE.md and enhance proxy browser fingerprint headers
Introduces CLAUDE.md with detailed project, architecture, and contribution guidelines. Improves generateBrowserFingerprint in proxyManager.ts by adding comprehensive headers to better mimic real browsers and bypass DeepL bot detection. Minor cleanup in testHelpers.ts. package-lock.json updated for peer dependencies.
2025-11-07 16:02:04 +08:00
xixu-me fd48d1f3ac Merge pull request #14 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-96b303b581
Bump hono from 4.10.2 to 4.10.3 in the npm_and_yarn group across 1 directory
2025-10-25 12:28:28 +08:00
dependabot[bot] 4cbbc04c87 Bump hono in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [hono](https://github.com/honojs/hono).


Updates `hono` from 4.10.2 to 4.10.3
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.10.2...v4.10.3)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.10.3
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-24 19:42:47 +00:00
xixu-me 33472d4382 Merge pull request #13 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-4a110fd761
Bump hono from 4.9.7 to 4.10.2 in the npm_and_yarn group across 1 directory
2025-10-24 10:18:49 +08:00
dependabot[bot] e56158698e Bump hono in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [hono](https://github.com/honojs/hono).


Updates `hono` from 4.9.7 to 4.10.2
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.9.7...v4.10.2)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.10.2
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-22 15:44:04 +00:00
xixu-me 66ec36e8a0 Merge pull request #7 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-e8c83315d2
Bump hono from 4.9.6 to 4.9.7 in the npm_and_yarn group across 1 directory
2025-09-13 11:05:46 +08:00
dependabot[bot] 5398f66717 Bump hono in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [hono](https://github.com/honojs/hono).


Updates `hono` from 4.9.6 to 4.9.7
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.9.6...v4.9.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.9.7
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-12 21:53:52 +00:00
xixu-me 51e58b9c7c Merge pull request #6 from xixu-me/dependabot/npm_and_yarn/npm_and_yarn-062fc4dcdd
Bump hono from 4.8.5 to 4.9.6 in the npm_and_yarn group across 1 directory
2025-09-04 23:42:06 +08:00
dependabot[bot] c2207ad394 Bump hono in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [hono](https://github.com/honojs/hono).


Updates `hono` from 4.8.5 to 4.9.6
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.8.5...v4.9.6)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.9.6
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 15:39:50 +00:00
xixu-me 4c23cce5f8 Fix formatting in FUNDING.yml 2025-08-24 17:40:35 +08:00
xixu-me e002ba156f Update architecture diagrams and example headings in README
Enhanced the architecture diagrams in both English and Chinese README files for clarity, adding more detailed components and improved flow. Updated example section headings for translation usage in JavaScript and Python to be more descriptive and consistent.
2025-08-09 18:52:46 +08:00
xixu-me da02349581 Update README to add Google Translate support
Expanded documentation in both English and Chinese to reflect new support for Google Translate alongside DeepL. Updated endpoint descriptions, feature lists, and architecture diagrams to show multi-provider support and clarified that the service is a free alternative to traditional translation APIs.
2025-08-09 18:47:09 +08:00
xixu-me 1076a5817f Remove Microsoft Translator integration and update docs
Eliminated Microsoft Translator support from the codebase, including its service implementation, API endpoint, and related tests. Updated both English and Chinese README files to reflect the removal and to clarify usage of DeepL and Google endpoints, providing improved examples and API documentation.
2025-08-09 18:41:49 +08:00
xixu-me e30b019cd2 Refactor Microsoft Translator integration and tests
Refactored the Microsoft Translator service to use a parameter object for translation requests, improved language code normalization, and enhanced error handling. Updated integration and unit tests to match the new API and moved Microsoft Translator unit tests to a new location under tests/lib/services. Removed the old test file and added more comprehensive test coverage for translation scenarios and error cases.
2025-08-09 18:18:36 +08:00