-
-
Notifications
You must be signed in to change notification settings - Fork 770
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
Documentation: migration guide from 2.x to 3.0 #1502
Comments
See the commit id for the last release, and then look through the list of merged pull requests since then to find relevant changes. I think that is what we basically do :) |
I was thinking that :) but actually to be explicit I just wanted to know from @mroderick if he has any specific comments about the |
I was also thinking - maybe we could include the extracted modules as git submodules on sinon, then if we would refactor the different sections in the submodule documentation we could actually have sinon to generate the sections on the documentation from the submodules. It would just mean we would need to refactor the different parts of the documentation on the submodules then concat them somehow with an npm job. Thoughts? |
Another addition:
Proceeding with removal of the rest if there's no objection. |
@elad-nach Are you sure there are references all over the codebase, or just in
|
in
in
in
you get the point. |
you miss the point :-) the point was removing the explicit exports (the public interface), not the actual functions. they are internal implementation details we would not want people to depend upon. removing the actual functions would have made Sinon a very slim package 😄 |
OK :)
So the basic assumption was that they are to be removed. Back to the topic: so basically removing |
Yes, I think that should be sufficient. But now I start wondering why we haven't marked them as deprecated, like we did everywhere else before removing stuff. Maybe we should do that first, and then remove them in the next major version. We did specify it in the v1 docs, though... Thoughts, @mroderick? |
I've created #1506 to remove all the deprecated exports from |
nice one @mroderick 🍻 |
If I understand correctly the next release will be a major release.
Therefore we should add a new migration guide section with the relevant information.
I can take this upon myself, but would need some further information on what has to be included.
The text was updated successfully, but these errors were encountered: