Deprecated Pool.end to Pool.release#517
Deprecated Pool.end to Pool.release#517jbrooksuk wants to merge 2 commits intomysqljs:masterfrom jbrooksuk:pool-release
Conversation
|
Just realised I forgot to add a test to ensure that |
Also added test-connection-end.js to ensure it still works
|
I've updated all of the pool tests, and also added |
|
LGTM. Anybody else who can review? cc @dresende @NateLillich ... |
|
Looks I like broke the tests, https://travis-ci.org/felixge/node-mysql/jobs/8197741 I thought: Would work? |
|
Pool#release != pooled Connection#release I could probably make a pull request if you don't want to fix it up @jbrooksuk? |
|
Ah balls, so I modified the wrong pool? |
|
What I should've modified was https://github.com/felixge/node-mysql/blob/master/lib/Pool.js#L147-151 ? |
|
@jbrooksuk yes. And you need to cleanup in I think we should make the end method only print a deprecation warning and in the next version restore its default behavior. |
|
Okay, so if I go through and rename And could you quickly explain what you mean by tidy |
|
The In |
|
Yes, you should just rename |
* Update CHANGELOG * README: Removed most recent version and build status
This is better.