UNPKG

12.2 kBMarkdownView Raw
1English | [简体中文](./CHANGELOG_CN.md)
2
3#### 3.8.0 (2021-06-23)
4
5- `Feat(Log)` Show resource (image/video/link/script) loading error log. (PR #411 by @zimv)
6- `Chore` Add `target: ['web', 'es5']` to Webpack to avoid compatibility issues. (issue #404)
7- `Fix(Network)` Fix error when `new URL('x', undefined)`. (PR #409 by @moonkop)
8
9
10#### 3.7.0 (2021-05-27)
11
12- `Feat(Storage)` Show preview value to prevent large raw value blocking rendering. (issue #300)
13- `Feat(Storage)` Add copy button and delete button.
14- `Feat(Global)` Use system theme color by default when init option `theme` is empty.
15- `Refactor(Storage)` Convert Storage panel to `.ts` file.
16- `Fix(Network)` Use `forEach` instead of `.entries()` when traversing `headers`. (issue #404)
17- `Fix(Network)` Fix error when `Content-Type` is empty.
18
19
20#### 3.6.1 (2021-05-24)
21
22- `Fix(Network)` Fix "Invalid base URL" error. (PR #402)
23
24
25#### 3.6.0 (2021-05-21)
26
27- `Feat(Log)` Print `unhandledrejection` log. (PR #389 by @zimv)
28- `Feat(Network)` Support `navigator.sendBeacon()` in Network panel. (PR #383 by @cola119)
29- `Feat(Network)` Display "Type" (Request Type) in "General", including `xhr|fetch|ping`.
30- `Refactor(Global)` Use TypeScript. Now Network panel is conveted to `.ts` file.
31- `Fix(Network)` Recover original `window.fetch()` method when remove Network panel.
32- `Fix(Storage)` Fix issue that the cookie of the non-first-level domain cannot be deleted. (issue #398)
33- `Fix(Element)` Fix issue that elements are rendered as nested when `attributes` or `characterData` changed. (issue #399)
34
35
36#### 3.5.2 (2021-05-13)
37
38- `Chore(Global)` Update to Webpack5 and update all NPM packages to the latest version.
39- `Fix(Global)` Fix invalid click caused by wrong `selection`.
40- `Fix(Log)` Delete `cachedLogs` when reached `maxLogNumber` limit.
41- `Fix(Log)` Fix XSS risk.
42
43
44#### 3.5.1 (2021-05-07)
45
46- `Chore(Babel)` Fix incorrect `catch` built by babel-loader. (PR #392 by @myl0204)
47- `Fix(Network)` Fix typing error. (PR #388 by @xovel)
48
49
50#### 3.5.0 (2021-04-28)
51
52- `Feature(Log)` Add ability to copy a single line of logs. (by @akai)
53- `Feature(Plugin)` New third-party plugin [vconsole-vue-devtools-plugin](https://github.com/Zippowxk/vue-vconsole-devtools). (by @Zippowxk)
54- `Perf(System)` Rename "System" field to "Client", and add `MacOS` version.
55- `Fix(Log)` Use natural sorting to sort object and array's keys. (issue #372)
56- `Fix(Network)` Fix JSON parse error when `contentType` is `text/html`. (by @zimv)
57- `Fix(Network)` Fix `disableLogScrolling` not working in Network panel. (issue #282, #379)
58
59
60#### V3.4.1 (2021-04-09)
61
62- `Feature(Global)` Add `setSwitchPosition(x, y)` method to update the position of switch button, see [Public Properties & Methods](./doc/public_properties_methods.md) for more details.
63- `Perf(Global)` Add `Symbol` polyfill. (issue #361)
64- `Fix(Global)` Update theme style after `setOption()`.
65- `Fix(Global)` Remove `transitionEnd` to prevent compatibility issues. (issue #364)
66- `Fix(Network)` Fix `fetch` optional parameter `init`. (issue #363, #365)
67- `Fix(Network)` Fix XSS risks.
68
69
70#### V3.4.0 (2021-01-14)
71
72- `Feature(Global)` Add darkmode theme, see `vConsole.option.theme` in [Public Properties & Methods](./doc/public_properties_methods.md). (PR #307 by @progrape)
73- `Feature(Global)` Add safe area to switch button. (issue #353)
74- `Feature(Log)` Auto move input cursor to the bracket after autocomplete command. (issue #293)
75- `Feature(System)` Add `Location` info to System tab. (issue #343)
76- `Feature(Network)` Add `fetch` log in Network tab. (by @weiqian93)
77- `Feature(Network)` Add Request Headers to Network tab.
78- `Feature(Network)` Use short URL and display parameters in Network tab. (issue #291)
79- `Feature(Plugin)` New third-party plugin [vconsole-stats-plugin](https://github.com/smackgg/vConsole-Stats). (by @smackgg)
80- `Fix(Global)` The position of the switch button will be reset by mistake when clicked.
81- `Fix(Global)` Fix `document.documentElement.offsetHeight|offsetWidth` is unreliable in newer browsers. (PR #314 by @littlee)
82- `Fix(Global)` Prevent dispatchEvent for disabled or readOnly elements. (PR #314 by @norux)
83- `Fix(Global)` Fix nonce searching problem. (by @sunderls)
84- `Fix(Global)` Fix security issues. (#345 by @QiAnXinCodeSafe)
85- `Fix(Global)` Prevent "webkitStorageInfo deprecation" warning.
86- `Perf(Global)` Remove `Symbol`, `Array.from` polyfill. (issue #325, #275)
87- `Perf(Global)` Show all enumerable and unenumerable properties. (issue #327)
88- `Chore` Update Webpack DevServer option. (by @QinZhen001)
89
90
91#### V3.3.4 (2019-08-19)
92
93- `Feature(Log)` Add `%c` log format to support custom log style, see [Tutorial](./doc/tutorial.md) for more details.
94- `Feature(Plugin)` Add `VConsole.VConsoleLogPlugin` (`VConsole.VConsole*` plugins etc.) to `VConsole` class.
95- `Fix(Global)` Fix a few minor issues. (#267 by @Molunerfinn, #272 by @domom)
96- `Fix(Storage)` Fix remove cookie fail when it is set path=/ or top domain. (#264 by @qianxinfeng)
97- `Perf(Global)` Display vConsole on `window DOMContentLoaded` instead of `window load`.
98
99
100#### V3.3.2 (2019-07-04)
101
102- `Feature(Global)` Add TypeScript definition file. (by @jas0ncn)
103- `Fix(Log)` Avoid scrolling to bottom when away from bottom edge. (by @ele828)
104- `Fix(Global)` Fix switch button position issue. (by @rexschuang)
105- `Fix(Global)` Fix a few minor issues. (by @stenders)
106
107
108#### V3.3.0 (2019-02-02)
109
110- `Feature(Log)` Add the ability to collapse the same log.
111- `Fix(Log)` Fix issue which formatted log (like `console.log('[foo]', 'bar')`) will not display in Log tab.
112
113
114#### V3.2.2 (2019-01-17)
115
116- `Feature` Add console command prompt. (by @65147400)
117- `Feature` Add SessionStorage support in Storage tab. (by @hkc452)
118- `Fix` Fix `JSON.stringify` function which was incorrectly rewritten.
119- `Fix` Fix `logNumber` bug which was not reset when clear logs. (by @liuyuekeng)
120- `Fix` Fix unencoded HTML tag in Network tab. (by @mokang)
121- `Fix` Fix possible crash when decode content in Storage tab. (by @wolfsilver)
122- `Fix` Fix CSP buy cause by `nonce` attribute. (by @scotthuang)
123- `Perf` Add bottom safe area to adapt to full screen such as iPhone X. (by @dingyi1993)
124
125
126#### V3.2.0 (2018-04-10)
127
128- `Feature` Support `console.time()` and `console.timeEnd()`.
129- `Feature` Add `disableLogScrolling` (in `vConsole.option`).
130- `Fix` Fix `setOption()` error.
131- `Fix` Fix cookies' value wrong display.
132- `Fix` Fix "Uncaught InvalidStateError". (by @fireyy)
133
134
135#### V3.1.0 (2017-12-27)
136
137- `Feature` Add `vConsole.showSwitch()` and `vConsole.hideSwitch()` methods, see [Public Properties & Methods](./doc/public_properties_methods.md).
138- `Feature` Add `onReady` and `onClearLog` callback function to `vConsole.option`.
139- `Feature` Auto clear logs when `console.clear()` is called.
140- `Fix` Fix `\r` error when build in Windows.
141- `Fix` Fix `Symbol` error in iOS8 or other old OS.
142
143
144#### V3.0.0 (2017-09-27)
145
146Basic:
147
148- `Feature` Require manual init vConsole `var vConsole = new VConsole(option)`.
149- `Feature` Add configuaration `vConsole.option`, which can be set when `new VConsole` or `setOption(key, value)`.
150- `Feature` Support for custom loading of default built-in plugins by using `defaultPlugins` in the above option.
151- `Feature` Add `setOption(key, value)` method.
152- `Perf` Support CSP rule `unsafe-eval` and `unsafe-inline`.
153- `Perf` Optimize `font-size` when `initial-scale < 1`.
154
155Log plugin:
156
157- `Feature` Support `maxLogNumber` option to limit maximum log number.
158- `Fix` Fix the crash caused by printing large objects.
159- `Perf` Only the logs written as `console.log('[system]', xxx)` will be shown in System tab, so `console.log('[system] xxx')` will be shown in default log tab.
160
161Network plugin:
162
163- `Feature` Support `Query String Parameters` and `Form Data`.
164- `Perf` Auto format JSON response.
165- `Fix` Fix bug that XHR status is always "Pending" when using 3rd HTTP libraries.
166
167Plugins:
168
169- `Feature` Plugins can get vConsole instance by `this.vConsole` on/after `init` event is called.
170- `Feature` Add `updateOption` event to detect `vConsole.option` changes.
171- `Feature` Add Element tab as a built-in plugin.
172- `Feature` Add Storage tab as a built-in plugin.
173
174
175
176## V2.x.x
177
178#### V2.5.2 (2016-12-27)
179
180- `Fix` Catch errors when eval custom commands in Log tab.
181
182
183#### V2.5.1 (2016-10-18)
184
185- `Fix` Fix `scrollHeight` error in some cases.
186- `Fix` Fix flex layout in iOS 8 devices.
187- `Perf` Performance enhancement.
188
189
190#### V2.5.0 (2016-09-28)
191
192- `Feature` Add `vConsole.removePlugin()` method, see [Public Properties & Methods](./doc/public_properties_methods.md).
193- `Feature` Add `remove` plugin event, see [Plugin: Event List](./doc/plugin_event_list.md).
194- `Perf` Disable page scrolling while vConsole is scrolling.
195- `Fix` Fix `window.onerror()` typo.
196
197
198#### V2.4.0 (2016-08-31)
199
200- `Feature` Add `addTopBar` plugin event, see [Plugin: Event List](./doc/plugin_event_list.md).
201- `Feature` Add log type filter to Log & System tab.
202- `Perf` Log list will not automatically scroll to bottom while printing new logs if the viewport is not at the end of list.
203- `Perf` Fix UI bugs.
204- `Fix` Fix XSS issue when print object logs.
205- `Fix` Switch button will not be positioned out of edges in some special cases.
206
207
208#### V2.3.1 (2016-08-16)
209
210- `Fix` Replace custom `tap` event (in V2.3.0) with `click` event (still support fast response) to prevent conflicts.
211- `Perf` Remove `now` item and add `navigationStart` time in System tab.
212
213
214#### V2.3.0 (2016-08-15)
215
216- `Feature` Objects or Arrays can be expended layer by layer.
217- `Feature` All object's properties, including private properties, can be enumerable now.
218- `Perf` Support `tap` event within vConsole's DOM container to speed up `click` event.
219
220
221#### V2.2.1 (2016-08-08)
222
223- `Perf` Add complete performance timing log to System tab.
224- `Feature` Add third-party plugin list to README.
225
226
227#### V2.2.0 (2016-07-13)
228
229- `Feature` Add `vConsole.version` property.
230- `Feature` Add `xhr._noVConsole` property to `XMLHttpRequest` objects to customize whether a XHR should display in Network tab.
231
232
233#### V2.1.0 (2016-06-29)
234
235- `Feature` Add `vConsole.tool` & `vConsole.$` helper functions, see [Helper Functions](./doc/helper_functions.md).
236- `Feature` Public properties & methods of vConsole are available, see [Public Properties & Methods](./doc/public_properties_methods.md).
237- `Fix` Fix issue that `error` in `window.onerror()` may be undefined.
238- `Fix` Fix error that `xhr.status` may be unavailable when `xhr.readyState < 4`.
239
240
241#### v2.0.1 (2016-06-16)
242
243- `Fix` Fix error that vConsole may not work at X5 browser engine.
244- `Fix` Fix error that `localStorage` is null in some kind of devices.
245- `Fix` Fix boolean display error in Log tab.
246- `Perf` Improve UI in Android.
247
248
249#### v2.0.0 (2016-06-05)
250
251- `Feature` Rebuild completely, support custom plugin, see [Plugin: Getting Started](./doc/plugin_getting_started.md).
252- `Feature` Support execute JS command line in Log tab.
253- `Feature` Support circular structure object in Log and System tab.
254- `Feature` Support viewing request headers and response in Network tab.
255- `Perf` Switch button will not be dragged out of screen.
256- `Perf` Auto print User Agent in System tab.
257- `Perf` Show log's time in Log and System tab.
258- `Fix` Fix issue that getDate() returns a wrong date.
259- `Fix` Fix issue that sync AJAX becomes async AJAX.
260
261
262
263# v1.x.x
264
265#### v1.3.0 (2016-05-20)
266
267- `Feature` Support Drag and Drop switch button.
268- `Fix` Fix initialization failure when loaded asynchronously.
269
270
271#### v1.2.1 (2016-05-16)
272
273- `Fix` Fix data lost when sending a POST request.
274
275
276#### v1.2.0 (2016-05-11)
277
278- `Feature` Add network panel.
279- `Feature` Deprecate `vConsole.ready()` method.
280- `Perf` Display formatted Object & Array variable.
281- `Perf` Add English README and CHANGELOG.
282- `Perf` Improve UI.
283
284
285#### v1.1.0 (2016-05-06)
286
287- `Feature` Support `window.onerror()` to catch exceptions and errors.
288- `Feature` Support `[default|system|...]` string to print logs to specific panel.
289
290
291#### v1.0.5 (2016-04-29)
292
293- `Fix` Fix webpack compilation.
294- `Fix` Fix XSS when printing HTML string.
295
296
297#### v1.0.4 (2016-04-28)
298
299- `Fix` Fix the `main` path in `package.json`.
300- `Perf` Update demo pages.
301
302
303#### v1.0.2 (2016-04-27)
304
305- Initial release.
\No newline at end of file