-
-
Notifications
You must be signed in to change notification settings - Fork 771
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
Deal with bundler issues #1829
Deal with bundler issues #1829
Conversation
We usually provide a migration guide for each major version. Could we add one for this release as well? |
Sure ... but I am not sure what should be in it, since I am not consuming Sinon as a bundler target in any of my own projects ... |
@fatso83 will you make the |
sure |
I'm impatient 😉 |
I am not quite sure what to put in the 6.0 migration ... I am wondering if we should just put a placeholder there and release it now, updating it in hindsight, or if we should gather some experience with what to do with troubles affected by this? I don't have access to any such projects of my own, atm. Remember if we got a link to such a thing recently? |
That's a good question. We let the pre-release of
Are you saying that you don't have access to any projects that use all the bundling toys? |
ea8ad69
to
7e79b26
Compare
For some weird reason 😄 But I got a tip in #1835 to test out with chrisguttandin/midi-player and it seems there is no reason to have a migration guide for 6.0, as there doesn't seem to be any immediate issues now that #1833 has been implemented. Bundler issues starting appearing with the
After running with the local Sinon 6 version, using
|
7e79b26
to
a40840e
Compare
Sinon 6 is out (with migration docs). |
Excellent! |
@fatso83 When you click "Releases" on the website and then "Docs" for v6.0.0 the migration guide is not linked. Maybe this is something that could be changed, too. I just wondered why there is no migration guide for v6.0.0. I found this issue linked in one of the last commits in the repo, but I was not looking in the "Guides" section. Maybe this is something that other users may stumble upon as well. |
This is me not knowing the structure of the site well enough. I remembed docs/guides/index.md b/docs/guides/index.md, but failed to see there is a "duplicate" file in https://github.com/sinonjs/sinon/blob/master/docs/_includes/docs/migration-guides.md. Seems this should be included in the other to avoid this situation appearing. |
The "guide" is linked from the Guides section, btw. |
Avoid landing in the situation where we remember to update one place, but not the other. Ref sinonjs#1829 (comment)
You're welcome :-) |
Avoid landing in the situation where we remember to update one place, but not the other. Ref #1829 (comment)
Avoid landing in the situation where we remember to update one place, but not the other. Ref sinonjs#1829 (comment)
Ref the discussion regarding Webpack and other ES2015+ bundlers in #1805 and #1828 releasing a new major versionseems like a pragmatic, low-effort way of keeping noise out of our issue tracker.
This goes along with releasing a patch for 5.x.
See #1805 and #1828 for details. The 'module' field in package.json caught some people by surprise.