-
Notifications
You must be signed in to change notification settings - Fork 13
Description
The move to version 2 included adding new public functions to Model
, as well as routing the implementation of find()
and count()
to the new Relation class. But in doing that, it broke version 1 compatibility and those tests have been removed from the test suite. Version 2 has feature parity with version 1, but users would have to rewrite their calls to find()
to use where()
and find()
rather than Model::find()
doing that for them.
PR #45 had backwards compatibility with version 1, demonstrating that with difficulty, it was possible to do, but PR #63 elected to go with code cleanliness and was merged instead. The maintainers have the right to do that, but users, including this one who wrote the original PR, also have the right to not upgrade to version 2. Our production code in the existing version 1 paradigm is working just fine. I suspect that many legacy users would make the same business decision as the changes required to move to version 2 are substantial, and database code is mission critical, and should not be touched unless it's necessary.
Given that business decision, it doesn't make sense for developers like me who rely on the version 1 API to contribute to this project, especially since PR #87 was closed unilaterally without warning and the code there won't be accepted. Again, that is the maintainer's right to do that, and any future contributors should be oriented to that policy in contributing.md and then decide whether it's worth contributing.