picgo 1.5.0-alpha.9 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +104 -0
- package/dist/core/PicGo.d.ts +6 -1
- package/dist/i18n/zh-TW.d.ts +2 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +2 -2
- package/dist/types/index.d.ts +36 -15
- package/dist/types/oldRequest.d.ts +19 -0
- package/dist/utils/common.d.ts +2 -2
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,107 @@
|
|
|
1
|
+
## :tada: 1.5.1 (2023-04-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### :sparkles: Features
|
|
5
|
+
|
|
6
|
+
* add mime-types for some uploaders ([fb59681](https://github.com/PicGo/PicGo-Core/commit/fb59681))
|
|
7
|
+
* add settings.encodeOutputURL options for URL encode ([2b9c791](https://github.com/PicGo/PicGo-Core/commit/2b9c791))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### :bug: Bug Fixes
|
|
11
|
+
|
|
12
|
+
* smms error message is an object ([527d19e](https://github.com/PicGo/PicGo-Core/commit/527d19e))
|
|
13
|
+
* tencent cos UA bug ([cb64d84](https://github.com/PicGo/PicGo-Core/commit/cb64d84))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# :tada: 1.5.0 (2022-11-13)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# :tada: 1.5.0-alpha.17 (2022-11-13)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### :sparkles: Features
|
|
25
|
+
|
|
26
|
+
* update picgo.use ([e19bb6e](https://github.com/PicGo/PicGo-Core/commit/e19bb6e))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### :bug: Bug Fixes
|
|
30
|
+
|
|
31
|
+
* some case will cause proxy not work ([6272303](https://github.com/PicGo/PicGo-Core/commit/6272303))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# :tada: 1.5.0-alpha.16 (2022-11-09)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### :bug: Bug Fixes
|
|
39
|
+
|
|
40
|
+
* upyun url-options is not required ([9736a11](https://github.com/PicGo/PicGo-Core/commit/9736a11))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
# :tada: 1.5.0-alpha.15 (2022-10-24)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### :bug: Bug Fixes
|
|
48
|
+
|
|
49
|
+
* tencent cos url encode bug ([eafb70f](https://github.com/PicGo/PicGo-Core/commit/eafb70f))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
# :tada: 1.5.0-alpha.14 (2022-10-24)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### :bug: Bug Fixes
|
|
57
|
+
|
|
58
|
+
* url encode bug ([4c70e9b](https://github.com/PicGo/PicGo-Core/commit/4c70e9b))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
# :tada: 1.5.0-alpha.13 (2022-10-19)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### :bug: Bug Fixes
|
|
66
|
+
|
|
67
|
+
* type error ([b934e8a](https://github.com/PicGo/PicGo-Core/commit/b934e8a))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### :package: Chore
|
|
71
|
+
|
|
72
|
+
* create oldRequest types ([749359a](https://github.com/PicGo/PicGo-Core/commit/749359a))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
# :tada: 1.5.0-alpha.12 (2022-10-14)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### :bug: Bug Fixes
|
|
80
|
+
|
|
81
|
+
* types bug ([d77e6f3](https://github.com/PicGo/PicGo-Core/commit/d77e6f3))
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
# :tada: 1.5.0-alpha.11 (2022-10-13)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# :tada: 1.5.0-alpha.10 (2022-09-25)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### :sparkles: Features
|
|
93
|
+
|
|
94
|
+
* add zh-TW ([#135](https://github.com/PicGo/PicGo-Core/issues/135)) ([d111d6a](https://github.com/PicGo/PicGo-Core/commit/d111d6a))
|
|
95
|
+
* update linux.sh ([#134](https://github.com/PicGo/PicGo-Core/issues/134)) ([2910c20](https://github.com/PicGo/PicGo-Core/commit/2910c20))
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### :bug: Bug Fixes
|
|
99
|
+
|
|
100
|
+
* some texts in zh-TW ([#136](https://github.com/PicGo/PicGo-Core/issues/136)) ([907e6c9](https://github.com/PicGo/PicGo-Core/commit/907e6c9))
|
|
101
|
+
* url image download bug & tencent cos url encode bug ([53d54f8](https://github.com/PicGo/PicGo-Core/commit/53d54f8))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
1
105
|
# :tada: 1.5.0-alpha.9 (2022-09-03)
|
|
2
106
|
|
|
3
107
|
|
package/dist/core/PicGo.d.ts
CHANGED
|
@@ -32,7 +32,12 @@ export declare class PicGo extends EventEmitter implements IPicGo {
|
|
|
32
32
|
private initConfigPath;
|
|
33
33
|
private initConfig;
|
|
34
34
|
private init;
|
|
35
|
-
|
|
35
|
+
/**
|
|
36
|
+
* easily mannually load a plugin
|
|
37
|
+
* if provide plugin name, will register plugin by name
|
|
38
|
+
* or just instantiate a plugin
|
|
39
|
+
*/
|
|
40
|
+
use(plugin: IPicGoPlugin, name?: string): IPicGoPluginInterface;
|
|
36
41
|
registerCommands(): void;
|
|
37
42
|
getConfig<T>(name?: string): T;
|
|
38
43
|
saveConfig(config: IStringKeyMap<any>): void;
|