Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Align Change Sets for 1.0.0 release #164

Merged

Conversation

nicholas-codecov
Copy link
Collaborator

@nicholas-codecov nicholas-codecov commented Sep 9, 2024

Description

This PR sets everything up for the 1.0.0 release of the plugins, adding in a major release as well as exiting pre-mode. Here is an example after running prepare-publish ensuring that everything is working as expected with changeset: #165

Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@80dc4ee). Learn more about missing BASE report.
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
Components Coverage Δ
Plugin core 96.84% <ø> (?)
Rollup plugin 10.81% <ø> (?)
Vite plugin 11.02% <ø> (?)
Webpack plugin 50.11% <ø> (?)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov-notifications
Copy link

codecov-notifications bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Components Coverage Δ
Plugin core 96.84% <ø> (ø)
Rollup plugin 10.81% <ø> (ø)
Vite plugin 11.02% <ø> (ø)
Webpack plugin 50.11% <ø> (ø)

📢 Thoughts on this report? Let us know!

Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes denote an important transition of a set of plugins to major versions, indicating some significant updates. It's also noticeable that the mode is being switched from 'pre' to 'exit'. However, I couldn't find any changes related to the version bump in the presented diff. It would be helpful to review these changes in addition to the alterations in the mode and version declarations.

@@ -1,5 +1,5 @@
{
"mode": "pre",
"mode": "exit",
Copy link

@codecov codecov bot Sep 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have changed the mode from 'pre' to 'exit'. It's hard to determine the consequences of this change without knowing how this mode is used. Ensure that other parts of your application are able to properly handle this updated mode.

@@ -0,0 +1,13 @@
---
"@codecov/bundler-plugin-core": major
Copy link

@codecov codecov bot Sep 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have listed multiple packages as 'major' in the changeset metadata. If this is accurately reflecting the changes that have been made to these packages, that's fine. However, make sure that you are following semantic versioning guidelines and that these updates truly warrant a major version increment.

"@codecov/webpack-plugin": major
---

Release 1.0.0 of the plugins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change summary isn't descriptive enough about what exactly has been modified in this new release. While it's clear that it's a considerable release of the plugins with version 1.0.0, it would be beneficial to summarize briefly what new features or major changes are included in this release.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this is what will show up in https://github.com/codecov/codecov-javascript-bundler-plugins/releases, so let's add those extra docs as the bot says.

  • Link to codecov marketing/docs
  • Talk about what it supports atm

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll update this, but I may have gone a bit too far in MD formatting. So I'll run a pre-publish to see what the result looks like before merging.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay I think i got everything working alright

Screenshot 2024-09-09 at 09 36 30

@codecov-staging
Copy link

codecov-staging bot commented Sep 9, 2024

Bundle Report

Changes will increase total bundle size by 445.36kB ⬆️

Bundle name Size Change
@codecov/rollup-plugin-cjs 2.82kB 2.82kB ⬆️
@codecov/rollup-plugin-esm 1.3kB 1.3kB ⬆️
@codecov/nuxt-plugin-cjs 1.41kB 1.41kB ⬆️
@codecov/webpack-plugin-cjs 4.35kB 4.35kB ⬆️
@codecov/example-next-15-app-server-cjs 359.11kB 359.11kB ⬆️
@codecov/webpack-plugin-esm 3.36kB 3.36kB ⬆️
@codecov/remix-vite-plugin-esm 957 bytes 957 bytes ⬆️
@codecov/nuxt-plugin-esm 830 bytes 830 bytes ⬆️
@codecov/sveltekit-plugin-cjs 1.33kB 1.33kB ⬆️
@codecov/solidstart-plugin-cjs 1.33kB 1.33kB ⬆️
@codecov/nextjs-webpack-plugin-esm 1.11kB 1.11kB ⬆️
@codecov/nextjs-webpack-plugin-cjs 2.11kB 2.11kB ⬆️
@codecov/bundler-plugin-core-cjs 46.59kB 46.59kB ⬆️
@codecov/vite-plugin-esm 1.24kB 1.24kB ⬆️
@codecov/vite-plugin-cjs 2.8kB 2.8kB ⬆️
@codecov/bundler-plugin-core-esm 12.24kB 12.24kB ⬆️
@codecov/remix-vite-plugin-cjs 1.32kB 1.32kB ⬆️
@codecov/sveltekit-plugin-esm 891 bytes 891 bytes ⬆️
@codecov/solidstart-plugin-esm 949 bytes 949 bytes ⬆️
@codecov/example-next-app-edge-server-array-push (removed) 354 bytes ⬇️
@codecov/example-next-15-app-edge-server-array-push (removed) 356 bytes ⬇️

Copy link

codecov bot commented Sep 9, 2024

Bundle Report

Changes will decrease total bundle size by 29.16kB (-0.51%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@codecov/bundler-plugin-core-esm 12.24kB 29.32kB ⬇️
@codecov/nuxt-plugin-esm 830 bytes 405 bytes ⬇️
@codecov/sveltekit-plugin-esm 891 bytes 206 bytes ⬇️
@codecov/example-sveltekit-app-server-esm 974.85kB 1 bytes ⬆️
@codecov/nextjs-webpack-plugin-esm 1.88kB 761 bytes ⬆️

"@codecov/webpack-plugin": major
---

Release 1.0.0 of the plugins
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this is what will show up in https://github.com/codecov/codecov-javascript-bundler-plugins/releases, so let's add those extra docs as the bot says.

  • Link to codecov marketing/docs
  • Talk about what it supports atm

Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodecovAI submitted a new review for 54ea139

"@codecov/webpack-plugin": major
---

Release 1.0.0 of the plugins. You can read more about the plugins in our [docs](https://docs.codecov.com/docs/javascript-bundle-analysis).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that all these plugins are well-documented and each major change is described sufficiently in the documentation pointed at by this link.


The plugins have the following functionality:

- Automatically collect and upload bundle stats data to Codecov
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This functionality seems beneficial, but make sure that implementing this feature doesn't violate any user's privacy or security principles.


- Automatically collect and upload bundle stats data to Codecov
- Tokenless uploads of bundle stats for forked upstream pull requests
- GH OIDC authentication for users or organizations who have configured it with GitHub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure the authentication flows are vigorously tested and secure from potential breaches.

@nicholas-codecov nicholas-codecov merged commit 4b311c0 into main Sep 9, 2024
54 checks passed
@nicholas-codecov nicholas-codecov deleted the gh-eng-2440-2441-exit-pre-and-move-to-one-dot-o branch September 9, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants