diff --git a/.changeset/angry-suits-itch.md b/.changeset/angry-suits-itch.md deleted file mode 100644 index 5de4503..0000000 --- a/.changeset/angry-suits-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sonda": minor ---- - -Add switch to toggle between uncompressed, GZIP, and Brotli treemap diagrams. diff --git a/.changeset/beige-mice-sleep.md b/.changeset/beige-mice-sleep.md deleted file mode 100644 index 957a986..0000000 --- a/.changeset/beige-mice-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sonda": minor ---- - -Do not read dependency source maps by default. Use the `detailed` configuration option to read them. diff --git a/.changeset/bright-carrots-drop.md b/.changeset/bright-carrots-drop.md deleted file mode 100644 index dbe9b27..0000000 --- a/.changeset/bright-carrots-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sonda": minor ---- - -Update modal for assets to display how much code comes from ESM, CJS, or unknown sources. diff --git a/.changeset/curly-rings-fold.md b/.changeset/curly-rings-fold.md deleted file mode 100644 index e93083a..0000000 --- a/.changeset/curly-rings-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sonda": patch ---- - -Correctly load source maps when `sourceMappingURL` contains URL params. diff --git a/.changeset/khaki-lizards-roll.md b/.changeset/khaki-lizards-roll.md deleted file mode 100644 index 54b2009..0000000 --- a/.changeset/khaki-lizards-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sonda": minor ---- - -Improve GZIP and Brotli compression size estimations instead of showing worst-case sizes. diff --git a/.changeset/neat-trees-buy.md b/.changeset/neat-trees-buy.md deleted file mode 100644 index bfb9f49..0000000 --- a/.changeset/neat-trees-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sonda": patch ---- - -Remove unnecessary `#__PURE__` comments. diff --git a/.changeset/rich-dolphins-admire.md b/.changeset/rich-dolphins-admire.md deleted file mode 100644 index a418e15..0000000 --- a/.changeset/rich-dolphins-admire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sonda": minor ---- - -Add modal for assets that displays the bundled, GZIP, and Brotli sizes. diff --git a/.changeset/silent-hats-tell.md b/.changeset/silent-hats-tell.md deleted file mode 100644 index bf4d5f2..0000000 --- a/.changeset/silent-hats-tell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"unplugin-sourcemaps": patch ---- - -Correctly load source maps when `sourceMappingURL` contains URL params. diff --git a/.changeset/silly-cameras-cough.md b/.changeset/silly-cameras-cough.md deleted file mode 100644 index 6bed885..0000000 --- a/.changeset/silly-cameras-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sonda": minor ---- - -Update modal for assets to list external dependencies. diff --git a/.changeset/stale-bikes-leave.md b/.changeset/stale-bikes-leave.md deleted file mode 100644 index bf1286c..0000000 --- a/.changeset/stale-bikes-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sonda": minor ---- - -Do not calculate GZIP and Brotli sizes by default. Use the `gzip` and `brotli` configuration options to calculate them. diff --git a/packages/sonda/CHANGELOG.md b/packages/sonda/CHANGELOG.md index 5375d76..f843e49 100644 --- a/packages/sonda/CHANGELOG.md +++ b/packages/sonda/CHANGELOG.md @@ -1,22 +1,51 @@ # Changelog +## 0.2.0 + +Besides the new features listed below, this release changes some default behaviors. Now, sonda will not read external source maps or calculate file sizes after compression with GZIP and Brotli. If you want to use these features, use the following new configuration options: + +```json +{ + "detailed": true, + "gzip": true, + "brotli": true +} +``` + +Please refer to README.md for more information. + +### Minor Changes + +- Add switch to toggle between uncompressed, GZIP, and Brotli treemap diagrams. +- Do not read dependency source maps by default. Use the `detailed` configuration option to read them. +- Update modal for assets to display how much code comes from ESM, CJS, or unknown sources. +- Improve GZIP and Brotli compression size estimations instead of showing worst-case sizes. +- Add modal for assets that displays the bundled, GZIP, and Brotli sizes. +- Update modal for assets to list external dependencies. +- Do not calculate GZIP and Brotli sizes by default. Use the `gzip` and `brotli` configuration options to calculate them. + +### Patch Changes + +- Correctly load source maps when `sourceMappingURL` contains URL params. +- Remove unnecessary `#__PURE__` comments. + ## 0.1.4 -* Show "No data to display" with a helpful message when there is no data to display in the report. -* Prevent black boxes in tree maps with large `[unassigned]` tiles. +- Show "No data to display" with a helpful message when there is no data to display in the report. +- Prevent black boxes in tree maps with large `[unassigned]` tiles. ## 0.1.3 -* Show the approximate file and folder size after GZIP and Brotli compression +- Show the approximate file and folder size after GZIP and Brotli compression ## 0.1.2 -* Use the `open` package to open the generated reports. +- Use the `open` package to open the generated reports. ## 0.1.1 -* Use `execFileSync` instead of `exec` to prevent potential shell injection when the path contains characters that the shell interprets in a special way, for instance quotes and spaces. +- Use `execFileSync` instead of `exec` to prevent potential shell injection when the path contains characters that the shell interprets in a special way, for instance quotes and spaces. ## 0.1.0 -* Initial release of sonda that allowed generating an `'html'` and `'json'` report for bundles generated by Vite, Rollup, Webpack, and esbuild. +- Initial release of sonda that allowed generating an `'html'` and `'json'` report for bundles generated by Vite, Rollup, Webpack, and esbuild. diff --git a/packages/sonda/package.json b/packages/sonda/package.json index badf221..e47423c 100644 --- a/packages/sonda/package.json +++ b/packages/sonda/package.json @@ -1,6 +1,6 @@ { "name": "sonda", - "version": "0.1.4", + "version": "0.2.0", "description": "Universal visualizer and analyzer for JavaScript and CSS bundles. Works with Vite, Rollup, webpack, and esbuild", "keywords": [ "bundle analyzer", diff --git a/packages/unplugin-sourcemaps/CHANGELOG.md b/packages/unplugin-sourcemaps/CHANGELOG.md new file mode 100644 index 0000000..3604dd6 --- /dev/null +++ b/packages/unplugin-sourcemaps/CHANGELOG.md @@ -0,0 +1,7 @@ +# unplugin-sourcemaps + +## 0.1.1 + +### Patch Changes + +- Correctly load source maps when `sourceMappingURL` contains URL params. diff --git a/packages/unplugin-sourcemaps/package.json b/packages/unplugin-sourcemaps/package.json index a2b7408..4766168 100644 --- a/packages/unplugin-sourcemaps/package.json +++ b/packages/unplugin-sourcemaps/package.json @@ -1,6 +1,6 @@ { "name": "unplugin-sourcemaps", - "version": "0.1.0", + "version": "0.1.1", "description": "Universal plugin for loading existing source maps from imported modules. Works with Vite, Rollup, webpack, and esbuild.", "keywords": [ "sourcemap",