Skip to content

Releases: plainheart/bing-translate-api

v4.0.2

23 May 00:38
Compare
Choose a tag to compare
  • [fix] avoid throwing error when detectedLang is not present. #39 (Thanks to @qixiaobo)

v4.0.1

13 Mar 10:46
Compare
Choose a tag to compare
  • [fix] remove nested declare modifier to address the TS(1038) error. #37 (Thanks to @suejon)

v4.0.0

27 Jan 19:43
Compare
Choose a tag to compare

Added a new MET mode for Microsoft Translator, which is more stable and powerful than the Bing website translator. Both free service and paid service are supported. Feel free to give it a try! See README for more details.

v3.0.1

27 Jan 19:20
Compare
Choose a tag to compare
  • [feat] update supported language list.

v3.0.0

07 Jan 10:51
Compare
Choose a tag to compare
  • [feat] add a new experimental EPT mode, which can get less rate limit than the legacy mode. Just try it! (See the README for the limitations)
  • [feat] still use 1000 as the default maxTextLen. 5000 is only available in China.
  • [refactor] cookie is no longer passed in HTTP requests.
  • [fix] fix potential JSON parsing error brought by trailing comma.
  • [chore] update default user-agent.

v2.10.0

18 Nov 09:02
Compare
Choose a tag to compare
  • [feat] update supported maximum text length for translation. 1000 -> 5000
  • [feat] auto retry 3 times when failing to request.
  • [feat] provide more detailed and readable error message.
  • [feat] enable the tryFetchingGenderDebiasedTranslations option to follow the website.
  • [feat] add a script to fetch config from bing website.
  • [chore] update default user-agent to Edge.

v2.9.2

28 Oct 15:52
Compare
Choose a tag to compare
  • [feat] update supported language list.
  • [chore] update default user-agent.

v2.9.1

22 Apr 08:28
Compare
Choose a tag to compare
  • [feat] update supported language list.

v2.9.0

15 Feb 13:15
Compare
Choose a tag to compare
  • [fix] fix an unhandled case when no redirection and the subdomain is unchanged. (#21)
  • [chore] update default user-agent.
  • [chore] add a check for required fields when fetching global config.
  • [chore] optimize code typings.
  • [chore] update got dependency to the latest version of v11 branch.

v2.8.0

20 Jan 14:27
Compare
Choose a tag to compare
  • [feat] add TypeScript declaration (#17, thanks to @guoyunhe)