-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat!: changes default revision from master to main #951
Conversation
e27c417
to
83e1b5f
Compare
Hmm, I don't know about this. There are still many projects that use |
To me this feels like a |
With the same argument, can't we say that since the default has been |
I had the same thought, but then again I don't know how big the impact would be with this change. |
Nah.
Ah, I didn't think about it, but it's true. if someone has been using this plugin with the default config, wouldn't that mean their sourcemaps suddenly get uploaded under a different revision? I don't know much about what happens after that, but might that not break stuff? (Personally, even if it's a new major, I don't think it's worth it.) |
True! Just to be consistent, I think we should change to
I don't know. @stympy , do you have any thoughts on this? |
If you take a look at our docs, we specifically warn against leaving the default of "master" in place, so perhaps a change to main wouldn't be a huge deal. It would change mappings for people who just go with the default, but if they care about mappings, I'm thinking they won't be sticking with the default. I bet @joshuap has some valuable input on this. 😉 |
This is correct. People really shouldn't be using this default setting. It makes source maps much flakier. That said, I'm sure there are people who are using it in practice. For that reason, maybe it should be a breaking change. :) I guess one drawback of the monorepo is that if you release a breaking change in a minor package, you have to release a new major version of all packages—is that right @subzero10? |
I'm all for switching to main, since GitHub is using it as the default, thus all new projects will be defaulting to it. Based on the conversation we've had here, it sounds like that change should be part of a major release, which works for me. It would be nice, though, if it weren't the only reason for a major release... it would be nice to have something else major to go into that release. ;) |
We do have #918 😁 Edit: We could add both of these PRs to a milestone and then see if there are any other major changes we want to include before releasing the next major version. |
Perfect :) |
It's a drawback of our current monorepo setup. We knowingly took this decision to help with the monorepo transition. I can revisit versioning and see what it means to support independent versioning. FYI, sentry does not do independent versioning. I wonder if they have a reason that we didn't experience yet 🤔
Note that we have the weekly automatic release on the js monorepo. So if we want to control the next release, we have to remember to disable the release workflow (it's just a toggle on the UI). |
Fwiw, I'm not saying we should change the current setup to do independent versioning, as long as we can work around it and have a way to plan larger releases so that we're constantly bumping the major version. For instance, could we stage the next major release on a branch, and then merge the branch when we're ready to release everything? |
Done! I marked the PR as breaking change (see |
See #959. |
Status
READY
Description
Closes: #948