www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - mysql-native v1.2.0: Housekeeping: Deprecations, Cleanup and Doc

reply "Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
An all-D MySQL/MariaDB client library:

https://github.com/mysql-d/mysql-native

----------------------------------------------------------------
In v1.2.0:

There's also a few bugfixes, but aside from that, this is mainly a 
housekeeping release:

- The deperecated symbols have been removed (ie, the the outdated 
pre-v1.0.0 interfaces).

- Some unnecessary symbols have now become deprecated (with recommended 
alternatives). Mainly the redundant set of verbose exception names and 
querySet/ResultSet (just call std.array.array() on the input range 
returned by query() instead).

- Various documentation improvements.

- And some other miscellany.

Full changelog is here:
https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md

----------------------------------------------------------------
For the next release, slated as v1.3.0, the plan is to remove the 
symbols deprecated in this release, and take care of as much of this 
list as I can (it probably won't be all of it though):

https://github.com/mysql-d/mysql-native/milestone/2
Dec 14 2017
next sibling parent Suliman <evermind live.ru> writes:
Big thanks! Your driver is really very useful and good-done!

I wish same for PostgreSQL :)
Dec 15 2017
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2017-12-15 08:31, Nick Sabalausky (Abscissa) wrote:

 - The deperecated symbols have been removed (ie, the the outdated 
 pre-v1.0.0 interfaces).
If you have removed symbols that's a breaking API changes which should bump the right most digit in the version according to Semantic Versioning [1]. [1] https://semver.org/ -- /Jacob Carlborg
Dec 15 2017
next sibling parent reply "Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
On 12/15/2017 04:45 AM, Jacob Carlborg wrote:
 On 2017-12-15 08:31, Nick Sabalausky (Abscissa) wrote:
 
 - The deperecated symbols have been removed (ie, the the outdated 
 pre-v1.0.0 interfaces).
If you have removed symbols that's a breaking API changes which should bump the right most digit in the version according to Semantic Versioning [1]. [1] https://semver.org/
Oh, I'd thought it was the middle one for that. Right-most for non-breaking changes, Middle for all breaking changes, and Left-most for major changes. Guess I remembered it wrong :/
Dec 15 2017
parent Jacob Carlborg <doob me.com> writes:
On 2017-12-16 06:37, Nick Sabalausky (Abscissa) wrote:

 Oh, I'd thought it was the middle one for that. Right-most for 
 non-breaking changes, Middle for all breaking changes, and Left-most for 
 major changes. Guess I remembered it wrong :/
My mistake, the left most for breaking changes, regardless if they're major or not. -- /Jacob Carlborg
Dec 16 2017
prev sibling parent "Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
On 12/15/2017 04:45 AM, Jacob Carlborg wrote:
 On 2017-12-15 08:31, Nick Sabalausky (Abscissa) wrote:
 
 - The deperecated symbols have been removed (ie, the the outdated 
 pre-v1.0.0 interfaces).
If you have removed symbols that's a breaking API changes which should bump the right most digit in the version according to Semantic Versioning [1]. [1] https://semver.org/
Fixed by releasing a v1.2.1 with the deleted symbols added back in. They will be re-deleted in the next version, v2.0.0, along with the symbols that were newly-depecated in v1.2.0. https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md
Jan 13