Releases: relative-ci/bundle-stats
v2.2.0
Features
edf4790 feature(ui): BundlePackages - add search by name
1ae60fb feature(ui): BundleChunkModules - add search by name
c91e46c feature: Add search to BundleAssets
f9ef7c8 feature: Add withSearch hoc
15ccf2a feature: Add MetricsTableSearch component
e6f476a feature(ui): Icon - add cancel icon
Fixes
ab9ae42 fix(html-templates): Handle modules and non-modules styles
8543d56 fix(ui): RunLabelSum - increase font size
3140c03 fix(ui): SortDropdown - merge buttons
60ab489 fix(ui): Table - use unique keys
35f4483 fix(ui): Consistent prop name for metric items
5b0e785 fix(ui): Debounce metrics table search
7f04086 fix(ui): Correct prop types
3eb8d2c fix(ui): Dropdown - substract border from padding
49181c0 fix(ui): EmptySet - update message
c2f2ba6 fix(utils): Validate webpack stats structure
ba2c11c fix(utils): Handle missing asset/module names
Other
f657e1f Merge pull request #710 from relative-ci/renovate/eslint-plugin-prettier-3.x
f846a83 chore(deps): update dependency eslint-plugin-prettier to v3.1.3
23f268e Merge pull request #709 from relative-ci/fix-report-styles
a6e92dd Merge pull request #706 from relative-ci/renovate/pin-dependencies
973ae26 Merge pull request #707 from relative-ci/renovate/stylelint-13.x
a14623a Merge pull request #708 from relative-ci/update-docs
f94d9a8 docs(utils): Add how to
8abc68a docs(webpack-plugin): Add typings.d.ts
78ec8bd chore(deps): update dependency stylelint to v13.3.2
65bc775 chore(deps): pin dependency enzyme-adapter-react-16 to 1.15.2
f2be27b Merge pull request #687 from relative-ci/metrics-table-search
9495337 perf(ui): useMemo for filtering & sorting
36b2f7b refactor(ui): Merge filters & search functionality
fcc3ae4 build(ui): Add shallow rendering for components
2badbda build(html-templates): Use shallow rendering for testing
80a580a refactor(ui): BundleAssets - use Toolbar
bfdaf06 refactor: Extract Toolbar component
f88e683 Merge pull request #705 from relative-ci/renovate/css-loader-3.x
596a9d4 chore(deps): update dependency css-loader to v3.5.2
329a5f9 Merge pull request #697 from relative-ci/update-validation
510ab7d Merge pull request #700 from relative-ci/renovate/jest-monorepo
436eede Update jest monorepo to v25.3.0
a6a9966 Merge pull request #704 from relative-ci/renovate/husky-4.x
9ff334b Merge pull request #703 from relative-ci/renovate/core-js-3.x
bdeaa0f Merge pull request #702 from relative-ci/renovate/lint-staged-10.x
3667305 Merge pull request #701 from relative-ci/renovate/stylelint-13.x
7358d09 Merge pull request #699 from relative-ci/renovate/moonwalker-orbit-ui-1.x
1491444 Merge pull request #698 from relative-ci/renovate/preact-10.x
c8ebbb2 Merge pull request #696 from relative-ci/renovate/babel-monorepo
7b7aeb7 Update dependency husky to v4.2.5
4b5f923 Update dependency core-js to v3.6.5
9aa7195 Update dependency lint-staged to v10.1.3
45cfe5b Update dependency stylelint to v13.3.1
76dfbd9 Update dependency @moonwalker/orbit-ui to v1.14.13
d6529cd Update dependency preact to v10.4.0
97183d9 Update babel monorepo to v7.9.5
aabba02 Merge pull request #693 from relative-ci/renovate/css-loader-3.x
8aed532 Merge pull request #694 from relative-ci/renovate/autoprefixer-9.x
2375338 Merge pull request #695 from relative-ci/fix-assets
7fbf99d Update dependency css-loader to v3.5.1
52fe54c Update dependency autoprefixer to v9.7.6
d264f88 Merge pull request #691 from relative-ci/renovate/lint-staged-10.x
33b2581 Update dependency lint-staged to v10.1.2
8d3df49 Merge pull request #689 from relative-ci/renovate/jest-monorepo
bc8097c Merge pull request #690 from relative-ci/renovate/stylelint-13.x
6d80dcc Update jest monorepo
04770ef Update dependency stylelint to v13.3.0
a053dd2 Merge pull request #685 from relative-ci/renovate/storybook-monorepo
5dee496 Update storybook monorepo to v5.3.18
0f92ff3 Merge pull request #686 from relative-ci/renovate/lint-staged-10.x
18f269b Merge pull request #684 from relative-ci/renovate/relative-ci-agent-1.x
37744f1 Update dependency lint-staged to v10.1.1
9efb93c Update dependency @relative-ci/agent to v1.3.0
3b6b229 Merge pull request #683 from relative-ci/renovate/lint-staged-10.x
426cf13 Merge pull request #682 from relative-ci/renovate/jest-monorepo
74b7173 Update dependency lint-staged to v10.1.0
d6fecef Update jest monorepo to v25.2.4
3ce1043 Merge pull request #680 from relative-ci/renovate/lint-staged-10.x
c20a9a3 Update dependency lint-staged to v10.0.10
37497ef 📦 release v2.1.1
b8b0480 Merge pull request #681 from relative-ci/fix-npm-publish
bfc7d0b build: Update .gitignore
v2.0.0
Breaking
- afed121 refactor: Extract BundleStatsWebpackPlugin into packages/webpack-plugin
webpack.config.js
Import BundleStatsWebpackPlugin
from bundle-stats-webpack-plugin
- Update dependencies
npm uninstall --save-dev bundle-stats
npm install --save-dev bundle-stats-webpack-plugin
- Update
webpack.config.js
-const { BundleStatsWebpackPlugin } = require("bundle-stats");
+const { BundleStatsWebpackPlugin } = require("bundle-stats-webpack-plugin");
Features
- d0989ca feature(utils): Report - output createdAt, version
- 2e4d126 feature(utils): Report - show summary section
- e719b6f feature(ui): BundleAssetsTotalsTable - add total in the header
- 054a927 feat(cli): Report info border color based on delta type
- 202d697 feat(cli,webpack-plugin): Show report assetsSizeTotal insight
- f1dbfc6 feat(html-templates): Show assetsSizeTotal insight in the title
- ebafd9d feat(utils): Add assetsSizeTotalInsight
- e70e763 feat(utils): Add getMetricRunInfo
Fixes
- b946889 fix: Update lock files
- c339e99 fix: Update monorepo dependencies
- 287c801 fix(utils): Job - add label
- bb3e042 fix(ui): OrderDropdown - consistent label
- 980971c fix(ui): BundlePackages - get duplicate flag data from insights
- 4843acf fix(html-templates): Export template as a string
- a635bac fix(cli-utils): Remove lib files
- 8878427 fix(utils): Webpack assets sizeTotal insight - show ttotal bundle size
- ebd80fb fix(ui): BundleAssets - revert style change
- e219ac1 fix(ui): WebpackAssetsTotalsTable - show internalBuildNumber in the header
- c9eb793 fix(cli): Add eslint-plugin-import
- 640e6e3 fix(html-templates): Regenerate snapshots
- db754f0 fix(ui): BundleassetsTotalsChartBars - prevent error when the baseline is empty
- 69759bb fix(cli): Filter webpack source on read/write
- 9c7ebfc fix(utils): Skip lib(-esm) from testing
- 1f4e1d5 fix(utils): extractAssetsSizeTotalInsight - remove redundant sign from message
- 6421f43 fix(utils): extractAssetsSizeTotalInsight - add full info
- 6093152 fix(utils): Webpack assets selector - order by metrics
Diff
- 6da91c8 chore(cli): Add deprecation error for BundleStatsWebpackPlugin
- 901712e chore: Npm - skip unnecesary paths
- 533c0fb build: Setup prettier
- 7e29d0a build: Explicit node_modules caching
- cdf32ca build: Auto release on tag push
- 8b788fc refactor(ui): Use job.label
- 15b1fbc test(utils): Report - ignore version
- 882fffb refactor(ui): MetricsTable - move job header inside component
- 0764882 refactor(html-templates): Set page title at build time
- 1232bc5 refactor(utils): Extract browsertime/utils metrics
- 8918106 refactor: Extract lighthouse utilities / metrics
- 8fee359 chore(utils): Add type definitions for metrics
- acd2421 refactor(ui): Extract webpack metrics into the source folder
- 3699964 refactor: Webpack - compare all sections
- c4b912f chore: Regenerate package-lock.json
- e6e6db9 test(html-templates): Add empty baseline story
- 6f50156 chore: Fix package-lock
- da8ec09 refactor(cli-utils): Rename createReports to createArtifacts
- 03015ce refactor(utils): Rename warnings to insights
- ab10717 refactor(ui): Delta - use deltaType value
- f5ae1d8 refactor(utils): Rename metrics/get-metric-type to utils/metrics
- 98e2769 test(ui,html-templates): Update snapshots
- 9b72598 refactor(ui): Use source compare fns
- 01d57b8 refactor(utils): Move metrics/get-metric-changed to report
- 4b3fca4 refactor(utils): mergeRunsById -> mergeMetricsByKey
- 2001e60 refactor(utils): Webpack compare - tweaks
- 412449f refactor(utils): Move comparisons inside webpack
- e36ce66 refactor(utils): Move selectors inside webpack
- 4742b78 build(utils): Update import/no-cycle depth
- 3b26542 refactor(utils): Move report related fns in report
- 6a48b91 build: Lerna - run publish for all packages
- 10a4cc1 build: Husky - remove prepush hook
- a422def refactor: cli-utils - share cli and webpack-plugin logic
- 10c1973 refactor: Move packages/bundle-stats to packages/cli
- 960e061 refactor(utils): createJob - use source extract function
- 7f4c631 refactor(utils): createJob - add metrics: assets, modules, packages
- 13d65a7 refactor(utils): createJob - update job structure
- fb113f3 refactor(utils): Extract webpack rel functionality into a distinct folder
v1.15.1
Fixes
- 4c1d825 fix(ui): Summary - pass first row count as a prop
- c854d09 fix(ui): Export Dropdown from /components
Others
- 807e951 refactor(ui): JobHeader - update props
- 4f8cd08 refactor(ui): Extract JobHeader
- 903477c chore(ui): Remove obsolete chart component & dependency
- 89dfe90 chore(deps): update dependency @moonwalker/orbit-ui to v1.14.7
- 24e6a9f chore(deps): update dependency core-js to v3.4.7
- 4d60c78 chore(deps): update storybook monorepo to v5.2.8
- a05271b chore(deps): update dependency css-loader to v3.2.1
- 1b7ef85 chore(deps): update dependency eslint-plugin-jest to v23.1.1
- 791140e chore(deps): update dependency autoprefixer to v9.7.3
- 8040940 chore(deps): update dependency eslint to v6.7.2
- 84a95fd chore(deps): update storybook monorepo to v5.2.7
- ba559fe chore(deps): update dependency eslint-plugin-jest to v23.1.0
- cfb3b91 chore(deps): update dependency eslint-plugin-react to v7.17.0
v1.15.0
Features
- 81c440b feat(ui): Add run sum value and diff
Fixes
Others
- dd867ad chore(deps): update dependency @moonwalker/orbit-ui to v1.14.6
- 70cb0a6 chore(deps): update dependency core-js to v3.4.5
- 5615a7b chore(deps): update dependency core-js to v3.4.4
- 875a8db chore(deps): update dependency eslint-plugin-jest to v23.0.5
- 9d34723 chore(deps): update dependency core-js to v3.4.3
- d94cf7b chore(deps): update dependency eslint to v6.7.1
- b93793b chore(deps): update babel monorepo to v7.7.4
- 5c0fd84 chore(deps): update dependency eslint to v6.7.0
- 0cc5d2f chore(deps): update dependency core-js to v3.4.2
- ade6a34 chore(deps): update dependency lerna to v3.19.0
- f58bbec chore(deps): update dependency lerna to v3.18.5
- 8d525a4 chore(deps): update dependency stylelint-config-css-modules to v2.1.0
- 75d4c4e chore(deps): update dependency husky to v3.1.0
- 231b4de chore(deps): update dependency autoprefixer to v9.7.2
- 1adad73 fix(deps): update dependency yargs to v15
- 8f79a5e doc: Update screenshot
v1.14.0
Features
7a80897 feat(ui): Add clear filters functionality
Fixes
73a24f9 fix(ui): Container - tweak spacing
3f37be8 fix(ui): Update container spacing
82f93eb fix(ui): Update colorscheme
0819c69 fix(ui): MetricsTable - add specific empty messages
ae71912 fix(ui): FileName - prevent long filenames from overflowing
f68e9f1 fix(ui): SummaryItem - fix delta alignment
a817dfc fix(ui): SummaryItem - show baseline value modifier
35af94f fix(ui): SummaryItem - do not show delta when the baseline is missing
ad8461a fix(cli): Show baseline filepath
1460efd fix(cli): Output relative path
Diff
5a07ec7 test(html-templates): Add multiple baselines case
f1c177f chore(deps): update dependency stylelint to v12
af79834 style(ui): Fix PropTypes
43ff7f4 refactor(ui): Extract EmptySet component
24e24f5 refactor(ui): Extract withFilters
9f67aed chore(deps): update react monorepo to v16.12.0
a3876e6 chore(deps): update dependency eslint-plugin-jest to v23.0.4
30f44aa chore(deps): update dependency core-js to v3.4.1
812a5a7 chore(deps): update dependency preact to v10.0.5
a072a44 doc: Update screenshots
v1.13.0
Features
f32b64f feat(bundle-stats): Expose builtAt,hash
84389ba feat(build-stats): Collect builtAt, hash
14a259e feat(html-templates): Add JobsHeader
73c4c01 feat(ui): JobsHeader component
34749dc JobsHeader - meta data
377c758 ui: SummaryItem - add metric description tooltip
Fixes
36f2cdf fix(ui): JobsHeader - update styles
870095c fix(bundle-stats): Inline extracted rawData
9156661 fix(html-templates): Minimize css
9fbf88b fix(html-templates): Update meta descriptions
8f02f7c fix(deps): update dependency find-cache-dir to v3.1.0
4f91020 fix(utils): Workaround Intl.DateTimeFormat diff on ci
ab2edfb fix(utils): Run tests with the same language
7cdc46c fix(bundle-stats): builtAt - use correct type
193c96a fix(ui): SummaryItem - updates
098aa79 fix(ui): SummaryItem - updates
ce5efbc fix(ui): SummaryItem - tweak styles
932e45b fix(ui): Update header background
98f9d0e fix(bundle-stats): Avoid errors when baseline is empty
4357a7f fix(utils): createJob - keep meta data
2df4a89 fix(html-templates): Use specific babel configs for prod/dev
3df7aeb fix(utils): Date formatting - prevent error on missing navigator
4d04aad fix(ui,html-templates): Add svg help icon
40200f2 fix: Update jobs counting
6943014 fix(ui): SummaryItem - showDelta flag
3bff709 fix(ui): Render TotalBundleSize in JobsHeader
e6e34c8 fix(ui): Tooltip - arrow shadows and transition
Others
229b15b test(ui,html-templates): Mock date for jest
a87be6a refactor(utils): Extract createJob(s) into distinct files
1b7987d refactor(utils): Exctract webpack stats path into a constant
526a7fd refactor(util): Extract meta on job creation
a78321b chore(deps): update storybook monorepo to v5.2.6
620053a chore(deps): update dependency eslint-plugin-jest to v23.0.3
9987262 chore(deps): update dependency lerna to v3.18.4
bc44e97 chore(deps): update dependency @babel/core to v7.7.2
09265ac chore(deps): update dependency core-js to v3.4.0
be8c84f test(ui): Update snapshots
bcc755d chore(deps): update dependency @moonwalker/orbit-ui to v1.14.5
719f4a3 chore(deps): update babel monorepo
159f3a9 chore(deps): update dependency stylelint-config-css-modules to v2
970a372 chore(deps): update dependency autoprefixer to v9.7.1
053bc07 chore(deps): update dependency core-js to v3.3.6
3055c4f chore(deps): update dependency webpack-cli to v3.3.10
eff8222 docs(utils): Metric descriptions
97c6cdd chore(deps): pin dependencies
458b409 test(html-templates): Add undefined warnings test
63f7c02 build(html-templates): Setup storyshots
218065f build(html-templates): Update babelrc
3e0faaa refactor(html-templates): Move storybook inside build folder
855b3f6 chore(deps): update dependency preact to v10.0.4
6e83adf chore(deps): update dependency core-js to v3.3.5
1f8c601 chore(deps): update dependency eslint-plugin-jest to v23
v1.10.1
Features
Fixes
- f6ba9c6 fix(ui): SummaryItem -- fix min/line-height
- 21f3c85 fix(ui): Fix dropdowns position
- 42b61be fix(ui): BundleAssetsTotalsChart - update bar height
- d6e7c45 fix(ui): SummaryItem - updates
- b822a31 fix(ui): Update default font-size
- 3e186d9 fix(ui): Footer - updates
- 8bcc57c fix(utils): getMetricType - prevent partial match
Others
- ccb7c31 Revert "fix(ui): Footer - update layout"
- 0fff472 chore(deps): update dependency husky to v3.0.7
- eefee5a chore(deps): update react monorepo to v16.10.0
- c2fc527 chore(deps): update dependency eslint-loader to v3.0.2
- 5171bb0 chore(deps): update dependency terser-webpack-plugin to v2.1.1
- 3b889a4 chore(deps): update dependency webpack to v4.41.0
- 8ef0d10 fix(deps): update dependency @moonwalker/orbit-ui to v1.13.19
- 897c35e chore(deps): update babel monorepo to v7.6.2
- 67fdd93 docs: Add packages link
- a92c9fa doc: Update screenshot
v1.9.0
Features
- 721a4a9 feat(html-template: Add BundleAssetsTotalsChartBars
- 9191291 feat(ui): HorizontalBarChart component
Fixtures
- fdd4206 fix(ui): SummaryItem style updates
- 4f4bcd4 fix(ui): Use sans-serif font for Metric/Delta
- 123d6f5 fix(ui): Update chart colors
- d7a2152 fix(ui, web-compare): Remove Pie chart and dependencies
- 01cb4f1 fix(ui): SummaryItem - use correct font-size for large modifier
- f083416 fix(ui): Tooltip - pass ref
Others
- a375f21 chore(deps): update dependency stylelint-config-standard to v19
- 9ebd2d5 chore(deps): update dependency stylelint to v11
- 533f421 chore(deps): update dependency eslint to v6.4.0
- 2b9054d chore(deps): update dependency webpack to v4.40.2
- d255e91 chore(deps): update dependency webpack to v4.40.0 (#326)
- 9b7b844 chore: Update root package.json
- 16761d5 refactor(ui): Use HorizontalBarChart for BundleAssetsTotalsChartBars
- 80d8a0b fix(deps): update dependency @moonwalker/orbit-ui to v1.13.16
v1.8.0
Features
- 82d4d6c feat(ui,web-compare,html-template): Add BundleStats logotype
- 5eb8b0a feat(html-template): Show version in the footer
- d277f91 feat(web-compare): Show version in the footer
- fb5a781 feat(ui): SummaryItem - show absolute value change
- 5bc89e3 feat(utils, ui): Add delta absolute value
- 7938a8e feat(ui): BundleChunkModules - add sort by dropdown
- 3c05472 feat(ui): BundleAssets - add sort by dropdown
- da987d2 feat(ui): SortDropdown component
- 63370e2 feat(ui): IconText - add sort icon
- cdec102 feat(ui): Extract Dropdown component
- b20f268 feat(ui): TableFilters - add check/clear/only functionality
- 1a94671 feat(ui): Table - add emptyMessage prop
Fixes
- 0735f1f fix(ui): Use Icon for SortDropdown direction
- c5fc2ac fix(build): Disable svgo on babel-plugin-inline-svg
- 4f06259 fix(ui): BundleAssets - correct prop type
- 0922d55 fix(ui): TableFilters - tweak styles
- a7f2ad1 fix(ui): TableFilters - click on click outside
- d5b2635 fix(ui): SubHeader - use correct prop type
- c9a28c5 fix(ui): Alert - add string to children prop types
- ef5dfb8 fix(deps): update dependency @moonwalker/orbit-ui to v1.13.15
Others
- 9e281c8 refactor: Rename IconText -> Icon
- 17c2686 build: Extract define config
- 585f651 chore(deps): update babel monorepo to v7.6.0
- 45c8de5 refactor(ui): Rename TableFilters -> FiltersDropdown
- d30aa4d style(ui): TableFilters - fix formatting
- 47a8bea refactor(ui): MetricsTable - consistent naming
- dc8ffa0 refactor(ui): Table - simplify cell / header props
- 64f6c74 chore(deps): update dependency terser-webpack-plugin to v2.0.1
- 65ce8b2 chore(deps): update dependency postcss to v7.0.18
- a4aa2b1 chore(deps): update dependency terser-webpack-plugin to v2
- 2b4f8b1 chore(deps): update dependency webpack-cli to v3.3.8
- bc41265 chore(deps): update dependency eslint-plugin-jest to v22.17.0
- 8f8b55d build: Use @relative-ci/agent as a plugin
- fc8ff01 chore(deps): update dependency @relative-ci/agent to v1.2.0
- 798c9d0 chore(deps): update dependency husky to v3.0.5
v1.7.0
Features
- 3ed10b8 feat: next-plugin
- d8f8836 feat(ui): Alert component
- 13370ae feat(ui): Layout/SubHeader - add size modifier
- a38f63b feat(ui): Layout/SubHeader - add rightSide prop
- a913a0b feat(ui): LayoutFooter - add custom content
Fixes
- 070a096 fix(web-compare): Remove extra top spacing on Webpack tabs
- 9692987 fix(ui): Smaller font-size on larger displays
- 133c9b7 fix(ui): Layout/Footer - use dark on light
- 65e12ae fix(ui): Layout/Header - allow the right side to extend
Others
- 5342c55 chore(deps): update dependency cross-env to v5.2.1
- c3e75f4 chore(deps): pin dependency cross-env to 5.2.0
- b016d3a build(html-template): Use cross-env for scripts
- 4ca839e build(ui): Start local dev with cross-env
- 2346336 chore(deps): update dependency eslint to v6.3.0
- d603929 chore(deps): update dependency eslint-plugin-jest to v22.16.0
- 350848f build(deps): bump mixin-deep from 1.3.1 to 1.3.2
- decc0fe build(deps): bump mixin-deep in /packages/html-templates
- b588da0 build(deps): bump mixin-deep in /packages/bundle-stats
- e13386c build(deps): bump mixin-deep from 1.3.1 to 1.3.2 in /packages/utils
- 7b4c6a9 chore(deps): update dependency webpack-merge to v4.2.2
- 3a64799 chore(deps): update dependency webpack to v4.39.3
- 9464cd2 chore(deps): update dependency babel-eslint to v10.0.3
- 43d1905 chore(deps): update dependency eslint to v6.2.2