Skip to content

Releases: backrunner/misskey-media-proxy-worker

v0.4.1

Choose a tag to compare

@backrunner backrunner released this 04 Dec 07:19
38fd3f8

IMPORTANT: The default user-agent value and via pseudo name has been changed to misskey/media-proxy-worker for consistence.

  • feat: prevent loop proxy from official misskey media proxy
  • feat: always use the default user agent if the user agent is not set
  • feat: add a new option to force passing the user agent from the request to the remote target
  • fix: incorrect default values in the toml file

v0.4.0

Choose a tag to compare

@backrunner backrunner released this 30 Nov 19:38
  • feat: configurable user agent validation and cf polish param
  • feat: support to send the proxy request to another transparent http proxy
  • feat: add optional validation for url length
  • feat: support via headers in the proxy request and response
  • feat: loop proxy protection
  • fix: correct the wrong implementation of proxy response cache

v0.3.2

Choose a tag to compare

@backrunner backrunner released this 16 Oct 05:43

Full Changelog: v0.3.1...v0.3.2

  • feat: allow to set the cache max age
  • feat: support adding extra headers for specific domains
  • fix: correct empty pic response cache header

v0.3.1

Choose a tag to compare

@backrunner backrunner released this 06 Oct 16:09

Full Changelog: v0.3.0...v0.3.1

  • feat: expose fetch body in the error log

v0.3.0

Choose a tag to compare

@backrunner backrunner released this 06 Oct 15:54
  • breaking: support config worker by environment variables
  • feat: more detailed error handling
  • feat: support HEAD method

Previous config.ts is deprecated now, you should move the config to the environment variables of the worker, you can configure them at Cloudflare's dashboard or in the wrangler.toml file.
You can still modify the config.ts to make things work, but it's not recommended.

v0.2.0

Choose a tag to compare

@backrunner backrunner released this 09 May 14:34
  • Support returning an empty 1x1 transparent image when proxy failed