-
Notifications
You must be signed in to change notification settings - Fork 188
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
Update dependencies for Windows build and drop 32-bit support #567
Changes from all commits
9226df1
2bff820
c96642a
645dd23
aacd7ed
c67e7c7
60c6674
8deb5b2
681301c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,9 @@ | |
* Drop support for Ruby < 2.7 | ||
* Drop support for SQL Server < 2017 | ||
* Drop support for FreeTDS < 1.0 | ||
* No longer provide a 32-bit Windows build | ||
* Raise error if FreeTDS is unable to sent command buffer to the server | ||
* Use freetds v1.4.23, libiconv v1.17 and OpenSSL v3.4.0 for Windows builds | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
If you would build tiny_tds using our "ports" mechanic, you will also get these versions. Our Linux CI build actually also uses these versions. For installations outside of our CI, the discovered freetds version is used, which could be anything.
There is a chance that something breaks. As mentioned on the PR, I wanted to make sure that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Right, exactly. That's what most people will be using across all OS's since we go from CI artifact -> rubygems.org, right? So it seems more accurate to drop the "for Windows" part of the sentence is what I'm saying
Is there any other consideration to add to the changelog? Minimum OS version, minimum glibc version, etc? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Not exactly. When you install So all people on non-Windows machines will compile Mid-term I would like to explore if we could provide precompiled versions of
Don't think so. I still would like to release the next version as v3 just to signal that there might be breaking changes. |
||
|
||
## 2.1.7 | ||
* Add Ruby 3.3 to the cross compile list | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
|
||
ICONV_VERSION = ENV['TINYTDS_ICONV_VERSION'] || "1.15" | ||
ICONV_VERSION = ENV['TINYTDS_ICONV_VERSION'] || "1.17" | ||
ICONV_SOURCE_URI = "http://ftp.gnu.org/pub/gnu/libiconv/libiconv-#{ICONV_VERSION}.tar.gz" | ||
|
||
OPENSSL_VERSION = ENV['TINYTDS_OPENSSL_VERSION'] || '1.1.1s' | ||
OPENSSL_VERSION = ENV['TINYTDS_OPENSSL_VERSION'] || '3.4.0' | ||
OPENSSL_SOURCE_URI = "https://www.openssl.org/source/openssl-#{OPENSSL_VERSION}.tar.gz" | ||
|
||
FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || '1.1.24' | ||
FREETDS_VERSION = ENV['TINYTDS_FREETDS_VERSION'] || '1.4.23' | ||
FREETDS_SOURCE_URI = "http://www.freetds.org/files/stable/freetds-#{FREETDS_VERSION}.tar.bz2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be a yaml list instead of a comma delimited string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are different types of custom GitHub Actions you can build: Composite, Docker and JavaScript. The last one is the only one that supports other types than strings, see discussion here.
Means the
setup-mssql
action will receive this comma-separated list as string. The action is a composite action and uses PowerShell behind the scenes. This comma-separated list format is easier to parse from PowerShell.