forked from UlionTse/translators
-
Notifications
You must be signed in to change notification settings - Fork 0
/
change_log.txt
276 lines (208 loc) · 5.53 KB
/
change_log.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
1.0.1
build translate_api on 10,10,2017.
...(history)
2.2.2
add `proxy`.
2.4.0
add `youdao`.
2.4.2
translate.google()
2.4.4
simple README.rst
add github homepage
3.0.0
Due to incompatible code changes made in version 2.4.2, I should not upgrade the minor version number,
but the major version number. This is a modification. Thanks for Sabrina's reminding.
4.0.0
`translate_api` --> 'translators'
Implementing multiple translators is my pursuit, and the existing module name is ambiguous,
so upgrading the module name is something I have been exploring and thinking about.
Now the name `translators` is more in line with the meaning of the module itself,
and now I have no hesitation to upgrade, although the code upgrade and optimization is limited.
upgraded `Warning`.
4.0.1
fix "translators.google.cn"
4.0.2
On PYPI, rst --> md.
4.0.4
print --> raise,warn
add 'zh-cn'
del client=t
4.0.6
raise fixed
add license in code
4.0.8
recover youdao()
4.1.0
add tencent()
4.2.0
add alibaba()
use **kwargs
proxy --> proxies
make the license more formal
4.2.2
from_language default 'auto'
4.3.0
add baidu()
4.3.2
apis.py (Framing)
4.4.0
add bing()
add sogou()
4.4.2
make 'get_language_url' of alibaba stronger.
make xpath pattern of bing stronger.
4.4.3
fix youdao when from_language='auto' and youdao can not recognize which is language of query_text.
4.5.0
add deepl()
add TranslatorError
use magic `sleep_seconds`
upgrade README.md
4.5.4
update README.md
update License
4.5.8
add `using xxx service backend`
update README.md with issues
upgrade debug log
4.5.14
update README.md
4.6.0
update README.md
translator & translate-api upgrade version synchronously.
4.6.10
make google('emoji') stronger.
make requests of server region stronger.
4.6.18
make youdao('sentences length more than 50','errCode40') stronger.
4.6.20
make tencent(),deepl() stronger with language_map.
make youdao() stronger with `action` and `lts`.
speed request with `use_cache`.
add type hints for function.
`use_domain` --> `professional_field`
4.7.0
add yandex()
`use_cache` deletes if_none(a,b), because b will be computed first, so fix if ... else ...
update README.md
4.7.1
update README.md
4.7.2
make deepl() strong with `content-type` of request headers.
4.7.3
make output strong with '\n'.
add translate_html().
4.7.5
upgrade translate_html().
upgrade baidu() by advice of user `mozbugbox`.
4.7.6
remove parameter `use_cache`, default cache language_map.
cache `tkk` in google().
fixed yandex() with `api_url`
4.7.7
make `get_language_map` with google stronger.
4.7.8
update README.md
4.7.9
make `get_tkk` with google stronger.
4.7.11
make deepl() stronger.
4.7.12
add google_v2().
absolute import.
4.7.13
fix bugs by replacing execjs.get().eval(...) to json.loads(...) for google_v2
4.7.14
follow the provider to adjust the strategy for [baidu(), sogou(), youdao()].
4.7.16
make baidu() stronger with js_txt.
4.7.20
fix google() can’t get a complete language map, temporary, to be improved. #37 #42
fix bing().
fix deepl(). add language count from 11 to 24.
fix default `sleep_seconds`. #39
fix limit of `len(query_text)<5000`. #40
add check_query_text().
make `get_headers()` stronger.
make `translate_html()` time complexity from O(n) to O(1), multiprocessing.
4.8.0
fix tencent().
fix bing().
fix google() can’t get a complete language map.
delete temp_language_map
fix `request_server_region_info`,can `input`.
4.8.1
fix `request_server_region_info`, https -> http, merge user `@dadas190`.
4.9.1
add caiyun().
4.9.4
fix `app.().js` changed.
allow setting timeout. #47
4.9.5
fix deepl(). The job of fixing `get_language_map()` is user `@BingLingGroup`'s merged.
4.10.0
add argos().
fix caiyun(), update to correct resolution of "getting a change in lang's network address causing content parsing errors".
fix whitespace of output.
4.11.0
add iciba().
add iflytek().
fix caiyun() about `auto` error.
4.11.1
update README.md
update deepl()
4.11.3
stronger google() about `consent.google.com`, merged from @mercuree. #57
add param `reset_host_url` to google().
4.11.4
stronger iciba() about sensitive word.
stronger baidu() and iflytek().
5.0.0
In order to avoid the troublesome phenomenon that '4.11.4' is less than '4.9.4', the smaller version number will be one in ten.
fix yandex().
fix google() about headers.
fix iflytek() about regex of getting language_map and use warn method but raise error about `from_language=auto`.
5.0.1
stronger deepl() about `language_map`.
update README.md
5.0.2
Continuous follow-up fixes based on service changes:baidu(), deepl(), iflytek().
add more suitable python version.
5.1.0
add reverso().
add itranslate().
add translateCom() but from microsoft, like bing().
change `assert` to `if not ...: raise ...`.
ready to fix ifytek() about [geetest].
5.1.1
update readme.md
5.2.1
add papago().
add utibet().
pause iflytek() and wait for the fix.
5.2.2
fix multiprocessing.pool.close() of translate_html(). #67
recover `query_text`='', return ''.
add and fix input_limit.
5.3.0
rebuild baidu() and add 2 versions.
rebuild iflytek() v2.
fix youdao() about get_sign(). #74
stronger google() about parsing data, especially one word own two result. #69
stronger multiprocessing, merged from @llabbasmkhll. #71, #72
5.3.1
follow to change and recover iciba().
stronger papago().
5.4.0
add lingvanex().
add mglip().
add niutrans().
change baidu()'s default `version` to `v1`, and fix regexp bug. #78
# todo:
add niutrans() but need to debug it.
change baidu()'s default `version` to `v1`, need to debug `v2`.
5.4.1
upgrade readme.md
5.4.2
fix func request_server_region_info().