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

Update ruby-mysql requirement from ~> 2.9.14, >= 2.9.0 to >= 2.9.14, < 4.2.0 #184

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 11, 2024

Updates the requirements on ruby-mysql to permit the latest version.

Changelog

Sourced from ruby-mysql's changelog.

[4.1.0] - 2023-10-08

[4.0.0] - 2022-11-09

Incompatible changes

  • unsupport MySQL 5.5 and Ruby 2.5
  • Mysql::Result#fetch returns converted values unless cast is false
  • Mysql::Result#each always returns records from the beginning
  • Retrieving a DECIMAL type with a prepared statement returns a BigDecimal object instead of String
  • Retrieving a DATE type value with a prepared statement returns a Date object instead of Time
  • delete Mysql#more_results. use #more_results? instead.
  • remove Mysql::Result#fetch_field, #field_tell, #field_seek, #fetch_field_direct, #fetch_lengths, #num_fields.
  • error 'command out of sync' is Mysql::ClientError::CommandOutOfSync instead of RuntimeError.
  • error 'Authentication requires secure connection' is Mysql::ClientError::AuthPluginErr instead of RuntimeError.

Features

  • Mysql.default_options is global options.
  • Mysql#connect option ssl_mode: support SSL_MODE_VERIFY_CA, SSL_MODE_VERIFY_IDENTITY.
  • Mysql#connect option ssl_context_params: see OpenSSL::SSL::SSLContext#set_params.
  • Mysql#connect option connect_attrs.
  • Mysql::Stmt#more_results?, #next_result, #info.
  • Mysql#close and Mysql::Stmt#close read pending packets.
  • Mysql#query and Mysql::Stmt#execute option: return_result and yield_null_result.
  • support session tracking. See https://dev.mysql.com/doc/refman/8.0/en/session-state-tracking.html
  • thread safe.
  • Mysql#query, Mysql::Stmt#execute option: auto_store_result.
  • add Mysql::Result#server_status

Fixes

  • When using connection that disconnected from client. error 'MySQL client is not connected' is occured instead of 'MySQL server has gone away'.
  • When SSL error, MySQL::ClientError::ServerLost or ServerGoneError is occured instead of OpenSSL::SSL::SSLError.
  • Mysql#server_version don't require connection.
  • use connect_timeout instead of read/write_timeout on initial negotiation.
  • enable to changing local_infile for established connection.
  • Mysql.connect with host nil ignores parameters
  • raises IOError after Mysql#close
  • Fractional seconds of time types were ignored when retrieving values using prepared statements
  • Mysql::Stmt#execute allows true or false values.

Others

  • Mysql#prpare raises Mysql::ClientError if the connection is not connected.

... (truncated)

Commits
  • 4a2c8ff 4.1.0
  • b440530 Merge branch 'doc_fixes' into 'master'
  • 9dc89e6 Update docs for additional parameter
  • 96ff63e Merge branch 'allow_initialisation_with_existing_socket' into 'master'
  • 59df3c9 Allow for existing socket when connecting
  • 4799052 Merge branch 'fix_with_localhost' into 'master'
  • 54fe7d9 If the server is localhost and disconnect the connection, Errno::EPIPE is raised
  • dfd0cc7 update rubocop
  • cc22831 Merge branch 'support-geometry-column' into 'master'
  • ce9883d install bundler version in Gemfile.lock on CI
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 11, 2024
Copy link

codecov bot commented Mar 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.43%. Comparing base (e101845) to head (f993714).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #184   +/-   ##
=======================================
  Coverage   85.43%   85.43%           
=======================================
  Files          49       49           
  Lines        4297     4297           
=======================================
  Hits         3671     3671           
  Misses        626      626           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…< 4.2.0

Updates the requirements on [ruby-mysql](https://gitlab.com/tmtms/ruby-mysql) to permit the latest version.
- [Changelog](https://gitlab.com/tmtms/ruby-mysql/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/tmtms/ruby-mysql/compare/2.9.14...v4.1.0)

---
updated-dependencies:
- dependency-name: ruby-mysql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/ruby-mysql-gte-2.9.14-and-lt-4.2.0 branch from 96aebf2 to f993714 Compare April 1, 2024 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants