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

Revert binary backward-incompatible changes #813

Merged
merged 1 commit into from
Apr 19, 2019

Conversation

stakx
Copy link
Contributor

@stakx stakx commented Apr 19, 2019

Breaking people's code just for the sake of a better organized code base is probably not worth it. We should at least raise the major version number (which we cannot do at this time). So revert.

@stakx stakx added this to the 4.11.0 milestone Apr 19, 2019
@stakx stakx changed the title Revert binary backward-compatible changes Revert binary backward-incompatible changes Apr 19, 2019
 * bf19ad6: Make `Mock.Object` non-virtual
 * ccf9a02: Remove yet another superfluous extension method class
 * 49a2ccf: Rename extension method for `mock.Protected()`
 * 41ef023: Put async extension methods in `AsyncExtensions`
 * 8aacd8b: Remove superfluous extension methods
 * f605bfe: Fix name of class gen'd by `ReturnsExtensions.tt`
 * 6fadc8f: Merge `ObsoleteMockExtensions` into `MockExtensions`
 * 0cbdd87: Convert `Expect*` methods into extension methods
 * 0669d43: Remove redundant class `MockLegacyExtensions`
 * 85e0e7d: `MockFactory` <--> `MockRepository`

Those would be completely fine for people relying on Moq directly, as
they could simply recompile their code. However, for anyone using Moq
through a 3rd-party library that was compiled against an earlier ver-
sion, they break user code due to binary incompatibility. Forcing all
3rd-party libs to recompile and republish without protecting them with
a semver major version increase is perhaps asking a bit much. :)
@stakx stakx force-pushed the binary-backward-compatibility branch from 730059b to c2c90ac Compare April 19, 2019 07:18
@stakx stakx merged commit acbbe61 into devlooped:master Apr 19, 2019
@stakx stakx deleted the binary-backward-compatibility branch April 19, 2019 07:23
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.

None yet

1 participant