From 518f350149ae355598160bbe56be194cb831bae4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 13:00:54 -0400 Subject: [PATCH] meta(changelog): Update package versions (#167) Bump major release of the plugins. --- .changeset/beige-games-invite.md | 12 --- .changeset/big-socks-impress.md | 11 -- .changeset/chilled-eagles-protect.md | 8 -- .changeset/cool-sheep-care.md | 8 -- .changeset/early-phones-prove.md | 8 -- .changeset/early-years-walk.md | 12 --- .changeset/fair-colts-invent.md | 13 --- .changeset/flat-mails-buy.md | 8 -- .changeset/four-houses-drive.md | 8 -- .changeset/gorgeous-donuts-complain.md | 5 - .changeset/healthy-foxes-joke.md | 8 -- .changeset/hungry-toes-hide.md | 8 -- .changeset/itchy-wolves-accept.md | 8 -- .changeset/khaki-lions-glow.md | 8 -- .changeset/kind-camels-give.md | 13 --- .changeset/light-ants-thank.md | 10 -- .changeset/little-knives-hunt.md | 9 -- .changeset/lucky-rocks-breathe.md | 13 --- .changeset/lucky-seals-admire.md | 13 --- .changeset/many-berries-grab.md | 8 -- .changeset/many-peas-repeat.md | 8 -- .changeset/nervous-onions-hang.md | 13 --- .changeset/old-cameras-search.md | 11 -- .changeset/orange-lemons-run.md | 10 -- .changeset/popular-chicken-confess.md | 8 -- .changeset/pre.json | 43 -------- .changeset/shaggy-snakes-sip.md | 9 -- .changeset/shiny-ghosts-play.md | 31 ------ .changeset/shy-turtles-shout.md | 11 -- .changeset/silent-pugs-add.md | 8 -- .changeset/stupid-points-vanish.md | 11 -- .changeset/thirty-cheetahs-teach.md | 10 -- .changeset/tidy-pumpkins-yawn.md | 13 --- .changeset/two-spies-talk.md | 10 -- .changeset/warm-feet-cry.md | 8 -- .changeset/warm-moles-float.md | 12 --- .changeset/wise-insects-accept.md | 11 -- README.md | 3 - .../__snapshots__/nuxt-plugin.test.ts.snap | 36 +++---- .../__snapshots__/remix-plugin.test.ts.snap | 20 ++-- .../__snapshots__/rollup-plugin.test.ts.snap | 40 +++---- .../sveltekit-plugin.test.ts.snap | 12 +-- .../__snapshots__/vite-plugin.test.ts.snap | 40 +++---- .../__snapshots__/webpack-plugin.test.ts.snap | 8 +- packages/bundler-plugin-core/CHANGELOG.md | 64 +++++++++++ packages/bundler-plugin-core/package.json | 2 +- packages/nextjs-webpack-plugin/CHANGELOG.md | 74 +++++++++++++ packages/nextjs-webpack-plugin/README.md | 6 +- packages/nextjs-webpack-plugin/package.json | 2 +- ...JSWebpackBundleAnalysisPlugin.test.ts.snap | 2 +- packages/nuxt-plugin/CHANGELOG.md | 87 +++++++++++++++ packages/nuxt-plugin/README.md | 9 +- packages/nuxt-plugin/package.json | 2 +- .../nuxtBundleAnalysisPlugin.test.ts.snap | 2 +- packages/remix-vite-plugin/CHANGELOG.md | 81 ++++++++++++++ packages/remix-vite-plugin/README.md | 9 +- packages/remix-vite-plugin/package.json | 2 +- .../remixBundleAnalysisPlugin.test.ts.snap | 2 +- packages/rollup-plugin/CHANGELOG.md | 100 ++++++++++++++++++ packages/rollup-plugin/README.md | 6 +- packages/rollup-plugin/package.json | 2 +- .../rollupBundleAnalysisPlugin.test.ts.snap | 2 +- packages/solidstart-plugin/CHANGELOG.md | 77 ++++++++++++++ packages/solidstart-plugin/README.md | 9 +- packages/solidstart-plugin/package.json | 2 +- ...olidstartBundleAnalysisPlugin.test.ts.snap | 4 +- packages/sveltekit-plugin/CHANGELOG.md | 85 +++++++++++++++ packages/sveltekit-plugin/README.md | 9 +- packages/sveltekit-plugin/package.json | 2 +- ...sveltekitBundleAnalysisPlugin.test.ts.snap | 2 +- packages/vite-plugin/CHANGELOG.md | 100 ++++++++++++++++++ packages/vite-plugin/README.md | 6 +- packages/vite-plugin/package.json | 2 +- .../viteBundleAnalysisPlugin.test.ts.snap | 2 +- packages/webpack-plugin/CHANGELOG.md | 100 ++++++++++++++++++ packages/webpack-plugin/README.md | 6 +- packages/webpack-plugin/package.json | 2 +- .../webpackBundleAnalysisPlugin.test.ts.snap | 2 +- 78 files changed, 884 insertions(+), 557 deletions(-) delete mode 100644 .changeset/beige-games-invite.md delete mode 100644 .changeset/big-socks-impress.md delete mode 100644 .changeset/chilled-eagles-protect.md delete mode 100644 .changeset/cool-sheep-care.md delete mode 100644 .changeset/early-phones-prove.md delete mode 100644 .changeset/early-years-walk.md delete mode 100644 .changeset/fair-colts-invent.md delete mode 100644 .changeset/flat-mails-buy.md delete mode 100644 .changeset/four-houses-drive.md delete mode 100644 .changeset/gorgeous-donuts-complain.md delete mode 100644 .changeset/healthy-foxes-joke.md delete mode 100644 .changeset/hungry-toes-hide.md delete mode 100644 .changeset/itchy-wolves-accept.md delete mode 100644 .changeset/khaki-lions-glow.md delete mode 100644 .changeset/kind-camels-give.md delete mode 100644 .changeset/light-ants-thank.md delete mode 100644 .changeset/little-knives-hunt.md delete mode 100644 .changeset/lucky-rocks-breathe.md delete mode 100644 .changeset/lucky-seals-admire.md delete mode 100644 .changeset/many-berries-grab.md delete mode 100644 .changeset/many-peas-repeat.md delete mode 100644 .changeset/nervous-onions-hang.md delete mode 100644 .changeset/old-cameras-search.md delete mode 100644 .changeset/orange-lemons-run.md delete mode 100644 .changeset/popular-chicken-confess.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/shaggy-snakes-sip.md delete mode 100644 .changeset/shiny-ghosts-play.md delete mode 100644 .changeset/shy-turtles-shout.md delete mode 100644 .changeset/silent-pugs-add.md delete mode 100644 .changeset/stupid-points-vanish.md delete mode 100644 .changeset/thirty-cheetahs-teach.md delete mode 100644 .changeset/tidy-pumpkins-yawn.md delete mode 100644 .changeset/two-spies-talk.md delete mode 100644 .changeset/warm-feet-cry.md delete mode 100644 .changeset/warm-moles-float.md delete mode 100644 .changeset/wise-insects-accept.md create mode 100644 packages/nextjs-webpack-plugin/CHANGELOG.md diff --git a/.changeset/beige-games-invite.md b/.changeset/beige-games-invite.md deleted file mode 100644 index 414f9b39..00000000 --- a/.changeset/beige-games-invite.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@codecov/webpack-plugin": patch -"@codecov/bundler-plugin-core": patch -"@codecov/nuxt-plugin": patch -"@codecov/remix-vite-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/solidstart-plugin": patch -"@codecov/sveltekit-plugin": patch -"@codecov/vite-plugin": patch ---- - -Refactor webpack plugin to export utility functions that will be used in the upcoming NextJS plugin diff --git a/.changeset/big-socks-impress.md b/.changeset/big-socks-impress.md deleted file mode 100644 index 72f3a350..00000000 --- a/.changeset/big-socks-impress.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@codecov/sveltekit-plugin": patch -"@codecov/remix-vite-plugin": patch -"@codecov/bundler-plugin-core": patch -"@codecov/nuxt-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Fix SvelteKit plugin keywords diff --git a/.changeset/chilled-eagles-protect.md b/.changeset/chilled-eagles-protect.md deleted file mode 100644 index 9f07a163..00000000 --- a/.changeset/chilled-eagles-protect.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch ---- - -Update plugins to remove sourcemaps from bundle stats data diff --git a/.changeset/cool-sheep-care.md b/.changeset/cool-sheep-care.md deleted file mode 100644 index e830b73d..00000000 --- a/.changeset/cool-sheep-care.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch ---- - -Preserve JSDoc comments during build process for the bundler plugins diff --git a/.changeset/early-phones-prove.md b/.changeset/early-phones-prove.md deleted file mode 100644 index 9638035a..00000000 --- a/.changeset/early-phones-prove.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Grab branch name inside Vercel helper so that we for sure have a branch value diff --git a/.changeset/early-years-walk.md b/.changeset/early-years-walk.md deleted file mode 100644 index 3a29b959..00000000 --- a/.changeset/early-years-walk.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/nuxt-plugin": patch -"@codecov/remix-vite-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/solidstart-plugin": patch -"@codecov/sveltekit-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Swap from using empty strings to null values for CI providers diff --git a/.changeset/fair-colts-invent.md b/.changeset/fair-colts-invent.md deleted file mode 100644 index ae5bb16d..00000000 --- a/.changeset/fair-colts-invent.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@codecov/bundler-plugin-core": minor -"@codecov/nextjs-webpack-plugin": minor -"@codecov/nuxt-plugin": minor -"@codecov/remix-vite-plugin": minor -"@codecov/rollup-plugin": minor -"@codecov/solidstart-plugin": minor -"@codecov/sveltekit-plugin": minor -"@codecov/vite-plugin": minor -"@codecov/webpack-plugin": minor ---- - -Update nuxt and related dependencies diff --git a/.changeset/flat-mails-buy.md b/.changeset/flat-mails-buy.md deleted file mode 100644 index 7dfc0979..00000000 --- a/.changeset/flat-mails-buy.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Normalize options to set default values as well as validate bundle names ensuring they follow the correct pattern. diff --git a/.changeset/four-houses-drive.md b/.changeset/four-houses-drive.md deleted file mode 100644 index c1290169..00000000 --- a/.changeset/four-houses-drive.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Update Vercel env helper function to create full git slug diff --git a/.changeset/gorgeous-donuts-complain.md b/.changeset/gorgeous-donuts-complain.md deleted file mode 100644 index 24c6b6f4..00000000 --- a/.changeset/gorgeous-donuts-complain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@codecov/solidstart-plugin": patch ---- - -Add support for SolidStart through new plugin diff --git a/.changeset/healthy-foxes-joke.md b/.changeset/healthy-foxes-joke.md deleted file mode 100644 index f9bda015..00000000 --- a/.changeset/healthy-foxes-joke.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch ---- - -Move packages into beta diff --git a/.changeset/hungry-toes-hide.md b/.changeset/hungry-toes-hide.md deleted file mode 100644 index a6797895..00000000 --- a/.changeset/hungry-toes-hide.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch ---- - -Refactor bundler-plugin-core to be a set of utility/helper functions, and refactor subsequent plugins to use these functions. This will make the plugins composable and easier to maintain in the future. diff --git a/.changeset/itchy-wolves-accept.md b/.changeset/itchy-wolves-accept.md deleted file mode 100644 index b20697c3..00000000 --- a/.changeset/itchy-wolves-accept.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -feat: send metrics to sentry diff --git a/.changeset/khaki-lions-glow.md b/.changeset/khaki-lions-glow.md deleted file mode 100644 index 3a1877b4..00000000 --- a/.changeset/khaki-lions-glow.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Add codecov prefix to log messages diff --git a/.changeset/kind-camels-give.md b/.changeset/kind-camels-give.md deleted file mode 100644 index 1daf07a5..00000000 --- a/.changeset/kind-camels-give.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@codecov/nextjs-webpack-plugin": minor -"@codecov/bundler-plugin-core": patch -"@codecov/nuxt-plugin": patch -"@codecov/remix-vite-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/solidstart-plugin": patch -"@codecov/sveltekit-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Remove requirement for uploadToken being present adding support for tokenless uploads. diff --git a/.changeset/light-ants-thank.md b/.changeset/light-ants-thank.md deleted file mode 100644 index 8f5fa697..00000000 --- a/.changeset/light-ants-thank.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/nuxt-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/sveltekit-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Add in support for bundle analysis for SvelteKit through new SvelteKit plugin diff --git a/.changeset/little-knives-hunt.md b/.changeset/little-knives-hunt.md deleted file mode 100644 index 90f01b28..00000000 --- a/.changeset/little-knives-hunt.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/nuxt-plugin": patch -"@codecov/vite-plugin": patch ---- - -Add in a new plugin specifically for Nuxt diff --git a/.changeset/lucky-rocks-breathe.md b/.changeset/lucky-rocks-breathe.md deleted file mode 100644 index 1b83ff74..00000000 --- a/.changeset/lucky-rocks-breathe.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@codecov/bundler-plugin-core": minor -"@codecov/nextjs-webpack-plugin": minor -"@codecov/nuxt-plugin": minor -"@codecov/remix-vite-plugin": minor -"@codecov/rollup-plugin": minor -"@codecov/solidstart-plugin": minor -"@codecov/sveltekit-plugin": minor -"@codecov/vite-plugin": minor -"@codecov/webpack-plugin": minor ---- - -Add in new package for nextjs webpack diff --git a/.changeset/lucky-seals-admire.md b/.changeset/lucky-seals-admire.md deleted file mode 100644 index 38f10eec..00000000 --- a/.changeset/lucky-seals-admire.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@codecov/nextjs-webpack-plugin": minor -"@codecov/bundler-plugin-core": minor -"@codecov/remix-vite-plugin": minor -"@codecov/solidstart-plugin": minor -"@codecov/sveltekit-plugin": minor -"@codecov/webpack-plugin": minor -"@codecov/rollup-plugin": minor -"@codecov/nuxt-plugin": minor -"@codecov/vite-plugin": minor ---- - -Add the ability for users to use GH OIDC instead of explicit upload tokens diff --git a/.changeset/many-berries-grab.md b/.changeset/many-berries-grab.md deleted file mode 100644 index db874051..00000000 --- a/.changeset/many-berries-grab.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/bundler-plugin-core": patch ---- - -Modify output formats to be consistent across aliases and bundlers diff --git a/.changeset/many-peas-repeat.md b/.changeset/many-peas-repeat.md deleted file mode 100644 index f0295310..00000000 --- a/.changeset/many-peas-repeat.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Add more detailed logging for upload stats diff --git a/.changeset/nervous-onions-hang.md b/.changeset/nervous-onions-hang.md deleted file mode 100644 index 4e4c5c78..00000000 --- a/.changeset/nervous-onions-hang.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@codecov/nextjs-webpack-plugin": minor -"@codecov/bundler-plugin-core": minor -"@codecov/solidstart-plugin": minor -"@codecov/nuxt-plugin": minor -"@codecov/remix-vite-plugin": minor -"@codecov/rollup-plugin": minor -"@codecov/sveltekit-plugin": minor -"@codecov/vite-plugin": minor -"@codecov/webpack-plugin": minor ---- - -Add in new extendable types from the plugin core so that we can further customize them in the plugins diff --git a/.changeset/old-cameras-search.md b/.changeset/old-cameras-search.md deleted file mode 100644 index 382ea0a9..00000000 --- a/.changeset/old-cameras-search.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/nuxt-plugin": patch -"@codecov/remix-vite-plugin": patch -"@codecov/sveltekit-plugin": patch ---- - -Adjust asset type to contain gzipSize, add new function to collect gzip values diff --git a/.changeset/orange-lemons-run.md b/.changeset/orange-lemons-run.md deleted file mode 100644 index 000a9266..00000000 --- a/.changeset/orange-lemons-run.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/sveltekit-plugin": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/nuxt-plugin": patch -"@codecov/vite-plugin": patch ---- - -Update license to 2024 diff --git a/.changeset/popular-chicken-confess.md b/.changeset/popular-chicken-confess.md deleted file mode 100644 index c9ee091e..00000000 --- a/.changeset/popular-chicken-confess.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch ---- - -Add in debug option that will enable more in-depth logs diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 32bd0204..00000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "mode": "exit", - "tag": "beta", - "initialVersions": { - "@codecov/bundler-plugin-core": "0.0.0", - "@codecov/rollup-plugin": "0.0.0", - "@codecov/vite-plugin": "0.0.0", - "@codecov/webpack-plugin": "0.0.0", - "@codecov/nuxt-plugin": "0.0.0", - "@codecov/sveltekit-plugin": "0.0.0", - "@codecov/remix-vite-plugin": "0.0.0", - "@codecov/solidstart-plugin": "0.0.0" - }, - "changesets": [ - "big-socks-impress", - "chilled-eagles-protect", - "cool-sheep-care", - "early-phones-prove", - "early-years-walk", - "flat-mails-buy", - "four-houses-drive", - "gorgeous-donuts-complain", - "healthy-foxes-joke", - "hungry-toes-hide", - "itchy-wolves-accept", - "khaki-lions-glow", - "light-ants-thank", - "little-knives-hunt", - "many-berries-grab", - "many-peas-repeat", - "old-cameras-search", - "orange-lemons-run", - "popular-chicken-confess", - "shaggy-snakes-sip", - "shy-turtles-shout", - "silent-pugs-add", - "stupid-points-vanish", - "thirty-cheetahs-teach", - "two-spies-talk", - "warm-feet-cry", - "wise-insects-accept" - ] -} diff --git a/.changeset/shaggy-snakes-sip.md b/.changeset/shaggy-snakes-sip.md deleted file mode 100644 index 3f2e11d6..00000000 --- a/.changeset/shaggy-snakes-sip.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/nuxt-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Add in better debug logging around choosing the commit sha diff --git a/.changeset/shiny-ghosts-play.md b/.changeset/shiny-ghosts-play.md deleted file mode 100644 index 3e563b17..00000000 --- a/.changeset/shiny-ghosts-play.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -"@codecov/bundler-plugin-core": major -"@codecov/nextjs-webpack-plugin": major -"@codecov/nuxt-plugin": major -"@codecov/remix-vite-plugin": major -"@codecov/rollup-plugin": major -"@codecov/solidstart-plugin": major -"@codecov/sveltekit-plugin": major -"@codecov/vite-plugin": major -"@codecov/webpack-plugin": major ---- - -Release 1.0.0 of the plugins. You can read more about the plugins and bundle analysis in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis). - -The plugins currently support the following frameworks and meta-frameworks: - -- NextJS (Webpack) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nextjs-webpack-quick-start) -- Nuxt - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nuxt-quick-start) -- Remix (Vite) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/remix-vite-quick-start) -- Rollup - [Docs](https://dash.readme.com/project/codecov/v2023/docs/rollup-quick-start) -- SolidStart - [Docs](https://dash.readme.com/project/codecov/v2023/docs/sveltekit-quick-start) -- SvelteKit - [Docs](https://dash.readme.com/project/codecov/v2023/docs/solidstart-quick-start) -- Vite - [Docs](https://dash.readme.com/project/codecov/v2023/docs/vite-quick-start-vue-sveltekit-remix-solidjs-etc) -- Webpack - [Docs](https://dash.readme.com/project/codecov/v2023/docs/webpack-quick-start-nextjs-craco) - -The plugins have the following functionality: - -- Automatically collect and upload bundle stats data to Codecov -- Tokenless uploads of bundle stats for forked upstream pull requests - [Docs](https://dash.readme.com/project/codecov/v2023/docs/tokenless-bundle-analysis) -- GH OIDC authentication for users or organizations who have configured it with GitHub - [Docs](https://dash.readme.com/project/codecov/v2023/docs/github-oidc-bundle-analysis) -- Support for Codecov Enterprise and self hosted users diff --git a/.changeset/shy-turtles-shout.md b/.changeset/shy-turtles-shout.md deleted file mode 100644 index e11c0372..00000000 --- a/.changeset/shy-turtles-shout.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@codecov/sveltekit-plugin": patch -"@codecov/remix-vite-plugin": patch -"@codecov/bundler-plugin-core": patch -"@codecov/nuxt-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Add in new Remix Vite plugin diff --git a/.changeset/silent-pugs-add.md b/.changeset/silent-pugs-add.md deleted file mode 100644 index bb6c7cff..00000000 --- a/.changeset/silent-pugs-add.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Remove Sentry stats upload from the plugins, as the project has been put on hold diff --git a/.changeset/stupid-points-vanish.md b/.changeset/stupid-points-vanish.md deleted file mode 100644 index a80b69ca..00000000 --- a/.changeset/stupid-points-vanish.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/remix-vite-plugin": patch -"@codecov/sveltekit-plugin": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/nuxt-plugin": patch -"@codecov/vite-plugin": patch ---- - -Set version from passed output arg, and collect gzip information in plugins diff --git a/.changeset/thirty-cheetahs-teach.md b/.changeset/thirty-cheetahs-teach.md deleted file mode 100644 index a6226420..00000000 --- a/.changeset/thirty-cheetahs-teach.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/nuxt-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/sveltekit-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Update normalizePath function to handle [hash][extname] case. diff --git a/.changeset/tidy-pumpkins-yawn.md b/.changeset/tidy-pumpkins-yawn.md deleted file mode 100644 index f58bd978..00000000 --- a/.changeset/tidy-pumpkins-yawn.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@codecov/nextjs-webpack-plugin": patch -"@codecov/bundler-plugin-core": patch -"@codecov/solidstart-plugin": patch -"@codecov/nuxt-plugin": patch -"@codecov/remix-vite-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/sveltekit-plugin": patch -"@codecov/vite-plugin": patch -"@codecov/webpack-plugin": patch ---- - -Fix jsdoc lint rule issue in solidstart plugin diff --git a/.changeset/two-spies-talk.md b/.changeset/two-spies-talk.md deleted file mode 100644 index acf669fc..00000000 --- a/.changeset/two-spies-talk.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/sveltekit-plugin": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/nuxt-plugin": patch -"@codecov/vite-plugin": patch ---- - -When a user submits a invalid bundle name, we will hard fail and exit the bundle process now. diff --git a/.changeset/warm-feet-cry.md b/.changeset/warm-feet-cry.md deleted file mode 100644 index 111e7872..00000000 --- a/.changeset/warm-feet-cry.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/vite-plugin": patch ---- - -Fix normalizePath not handling all base64 characters and dashes diff --git a/.changeset/warm-moles-float.md b/.changeset/warm-moles-float.md deleted file mode 100644 index 41059e36..00000000 --- a/.changeset/warm-moles-float.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/solidstart-plugin": patch -"@codecov/remix-vite-plugin": patch -"@codecov/sveltekit-plugin": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/nuxt-plugin": patch -"@codecov/vite-plugin": patch ---- - -Swap over to using @actions/github to grab head and base commit sha's in GHA diff --git a/.changeset/wise-insects-accept.md b/.changeset/wise-insects-accept.md deleted file mode 100644 index 0e4252b7..00000000 --- a/.changeset/wise-insects-accept.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@codecov/bundler-plugin-core": patch -"@codecov/remix-vite-plugin": patch -"@codecov/sveltekit-plugin": patch -"@codecov/webpack-plugin": patch -"@codecov/rollup-plugin": patch -"@codecov/nuxt-plugin": patch -"@codecov/vite-plugin": patch ---- - -Update meta-framework plugins to collect version generated in output arg diff --git a/README.md b/README.md index 8d88538c..e1f773f9 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,6 @@ # Codecov Bundler Plugins -> [!WARNING] -> These plugins are currently in beta and are subject to change. - Codecov plugins for various JavaScript bundlers. Currently supporting Rollup, Vite, Webpack 5. Checkout the individual packages for more information and examples: diff --git a/integration-tests/fixtures/generate-bundle-stats/nuxt/__snapshots__/nuxt-plugin.test.ts.snap b/integration-tests/fixtures/generate-bundle-stats/nuxt/__snapshots__/nuxt-plugin.test.ts.snap index 315ebf58..2573c624 100644 --- a/integration-tests/fixtures/generate-bundle-stats/nuxt/__snapshots__/nuxt-plugin.test.ts.snap +++ b/integration-tests/fixtures/generate-bundle-stats/nuxt/__snapshots__/nuxt-plugin.test.ts.snap @@ -15,7 +15,7 @@ exports[`Generating nuxt stats 3 {"format":"amd","expected":"amd"} matches the s "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -36,7 +36,7 @@ exports[`Generating nuxt stats 3 {"format":"amd","expected":"amd"} matches the s "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -57,7 +57,7 @@ exports[`Generating nuxt stats 3 {"format":"cjs","expected":"cjs"} matches the s "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -78,7 +78,7 @@ exports[`Generating nuxt stats 3 {"format":"cjs","expected":"cjs"} matches the s "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -99,7 +99,7 @@ exports[`Generating nuxt stats 3 {"format":"es","expected":"esm"} matches the sn "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -120,7 +120,7 @@ exports[`Generating nuxt stats 3 {"format":"es","expected":"esm"} matches the sn "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -141,7 +141,7 @@ exports[`Generating nuxt stats 3 {"format":"esm","expected":"esm"} matches the s "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -162,7 +162,7 @@ exports[`Generating nuxt stats 3 {"format":"esm","expected":"esm"} matches the s "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -183,7 +183,7 @@ exports[`Generating nuxt stats 3 {"format":"module","expected":"esm"} matches th "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -204,7 +204,7 @@ exports[`Generating nuxt stats 3 {"format":"module","expected":"esm"} matches th "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -225,7 +225,7 @@ exports[`Generating nuxt stats 3 {"format":"iife","expected":"iife"} matches the "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -246,7 +246,7 @@ exports[`Generating nuxt stats 3 {"format":"iife","expected":"iife"} matches the "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -267,7 +267,7 @@ exports[`Generating nuxt stats 3 {"format":"umd","expected":"umd"} matches the s "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -288,7 +288,7 @@ exports[`Generating nuxt stats 3 {"format":"umd","expected":"umd"} matches the s "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -309,7 +309,7 @@ exports[`Generating nuxt stats 3 {"format":"system","expected":"system"} matches "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -330,7 +330,7 @@ exports[`Generating nuxt stats 3 {"format":"system","expected":"system"} matches "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -351,7 +351,7 @@ exports[`Generating nuxt stats 3 {"format":"systemjs","expected":"system"} match "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -372,7 +372,7 @@ exports[`Generating nuxt stats 3 {"format":"systemjs","expected":"system"} match "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } diff --git a/integration-tests/fixtures/generate-bundle-stats/remix/__snapshots__/remix-plugin.test.ts.snap b/integration-tests/fixtures/generate-bundle-stats/remix/__snapshots__/remix-plugin.test.ts.snap index 39b39d17..e8c98658 100644 --- a/integration-tests/fixtures/generate-bundle-stats/remix/__snapshots__/remix-plugin.test.ts.snap +++ b/integration-tests/fixtures/generate-bundle-stats/remix/__snapshots__/remix-plugin.test.ts.snap @@ -15,7 +15,7 @@ exports[`Generating remix stats 2 {"format":"amd","expected":"amd"} matches the "outputPath": StringContaining "build", "plugin": { "name": StringMatching "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -36,7 +36,7 @@ exports[`Generating remix stats 2 {"format":"amd","expected":"amd"} matches the "outputPath": StringContaining "build", "plugin": { "name": StringMatching "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -57,7 +57,7 @@ exports[`Generating remix stats 2 {"format":"cjs","expected":"cjs"} matches the "outputPath": StringContaining "build", "plugin": { "name": StringMatching "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -78,7 +78,7 @@ exports[`Generating remix stats 2 {"format":"cjs","expected":"cjs"} matches the "outputPath": StringContaining "build", "plugin": { "name": StringMatching "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -99,7 +99,7 @@ exports[`Generating remix stats 2 {"format":"es","expected":"esm"} matches the s "outputPath": StringContaining "build", "plugin": { "name": StringMatching "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -120,7 +120,7 @@ exports[`Generating remix stats 2 {"format":"es","expected":"esm"} matches the s "outputPath": StringContaining "build", "plugin": { "name": StringMatching "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -141,7 +141,7 @@ exports[`Generating remix stats 2 {"format":"esm","expected":"esm"} matches the "outputPath": StringContaining "build", "plugin": { "name": StringMatching "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -162,7 +162,7 @@ exports[`Generating remix stats 2 {"format":"esm","expected":"esm"} matches the "outputPath": StringContaining "build", "plugin": { "name": StringMatching "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -183,7 +183,7 @@ exports[`Generating remix stats 2 {"format":"module","expected":"esm"} matches t "outputPath": StringContaining "build", "plugin": { "name": StringMatching "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -204,7 +204,7 @@ exports[`Generating remix stats 2 {"format":"module","expected":"esm"} matches t "outputPath": StringContaining "build", "plugin": { "name": StringMatching "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } diff --git a/integration-tests/fixtures/generate-bundle-stats/rollup/__snapshots__/rollup-plugin.test.ts.snap b/integration-tests/fixtures/generate-bundle-stats/rollup/__snapshots__/rollup-plugin.test.ts.snap index a7cbefb3..94a31408 100644 --- a/integration-tests/fixtures/generate-bundle-stats/rollup/__snapshots__/rollup-plugin.test.ts.snap +++ b/integration-tests/fixtures/generate-bundle-stats/rollup/__snapshots__/rollup-plugin.test.ts.snap @@ -71,7 +71,7 @@ exports[`Generating rollup stats 3 {"format":"amd","expected":"amd"} matches the "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -148,7 +148,7 @@ exports[`Generating rollup stats 3 {"format":"cjs","expected":"cjs"} matches the "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -225,7 +225,7 @@ exports[`Generating rollup stats 3 {"format":"es","expected":"esm"} matches the "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -302,7 +302,7 @@ exports[`Generating rollup stats 3 {"format":"esm","expected":"esm"} matches the "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -379,7 +379,7 @@ exports[`Generating rollup stats 3 {"format":"module","expected":"esm"} matches "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -456,7 +456,7 @@ exports[`Generating rollup stats 3 {"format":"iife","expected":"iife"} matches t "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -533,7 +533,7 @@ exports[`Generating rollup stats 3 {"format":"umd","expected":"umd"} matches the "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -610,7 +610,7 @@ exports[`Generating rollup stats 3 {"format":"system","expected":"system"} match "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -687,7 +687,7 @@ exports[`Generating rollup stats 3 {"format":"systemjs","expected":"system"} mat "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -764,7 +764,7 @@ exports[`Generating rollup stats 3 source maps are enabled does not include any "outputPath": StringContaining "/distV3", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -841,7 +841,7 @@ exports[`Generating rollup stats 4 {"format":"amd","expected":"amd"} matches the "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -918,7 +918,7 @@ exports[`Generating rollup stats 4 {"format":"cjs","expected":"cjs"} matches the "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -995,7 +995,7 @@ exports[`Generating rollup stats 4 {"format":"es","expected":"esm"} matches the "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1072,7 +1072,7 @@ exports[`Generating rollup stats 4 {"format":"esm","expected":"esm"} matches the "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1149,7 +1149,7 @@ exports[`Generating rollup stats 4 {"format":"module","expected":"esm"} matches "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1226,7 +1226,7 @@ exports[`Generating rollup stats 4 {"format":"iife","expected":"iife"} matches t "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1303,7 +1303,7 @@ exports[`Generating rollup stats 4 {"format":"umd","expected":"umd"} matches the "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1380,7 +1380,7 @@ exports[`Generating rollup stats 4 {"format":"system","expected":"system"} match "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1457,7 +1457,7 @@ exports[`Generating rollup stats 4 {"format":"systemjs","expected":"system"} mat "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1534,7 +1534,7 @@ exports[`Generating rollup stats 4 source maps are enabled does not include any "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } diff --git a/integration-tests/fixtures/generate-bundle-stats/sveltekit/__snapshots__/sveltekit-plugin.test.ts.snap b/integration-tests/fixtures/generate-bundle-stats/sveltekit/__snapshots__/sveltekit-plugin.test.ts.snap index a00e7743..10032343 100644 --- a/integration-tests/fixtures/generate-bundle-stats/sveltekit/__snapshots__/sveltekit-plugin.test.ts.snap +++ b/integration-tests/fixtures/generate-bundle-stats/sveltekit/__snapshots__/sveltekit-plugin.test.ts.snap @@ -15,7 +15,7 @@ exports[`Generating sveltekit stats 2 {"format":"es","expected":"esm"} matches t "outputPath": StringContaining ".svelte-kit", "plugin": { "name": StringMatching "@codecov/sveltekit-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -36,7 +36,7 @@ exports[`Generating sveltekit stats 2 {"format":"es","expected":"esm"} matches t "outputPath": StringContaining ".svelte-kit", "plugin": { "name": StringMatching "@codecov/sveltekit-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -57,7 +57,7 @@ exports[`Generating sveltekit stats 2 {"format":"esm","expected":"esm"} matches "outputPath": StringContaining ".svelte-kit", "plugin": { "name": StringMatching "@codecov/sveltekit-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -78,7 +78,7 @@ exports[`Generating sveltekit stats 2 {"format":"esm","expected":"esm"} matches "outputPath": StringContaining ".svelte-kit", "plugin": { "name": StringMatching "@codecov/sveltekit-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -99,7 +99,7 @@ exports[`Generating sveltekit stats 2 {"format":"module","expected":"esm"} match "outputPath": StringContaining ".svelte-kit", "plugin": { "name": StringMatching "@codecov/sveltekit-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -120,7 +120,7 @@ exports[`Generating sveltekit stats 2 {"format":"module","expected":"esm"} match "outputPath": StringContaining ".svelte-kit", "plugin": { "name": StringMatching "@codecov/sveltekit-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } diff --git a/integration-tests/fixtures/generate-bundle-stats/vite/__snapshots__/vite-plugin.test.ts.snap b/integration-tests/fixtures/generate-bundle-stats/vite/__snapshots__/vite-plugin.test.ts.snap index 53d6a94a..c0c09d7a 100644 --- a/integration-tests/fixtures/generate-bundle-stats/vite/__snapshots__/vite-plugin.test.ts.snap +++ b/integration-tests/fixtures/generate-bundle-stats/vite/__snapshots__/vite-plugin.test.ts.snap @@ -85,7 +85,7 @@ exports[`Generating vite stats v4 {"format":"amd","expected":"amd"} matches the "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -176,7 +176,7 @@ exports[`Generating vite stats v4 {"format":"cjs","expected":"cjs"} matches the "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -267,7 +267,7 @@ exports[`Generating vite stats v4 {"format":"es","expected":"esm"} matches the s "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -358,7 +358,7 @@ exports[`Generating vite stats v4 {"format":"esm","expected":"esm"} matches the "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -449,7 +449,7 @@ exports[`Generating vite stats v4 {"format":"module","expected":"esm"} matches t "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -540,7 +540,7 @@ exports[`Generating vite stats v4 {"format":"iife","expected":"iife"} matches th "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -631,7 +631,7 @@ exports[`Generating vite stats v4 {"format":"umd","expected":"umd"} matches the "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -722,7 +722,7 @@ exports[`Generating vite stats v4 {"format":"system","expected":"system"} matche "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -813,7 +813,7 @@ exports[`Generating vite stats v4 {"format":"systemjs","expected":"system"} matc "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -904,7 +904,7 @@ exports[`Generating vite stats v4 source maps are enabled does not include any s "outputPath": StringContaining "/distV4", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -995,7 +995,7 @@ exports[`Generating vite stats v5 {"format":"amd","expected":"amd"} matches the "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1086,7 +1086,7 @@ exports[`Generating vite stats v5 {"format":"cjs","expected":"cjs"} matches the "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1177,7 +1177,7 @@ exports[`Generating vite stats v5 {"format":"es","expected":"esm"} matches the s "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1268,7 +1268,7 @@ exports[`Generating vite stats v5 {"format":"esm","expected":"esm"} matches the "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1359,7 +1359,7 @@ exports[`Generating vite stats v5 {"format":"module","expected":"esm"} matches t "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1450,7 +1450,7 @@ exports[`Generating vite stats v5 {"format":"iife","expected":"iife"} matches th "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1541,7 +1541,7 @@ exports[`Generating vite stats v5 {"format":"umd","expected":"umd"} matches the "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1632,7 +1632,7 @@ exports[`Generating vite stats v5 {"format":"system","expected":"system"} matche "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1723,7 +1723,7 @@ exports[`Generating vite stats v5 {"format":"systemjs","expected":"system"} matc "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -1814,7 +1814,7 @@ exports[`Generating vite stats v5 source maps are enabled does not include any s "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } diff --git a/integration-tests/fixtures/generate-bundle-stats/webpack/__snapshots__/webpack-plugin.test.ts.snap b/integration-tests/fixtures/generate-bundle-stats/webpack/__snapshots__/webpack-plugin.test.ts.snap index 053be10e..685a8abe 100644 --- a/integration-tests/fixtures/generate-bundle-stats/webpack/__snapshots__/webpack-plugin.test.ts.snap +++ b/integration-tests/fixtures/generate-bundle-stats/webpack/__snapshots__/webpack-plugin.test.ts.snap @@ -69,7 +69,7 @@ exports[`Generating webpack stats 5 {"format":"array-push","expected":"array-pus "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/webpack-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -144,7 +144,7 @@ exports[`Generating webpack stats 5 {"format":"commonjs","expected":"cjs"} match "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/webpack-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -219,7 +219,7 @@ exports[`Generating webpack stats 5 source maps are enabled does not include any "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/webpack-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } @@ -294,7 +294,7 @@ exports[`Generating webpack stats 5 {"format":"module","expected":"esm"} matches "outputPath": StringContaining "/distV5", "plugin": { "name": StringMatching "@codecov/webpack-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", }, "version": "2", } diff --git a/packages/bundler-plugin-core/CHANGELOG.md b/packages/bundler-plugin-core/CHANGELOG.md index 682646dd..2654bd4a 100644 --- a/packages/bundler-plugin-core/CHANGELOG.md +++ b/packages/bundler-plugin-core/CHANGELOG.md @@ -1,5 +1,69 @@ # @codecov/bundler-plugin-core +## 1.0.0 + +### Major Changes + +- 4b311c0: Release 1.0.0 of the plugins. You can read more about the plugins and bundle analysis in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis). + + The plugins currently support the following frameworks and meta-frameworks: + + - NextJS (Webpack) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nextjs-webpack-quick-start) + - Nuxt - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nuxt-quick-start) + - Remix (Vite) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/remix-vite-quick-start) + - Rollup - [Docs](https://dash.readme.com/project/codecov/v2023/docs/rollup-quick-start) + - SolidStart - [Docs](https://dash.readme.com/project/codecov/v2023/docs/sveltekit-quick-start) + - SvelteKit - [Docs](https://dash.readme.com/project/codecov/v2023/docs/solidstart-quick-start) + - Vite - [Docs](https://dash.readme.com/project/codecov/v2023/docs/vite-quick-start-vue-sveltekit-remix-solidjs-etc) + - Webpack - [Docs](https://dash.readme.com/project/codecov/v2023/docs/webpack-quick-start-nextjs-craco) + + The plugins have the following functionality: + + - Automatically collect and upload bundle stats data to Codecov + - Tokenless uploads of bundle stats for forked upstream pull requests - [Docs](https://dash.readme.com/project/codecov/v2023/docs/tokenless-bundle-analysis) + - GH OIDC authentication for users or organizations who have configured it with GitHub - [Docs](https://dash.readme.com/project/codecov/v2023/docs/github-oidc-bundle-analysis) + - Support for Codecov Enterprise and self hosted users + +### Minor Changes + +- be89828: Update nuxt and related dependencies +- f290775: Add in new package for nextjs webpack +- 80dc4ee: Add the ability for users to use GH OIDC instead of explicit upload tokens +- f290775: Add in new extendable types from the plugin core so that we can further customize them in the plugins + +### Patch Changes + +- 4c6e863: Refactor webpack plugin to export utility functions that will be used in the upcoming NextJS plugin +- a2e576f: Fix SvelteKit plugin keywords +- 5ad4bfa: Update plugins to remove sourcemaps from bundle stats data +- da9b990: Preserve JSDoc comments during build process for the bundler plugins +- 94a46aa: Grab branch name inside Vercel helper so that we for sure have a branch value +- f0c0a79: Swap from using empty strings to null values for CI providers +- 33b335e: Normalize options to set default values as well as validate bundle names ensuring they follow the correct pattern. +- 834dd14: Update Vercel env helper function to create full git slug +- f5cae1c: Move packages into beta +- e6f3e66: Refactor bundler-plugin-core to be a set of utility/helper functions, and refactor subsequent plugins to use these functions. This will make the plugins composable and easier to maintain in the future. +- 9038f06: feat: send metrics to sentry +- f0fd4ce: Add codecov prefix to log messages +- ec6b13a: Remove requirement for uploadToken being present adding support for tokenless uploads. +- 297cd29: Add in support for bundle analysis for SvelteKit through new SvelteKit plugin +- cb90ab7: Add in a new plugin specifically for Nuxt +- 4e1516a: Modify output formats to be consistent across aliases and bundlers +- 7bc7183: Add more detailed logging for upload stats +- dfb26db: Adjust asset type to contain gzipSize, add new function to collect gzip values +- 297cd29: Update license to 2024 +- 153f684: Add in debug option that will enable more in-depth logs +- a34fb57: Add in better debug logging around choosing the commit sha +- a2e576f: Add in new Remix Vite plugin +- c6dc57c: Remove Sentry stats upload from the plugins, as the project has been put on hold +- dfb26db: Set version from passed output arg, and collect gzip information in plugins +- fe21d8a: Update normalizePath function to handle [hash][extname] case. +- f290775: Fix jsdoc lint rule issue in solidstart plugin +- d74a176: When a user submits a invalid bundle name, we will hard fail and exit the bundle process now. +- 6c02b73: Fix normalizePath not handling all base64 characters and dashes +- b1967b1: Swap over to using @actions/github to grab head and base commit sha's in GHA +- dfb26db: Update meta-framework plugins to collect version generated in output arg + ## 0.0.1-beta.12 ### Patch Changes diff --git a/packages/bundler-plugin-core/package.json b/packages/bundler-plugin-core/package.json index 6c31bfbf..003da291 100644 --- a/packages/bundler-plugin-core/package.json +++ b/packages/bundler-plugin-core/package.json @@ -1,6 +1,6 @@ { "name": "@codecov/bundler-plugin-core", - "version": "0.0.1-beta.12", + "version": "1.0.0", "description": "Official Codecov Bundler Plugin Core", "author": "Codecov", "license": "MIT", diff --git a/packages/nextjs-webpack-plugin/CHANGELOG.md b/packages/nextjs-webpack-plugin/CHANGELOG.md new file mode 100644 index 00000000..9112f83a --- /dev/null +++ b/packages/nextjs-webpack-plugin/CHANGELOG.md @@ -0,0 +1,74 @@ +# @codecov/nextjs-webpack-plugin + +## 1.0.0 + +### Major Changes + +- 4b311c0: Release 1.0.0 of the plugins. You can read more about the plugins and bundle analysis in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis). + + The plugins currently support the following frameworks and meta-frameworks: + + - NextJS (Webpack) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nextjs-webpack-quick-start) + - Nuxt - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nuxt-quick-start) + - Remix (Vite) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/remix-vite-quick-start) + - Rollup - [Docs](https://dash.readme.com/project/codecov/v2023/docs/rollup-quick-start) + - SolidStart - [Docs](https://dash.readme.com/project/codecov/v2023/docs/sveltekit-quick-start) + - SvelteKit - [Docs](https://dash.readme.com/project/codecov/v2023/docs/solidstart-quick-start) + - Vite - [Docs](https://dash.readme.com/project/codecov/v2023/docs/vite-quick-start-vue-sveltekit-remix-solidjs-etc) + - Webpack - [Docs](https://dash.readme.com/project/codecov/v2023/docs/webpack-quick-start-nextjs-craco) + + The plugins have the following functionality: + + - Automatically collect and upload bundle stats data to Codecov + - Tokenless uploads of bundle stats for forked upstream pull requests - [Docs](https://dash.readme.com/project/codecov/v2023/docs/tokenless-bundle-analysis) + - GH OIDC authentication for users or organizations who have configured it with GitHub - [Docs](https://dash.readme.com/project/codecov/v2023/docs/github-oidc-bundle-analysis) + - Support for Codecov Enterprise and self hosted users + +### Minor Changes + +- be89828: Update nuxt and related dependencies +- ec6b13a: Remove requirement for uploadToken being present adding support for tokenless uploads. +- f290775: Add in new package for nextjs webpack +- 80dc4ee: Add the ability for users to use GH OIDC instead of explicit upload tokens +- f290775: Add in new extendable types from the plugin core so that we can further customize them in the plugins + +### Patch Changes + +- f290775: Fix jsdoc lint rule issue in solidstart plugin +- Updated dependencies [4c6e863] +- Updated dependencies [a2e576f] +- Updated dependencies [5ad4bfa] +- Updated dependencies [da9b990] +- Updated dependencies [94a46aa] +- Updated dependencies [f0c0a79] +- Updated dependencies [be89828] +- Updated dependencies [33b335e] +- Updated dependencies [834dd14] +- Updated dependencies [f5cae1c] +- Updated dependencies [e6f3e66] +- Updated dependencies [9038f06] +- Updated dependencies [f0fd4ce] +- Updated dependencies [ec6b13a] +- Updated dependencies [297cd29] +- Updated dependencies [cb90ab7] +- Updated dependencies [f290775] +- Updated dependencies [80dc4ee] +- Updated dependencies [4e1516a] +- Updated dependencies [7bc7183] +- Updated dependencies [f290775] +- Updated dependencies [dfb26db] +- Updated dependencies [297cd29] +- Updated dependencies [153f684] +- Updated dependencies [a34fb57] +- Updated dependencies [4b311c0] +- Updated dependencies [a2e576f] +- Updated dependencies [c6dc57c] +- Updated dependencies [dfb26db] +- Updated dependencies [fe21d8a] +- Updated dependencies [f290775] +- Updated dependencies [d74a176] +- Updated dependencies [6c02b73] +- Updated dependencies [b1967b1] +- Updated dependencies [dfb26db] + - @codecov/webpack-plugin@1.0.0 + - @codecov/bundler-plugin-core@1.0.0 diff --git a/packages/nextjs-webpack-plugin/README.md b/packages/nextjs-webpack-plugin/README.md index f74a2f89..42358a72 100644 --- a/packages/nextjs-webpack-plugin/README.md +++ b/packages/nextjs-webpack-plugin/README.md @@ -6,11 +6,9 @@ # Codecov NextJS (Webpack) Plugin -> [!WARNING] -> These plugins are currently in beta and are subject to change. +A NextJS (Webpack) plugin that provides bundle analysis support for Codecov. -> A NextJS (Webpack) plugin that provides bundle analysis support for Codecov. -> +> [!NOTE] > The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! ## Installation diff --git a/packages/nextjs-webpack-plugin/package.json b/packages/nextjs-webpack-plugin/package.json index d8beef62..914815b0 100644 --- a/packages/nextjs-webpack-plugin/package.json +++ b/packages/nextjs-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@codecov/nextjs-webpack-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", "description": "Official Codecov NextJS (Webpack) plugin", "author": "Codecov", "license": "MIT", diff --git a/packages/nextjs-webpack-plugin/src/nextjs-webpack-bundle-analysis/__tests__/__snapshots__/nextJSWebpackBundleAnalysisPlugin.test.ts.snap b/packages/nextjs-webpack-plugin/src/nextjs-webpack-bundle-analysis/__tests__/__snapshots__/nextJSWebpackBundleAnalysisPlugin.test.ts.snap index 706c7dff..af8b6fb6 100644 --- a/packages/nextjs-webpack-plugin/src/nextjs-webpack-bundle-analysis/__tests__/__snapshots__/nextJSWebpackBundleAnalysisPlugin.test.ts.snap +++ b/packages/nextjs-webpack-plugin/src/nextjs-webpack-bundle-analysis/__tests__/__snapshots__/nextJSWebpackBundleAnalysisPlugin.test.ts.snap @@ -5,7 +5,7 @@ exports[`webpackBundleAnalysisPlugin > when called > returns a plugin object 1`] "buildEnd": [Function], "buildStart": [Function], "name": "@codecov/nextjs-webpack-plugin", - "pluginVersion": "0.0.1-beta.12", + "pluginVersion": "1.0.0", "version": "2", "webpack": [Function], "writeBundle": [Function], diff --git a/packages/nuxt-plugin/CHANGELOG.md b/packages/nuxt-plugin/CHANGELOG.md index 8af2949a..a93cd60d 100644 --- a/packages/nuxt-plugin/CHANGELOG.md +++ b/packages/nuxt-plugin/CHANGELOG.md @@ -1,5 +1,92 @@ # @codecov/nuxt-plugin +## 1.0.0 + +### Major Changes + +- 4b311c0: Release 1.0.0 of the plugins. You can read more about the plugins and bundle analysis in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis). + + The plugins currently support the following frameworks and meta-frameworks: + + - NextJS (Webpack) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nextjs-webpack-quick-start) + - Nuxt - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nuxt-quick-start) + - Remix (Vite) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/remix-vite-quick-start) + - Rollup - [Docs](https://dash.readme.com/project/codecov/v2023/docs/rollup-quick-start) + - SolidStart - [Docs](https://dash.readme.com/project/codecov/v2023/docs/sveltekit-quick-start) + - SvelteKit - [Docs](https://dash.readme.com/project/codecov/v2023/docs/solidstart-quick-start) + - Vite - [Docs](https://dash.readme.com/project/codecov/v2023/docs/vite-quick-start-vue-sveltekit-remix-solidjs-etc) + - Webpack - [Docs](https://dash.readme.com/project/codecov/v2023/docs/webpack-quick-start-nextjs-craco) + + The plugins have the following functionality: + + - Automatically collect and upload bundle stats data to Codecov + - Tokenless uploads of bundle stats for forked upstream pull requests - [Docs](https://dash.readme.com/project/codecov/v2023/docs/tokenless-bundle-analysis) + - GH OIDC authentication for users or organizations who have configured it with GitHub - [Docs](https://dash.readme.com/project/codecov/v2023/docs/github-oidc-bundle-analysis) + - Support for Codecov Enterprise and self hosted users + +### Minor Changes + +- be89828: Update nuxt and related dependencies +- f290775: Add in new package for nextjs webpack +- 80dc4ee: Add the ability for users to use GH OIDC instead of explicit upload tokens +- f290775: Add in new extendable types from the plugin core so that we can further customize them in the plugins + +### Patch Changes + +- 4c6e863: Refactor webpack plugin to export utility functions that will be used in the upcoming NextJS plugin +- a2e576f: Fix SvelteKit plugin keywords +- f0c0a79: Swap from using empty strings to null values for CI providers +- ec6b13a: Remove requirement for uploadToken being present adding support for tokenless uploads. +- 297cd29: Add in support for bundle analysis for SvelteKit through new SvelteKit plugin +- cb90ab7: Add in a new plugin specifically for Nuxt +- dfb26db: Adjust asset type to contain gzipSize, add new function to collect gzip values +- 297cd29: Update license to 2024 +- a34fb57: Add in better debug logging around choosing the commit sha +- a2e576f: Add in new Remix Vite plugin +- dfb26db: Set version from passed output arg, and collect gzip information in plugins +- fe21d8a: Update normalizePath function to handle [hash][extname] case. +- f290775: Fix jsdoc lint rule issue in solidstart plugin +- d74a176: When a user submits a invalid bundle name, we will hard fail and exit the bundle process now. +- b1967b1: Swap over to using @actions/github to grab head and base commit sha's in GHA +- dfb26db: Update meta-framework plugins to collect version generated in output arg +- Updated dependencies [4c6e863] +- Updated dependencies [a2e576f] +- Updated dependencies [5ad4bfa] +- Updated dependencies [da9b990] +- Updated dependencies [94a46aa] +- Updated dependencies [f0c0a79] +- Updated dependencies [be89828] +- Updated dependencies [33b335e] +- Updated dependencies [834dd14] +- Updated dependencies [f5cae1c] +- Updated dependencies [e6f3e66] +- Updated dependencies [9038f06] +- Updated dependencies [f0fd4ce] +- Updated dependencies [ec6b13a] +- Updated dependencies [297cd29] +- Updated dependencies [cb90ab7] +- Updated dependencies [f290775] +- Updated dependencies [80dc4ee] +- Updated dependencies [4e1516a] +- Updated dependencies [7bc7183] +- Updated dependencies [f290775] +- Updated dependencies [dfb26db] +- Updated dependencies [297cd29] +- Updated dependencies [153f684] +- Updated dependencies [a34fb57] +- Updated dependencies [4b311c0] +- Updated dependencies [a2e576f] +- Updated dependencies [c6dc57c] +- Updated dependencies [dfb26db] +- Updated dependencies [fe21d8a] +- Updated dependencies [f290775] +- Updated dependencies [d74a176] +- Updated dependencies [6c02b73] +- Updated dependencies [b1967b1] +- Updated dependencies [dfb26db] + - @codecov/bundler-plugin-core@1.0.0 + - @codecov/vite-plugin@1.0.0 + ## 0.0.1-beta.12 ### Patch Changes diff --git a/packages/nuxt-plugin/README.md b/packages/nuxt-plugin/README.md index c00e1b3a..03a75685 100644 --- a/packages/nuxt-plugin/README.md +++ b/packages/nuxt-plugin/README.md @@ -6,15 +6,12 @@ # Codecov Nuxt Plugin -> [!WARNING] -> These plugins are currently in beta and are subject to change. -> -> A Nuxt plugin that provides bundle analysis support for Codecov. -> -> The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! +A Nuxt plugin that provides bundle analysis support for Codecov. > [!NOTE] > This plugin only supports Nuxt 3.x when building with Vite. +> +> The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! ## Installation diff --git a/packages/nuxt-plugin/package.json b/packages/nuxt-plugin/package.json index 90e61fdc..e4cbda16 100644 --- a/packages/nuxt-plugin/package.json +++ b/packages/nuxt-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@codecov/nuxt-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", "description": "Official Codecov Nuxt plugin", "author": "Codecov", "license": "MIT", diff --git a/packages/nuxt-plugin/src/nuxt-bundle-analysis/__tests__/__snapshots__/nuxtBundleAnalysisPlugin.test.ts.snap b/packages/nuxt-plugin/src/nuxt-bundle-analysis/__tests__/__snapshots__/nuxtBundleAnalysisPlugin.test.ts.snap index bc8614c3..91046f80 100644 --- a/packages/nuxt-plugin/src/nuxt-bundle-analysis/__tests__/__snapshots__/nuxtBundleAnalysisPlugin.test.ts.snap +++ b/packages/nuxt-plugin/src/nuxt-bundle-analysis/__tests__/__snapshots__/nuxtBundleAnalysisPlugin.test.ts.snap @@ -3,7 +3,7 @@ exports[`nuxtBundleAnalysisPlugin > when called > returns a plugin object 1`] = ` { "name": "@codecov/nuxt-plugin", - "pluginVersion": "0.0.1-beta.12", + "pluginVersion": "1.0.0", "version": "2", "vite": { "generateBundle": [Function], diff --git a/packages/remix-vite-plugin/CHANGELOG.md b/packages/remix-vite-plugin/CHANGELOG.md index e9e81c9f..96f80d6d 100644 --- a/packages/remix-vite-plugin/CHANGELOG.md +++ b/packages/remix-vite-plugin/CHANGELOG.md @@ -1,5 +1,86 @@ # @codecov/remix-vite-plugin +## 1.0.0 + +### Major Changes + +- 4b311c0: Release 1.0.0 of the plugins. You can read more about the plugins and bundle analysis in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis). + + The plugins currently support the following frameworks and meta-frameworks: + + - NextJS (Webpack) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nextjs-webpack-quick-start) + - Nuxt - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nuxt-quick-start) + - Remix (Vite) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/remix-vite-quick-start) + - Rollup - [Docs](https://dash.readme.com/project/codecov/v2023/docs/rollup-quick-start) + - SolidStart - [Docs](https://dash.readme.com/project/codecov/v2023/docs/sveltekit-quick-start) + - SvelteKit - [Docs](https://dash.readme.com/project/codecov/v2023/docs/solidstart-quick-start) + - Vite - [Docs](https://dash.readme.com/project/codecov/v2023/docs/vite-quick-start-vue-sveltekit-remix-solidjs-etc) + - Webpack - [Docs](https://dash.readme.com/project/codecov/v2023/docs/webpack-quick-start-nextjs-craco) + + The plugins have the following functionality: + + - Automatically collect and upload bundle stats data to Codecov + - Tokenless uploads of bundle stats for forked upstream pull requests - [Docs](https://dash.readme.com/project/codecov/v2023/docs/tokenless-bundle-analysis) + - GH OIDC authentication for users or organizations who have configured it with GitHub - [Docs](https://dash.readme.com/project/codecov/v2023/docs/github-oidc-bundle-analysis) + - Support for Codecov Enterprise and self hosted users + +### Minor Changes + +- be89828: Update nuxt and related dependencies +- f290775: Add in new package for nextjs webpack +- 80dc4ee: Add the ability for users to use GH OIDC instead of explicit upload tokens +- f290775: Add in new extendable types from the plugin core so that we can further customize them in the plugins + +### Patch Changes + +- 4c6e863: Refactor webpack plugin to export utility functions that will be used in the upcoming NextJS plugin +- a2e576f: Fix SvelteKit plugin keywords +- f0c0a79: Swap from using empty strings to null values for CI providers +- ec6b13a: Remove requirement for uploadToken being present adding support for tokenless uploads. +- dfb26db: Adjust asset type to contain gzipSize, add new function to collect gzip values +- a2e576f: Add in new Remix Vite plugin +- dfb26db: Set version from passed output arg, and collect gzip information in plugins +- f290775: Fix jsdoc lint rule issue in solidstart plugin +- b1967b1: Swap over to using @actions/github to grab head and base commit sha's in GHA +- dfb26db: Update meta-framework plugins to collect version generated in output arg +- Updated dependencies [4c6e863] +- Updated dependencies [a2e576f] +- Updated dependencies [5ad4bfa] +- Updated dependencies [da9b990] +- Updated dependencies [94a46aa] +- Updated dependencies [f0c0a79] +- Updated dependencies [be89828] +- Updated dependencies [33b335e] +- Updated dependencies [834dd14] +- Updated dependencies [f5cae1c] +- Updated dependencies [e6f3e66] +- Updated dependencies [9038f06] +- Updated dependencies [f0fd4ce] +- Updated dependencies [ec6b13a] +- Updated dependencies [297cd29] +- Updated dependencies [cb90ab7] +- Updated dependencies [f290775] +- Updated dependencies [80dc4ee] +- Updated dependencies [4e1516a] +- Updated dependencies [7bc7183] +- Updated dependencies [f290775] +- Updated dependencies [dfb26db] +- Updated dependencies [297cd29] +- Updated dependencies [153f684] +- Updated dependencies [a34fb57] +- Updated dependencies [4b311c0] +- Updated dependencies [a2e576f] +- Updated dependencies [c6dc57c] +- Updated dependencies [dfb26db] +- Updated dependencies [fe21d8a] +- Updated dependencies [f290775] +- Updated dependencies [d74a176] +- Updated dependencies [6c02b73] +- Updated dependencies [b1967b1] +- Updated dependencies [dfb26db] + - @codecov/bundler-plugin-core@1.0.0 + - @codecov/vite-plugin@1.0.0 + ## 0.0.1-beta.12 ### Patch Changes diff --git a/packages/remix-vite-plugin/README.md b/packages/remix-vite-plugin/README.md index c2adb3a3..67bcbc1e 100644 --- a/packages/remix-vite-plugin/README.md +++ b/packages/remix-vite-plugin/README.md @@ -6,15 +6,12 @@ # Codecov Remix Plugin -> [!WARNING] -> These plugins are currently in beta and are subject to change. -> -> A Remix plugin that provides bundle analysis support for Codecov. -> -> The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! +A Remix plugin that provides bundle analysis support for Codecov. > [!NOTE] > This plugin only supports Remix 2.x when building with Vite. +> +> The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! ## Installation diff --git a/packages/remix-vite-plugin/package.json b/packages/remix-vite-plugin/package.json index 984f2bd7..e84d6ff0 100644 --- a/packages/remix-vite-plugin/package.json +++ b/packages/remix-vite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@codecov/remix-vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", "description": "Official Codecov Remix plugin", "author": "Codecov", "license": "MIT", diff --git a/packages/remix-vite-plugin/src/remix-bundle-analysis/__tests__/__snapshots__/remixBundleAnalysisPlugin.test.ts.snap b/packages/remix-vite-plugin/src/remix-bundle-analysis/__tests__/__snapshots__/remixBundleAnalysisPlugin.test.ts.snap index ee27af0d..3d6aa0e7 100644 --- a/packages/remix-vite-plugin/src/remix-bundle-analysis/__tests__/__snapshots__/remixBundleAnalysisPlugin.test.ts.snap +++ b/packages/remix-vite-plugin/src/remix-bundle-analysis/__tests__/__snapshots__/remixBundleAnalysisPlugin.test.ts.snap @@ -3,7 +3,7 @@ exports[`remixBundleAnalysisPlugin > when called > returns a plugin object 1`] = ` { "name": "@codecov/remix-vite-plugin", - "pluginVersion": "0.0.1-beta.12", + "pluginVersion": "1.0.0", "version": "2", "vite": { "generateBundle": [Function], diff --git a/packages/rollup-plugin/CHANGELOG.md b/packages/rollup-plugin/CHANGELOG.md index 850847cf..e01f2d4b 100644 --- a/packages/rollup-plugin/CHANGELOG.md +++ b/packages/rollup-plugin/CHANGELOG.md @@ -1,5 +1,105 @@ # @codecov/rollup-plugin +## 1.0.0 + +### Major Changes + +- 4b311c0: Release 1.0.0 of the plugins. You can read more about the plugins and bundle analysis in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis). + + The plugins currently support the following frameworks and meta-frameworks: + + - NextJS (Webpack) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nextjs-webpack-quick-start) + - Nuxt - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nuxt-quick-start) + - Remix (Vite) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/remix-vite-quick-start) + - Rollup - [Docs](https://dash.readme.com/project/codecov/v2023/docs/rollup-quick-start) + - SolidStart - [Docs](https://dash.readme.com/project/codecov/v2023/docs/sveltekit-quick-start) + - SvelteKit - [Docs](https://dash.readme.com/project/codecov/v2023/docs/solidstart-quick-start) + - Vite - [Docs](https://dash.readme.com/project/codecov/v2023/docs/vite-quick-start-vue-sveltekit-remix-solidjs-etc) + - Webpack - [Docs](https://dash.readme.com/project/codecov/v2023/docs/webpack-quick-start-nextjs-craco) + + The plugins have the following functionality: + + - Automatically collect and upload bundle stats data to Codecov + - Tokenless uploads of bundle stats for forked upstream pull requests - [Docs](https://dash.readme.com/project/codecov/v2023/docs/tokenless-bundle-analysis) + - GH OIDC authentication for users or organizations who have configured it with GitHub - [Docs](https://dash.readme.com/project/codecov/v2023/docs/github-oidc-bundle-analysis) + - Support for Codecov Enterprise and self hosted users + +### Minor Changes + +- be89828: Update nuxt and related dependencies +- f290775: Add in new package for nextjs webpack +- 80dc4ee: Add the ability for users to use GH OIDC instead of explicit upload tokens +- f290775: Add in new extendable types from the plugin core so that we can further customize them in the plugins + +### Patch Changes + +- 4c6e863: Refactor webpack plugin to export utility functions that will be used in the upcoming NextJS plugin +- a2e576f: Fix SvelteKit plugin keywords +- 5ad4bfa: Update plugins to remove sourcemaps from bundle stats data +- da9b990: Preserve JSDoc comments during build process for the bundler plugins +- 94a46aa: Grab branch name inside Vercel helper so that we for sure have a branch value +- f0c0a79: Swap from using empty strings to null values for CI providers +- 33b335e: Normalize options to set default values as well as validate bundle names ensuring they follow the correct pattern. +- 834dd14: Update Vercel env helper function to create full git slug +- f5cae1c: Move packages into beta +- e6f3e66: Refactor bundler-plugin-core to be a set of utility/helper functions, and refactor subsequent plugins to use these functions. This will make the plugins composable and easier to maintain in the future. +- 9038f06: feat: send metrics to sentry +- f0fd4ce: Add codecov prefix to log messages +- ec6b13a: Remove requirement for uploadToken being present adding support for tokenless uploads. +- 297cd29: Add in support for bundle analysis for SvelteKit through new SvelteKit plugin +- cb90ab7: Add in a new plugin specifically for Nuxt +- 4e1516a: Modify output formats to be consistent across aliases and bundlers +- 7bc7183: Add more detailed logging for upload stats +- dfb26db: Adjust asset type to contain gzipSize, add new function to collect gzip values +- 297cd29: Update license to 2024 +- 153f684: Add in debug option that will enable more in-depth logs +- a34fb57: Add in better debug logging around choosing the commit sha +- a2e576f: Add in new Remix Vite plugin +- c6dc57c: Remove Sentry stats upload from the plugins, as the project has been put on hold +- dfb26db: Set version from passed output arg, and collect gzip information in plugins +- fe21d8a: Update normalizePath function to handle [hash][extname] case. +- f290775: Fix jsdoc lint rule issue in solidstart plugin +- d74a176: When a user submits a invalid bundle name, we will hard fail and exit the bundle process now. +- 6c02b73: Fix normalizePath not handling all base64 characters and dashes +- b1967b1: Swap over to using @actions/github to grab head and base commit sha's in GHA +- dfb26db: Update meta-framework plugins to collect version generated in output arg +- Updated dependencies [4c6e863] +- Updated dependencies [a2e576f] +- Updated dependencies [5ad4bfa] +- Updated dependencies [da9b990] +- Updated dependencies [94a46aa] +- Updated dependencies [f0c0a79] +- Updated dependencies [be89828] +- Updated dependencies [33b335e] +- Updated dependencies [834dd14] +- Updated dependencies [f5cae1c] +- Updated dependencies [e6f3e66] +- Updated dependencies [9038f06] +- Updated dependencies [f0fd4ce] +- Updated dependencies [ec6b13a] +- Updated dependencies [297cd29] +- Updated dependencies [cb90ab7] +- Updated dependencies [f290775] +- Updated dependencies [80dc4ee] +- Updated dependencies [4e1516a] +- Updated dependencies [7bc7183] +- Updated dependencies [f290775] +- Updated dependencies [dfb26db] +- Updated dependencies [297cd29] +- Updated dependencies [153f684] +- Updated dependencies [a34fb57] +- Updated dependencies [4b311c0] +- Updated dependencies [a2e576f] +- Updated dependencies [c6dc57c] +- Updated dependencies [dfb26db] +- Updated dependencies [fe21d8a] +- Updated dependencies [f290775] +- Updated dependencies [d74a176] +- Updated dependencies [6c02b73] +- Updated dependencies [b1967b1] +- Updated dependencies [dfb26db] + - @codecov/bundler-plugin-core@1.0.0 + ## 0.0.1-beta.12 ### Patch Changes diff --git a/packages/rollup-plugin/README.md b/packages/rollup-plugin/README.md index 3bcdc2ce..0a5b7007 100644 --- a/packages/rollup-plugin/README.md +++ b/packages/rollup-plugin/README.md @@ -6,11 +6,9 @@ # Codecov Rollup Plugin -> [!WARNING] -> These plugins are currently in beta and are subject to change. +A Rollup plugin that provides bundle analysis support for Codecov. -> A Rollup plugin that provides bundle analysis support for Codecov. -> +> [!NOTE] > The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! ## Installation diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index 5547b410..8f7889e0 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@codecov/rollup-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", "description": "Official Codecov Rollup plugin", "author": "Codecov", "license": "MIT", diff --git a/packages/rollup-plugin/src/rollup-bundle-analysis/__tests__/__snapshots__/rollupBundleAnalysisPlugin.test.ts.snap b/packages/rollup-plugin/src/rollup-bundle-analysis/__tests__/__snapshots__/rollupBundleAnalysisPlugin.test.ts.snap index 225d2dda..d5529879 100644 --- a/packages/rollup-plugin/src/rollup-bundle-analysis/__tests__/__snapshots__/rollupBundleAnalysisPlugin.test.ts.snap +++ b/packages/rollup-plugin/src/rollup-bundle-analysis/__tests__/__snapshots__/rollupBundleAnalysisPlugin.test.ts.snap @@ -5,7 +5,7 @@ exports[`rollupBundleAnalysisPlugin > when called > returns a plugin object 1`] "buildEnd": [Function], "buildStart": [Function], "name": "@codecov/rollup-plugin", - "pluginVersion": "0.0.1-beta.12", + "pluginVersion": "1.0.0", "rollup": { "generateBundle": [Function], }, diff --git a/packages/solidstart-plugin/CHANGELOG.md b/packages/solidstart-plugin/CHANGELOG.md index 2083292d..de643570 100644 --- a/packages/solidstart-plugin/CHANGELOG.md +++ b/packages/solidstart-plugin/CHANGELOG.md @@ -1,5 +1,82 @@ # @codecov/solidstart-plugin +## 1.0.0 + +### Major Changes + +- 4b311c0: Release 1.0.0 of the plugins. You can read more about the plugins and bundle analysis in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis). + + The plugins currently support the following frameworks and meta-frameworks: + + - NextJS (Webpack) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nextjs-webpack-quick-start) + - Nuxt - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nuxt-quick-start) + - Remix (Vite) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/remix-vite-quick-start) + - Rollup - [Docs](https://dash.readme.com/project/codecov/v2023/docs/rollup-quick-start) + - SolidStart - [Docs](https://dash.readme.com/project/codecov/v2023/docs/sveltekit-quick-start) + - SvelteKit - [Docs](https://dash.readme.com/project/codecov/v2023/docs/solidstart-quick-start) + - Vite - [Docs](https://dash.readme.com/project/codecov/v2023/docs/vite-quick-start-vue-sveltekit-remix-solidjs-etc) + - Webpack - [Docs](https://dash.readme.com/project/codecov/v2023/docs/webpack-quick-start-nextjs-craco) + + The plugins have the following functionality: + + - Automatically collect and upload bundle stats data to Codecov + - Tokenless uploads of bundle stats for forked upstream pull requests - [Docs](https://dash.readme.com/project/codecov/v2023/docs/tokenless-bundle-analysis) + - GH OIDC authentication for users or organizations who have configured it with GitHub - [Docs](https://dash.readme.com/project/codecov/v2023/docs/github-oidc-bundle-analysis) + - Support for Codecov Enterprise and self hosted users + +### Minor Changes + +- be89828: Update nuxt and related dependencies +- f290775: Add in new package for nextjs webpack +- 80dc4ee: Add the ability for users to use GH OIDC instead of explicit upload tokens +- f290775: Add in new extendable types from the plugin core so that we can further customize them in the plugins + +### Patch Changes + +- 4c6e863: Refactor webpack plugin to export utility functions that will be used in the upcoming NextJS plugin +- f0c0a79: Swap from using empty strings to null values for CI providers +- 22c99a7: Add support for SolidStart through new plugin +- ec6b13a: Remove requirement for uploadToken being present adding support for tokenless uploads. +- f290775: Fix jsdoc lint rule issue in solidstart plugin +- b1967b1: Swap over to using @actions/github to grab head and base commit sha's in GHA +- Updated dependencies [4c6e863] +- Updated dependencies [a2e576f] +- Updated dependencies [5ad4bfa] +- Updated dependencies [da9b990] +- Updated dependencies [94a46aa] +- Updated dependencies [f0c0a79] +- Updated dependencies [be89828] +- Updated dependencies [33b335e] +- Updated dependencies [834dd14] +- Updated dependencies [f5cae1c] +- Updated dependencies [e6f3e66] +- Updated dependencies [9038f06] +- Updated dependencies [f0fd4ce] +- Updated dependencies [ec6b13a] +- Updated dependencies [297cd29] +- Updated dependencies [cb90ab7] +- Updated dependencies [f290775] +- Updated dependencies [80dc4ee] +- Updated dependencies [4e1516a] +- Updated dependencies [7bc7183] +- Updated dependencies [f290775] +- Updated dependencies [dfb26db] +- Updated dependencies [297cd29] +- Updated dependencies [153f684] +- Updated dependencies [a34fb57] +- Updated dependencies [4b311c0] +- Updated dependencies [a2e576f] +- Updated dependencies [c6dc57c] +- Updated dependencies [dfb26db] +- Updated dependencies [fe21d8a] +- Updated dependencies [f290775] +- Updated dependencies [d74a176] +- Updated dependencies [6c02b73] +- Updated dependencies [b1967b1] +- Updated dependencies [dfb26db] + - @codecov/bundler-plugin-core@1.0.0 + - @codecov/vite-plugin@1.0.0 + ## 0.0.1-beta.12 ### Patch Changes diff --git a/packages/solidstart-plugin/README.md b/packages/solidstart-plugin/README.md index 008a63da..c53521d8 100644 --- a/packages/solidstart-plugin/README.md +++ b/packages/solidstart-plugin/README.md @@ -6,15 +6,12 @@ # Codecov SolidStart Plugin -> [!WARNING] -> These plugins are currently in beta and are subject to change. -> -> A SolidStart plugin that provides bundle analysis support for Codecov. -> -> The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! +A SolidStart plugin that provides bundle analysis support for Codecov. > [!NOTE] > This plugin only supports SolidStart 1.x when building with Vite. +> +> The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! ## Installation diff --git a/packages/solidstart-plugin/package.json b/packages/solidstart-plugin/package.json index 64d5c8e2..ccf2729d 100644 --- a/packages/solidstart-plugin/package.json +++ b/packages/solidstart-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@codecov/solidstart-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", "description": "Official Codecov SolidStart plugin", "author": "Codecov", "license": "MIT", diff --git a/packages/solidstart-plugin/src/solidstart-bundle-analysis/__tests__/__snapshots__/solidstartBundleAnalysisPlugin.test.ts.snap b/packages/solidstart-plugin/src/solidstart-bundle-analysis/__tests__/__snapshots__/solidstartBundleAnalysisPlugin.test.ts.snap index ff33d401..586dd220 100644 --- a/packages/solidstart-plugin/src/solidstart-bundle-analysis/__tests__/__snapshots__/solidstartBundleAnalysisPlugin.test.ts.snap +++ b/packages/solidstart-plugin/src/solidstart-bundle-analysis/__tests__/__snapshots__/solidstartBundleAnalysisPlugin.test.ts.snap @@ -3,7 +3,7 @@ exports[`solidstartBundleAnalysisPlugin > when called > returns a plugin object 1`] = ` { "name": "@codecov/solidstart-plugin", - "pluginVersion": "0.0.1-beta.12", + "pluginVersion": "1.0.0", "version": "2", "vite": { "generateBundle": [Function], @@ -14,7 +14,7 @@ exports[`solidstartBundleAnalysisPlugin > when called > returns a plugin object exports[`sveltekitBundleAnalysisPlugin > when called > returns a plugin object 1`] = ` { "name": "@codecov/sveltekit-plugin", - "pluginVersion": "0.0.1-beta.12", + "pluginVersion": "1.0.0", "version": "2", "vite": { "generateBundle": [Function], diff --git a/packages/sveltekit-plugin/CHANGELOG.md b/packages/sveltekit-plugin/CHANGELOG.md index fc5f6a76..1b4757cd 100644 --- a/packages/sveltekit-plugin/CHANGELOG.md +++ b/packages/sveltekit-plugin/CHANGELOG.md @@ -1,5 +1,90 @@ # @codecov/sveltekit-plugin +## 1.0.0 + +### Major Changes + +- 4b311c0: Release 1.0.0 of the plugins. You can read more about the plugins and bundle analysis in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis). + + The plugins currently support the following frameworks and meta-frameworks: + + - NextJS (Webpack) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nextjs-webpack-quick-start) + - Nuxt - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nuxt-quick-start) + - Remix (Vite) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/remix-vite-quick-start) + - Rollup - [Docs](https://dash.readme.com/project/codecov/v2023/docs/rollup-quick-start) + - SolidStart - [Docs](https://dash.readme.com/project/codecov/v2023/docs/sveltekit-quick-start) + - SvelteKit - [Docs](https://dash.readme.com/project/codecov/v2023/docs/solidstart-quick-start) + - Vite - [Docs](https://dash.readme.com/project/codecov/v2023/docs/vite-quick-start-vue-sveltekit-remix-solidjs-etc) + - Webpack - [Docs](https://dash.readme.com/project/codecov/v2023/docs/webpack-quick-start-nextjs-craco) + + The plugins have the following functionality: + + - Automatically collect and upload bundle stats data to Codecov + - Tokenless uploads of bundle stats for forked upstream pull requests - [Docs](https://dash.readme.com/project/codecov/v2023/docs/tokenless-bundle-analysis) + - GH OIDC authentication for users or organizations who have configured it with GitHub - [Docs](https://dash.readme.com/project/codecov/v2023/docs/github-oidc-bundle-analysis) + - Support for Codecov Enterprise and self hosted users + +### Minor Changes + +- be89828: Update nuxt and related dependencies +- f290775: Add in new package for nextjs webpack +- 80dc4ee: Add the ability for users to use GH OIDC instead of explicit upload tokens +- f290775: Add in new extendable types from the plugin core so that we can further customize them in the plugins + +### Patch Changes + +- 4c6e863: Refactor webpack plugin to export utility functions that will be used in the upcoming NextJS plugin +- a2e576f: Fix SvelteKit plugin keywords +- f0c0a79: Swap from using empty strings to null values for CI providers +- ec6b13a: Remove requirement for uploadToken being present adding support for tokenless uploads. +- 297cd29: Add in support for bundle analysis for SvelteKit through new SvelteKit plugin +- dfb26db: Adjust asset type to contain gzipSize, add new function to collect gzip values +- 297cd29: Update license to 2024 +- a2e576f: Add in new Remix Vite plugin +- dfb26db: Set version from passed output arg, and collect gzip information in plugins +- fe21d8a: Update normalizePath function to handle [hash][extname] case. +- f290775: Fix jsdoc lint rule issue in solidstart plugin +- d74a176: When a user submits a invalid bundle name, we will hard fail and exit the bundle process now. +- b1967b1: Swap over to using @actions/github to grab head and base commit sha's in GHA +- dfb26db: Update meta-framework plugins to collect version generated in output arg +- Updated dependencies [4c6e863] +- Updated dependencies [a2e576f] +- Updated dependencies [5ad4bfa] +- Updated dependencies [da9b990] +- Updated dependencies [94a46aa] +- Updated dependencies [f0c0a79] +- Updated dependencies [be89828] +- Updated dependencies [33b335e] +- Updated dependencies [834dd14] +- Updated dependencies [f5cae1c] +- Updated dependencies [e6f3e66] +- Updated dependencies [9038f06] +- Updated dependencies [f0fd4ce] +- Updated dependencies [ec6b13a] +- Updated dependencies [297cd29] +- Updated dependencies [cb90ab7] +- Updated dependencies [f290775] +- Updated dependencies [80dc4ee] +- Updated dependencies [4e1516a] +- Updated dependencies [7bc7183] +- Updated dependencies [f290775] +- Updated dependencies [dfb26db] +- Updated dependencies [297cd29] +- Updated dependencies [153f684] +- Updated dependencies [a34fb57] +- Updated dependencies [4b311c0] +- Updated dependencies [a2e576f] +- Updated dependencies [c6dc57c] +- Updated dependencies [dfb26db] +- Updated dependencies [fe21d8a] +- Updated dependencies [f290775] +- Updated dependencies [d74a176] +- Updated dependencies [6c02b73] +- Updated dependencies [b1967b1] +- Updated dependencies [dfb26db] + - @codecov/bundler-plugin-core@1.0.0 + - @codecov/vite-plugin@1.0.0 + ## 0.0.1-beta.12 ### Patch Changes diff --git a/packages/sveltekit-plugin/README.md b/packages/sveltekit-plugin/README.md index a7af4c26..b3fc67fd 100644 --- a/packages/sveltekit-plugin/README.md +++ b/packages/sveltekit-plugin/README.md @@ -6,15 +6,12 @@ # Codecov SvelteKit Plugin -> [!WARNING] -> These plugins are currently in beta and are subject to change. -> -> A SvelteKit plugin that provides bundle analysis support for Codecov. -> -> The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! +A SvelteKit plugin that provides bundle analysis support for Codecov. > [!NOTE] > This plugin only supports SvelteKit 2.x when building with Vite. +> +> The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! ## Installation diff --git a/packages/sveltekit-plugin/package.json b/packages/sveltekit-plugin/package.json index 07962971..5e182bbc 100644 --- a/packages/sveltekit-plugin/package.json +++ b/packages/sveltekit-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@codecov/sveltekit-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", "description": "Official Codecov SvelteKit plugin", "author": "Codecov", "license": "MIT", diff --git a/packages/sveltekit-plugin/src/sveltekit-bundle-analysis/__tests__/__snapshots__/sveltekitBundleAnalysisPlugin.test.ts.snap b/packages/sveltekit-plugin/src/sveltekit-bundle-analysis/__tests__/__snapshots__/sveltekitBundleAnalysisPlugin.test.ts.snap index 3e9e3d54..b186a89d 100644 --- a/packages/sveltekit-plugin/src/sveltekit-bundle-analysis/__tests__/__snapshots__/sveltekitBundleAnalysisPlugin.test.ts.snap +++ b/packages/sveltekit-plugin/src/sveltekit-bundle-analysis/__tests__/__snapshots__/sveltekitBundleAnalysisPlugin.test.ts.snap @@ -3,7 +3,7 @@ exports[`sveltekitBundleAnalysisPlugin > when called > returns a plugin object 1`] = ` { "name": "@codecov/sveltekit-plugin", - "pluginVersion": "0.0.1-beta.12", + "pluginVersion": "1.0.0", "version": "2", "vite": { "generateBundle": [Function], diff --git a/packages/vite-plugin/CHANGELOG.md b/packages/vite-plugin/CHANGELOG.md index 7a120448..1bc17f5c 100644 --- a/packages/vite-plugin/CHANGELOG.md +++ b/packages/vite-plugin/CHANGELOG.md @@ -1,5 +1,105 @@ # @codecov/vite-plugin +## 1.0.0 + +### Major Changes + +- 4b311c0: Release 1.0.0 of the plugins. You can read more about the plugins and bundle analysis in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis). + + The plugins currently support the following frameworks and meta-frameworks: + + - NextJS (Webpack) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nextjs-webpack-quick-start) + - Nuxt - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nuxt-quick-start) + - Remix (Vite) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/remix-vite-quick-start) + - Rollup - [Docs](https://dash.readme.com/project/codecov/v2023/docs/rollup-quick-start) + - SolidStart - [Docs](https://dash.readme.com/project/codecov/v2023/docs/sveltekit-quick-start) + - SvelteKit - [Docs](https://dash.readme.com/project/codecov/v2023/docs/solidstart-quick-start) + - Vite - [Docs](https://dash.readme.com/project/codecov/v2023/docs/vite-quick-start-vue-sveltekit-remix-solidjs-etc) + - Webpack - [Docs](https://dash.readme.com/project/codecov/v2023/docs/webpack-quick-start-nextjs-craco) + + The plugins have the following functionality: + + - Automatically collect and upload bundle stats data to Codecov + - Tokenless uploads of bundle stats for forked upstream pull requests - [Docs](https://dash.readme.com/project/codecov/v2023/docs/tokenless-bundle-analysis) + - GH OIDC authentication for users or organizations who have configured it with GitHub - [Docs](https://dash.readme.com/project/codecov/v2023/docs/github-oidc-bundle-analysis) + - Support for Codecov Enterprise and self hosted users + +### Minor Changes + +- be89828: Update nuxt and related dependencies +- f290775: Add in new package for nextjs webpack +- 80dc4ee: Add the ability for users to use GH OIDC instead of explicit upload tokens +- f290775: Add in new extendable types from the plugin core so that we can further customize them in the plugins + +### Patch Changes + +- 4c6e863: Refactor webpack plugin to export utility functions that will be used in the upcoming NextJS plugin +- a2e576f: Fix SvelteKit plugin keywords +- 5ad4bfa: Update plugins to remove sourcemaps from bundle stats data +- da9b990: Preserve JSDoc comments during build process for the bundler plugins +- 94a46aa: Grab branch name inside Vercel helper so that we for sure have a branch value +- f0c0a79: Swap from using empty strings to null values for CI providers +- 33b335e: Normalize options to set default values as well as validate bundle names ensuring they follow the correct pattern. +- 834dd14: Update Vercel env helper function to create full git slug +- f5cae1c: Move packages into beta +- e6f3e66: Refactor bundler-plugin-core to be a set of utility/helper functions, and refactor subsequent plugins to use these functions. This will make the plugins composable and easier to maintain in the future. +- 9038f06: feat: send metrics to sentry +- f0fd4ce: Add codecov prefix to log messages +- ec6b13a: Remove requirement for uploadToken being present adding support for tokenless uploads. +- 297cd29: Add in support for bundle analysis for SvelteKit through new SvelteKit plugin +- cb90ab7: Add in a new plugin specifically for Nuxt +- 4e1516a: Modify output formats to be consistent across aliases and bundlers +- 7bc7183: Add more detailed logging for upload stats +- dfb26db: Adjust asset type to contain gzipSize, add new function to collect gzip values +- 297cd29: Update license to 2024 +- 153f684: Add in debug option that will enable more in-depth logs +- a34fb57: Add in better debug logging around choosing the commit sha +- a2e576f: Add in new Remix Vite plugin +- c6dc57c: Remove Sentry stats upload from the plugins, as the project has been put on hold +- dfb26db: Set version from passed output arg, and collect gzip information in plugins +- fe21d8a: Update normalizePath function to handle [hash][extname] case. +- f290775: Fix jsdoc lint rule issue in solidstart plugin +- d74a176: When a user submits a invalid bundle name, we will hard fail and exit the bundle process now. +- 6c02b73: Fix normalizePath not handling all base64 characters and dashes +- b1967b1: Swap over to using @actions/github to grab head and base commit sha's in GHA +- dfb26db: Update meta-framework plugins to collect version generated in output arg +- Updated dependencies [4c6e863] +- Updated dependencies [a2e576f] +- Updated dependencies [5ad4bfa] +- Updated dependencies [da9b990] +- Updated dependencies [94a46aa] +- Updated dependencies [f0c0a79] +- Updated dependencies [be89828] +- Updated dependencies [33b335e] +- Updated dependencies [834dd14] +- Updated dependencies [f5cae1c] +- Updated dependencies [e6f3e66] +- Updated dependencies [9038f06] +- Updated dependencies [f0fd4ce] +- Updated dependencies [ec6b13a] +- Updated dependencies [297cd29] +- Updated dependencies [cb90ab7] +- Updated dependencies [f290775] +- Updated dependencies [80dc4ee] +- Updated dependencies [4e1516a] +- Updated dependencies [7bc7183] +- Updated dependencies [f290775] +- Updated dependencies [dfb26db] +- Updated dependencies [297cd29] +- Updated dependencies [153f684] +- Updated dependencies [a34fb57] +- Updated dependencies [4b311c0] +- Updated dependencies [a2e576f] +- Updated dependencies [c6dc57c] +- Updated dependencies [dfb26db] +- Updated dependencies [fe21d8a] +- Updated dependencies [f290775] +- Updated dependencies [d74a176] +- Updated dependencies [6c02b73] +- Updated dependencies [b1967b1] +- Updated dependencies [dfb26db] + - @codecov/bundler-plugin-core@1.0.0 + ## 0.0.1-beta.12 ### Patch Changes diff --git a/packages/vite-plugin/README.md b/packages/vite-plugin/README.md index d1e3e3f2..55969715 100644 --- a/packages/vite-plugin/README.md +++ b/packages/vite-plugin/README.md @@ -6,11 +6,9 @@ # Codecov Vite Plugin -> [!WARNING] -> These plugins are currently in beta and are subject to change. +A Vite plugin that provides bundle analysis support for Codecov. -> A Vite plugin that provides bundle analysis support for Codecov. -> +> [!NOTE] > The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! ## Installation diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json index 86dde602..ade3166a 100644 --- a/packages/vite-plugin/package.json +++ b/packages/vite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@codecov/vite-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", "description": "Official Codecov Vite plugin", "author": "Codecov", "license": "MIT", diff --git a/packages/vite-plugin/src/vite-bundle-analysis/__tests__/__snapshots__/viteBundleAnalysisPlugin.test.ts.snap b/packages/vite-plugin/src/vite-bundle-analysis/__tests__/__snapshots__/viteBundleAnalysisPlugin.test.ts.snap index 490de1be..4ac0957a 100644 --- a/packages/vite-plugin/src/vite-bundle-analysis/__tests__/__snapshots__/viteBundleAnalysisPlugin.test.ts.snap +++ b/packages/vite-plugin/src/vite-bundle-analysis/__tests__/__snapshots__/viteBundleAnalysisPlugin.test.ts.snap @@ -5,7 +5,7 @@ exports[`viteBundleAnalysisPlugin > when called > returns a plugin object 1`] = "buildEnd": [Function], "buildStart": [Function], "name": "@codecov/vite-plugin", - "pluginVersion": "0.0.1-beta.12", + "pluginVersion": "1.0.0", "version": "2", "vite": { "generateBundle": [Function], diff --git a/packages/webpack-plugin/CHANGELOG.md b/packages/webpack-plugin/CHANGELOG.md index 47f948e8..be830770 100644 --- a/packages/webpack-plugin/CHANGELOG.md +++ b/packages/webpack-plugin/CHANGELOG.md @@ -1,5 +1,105 @@ # @codecov/webpack-plugin +## 1.0.0 + +### Major Changes + +- 4b311c0: Release 1.0.0 of the plugins. You can read more about the plugins and bundle analysis in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis). + + The plugins currently support the following frameworks and meta-frameworks: + + - NextJS (Webpack) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nextjs-webpack-quick-start) + - Nuxt - [Docs](https://dash.readme.com/project/codecov/v2023/docs/nuxt-quick-start) + - Remix (Vite) - [Docs](https://dash.readme.com/project/codecov/v2023/docs/remix-vite-quick-start) + - Rollup - [Docs](https://dash.readme.com/project/codecov/v2023/docs/rollup-quick-start) + - SolidStart - [Docs](https://dash.readme.com/project/codecov/v2023/docs/sveltekit-quick-start) + - SvelteKit - [Docs](https://dash.readme.com/project/codecov/v2023/docs/solidstart-quick-start) + - Vite - [Docs](https://dash.readme.com/project/codecov/v2023/docs/vite-quick-start-vue-sveltekit-remix-solidjs-etc) + - Webpack - [Docs](https://dash.readme.com/project/codecov/v2023/docs/webpack-quick-start-nextjs-craco) + + The plugins have the following functionality: + + - Automatically collect and upload bundle stats data to Codecov + - Tokenless uploads of bundle stats for forked upstream pull requests - [Docs](https://dash.readme.com/project/codecov/v2023/docs/tokenless-bundle-analysis) + - GH OIDC authentication for users or organizations who have configured it with GitHub - [Docs](https://dash.readme.com/project/codecov/v2023/docs/github-oidc-bundle-analysis) + - Support for Codecov Enterprise and self hosted users + +### Minor Changes + +- be89828: Update nuxt and related dependencies +- f290775: Add in new package for nextjs webpack +- 80dc4ee: Add the ability for users to use GH OIDC instead of explicit upload tokens +- f290775: Add in new extendable types from the plugin core so that we can further customize them in the plugins + +### Patch Changes + +- 4c6e863: Refactor webpack plugin to export utility functions that will be used in the upcoming NextJS plugin +- a2e576f: Fix SvelteKit plugin keywords +- 5ad4bfa: Update plugins to remove sourcemaps from bundle stats data +- da9b990: Preserve JSDoc comments during build process for the bundler plugins +- 94a46aa: Grab branch name inside Vercel helper so that we for sure have a branch value +- f0c0a79: Swap from using empty strings to null values for CI providers +- 33b335e: Normalize options to set default values as well as validate bundle names ensuring they follow the correct pattern. +- 834dd14: Update Vercel env helper function to create full git slug +- f5cae1c: Move packages into beta +- e6f3e66: Refactor bundler-plugin-core to be a set of utility/helper functions, and refactor subsequent plugins to use these functions. This will make the plugins composable and easier to maintain in the future. +- 9038f06: feat: send metrics to sentry +- f0fd4ce: Add codecov prefix to log messages +- ec6b13a: Remove requirement for uploadToken being present adding support for tokenless uploads. +- 297cd29: Add in support for bundle analysis for SvelteKit through new SvelteKit plugin +- cb90ab7: Add in a new plugin specifically for Nuxt +- 4e1516a: Modify output formats to be consistent across aliases and bundlers +- 7bc7183: Add more detailed logging for upload stats +- dfb26db: Adjust asset type to contain gzipSize, add new function to collect gzip values +- 297cd29: Update license to 2024 +- 153f684: Add in debug option that will enable more in-depth logs +- a34fb57: Add in better debug logging around choosing the commit sha +- a2e576f: Add in new Remix Vite plugin +- c6dc57c: Remove Sentry stats upload from the plugins, as the project has been put on hold +- dfb26db: Set version from passed output arg, and collect gzip information in plugins +- fe21d8a: Update normalizePath function to handle [hash][extname] case. +- f290775: Fix jsdoc lint rule issue in solidstart plugin +- d74a176: When a user submits a invalid bundle name, we will hard fail and exit the bundle process now. +- 6c02b73: Fix normalizePath not handling all base64 characters and dashes +- b1967b1: Swap over to using @actions/github to grab head and base commit sha's in GHA +- dfb26db: Update meta-framework plugins to collect version generated in output arg +- Updated dependencies [4c6e863] +- Updated dependencies [a2e576f] +- Updated dependencies [5ad4bfa] +- Updated dependencies [da9b990] +- Updated dependencies [94a46aa] +- Updated dependencies [f0c0a79] +- Updated dependencies [be89828] +- Updated dependencies [33b335e] +- Updated dependencies [834dd14] +- Updated dependencies [f5cae1c] +- Updated dependencies [e6f3e66] +- Updated dependencies [9038f06] +- Updated dependencies [f0fd4ce] +- Updated dependencies [ec6b13a] +- Updated dependencies [297cd29] +- Updated dependencies [cb90ab7] +- Updated dependencies [f290775] +- Updated dependencies [80dc4ee] +- Updated dependencies [4e1516a] +- Updated dependencies [7bc7183] +- Updated dependencies [f290775] +- Updated dependencies [dfb26db] +- Updated dependencies [297cd29] +- Updated dependencies [153f684] +- Updated dependencies [a34fb57] +- Updated dependencies [4b311c0] +- Updated dependencies [a2e576f] +- Updated dependencies [c6dc57c] +- Updated dependencies [dfb26db] +- Updated dependencies [fe21d8a] +- Updated dependencies [f290775] +- Updated dependencies [d74a176] +- Updated dependencies [6c02b73] +- Updated dependencies [b1967b1] +- Updated dependencies [dfb26db] + - @codecov/bundler-plugin-core@1.0.0 + ## 0.0.1-beta.12 ### Patch Changes diff --git a/packages/webpack-plugin/README.md b/packages/webpack-plugin/README.md index 754399cf..87fef438 100644 --- a/packages/webpack-plugin/README.md +++ b/packages/webpack-plugin/README.md @@ -6,11 +6,9 @@ # Codecov Webpack Plugin -> [!WARNING] -> These plugins are currently in beta and are subject to change. +A Webpack plugin that provides bundle analysis support for Codecov. -> A Webpack plugin that provides bundle analysis support for Codecov. -> +> [!NOTE] > The plugin does not support code coverage, see our [docs](https://docs.codecov.com/docs/quick-start) to set up coverage today! ## Installation diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index ce5039ba..d90598f4 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@codecov/webpack-plugin", - "version": "0.0.1-beta.12", + "version": "1.0.0", "description": "Official Codecov Webpack plugin", "author": "Codecov", "license": "MIT", diff --git a/packages/webpack-plugin/src/webpack-bundle-analysis/__tests__/__snapshots__/webpackBundleAnalysisPlugin.test.ts.snap b/packages/webpack-plugin/src/webpack-bundle-analysis/__tests__/__snapshots__/webpackBundleAnalysisPlugin.test.ts.snap index 8c7736f2..3a43bc23 100644 --- a/packages/webpack-plugin/src/webpack-bundle-analysis/__tests__/__snapshots__/webpackBundleAnalysisPlugin.test.ts.snap +++ b/packages/webpack-plugin/src/webpack-bundle-analysis/__tests__/__snapshots__/webpackBundleAnalysisPlugin.test.ts.snap @@ -5,7 +5,7 @@ exports[`webpackBundleAnalysisPlugin > when called > returns a plugin object 1`] "buildEnd": [Function], "buildStart": [Function], "name": "@codecov/webpack-plugin", - "pluginVersion": "0.0.1-beta.12", + "pluginVersion": "1.0.0", "version": "2", "webpack": [Function], "writeBundle": [Function],