-
Notifications
You must be signed in to change notification settings - Fork 58
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
c.sess.Send error handling #291
Comments
@gammazero What do you think? |
The error response from I think the best solution is to change However, this might not be considered a breaking change if If we make this change to Send, would it be worth a major revision update? Should we consider forking the repo to create a new project where we can restart the versioning before 1.0.0 and make many other API and structure changes? |
I think it is ok. We follow SemVer, right? - Right. So I don't see any problem in sometimes breaking changes if that simplifies the logic and improves the project maintainability and increase the project quality in general. All we have to do: introduce the changes, describe the migration path (v3 → v4) so it will be clear what was changed and how to adopt the new approach and bump the major version. Regarding forking - I don't think it is needed. We're not a big team just a few enthusiasts so let's keep it convenient for us. We can accumulate all the changes in separate branch, then start publishing the v4.pre, v4.beta and so on while polishing the changes. I don't think we have enough power to support more than one version like v3 and the next one at once. So whenever we release the next major update - we'll probably stop supporting the previous one and will encourage our users to update. |
Right now all over the sources, we do not check and process the return error value from
c.sess.Send
call.Golang linter of course is complaining about that.
We need to agree on what to do:
The text was updated successfully, but these errors were encountered: