github-actions[bot]
675b4487ca
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]
5aa5f286d7
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]
81f4eb2f4b
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]
5e7b408108
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]
64aee92659
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]
5256b800e7
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
0663ad3db0
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
12d91dbce9
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
e0bff6cdf4
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
974d8cfd28
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
4470b38acd
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]
566c520b0b
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
31ab434872
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]
d63cf1d4c0
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]
65f64d0655
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]
e42e8a7f35
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]
bdbfcbcf17
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
944c31cd67
Fix Dependabot config and CI workflow
2026-03-11 15:48:50 +08:00
xixu-me
9f5c4233f8
Add dependency update and automerge workflows
2026-03-11 14:49:38 +08:00
xixu-me
3d5c4b8070
Revert "Await proxy endpoints and simplify delayRequest"
...
This reverts commit 0d7a026761 .
2026-03-11 14:18:04 +08:00
xixu-me
f83ebd0e3f
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
32578e95ee
Disable debug endpoint by default
2026-03-11 14:07:24 +08:00
xixu-me
e43fd30667
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]
15dbe48891
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
e5811b3ec4
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
ee9eac7e22
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
f206285da0
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
49c16dc644
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
89aa063664
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
63c833e00a
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
3afd1b79ef
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
b637e71c41
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]
6b5b021592
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
455f4899d0
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]
62224ae5f8
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
d5a54dd7d6
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]
54ce67b2eb
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
15cbc67176
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]
da932a6b1e
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
1996758e29
Fix formatting in FUNDING.yml
2025-08-24 17:40:35 +08:00
xixu-me
77b1724034
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
03306792f6
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
b2fdd0e22d
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
8ae7c122b6
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
xixu-me
60e11e34c1
Refactor Microsoft translation function arguments
...
Changed the call to translateWithMicrosoft to pass text, source_lang, and target_lang as separate arguments instead of a single params object. Updated the function implementation to match the new signature and inlined the request body construction.
2025-08-09 17:29:33 +08:00
xixu-me
07923fdb10
Refactor Microsoft Translator service and add tests
...
Refactored the Microsoft Translator integration to improve error handling, token acquisition, and API request structure. Added comprehensive unit tests for translation and service availability, covering success, error, and edge cases.
2025-08-09 17:17:43 +08:00
xixu-me
3011014355
Add Microsoft Translator integration and endpoint
...
Introduces a new Microsoft Translator service with a compatible API, adds the /microsoft POST endpoint, and updates the translation handler to support Microsoft as a provider. Also includes minor cleanup in testHelpers.
2025-08-09 16:18:03 +08:00
xixu-me
73b2c9777d
Make config parameter optional in Google Translate service
...
Updated the translateWithGoogle function to accept an optional config parameter and handle missing clientIP values gracefully. This improves flexibility and prevents errors when config or its properties are undefined.
2025-08-09 14:11:04 +08:00
xixu-me
1edc187e15
Add Google Translate provider and multi-provider support
...
Introduces a Google Translate integration with a new service module and endpoint (/google), refactors translation handling to support both DeepL and Google providers, and updates cache key generation to include the provider. Adds integration and unit tests for the new provider and updates API route definitions for clarity and extensibility.
2025-08-09 14:05:37 +08:00
xixu-me
fedcea2b37
Fix markdown link formatting in README
...
Removed unnecessary full-width parentheses in the PDFMathTranslate link to ensure consistent markdown formatting.
2025-07-29 18:26:19 +08:00