Closed ernesto-jimenez closed 6 years ago
@adlio what is your plan to deprecate support for old Go versions?
It is possible to work around the current failure with some build tags. But I'm wondering whether it's worth it. The last three major versions have been out for over a year and a half.
@ernesto-jimenez I'm fine with deprecating now, assuming we maintain backwards compatibility with the trello package API, which your change does. Want to update the PR with travis config changes?
I'm still considering the implications of client/context re-use.
Context is great to allow for cancellation of requests.
With this change it will be possible to get a new client which will set a different context for all its requests.
This solution is backwards-compatible. However, since this package always embeds itself to provide methods like *Board.GetLists(). The current solution could lead to memory leaks or using old contexts if the user is holding the responses in memory.