UNPKG

9.54 kBMarkdownView Raw
1History
2=======
3
4## 4.7.1
5
6* Bug: Fix plugin types.
7 [#161](https://github.com/FormidableLabs/inspectpack/issues/161)
8
9## 4.7.0
10
11* Feature: Include TypeScript definitions. (*[jensbodal][]*)
12 [#76](https://github.com/FormidableLabs/inspectpack/issues/76)
13
14## 4.6.1
15
16* Internal: Refactor object merging to avoid unnecessary destructuring.
17
18## 4.6.0
19
20* Feature: Add webpack5 support.
21 [#156](https://github.com/FormidableLabs/inspectpack/issues/156)
22* Test: Change handling of tree-shaking supported fixtures to compare production on v4+ and dev vs prod on v3-.
23* Test: Remove `expose-loader` from `loaders` test scenario as just wasn't working on windows + v5.
24
25## 4.5.2
26
27* Internal: Optimize `shouldBail` to used cached `getData()`.
28
29## 4.5.1
30
31* Feature: Add `--bail` option for `--action duplicates|versions`.
32 [#138](https://github.com/FormidableLabs/inspectpack/issues/138) (*[alexander-schranz][]*)
33* Test: Refactor internal test script commands.
34* Test: Add actual process execs for `bin` tests.
35* Various dependency updates.
36
37## 4.4.0
38
39* Add `ignoredPackages` plugin option (string or regex) and `--ignored-packages|-i` CLI option (string) to ignore packages in respective outputs.
40 [#132](https://github.com/FormidableLabs/inspectpack/issues/132) (*[@tido64][]*)
41
42## 4.3.1
43
44* BUG: Handle circular dependencies recursion issue in `versions`.
45 [#128](https://github.com/FormidableLabs/inspectpack/issues/128)
46
47## 4.3.0
48
49* Use `source` string length over `size` reported from Webpack stats for assessing real size of source.
50* Remove `*.map` files from published npm package.
51* Upgrade prod and dev dependencies, including TypeScript (to `3.7.4`).
52
53## 4.2.2
54
55* Update `yargs` for security.
56 [#118](https://github.com/FormidableLabs/inspectpack/issues/118)
57* TEST: Upgrade `mock-fs` to allow modern Nodes. Update Travis + Appveyor.
58 [#83](https://github.com/FormidableLabs/inspectpack/issues/83)
59 [#94](https://github.com/FormidableLabs/inspectpack/issues/94)
60
61## 4.2.1
62
63* BUG: Handle `null` chunks in webpack stats object.
64 [#110](https://github.com/FormidableLabs/inspectpack/issues/110)
65
66## 4.2.0
67
68* Add `commonRoot` to `versions` metadata to indicate what installed paths are relative to.
69* BUG: Detect hidden application roots for things like `yarn` workspaces that are completely flattened.
70 [#103](https://github.com/FormidableLabs/inspectpack/issues/103)
71
72## 4.1.2
73
74* BUG: Use `name` field to better process `identifier` to remove things like
75 `/PATH/TO/node_modules/font-awesome/font-awesome.css 0"`. May result in some
76 `baseName`s being identical despite different `identifier`s because of
77 loaders and generated code.
78
79## 4.1.1
80
81* BUG: A loader in the `identifier` field would incorrectly have all modules inferred "as a `node_modules` file", even if not. Implements a naive loader stripping heuristic to correctly assess if `node_modules` or real application source.
82* Optimizes internal calls to `_isNodeModules()` from 2 to 1 for better performance.
83
84## 4.1.0
85
86* Add `emitHandler` option to `DuplicatesPlugin` to allow customized output.
87
88## 4.0.1
89
90* BUG: CLI execution fails from command line. (Missing shebang.)
91 [#95](https://github.com/FormidableLabs/inspectpack/issues/95)
92
93## 4.0.0
94
95### Breaking changes
96
97* `--action=versions`:
98 * _Reports_: The `tsv` and `text` reports have now changed to reflect
99 dependencies hierarchies as _installed_ (e.g., `scoped@1.2.3 ->
100 flattened-foo@1.1.1 -> @scope/foo@1.1.1`) to a semver range meaning
101 something like as _depended_ (e.g., `scoped@1.2.3 -> flattened-foo@^1.1.0
102 -> @scope/foo@^1.1.1`). We expect that this change will provide much more
103 useful information as to how and why your dependency graph impacts what is
104 installed on disk in `node_modules` and ultimately what ends up in your
105 webpack bundle.
106 * _Metadata_: The following `meta` fields have been renamed to be easier
107 to understand.
108 * `skewedPackages``packages`: Number of packages with skews.
109 * `skewedVersions``resolved`: Number of unique resolved versions.
110 * `installedPackages``installed`: Number of on-disk installs.
111 * `dependedPackages``depended`: Number of dependency paths.
112
113### Features
114
115* Add `range` information to all dependency items returned internally for
116 dependencies utilities and ultimately all the way to `versions` data.
117* Add `installed` aggregate statistic to `versions` metadata.
118* Add `DuplicatesPlugin` webpack plugin.
119
120### Fixes
121
122* BUG: Per-asset `meta` stats were never set (all `0`) before in data.
123* BUG: Multiple package roots incorrectly collapse / don't prefix.
124 [#90](https://github.com/FormidableLabs/inspectpack/issues/90)
125
126### Miscellaneous
127
128* Updated README.md with note that `--action=versions` is not filtered to only
129 packages that would have files show up in the `--action=duplicates` report.
130* Update `--action=versions` logic to explicitly use `semver-compare` for sort
131 order.
132
133## 3.0.0
134
135### Breaking changes
136
137* Complete rewrite in TypeScript.
138* Limit `package.json:engine` to `>=6.0.0` (aka, the current supported Nodes).
139* Use webpack stats object instead of real bundle for data input.
140* The structure and substantive content of all `json` data structures has
141 changed, as well as the corollary `text` and `tsv` output formats.
142 * `sizes`
143 * Remove `bundle` field and all `min` + `min+gz` size fields.
144 * Code `type` field has been removed.
145 * `duplicates`: A complete revision of the JSON format and accompanying
146 other format outputs.
147 * `versions`: A complete rewrite of output formats **and** what is actually
148 reported on. Now, only reports versions information if there are 2+ files
149 of the same `baseName` (aka, the `foo.js` part of `lodash@1/foo.js`) with
150 the reasoning that version skews that _don't_ result in duplicated files
151 aren't technically a "problem".
152
153### Features
154
155* Support for `--action={sizes,duplicates,versions}`
156* Format options `--format={json,text,tsv}`
157* Colorized output for `--format=text`
158* Maintain support (with tests) for webpack versions 1-4.
159
160### Miscellaneous
161
162* Add AppVeyor Windows CI.
163
164## 2.2.4
165
166* Add missing `babel-traverse` dependency. (*[@deadcoder0904][]*)
167 [#55](https://github.com/FormidableLabs/inspectpack/issues/55)
168* Separate `npm run benchmark` from CI as it's slow and brittle.
169
170## 2.2.3
171
172* Bad version. (Not published).
173
174## 2.2.2
175
176* Handle bundle module form of `Array().concat()`. (*[@ryan-codingintrigue][]*)
177 [#53](https://github.com/FormidableLabs/inspectpack/issues/53)
178
179## 2.2.1
180
181* Handle weird `{ type: "Buffer", data: [INTEGERS] }` plain JavaScript object.
182 [webpack-dashboard#193](https://github.com/FormidableLabs/webpack-dashboard/issues/193)
183
184## 2.2.0
185
186* Make `better-sqlite3` and `optionalDependency`. Switch to noop cache if not present.
187 [#49](https://github.com/FormidableLabs/inspectpack/issues/49)
188* Add `Cache.wrapAction` helper for common use case of "try cache get, do action, set cache".
189* Change cross-process communication to just serialize/deserialize the applicable cache instance.
190* Add `cache` option for `InspectpackDaemon.create`.
191* Add error logging for worker errors.
192
193## 2.1.0
194
195* Better parsing of bundle AST. (*[@tptee][]*)
196* Handle empty manifest. (*[@tptee][]*)
197* Handle `ModuleConcatenationPlugin` code sections.
198
199## 2.0.0
200
201* Use `sqlite` to back the daemon cache
202* Parallelize workers
203* *Breaking*: rename factory methods from `init` to `create`.
204
205## 1.3.2
206
207* Move `formidable-playbook` to `devDependencies`.
208
209## 1.3.1
210
211* Version bump to essentially `v1.2.3` as the complete most recent version.
212* Also add `.npmignore` to hone down files published.
213
214## 1.3.0
215
216* Switch to `uglify-es` for minification estimates.
217* **Note**: Missing `v1.2.3` changes.
218
219## 1.2.3
220
221* Fix over-truncating `sourceMappingUrl` comment removal.
222* **Note**: Includes `v1.3.0` changes.
223
224## 1.2.2
225
226* Improve module ID comment inference logic.
227* Add `--allow-empty` command flag and internal option for malformed bundles.
228* Capture bundle validation errors in callback rather than throwing
229 synchronously.
230
231## 1.2.1
232
233* Fix size inspection of bundles created with `devtool: eval`. (*[@kkerr1][]*)
234
235## 0.6.1
236
237* Fix usage of `lodash/fp`.
238
239## 0.6.0
240
241* Add `--action=versions` report. (*[@rgerstenberger][]*)
242
243## 0.5.0
244
245* Add `--action=sizes` report.
246* Add `--format=tsv` output for all reports.
247
248## 0.4.1
249
250* Add ES6 reexport detection to `--action=parse` report. (*[@divmain][]*)
251 [#14](https://github.com/FormidableLabs/inspectpack/issues/14)
252
253## 0.4.0
254
255* Add `--action=parse` report. (*[@divmain][]*)
256 [#7](https://github.com/FormidableLabs/inspectpack/issues/7)
257
258## 0.3.0
259
260* Add `--action=files` report.
261 [#4](https://github.com/FormidableLabs/inspectpack/issues/4)
262
263## 0.2.0
264
265* Add `--action=pattern` report.
266 [#4](https://github.com/FormidableLabs/inspectpack/issues/4)
267
268## 0.1.1
269
270* Add `--gzip` flag and output to `--action=duplicates` report.
271 [#3](https://github.com/FormidableLabs/inspectpack/issues/3)
272
273## 0.1.0
274
275* Add `--action=duplicates` report.
276
277[@alexander-schranz]: https://github.com/alexander-schranz
278[@deadcoder0904]: https://github.com/deadcoder0904
279[@divmain]: https://github.com/divmain
280[@jensbodal]: https://github.com/jensbodal
281[@kkerr1]: https://github.com/kkerr1
282[@rgerstenberger]: https://github.com/rgerstenberger
283[@ryan-codingintrigue]: https://github.com/ryan-codingintrigue
284[@ryan-roemer]: https://github.com/ryan-roemer
285[@tido64]: https://github.com/tido64
286[@tptee]: https://github.com/tptee