Skip to content

Releases: plainheart/bing-translate-api

v2.7.0

12 Jan 10:31
Compare
Choose a tag to compare
  • [fix] update the strategy to fetch global config to follow the latest bing translator website. (#16)
  • [fix] update default user-agent.

v2.6.0

18 Apr 10:25
Compare
Choose a tag to compare
  • [refactor] use JSON.parse instead of new Function.
  • [feat] update supported language list.

v2.5.0

26 Mar 07:12
Compare
Choose a tag to compare
  • [refactor] removed qs module from dependencies.

v2.4.0

22 Mar 04:38
Compare
Choose a tag to compare
  • [feat] support setting agents of got for proxy. (#10)
  • [fix] update the supported language list.

v2.3.0

16 Mar 03:08
Compare
Choose a tag to compare
  • [fix] update the supported language list. (#9)
  • [feat] provide a script to support generating the latest language map from the bing translator website.

v2.2.1

23 Aug 00:25
Compare
Choose a tag to compare
  • [fix] ensure the parameter lang of getLangCode function is a string. (#5)

v2.2.0

28 Jun 04:12
Compare
Choose a tag to compare
  • [refactor] enable auto-redirect and removed the tld option.

v2.1.0

24 Jun 07:31
Compare
Choose a tag to compare
  • [fix] add request param isAuthv2.
  • [fix] removed the empty tld, only www and cn are supported. cn is recommended for Chinese users.
  • [chore] add some error hints.

v2.0.0

26 May 19:01
Compare
Choose a tag to compare
  • [fix] update request params(key & token) to follow the latest bing translator.
  • [fix] update default user-agent in request headers.
  • [fix] add the maximum text length: 1000.

v1.2.0

17 May 00:23
Compare
Choose a tag to compare
  • [fix] ensure global config is fetched before translation.
  • [fix] fix unexpected referer value and add captcha error tip.
  • [ci] use github action instead of travis.