Skip to content
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

tiny_tds v4 #579

Open
andyundso opened this issue Feb 11, 2025 · 0 comments
Open

tiny_tds v4 #579

andyundso opened this issue Feb 11, 2025 · 0 comments

Comments

@andyundso
Copy link
Member

It's only been a short time since the last major release (see #552). That one mostly focused on removing things that were EOL for a while (e.g. old SQL or Ruby versions). Howver, I see potential for a v4 to further modernize the code base.

This likely needs a separate branch so we can keep releasing bugfixes / version updates for the libraries from main.

Refactor tiny_tds to avoid sharing DBPROCESS
There is already PR for this (#571), which also gives more details about the why's and how's.

Support keyword arguments instead of options hash
Support modern Ruby syntax.

Bump the TDS version to v7.4
with v3, support for anything older than SQL server 2017 has been dropped already. TDS v7.4 is understood by SQL server 2014 and above, so I think we are safe to bump the default TDS version to v7.4, as well as removing support for anything older.

This would also enable to implement #184 without any extra checks in C.

Separate new and connect
There is also already an issue for this (#570). As explained, it would allow us to easier hand-off the GVL in order to resolve #421.

Bump minimum Ruby version to 3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant