Repository navigation
Tags
Tags
Support common application usage: forked workers, shared connections,… … DATABASE_URL (#64) ## Summary E2E tests (and, in follow-up commits on this PR, fixes) for ways Ruby applications commonly use the generated code that were not covered yet. New scenarios (PostgreSQL / MySQL / SQLite where applicable): - forked workers (Puma / Sidekiq / Resque) after the parent ran queries, pooled and single connections - a raw connection shared with another library (ActiveRecord `raw_connection`, Sequel): PG type maps / `field_name_type`, mysql2 `query_options` and `Mysql2::Client.default_query_options`, SQLite `results_as_hash` - `QuerySql.connect(DATABASE_URL)` on PostgreSQL - `#transaction` inside a transaction opened by another library - schema-per-tenant `search_path` switching with prepared statements - primary + read-replica query objects - memoized frozen query objects, subclasses / prepended wrappers forwarding `...` / `**`, `SimpleDelegator` - rows through `Marshal` (Rails.cache) and JSON Failing on `main` (a44f282): - pg `test_a_forked_child_leaves_the_parent_connections_usable` (child's connection_pool after_fork closes the inherited connections and terminates the parent's sessions) - pg `test_a_connection_shared_with_another_library_keeps_its_settings` (generated code overwrites the connection's type maps; `field_name_type = :symbol` raises `UndefinedEncoder`) - pg `test_connect_accepts_a_connection_url` (`TypeError`) - mysql2 `test_a_forked_child_leaves_the_parent_connections_usable` (same as pg) - mysql2 `test_a_client_with_other_query_options_still_returns_typed_rows` (`cast: false` returns Strings, `cast_booleans: true` returns true/false for Integer columns) Fixes (generated code, `lib/sqlc_gen_ruby/drivers/{pg,mysql2}.rb`): - pg: generated queries pass their own type maps (`exec_prepared` / `exec_params` with `client.query_types`, results get `client.result_types` and `field_name_type = :string`), so the connection's `type_map_for_results` / `_for_queries` / `field_name_type` are never changed. `QuerySql.connect` also takes a URL string. - pg / mysql2: `ConnectionState` remembers the pid that opened the connection; when connection_pool's `after_fork` closes it in a child, its socket is first pointed at `/dev/null`, so the parent's session survives. A pg connection used directly in a child reconnects; a direct mysql2 client raises `Mysql2::Error::ConnectionError`. - pg / mysql2: a `Process._fork` hook releases, in the child, every inherited connection the generated code has used (`ObjectSpace.each_object(ConnectionState)`), also ones another thread had checked out at fork time and ones the child never uses, so the child's exit does not end the parent's sessions. Closing an already closed pg connection is a no-op (connection_pool's `after_fork` closes those too). - mysql2: rows are read with `as: :array, cast: true, cast_booleans: false` whatever the client's / default query options. - Documented (README, Limitations): MySQL `transaction` inside a raw `BEGIN` commits it; SQLite children must reopen the database. `docs/Coverage.md` lists every new test. ## Checklist - [x] `examples/` is regenerated (`rake sqlc_generate_process`) and committed - [x] Tests added or updated (`rake test`, and `rake end2end_*` when the generated code changes) - [x] The generated code stays RuboCop-clean (`rake rubocop`) and Steep-clean (`rake steep`) - [x] Labelled (`bug`, `enhancement`, `documentation`, or `breaking`) so the release notes are grouped correctly Requested by: @doron050 --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Doron Eli Rachman <doron050@gmail.com>
Bump the gems group across 1 directory with 8 updates (#40) Bumps the gems group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [connection_pool](https://github.com/mperham/connection_pool) | `2.4.1` | `3.0.2` | | [csv](https://github.com/ruby/csv) | `3.2.8` | `3.3.7` | | [mysql2](https://github.com/brianmario/mysql2) | `0.5.6` | `0.5.7` | | [pg](https://github.com/ged/ruby-pg) | `1.5.2` | `1.7.0` | | [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) | `2.0.2` | `2.10.2` | | [minitest](https://github.com/minitest/minitest) | `5.24.0` | `6.0.6` | | [steep](https://github.com/soutaro/steep) | `1.6.0` | `2.1.0` | | [rubocop](https://github.com/rubocop/rubocop) | `1.74.0` | `1.92.2` | Updates `connection_pool` from 2.4.1 to 3.0.2 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mperham/connection_pool/blob/main/Changes.md">connection_pool's changelog</a>.</em></p> <blockquote> <h2>3.0.2</h2> <ul> <li>Support :name keyword for backwards compatibility <a href="https://redirect.github.com/mperham/connection_pool/issues/210">#210</a></li> </ul> <h2>3.0.1</h2> <ul> <li>Add missing <code>fork.rb</code> to gemspec.</li> </ul> <h2>3.0.0</h2> <ul> <li><strong>BREAKING CHANGES</strong> <code>ConnectionPool</code> and <code>ConnectionPool::TimedStack</code> now use keyword arguments rather than positional arguments everywhere. Expected impact is minimal as most people use the <code>with</code> API, which is unchanged.</li> </ul> <pre lang="ruby"><code>pool = ConnectionPool.new(size: 5, timeout: 5) pool.checkout(1) # 2.x pool.reap(30) # 2.x pool.checkout(timeout: 1) # 3.x pool.reap(idle_seconds: 30) # 3.x </code></pre> <ul> <li>Dropped support for Ruby <3.2.0</li> </ul> <h2>2.5.5</h2> <ul> <li>Support <code>ConnectionPool::TimedStack#pop(exception: false)</code> <a href="https://redirect.github.com/mperham/connection_pool/issues/207">#207</a> to avoid using exceptions as control flow.</li> </ul> <h2>2.5.4</h2> <ul> <li>Add ability to remove a broken connection from the pool [#204, womblep]</li> </ul> <h2>2.5.3</h2> <ul> <li>Fix TruffleRuby/JRuby crash <a href="https://redirect.github.com/mperham/connection_pool/issues/201">#201</a></li> </ul> <h2>2.5.2</h2> <ul> <li>Rollback inadvertant change to <code>auto_reload_after_fork</code> default. <a href="https://redirect.github.com/mperham/connection_pool/issues/200">#200</a></li> </ul> <h2>2.5.1</h2> <ul> <li>Pass options to TimedStack in <code>checkout</code> <a href="https://redirect.github.com/mperham/connection_pool/issues/195">#195</a></li> <li>Optimize connection lookup <a href="https://redirect.github.com/mperham/connection_pool/issues/196">#196</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mperham/connection_pool/commit/78bc41e2a9fffbdd7242736233aeedfb64953dd8"><code>78bc41e</code></a> bump, changes</li> <li><a href="https://github.com/mperham/connection_pool/commit/955c64f96de81f5b2cee2546d3ea4c93ec11f6e9"><code>955c64f</code></a> Support :name keyword arg for backwards compat, <a href="https://redirect.github.com/mperham/connection_pool/issues/210">#210</a></li> <li><a href="https://github.com/mperham/connection_pool/commit/0dae4dd21acfd5bfbae15c25c7e6031a0bde3fca"><code>0dae4dd</code></a> Fix missing fork.rb</li> <li><a href="https://github.com/mperham/connection_pool/commit/f0d6dd2ab7241132a5bce4845d011a66786bad2c"><code>f0d6dd2</code></a> docs</li> <li><a href="https://github.com/mperham/connection_pool/commit/84a66b9ecbfb4fd13cb16b412ff5971a5bbe2fc5"><code>84a66b9</code></a> refactor idle reaping for readability</li> <li><a href="https://github.com/mperham/connection_pool/commit/e7825d6f460481359e44e2225f536974bd53adfb"><code>e7825d6</code></a> fix CI warning</li> <li><a href="https://github.com/mperham/connection_pool/commit/9e03836b196846f7898644c1dac02ae18309907f"><code>9e03836</code></a> fork refactoring</li> <li><a href="https://github.com/mperham/connection_pool/commit/6213bf543b77f997bc4569964a78d820e9cd591f"><code>6213bf5</code></a> ci tuning</li> <li><a href="https://github.com/mperham/connection_pool/commit/5d3f6c1db81b009c06d1f1d85e12c21c1fe74fa2"><code>5d3f6c1</code></a> Connection Pool 3.0 (<a href="https://redirect.github.com/mperham/connection_pool/issues/209">#209</a>)</li> <li><a href="https://github.com/mperham/connection_pool/commit/949f950e1186685e8dd7c93f59d35f3a36be4cbd"><code>949f950</code></a> Add benchmark to validate fast path performance</li> <li>Additional commits viewable in <a href="https://github.com/mperham/connection_pool/compare/v2.4.1...v3.0.2">compare view</a></li> </ul> </details> <br /> Updates `csv` from 3.2.8 to 3.3.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ruby/csv/releases">csv's releases</a>.</em></p> <blockquote> <h2>csv 3.3.7 - 2026-10-28</h2> <h3>Improvements</h3> <ul> <li> <p>Improved documents.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/376">GH-376</a></li> <li>Patch by Oskar Eichler</li> </ul> </li> <li> <p>Improved error handling.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/378">GH-378</a></li> <li><a href="https://redirect.github.com/ruby/csv/issues/379">GH-379</a></li> <li>Reported by sswander</li> </ul> </li> </ul> <h3>Thanks</h3> <ul> <li> <p>Oskar Eichler</p> </li> <li> <p>sswander</p> </li> </ul> <h2>csv 3.3.6 - 2026-07-27</h2> <h3>Improvements</h3> <ul> <li> <p><code>CSV::Row#to_h</code>: Added support for block.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/356">GH-356</a></li> <li>Patch by Vlad</li> </ul> </li> <li> <p>Ensured using <code>path_or_io</code> for parameter name that accepts path or IO.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/358">GH-358</a></li> <li>Patch by Yuto Urushima</li> </ul> </li> <li> <p>Changed to not using enumerator in <code>CSV</code>.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/361">GH-361</a></li> <li><a href="https://redirect.github.com/ruby/csv/issues/363">GH-363</a></li> <li>Reported by Cas Donoghue</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fixed a bug that <code>\r</code> in unquoted fields are rejected when row separator doesn't contain <code>\r</code></p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/60">GH-60</a></li> <li><a href="https://redirect.github.com/ruby/csv/issues/346">GH-346</a></li> <li>Patch by Jas</li> </ul> </li> <li> <p>Fixed a typo in documentation.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/350">GH-350</a></li> <li>Patch by tmr111116</li> </ul> </li> </ul> <h3>Thanks</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ruby/csv/blob/main/NEWS.md">csv's changelog</a>.</em></p> <blockquote> <h2>3.3.7 - 2026-10-28</h2> <h3>Improvements</h3> <ul> <li> <p>Improved documents.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/376">GH-376</a></li> <li>Patch by Oskar Eichler</li> </ul> </li> <li> <p>Improved error handling.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/378">GH-378</a></li> <li><a href="https://redirect.github.com/ruby/csv/issues/379">GH-379</a></li> <li>Reported by sswander</li> </ul> </li> </ul> <h3>Thanks</h3> <ul> <li> <p>Oskar Eichler</p> </li> <li> <p>sswander</p> </li> </ul> <h2>3.3.6 - 2026-07-27</h2> <h3>Improvements</h3> <ul> <li> <p><code>CSV::Row#to_h</code>: Added support for block.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/356">GH-356</a></li> <li>Patch by Vlad</li> </ul> </li> <li> <p>Ensured using <code>path_or_io</code> for parameter name that accepts path or IO.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/358">GH-358</a></li> <li>Patch by Yuto Urushima</li> </ul> </li> <li> <p>Changed to not using enumerator in <code>CSV</code>.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/361">GH-361</a></li> <li><a href="https://redirect.github.com/ruby/csv/issues/363">GH-363</a></li> <li>Reported by Cas Donoghue</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li> <p>Fixed a bug that <code>\r</code> in unquoted fields are rejected when row separator doesn't contain <code>\r</code></p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/60">GH-60</a></li> <li><a href="https://redirect.github.com/ruby/csv/issues/346">GH-346</a></li> <li>Patch by Jas</li> </ul> </li> <li> <p>Fixed a typo in documentation.</p> <ul> <li><a href="https://redirect.github.com/ruby/csv/issues/350">GH-350</a></li> <li>Patch by tmr111116</li> </ul> </li> </ul> <h3>Thanks</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ruby/csv/commit/f77f87105cab9a95f752fa3ef3bcabda96a18939"><code>f77f871</code></a> Add 3.3.7 entry</li> <li><a href="https://github.com/ruby/csv/commit/079bf0cc7561edd86e3e6f012e4fab09c6b2331a"><code>079bf0c</code></a> Bump version</li> <li><a href="https://github.com/ruby/csv/commit/c85db27f315db7ddfde24318b25415667b4d1b5e"><code>c85db27</code></a> Don't leak kept scanner state in loose parser (<a href="https://redirect.github.com/ruby/csv/issues/379">#379</a>)</li> <li><a href="https://github.com/ruby/csv/commit/9255c5e4f916e37de4004b7549dd5ae9354008c1"><code>9255c5e</code></a> Correct CSV option and recipe documentation (<a href="https://redirect.github.com/ruby/csv/issues/376">#376</a>)</li> <li><a href="https://github.com/ruby/csv/commit/0873ab362d996f12796c3c3e8998b5be657a9b12"><code>0873ab3</code></a> Add 3.3.6 entry</li> <li><a href="https://github.com/ruby/csv/commit/c94763af30b7d37d365fcdd035317853bef1ff6f"><code>c94763a</code></a> Don't use enumerator in CSV (<a href="https://redirect.github.com/ruby/csv/issues/363">#363</a>)</li> <li><a href="https://github.com/ruby/csv/commit/b36c16061ac14aa6ce2e6eb9c3cd60c07a688254"><code>b36c160</code></a> Bump actions/checkout from 6 to 7 (<a href="https://redirect.github.com/ruby/csv/issues/360">#360</a>)</li> <li><a href="https://github.com/ruby/csv/commit/c773f27ab9471aa5bcf012547dfdcb35d71c5689"><code>c773f27</code></a> Bump rubygems/configure-rubygems-credentials from 2.0.0 to 2.1.0 (<a href="https://redirect.github.com/ruby/csv/issues/359">#359</a>)</li> <li><a href="https://github.com/ruby/csv/commit/19c7649c554def75603d84500a0d19beaa216c05"><code>19c7649</code></a> Unify first parameter name to <code>path_or_io</code> across methods (<a href="https://redirect.github.com/ruby/csv/issues/358">#358</a>)</li> <li><a href="https://github.com/ruby/csv/commit/79eb55aba206c2e3f2ebccdb83d86f7487604800"><code>79eb55a</code></a> Bump rubygems/configure-rubygems-credentials from 1.0.0 to 2.0.0 (<a href="https://redirect.github.com/ruby/csv/issues/357">#357</a>)</li> <li>Additional commits viewable in <a href="https://github.com/ruby/csv/compare/v3.2.8...v3.3.7">compare view</a></li> </ul> </details> <br /> Updates `mysql2` from 0.5.6 to 0.5.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/brianmario/mysql2/releases">mysql2's releases</a>.</em></p> <blockquote> <h2>0.5.7</h2> <h2>What's Changed</h2> <ul> <li>Ruby 3.2 deprecates <code>double_heap</code> option to <code>GC.verify_compaction_references</code> by <a href="https://github.com/yahonda"><code>@yahonda</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1365">brianmario/mysql2#1365</a></li> <li>Add <code>ruby-3.3</code> to CI by <a href="https://github.com/VitaliySerov"><code>@VitaliySerov</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1340">brianmario/mysql2#1340</a></li> <li>Add bigdecimal to runtime dependencies by <a href="https://github.com/nekketsuuu"><code>@nekketsuuu</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1367">brianmario/mysql2#1367</a></li> <li>Add vector type added in MySQL 9.0 by <a href="https://github.com/dbussink"><code>@dbussink</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1375">brianmario/mysql2#1375</a></li> <li>Avoid modifying frozen string literals by <a href="https://github.com/pat"><code>@pat</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1364">brianmario/mysql2#1364</a></li> <li>Set CA:TRUE for ca-cert.pem used in SSL tests. by <a href="https://github.com/jackorp"><code>@jackorp</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1357">brianmario/mysql2#1357</a></li> <li>Support get_server_public_key option by <a href="https://github.com/samitani"><code>@samitani</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1377">brianmario/mysql2#1377</a></li> <li>Fix some typos by <a href="https://github.com/fkmy"><code>@fkmy</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1378">brianmario/mysql2#1378</a></li> <li>Save affected_rows on the wrapper when reading results by <a href="https://github.com/byroot"><code>@byroot</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1383">brianmario/mysql2#1383</a></li> <li>extconf.rb: locate zstd when using homebrew by <a href="https://github.com/byroot"><code>@byroot</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1384">brianmario/mysql2#1384</a></li> <li>Redact password from query_options by <a href="https://github.com/flavorjones"><code>@flavorjones</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1334">brianmario/mysql2#1334</a></li> <li>Improve prepared statement ergonomics by <a href="https://github.com/byroot"><code>@byroot</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1385">brianmario/mysql2#1385</a></li> <li>Fix CI by <a href="https://github.com/davidsiaw"><code>@davidsiaw</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1371">brianmario/mysql2#1371</a></li> <li>Set charset name utf8mb4 by default by <a href="https://github.com/kamipo"><code>@kamipo</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1157">brianmario/mysql2#1157</a></li> <li>CI: Add Ruby 3.4, MySQL 8.4, MariaDB 11.4, Ubuntu 24.04 and other updates by <a href="https://github.com/sodabrew"><code>@sodabrew</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1387">brianmario/mysql2#1387</a></li> <li>Allow newer rake, rake-comiler dependencies by <a href="https://github.com/sodabrew"><code>@sodabrew</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1400">brianmario/mysql2#1400</a></li> <li>rb_mysql_result_free_result is now executed if the result is 0 rows. by <a href="https://github.com/YujiSoftware"><code>@YujiSoftware</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1399">brianmario/mysql2#1399</a></li> <li>Add an option to use SSL certifications generated from specific host (Create certificaitons in CI) by <a href="https://github.com/junaruga"><code>@junaruga</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1310">brianmario/mysql2#1310</a></li> <li>CI: select better MariaDB mirrors because some block GitHub Actions by <a href="https://github.com/sodabrew"><code>@sodabrew</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1401">brianmario/mysql2#1401</a></li> <li>Correct MariaDB runtime library verison check by <a href="https://github.com/grooverdan"><code>@grooverdan</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1406">brianmario/mysql2#1406</a></li> <li>Expose <code>db</code> attribute of <code>MYSQL</code> client struct by <a href="https://github.com/richardlarocque"><code>@richardlarocque</code></a> in <a href="https://redirect.github.com/brianmario/mysql2/pull/1245">brianmario/mysql2#1245</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/nekketsuuu"><code>@nekketsuuu</code></a> made their first contribution in <a href="https://redirect.github.com/brianmario/mysql2/pull/1367">brianmario/mysql2#1367</a></li> <li><a href="https://github.com/pat"><code>@pat</code></a> made their first contribution in <a href="https://redirect.github.com/brianmario/mysql2/pull/1364">brianmario/mysql2#1364</a></li> <li><a href="https://github.com/jackorp"><code>@jackorp</code></a> made their first contribution in <a href="https://redirect.github.com/brianmario/mysql2/pull/1357">brianmario/mysql2#1357</a></li> <li><a href="https://github.com/samitani"><code>@samitani</code></a> made their first contribution in <a href="https://redirect.github.com/brianmario/mysql2/pull/1377">brianmario/mysql2#1377</a></li> <li><a href="https://github.com/fkmy"><code>@fkmy</code></a> made their first contribution in <a href="https://redirect.github.com/brianmario/mysql2/pull/1378">brianmario/mysql2#1378</a></li> <li><a href="https://github.com/byroot"><code>@byroot</code></a> made their first contribution in <a href="https://redirect.github.com/brianmario/mysql2/pull/1383">brianmario/mysql2#1383</a></li> <li><a href="https://github.com/davidsiaw"><code>@davidsiaw</code></a> made their first contribution in <a href="https://redirect.github.com/brianmario/mysql2/pull/1371">brianmario/mysql2#1371</a></li> <li><a href="https://github.com/YujiSoftware"><code>@YujiSoftware</code></a> made their first contribution in <a href="https://redirect.github.com/brianmario/mysql2/pull/1399">brianmario/mysql2#1399</a></li> <li><a href="https://github.com/grooverdan"><code>@grooverdan</code></a> made their first contribution in <a href="https://redirect.github.com/brianmario/mysql2/pull/1406">brianmario/mysql2#1406</a></li> <li><a href="https://github.com/richardlarocque"><code>@richardlarocque</code></a> made their first contribution in <a href="https://redirect.github.com/brianmario/mysql2/pull/1245">brianmario/mysql2#1245</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/brianmario/mysql2/compare/0.5.6...0.5.7">https://github.com/brianmario/mysql2/compare/0.5.6...0.5.7</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/brianmario/mysql2/commit/c79b3c14fd47e195f00bb6fae739928549b23097"><code>c79b3c1</code></a> bump version</li> <li><a href="https://github.com/brianmario/mysql2/commit/0f38974ead068daa5388013cd01f49f74e439805"><code>0f38974</code></a> Expose <code>db</code> attribute of <code>MYSQL</code> client struct (<a href="https://redirect.github.com/brianmario/mysql2/issues/1245">#1245</a>)</li> <li><a href="https://github.com/brianmario/mysql2/commit/b63d2e8e99bbc92484289e0f246e2733808443d7"><code>b63d2e8</code></a> Correct MariaDB runtime library verison check (<a href="https://redirect.github.com/brianmario/mysql2/issues/1406">#1406</a>)</li> <li><a href="https://github.com/brianmario/mysql2/commit/441b104f8f120788e86086702d96963aecec3172"><code>441b104</code></a> CI: select better MariaDB mirrors because some block GitHub Actions (<a href="https://redirect.github.com/brianmario/mysql2/issues/1401">#1401</a>)</li> <li><a href="https://github.com/brianmario/mysql2/commit/99a6cc34823a038368cbdc992f751acb0b2845d6"><code>99a6cc3</code></a> CI: Add an option to use SSL certifications generated from specific host. (<a href="https://redirect.github.com/brianmario/mysql2/issues/1">#1</a>...</li> <li><a href="https://github.com/brianmario/mysql2/commit/3adb5311c25782716a9591224e5c147e98c1c112"><code>3adb531</code></a> rb_mysql_result_free_result is now executed if the result is 0 rows. (<a href="https://redirect.github.com/brianmario/mysql2/issues/1399">#1399</a>)</li> <li><a href="https://github.com/brianmario/mysql2/commit/794ca500f8049791e8a3f75e09fbdc62d43e634f"><code>794ca50</code></a> Merge pull request <a href="https://redirect.github.com/brianmario/mysql2/issues/1400">#1400</a> from sodabrew/update-rake-compiler</li> <li><a href="https://github.com/brianmario/mysql2/commit/cd6fc60c3b30e12deaa594e09501db746f1f4573"><code>cd6fc60</code></a> CI: fixes for centos 7 dockerfile</li> <li><a href="https://github.com/brianmario/mysql2/commit/f10e76758470e8dc7226dd84b1b94302035d3fcf"><code>f10e767</code></a> CI: Allow newer rake, rake-compiler dependencies</li> <li><a href="https://github.com/brianmario/mysql2/commit/57b8df188c963ae0e4d4e1123d3e9de2bbcab637"><code>57b8df1</code></a> README: Remove link to Travis CI</li> <li>Additional commits viewable in <a href="https://github.com/brianmario/mysql2/compare/0.5.6...0.5.7">compare view</a></li> </ul> </details> <br /> Updates `pg` from 1.5.2 to 1.7.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ged/ruby-pg/blob/master/CHANGELOG.md">pg's changelog</a>.</em></p> <blockquote> <h2>v1.7.0 [2026-10-02] Lars Kanis <a href="mailto:lars@greiz-reinsdorf.de">lars@greiz-reinsdorf.de</a></h2> <p>Added:</p> <ul> <li>Add PG::Connection#embed_params and keyword <code>:typename</code> for its parameter casting. <a href="https://redirect.github.com/ged/ruby-pg/pull/726">#726</a> This allows to generate SQL strings with embedded parameters for easier debugging.</li> <li>Add PG::Connection#full_protocol_version which is new in PostgreSQL-18 <a href="https://redirect.github.com/ged/ruby-pg/pull/695">#695</a></li> <li>Add PG::Result#each_tuple <a href="https://redirect.github.com/ged/ruby-pg/pull/675">#675</a></li> <li>Add PG::TypeMap#query_param_encoders to retrieve encoders. <a href="https://redirect.github.com/ged/ruby-pg/pull/726">#726</a></li> <li>Deduplicate result field name strings for better performance. <a href="https://redirect.github.com/ged/ruby-pg/pull/750">#750</a></li> </ul> <p>Removed:</p> <ul> <li>Remove compatibility to ruby < 3.1 and drops support of ruby-2.7 and ruby-3.0. <a href="https://redirect.github.com/ged/ruby-pg/pull/749">#749</a></li> <li>Remove GLV unlocking at all functions which process data modifiable in a second thread. <a href="https://redirect.github.com/ged/ruby-pg/pull/721">#721</a> This avoids possible premature garbage collection of query parameters and possible VM crash due to concurrent data manipulation.</li> <li>Remove <code>:static_symbol</code> result field names. <a href="https://redirect.github.com/ged/ruby-pg/pull/691">#691</a></li> <li>Remove enforced rpath addition when no rpath is configured in rbconfig. <a href="https://redirect.github.com/ged/ruby-pg/pull/699">#699</a></li> </ul> <p>Fixes:</p> <ul> <li>Limit memory allocation on invalid input into PG::BinaryDecoder::Array. <a href="https://redirect.github.com/ged/ruby-pg/pull/743">#743</a></li> <li>Free COPY buffers when decoders raise to avoid possible memory leak in get_copy_data. <a href="https://redirect.github.com/ged/ruby-pg/pull/742">#742</a></li> <li>Prevent SQL injection in set_client_encoding. <a href="https://redirect.github.com/ged/ruby-pg/pull/741">#741</a></li> <li>Add GC_GUARD to temporary ruby objects for conninfo string to avoid it's GC'ed prematurely. <a href="https://redirect.github.com/ged/ruby-pg/pull/739">#739</a></li> <li>Remove option "quirks_mode" from JSON en/decoder to fix compat with json-3.0 gem. <a href="https://redirect.github.com/ged/ruby-pg/pull/737">#737</a></li> <li>Respect calendar type of Ruby and PostgreSQL. <a href="https://redirect.github.com/ged/ruby-pg/pull/725">#725</a></li> <li>Fix broken set_notice_(receiver|processor) callback after GC.compact. <a href="https://redirect.github.com/ged/ruby-pg/pull/734">#734</a></li> <li>Disable DNS resolution in ruby when a service file is used, so that the priority of parameters is equal to libpq. <a href="https://redirect.github.com/ged/ruby-pg/pull/635">#635</a></li> <li>Use RARRAY_LENINT to avoid possible overflow. <a href="https://redirect.github.com/ged/ruby-pg/pull/728">#728</a></li> <li>Fix possible integer overflow at PG::BinaryEncoder::CopyRow and PG::TextEncoder::CopyRow. <a href="https://redirect.github.com/ged/ruby-pg/pull/714">#714</a>, <a href="https://redirect.github.com/ged/ruby-pg/pull/715">#715</a></li> <li>Avoid possible integer overflow in query parameter encoding. <a href="https://redirect.github.com/ged/ruby-pg/pull/719">#719</a></li> <li>Ensure conninfo is a valid C string before closing the connection to avoid a double free of PGconn. <a href="https://redirect.github.com/ged/ruby-pg/pull/709">#709</a></li> <li>Raise on a too large input string to PG::TextEncoder::Bytea. <a href="https://redirect.github.com/ged/ruby-pg/pull/717">#717</a></li> <li>Check PG::BinaryEncoder::CopyRow array input size instead of producing an invalid output.</li> <li>Remove accidentally copied "static" keyword from Copy and Record encoder. <a href="https://redirect.github.com/ged/ruby-pg/pull/711">#711</a></li> <li>Avoid possibility to replace typemap while being used in Copy and Record encoders and decoders. <a href="https://redirect.github.com/ged/ruby-pg/pull/707">#707</a></li> <li>Add GC_GUARD's for encoding converted strings sent to the server. <a href="https://redirect.github.com/ged/ruby-pg/pull/705">#705</a></li> <li>Fix incomplete transaction commit when thread is shutdown ungracefully. <a href="https://redirect.github.com/ged/ruby-pg/pull/704">#704</a></li> <li>Assign VALUE after registration per rb_gc_register_address() <a href="https://redirect.github.com/ged/ruby-pg/pull/703">#703</a></li> <li>Update dependencies for binary gems to PostgreSQL-18.6, OpenSSL-3.6.5, krb5-1.22.2 <a href="https://redirect.github.com/ged/ruby-pg/pull/752">#752</a></li> </ul> <h2>v1.6.3 [2025-12-29] Lars Kanis <a href="mailto:lars@greiz-reinsdorf.de">lars@greiz-reinsdorf.de</a></h2> <p>Added:</p> <ul> <li>Add binary gems for ruby-4.0, now providing ruby-3.0 to 4.0. <a href="https://redirect.github.com/ged/ruby-pg/pull/682">#682</a></li> <li>Update fat binary gem to OpenSSL-3.6.0 and PostgreSQL-18.1.</li> <li>Improve documentation of PG::Result and README. <a href="https://redirect.github.com/ged/ruby-pg/pull/676">#676</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ged/ruby-pg/commit/fcf40c539921e93cd8f95b735b09c606df0dc040"><code>fcf40c5</code></a> Add new gem signing certificate</li> <li><a href="https://github.com/ged/ruby-pg/commit/d41e07ae34a95381d81bb75a227df01b502bc5cc"><code>d41e07a</code></a> Merge pull request <a href="https://redirect.github.com/ged/ruby-pg/issues/753">#753</a> from larskanis/rm-pgsql-10</li> <li><a href="https://github.com/ged/ruby-pg/commit/8e1ee8faf56d362547a3038e553334c01a0723b0"><code>8e1ee8f</code></a> Remove some conditions for PostgreSQL-10</li> <li><a href="https://github.com/ged/ruby-pg/commit/050c56d589b025a5783327583b31e4773303f99f"><code>050c56d</code></a> Fix typo in CHANGELOG and add version note</li> <li><a href="https://github.com/ged/ruby-pg/commit/2c4934ecf1416a8f7453fab10bbad2c6ca17f58d"><code>2c4934e</code></a> Bump VERSION to 1.7.0</li> <li><a href="https://github.com/ged/ruby-pg/commit/f644ba2cdf7ece383af6a33659fef658336bb5c4"><code>f644ba2</code></a> Update release notes once more</li> <li><a href="https://github.com/ged/ruby-pg/commit/b16542dd707857e2c51bfb4bf69b03b1a96ea635"><code>b16542d</code></a> Merge pull request <a href="https://redirect.github.com/ged/ruby-pg/issues/752">#752</a> from larskanis/upd-binaries</li> <li><a href="https://github.com/ged/ruby-pg/commit/66b27c621a50b397727bdec6a8ae568f7ac69b3c"><code>66b27c6</code></a> Update dependencies for binary gems to</li> <li><a href="https://github.com/ged/ruby-pg/commit/6a073942f0ff0ee7e0edb68251d7f645722d02e3"><code>6a07394</code></a> Add CHANGELOG entry for pg-1.7.0</li> <li><a href="https://github.com/ged/ruby-pg/commit/53903568542b06ef89bc05ea7e1dd5ced8a21694"><code>5390356</code></a> Merge pull request <a href="https://redirect.github.com/ged/ruby-pg/issues/749">#749</a> from larskanis/minruby-3.1</li> <li>Additional commits viewable in <a href="https://github.com/ged/ruby-pg/compare/v1.5.2...v1.7.0">compare view</a></li> </ul> </details> <br /> Updates `sqlite3` from 2.0.2 to 2.10.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sparklemotion/sqlite3-ruby/releases">sqlite3's releases</a>.</em></p> <blockquote> <h2>2.10.2 / 2026-10-26</h2> <h3>Security / Stability</h3> <ul> <li>Raise <code>RangeError</code> when a SQL string, a bound String or Blob value, or a String or Blob returned from a custom function or aggregate is longer than <code>INT_MAX</code> bytes. Previously the length was truncated to 32 bits, so SQLite could read only part of the string and drop trailing clauses from a query. See <a href="https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-4fqr-96q8-xrfx">GHSA-4fqr-96q8-xrfx</a> for more information. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/762">#762</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Fix a crash when a custom aggregate's <code>finalize</code> returns a value that can't be converted to a SQLite result. The exception is now raised from the query and the connection remains usable. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/762">#762</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Fix a use-after-free when the hash returned by <code>Database#collations</code> is cleared, modified or frozen. GC could free a comparator that SQLite still called. When that hash is frozen, <code>Database#collation</code> still raises <code>FrozenError</code>, but the new comparator stays registered and in use. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Fix a deadlock when a collation comparator, <code>trace</code> block, <code>busy_handler</code> block or authorizer raises, or when an interrupt such as <code>Thread#raise</code> arrives while an aggregate's handler is being created. Another thread that used the connection blocked forever. The exception is now raised from the query and the connection remains usable. See "Changed" below for what SQLite does before the exception is raised. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Fix a crash when a custom function or aggregate uses <code>throw</code>. The throw now unwinds to its <code>catch</code>. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h3>Changed</h3> <ul> <li>When a callback raises or throws, SQLite now finishes its current call before the exception is raised, instead of being unwound in the middle of it. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a> <ul> <li>When a <code>trace</code> block raises, SQLite runs the statement up to its first row, or to completion, before the exception is raised. Previously the statement stopped where the block raised. For example, an <code>INSERT</code> whose <code>trace</code> block raises now inserts its row.</li> <li>The other callbacks in that SQLite call skip their Ruby code: collation comparators return 0, functions and aggregates report an error to SQLite, the busy handler stops retrying and the authorizer denies.</li> <li><code>Database#execute_batch2</code> now raises the exception from a custom function, instead of <code>SQLite3::SQLException</code> "Ruby Exception occurred".</li> <li>An exception from a callback that SQLite runs during <code>Statement#reset!</code> or <code>Database#close</code> is discarded.</li> </ul> </li> <li>The extension keeps per-fiber state in <code>Thread.current[:__sqlite3_callback_frames__]</code>. A query raises <code>FrozenError</code> on a <code>Thread</code> that was frozen before its first query. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>When SQLite can't allocate an aggregate's context, the query raises <code>SQLite3::MemoryException</code> instead of aborting the process. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h3>Improved</h3> <ul> <li><code>Statement#step</code> no longer allocates and discards an array when the statement has no more rows. This saves one object per statement execution. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/758">#758</a> <a href="https://github.com/thomasklemm"><code>@thomasklemm</code></a></li> <li><code>ObjectSpace.dump</code> and heap profilers now report <code>SQLite3::Database</code> and <code>SQLite3::Statement</code> objects under their own type names, instead of <code>SQLite3::Backup</code>. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h3>Documentation</h3> <ul> <li>Document that parameters bound by <code>Statement#execute</code>, <code>#execute!</code>, <code>#bind_param</code> and <code>#bind_params</code> stay bound across executions, and that <code>Statement#clear_bindings!</code> clears them. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/751">#751</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <!-- raw HTML omitted --> <pre><code>e9aea2c2b3476fc875dd8a89313a9a2862818519c0186bfb5b56d6f57bb08d98 gems/sqlite3-2.10.2-aarch64-linux-gnu.gem 4986fc40cdf21342362b72a941df28e95cfe0e644f3ad2532d948b157c39dbee gems/sqlite3-2.10.2-aarch64-linux-musl.gem 762f609ef891463226b472d3df66aea84d5466ff4376d3ccf4a059718c4ce9c9 gems/sqlite3-2.10.2-arm-linux-gnu.gem 833623eaf1157b1b85d1c0830e3e8f9beb3bb95a9bec3d252f20557a50e9803a gems/sqlite3-2.10.2-arm-linux-musl.gem 5b0d235ea037e6dcd1b8387a19d73be571917db9f93044d35741cf933a21a37d gems/sqlite3-2.10.2-arm64-darwin.gem 7fe1bf1adfca4fffeaec27371e0a20c1162d9d985681ec9560971a44fc41d198 gems/sqlite3-2.10.2-x64-mingw-ucrt.gem 46a02a29e9ae452824082388be5c24fd26f133b14bdd268610c6aa9a8d924c44 gems/sqlite3-2.10.2-x86-linux-gnu.gem 38980cf01eb2e4ac1c0755964d60b3d743ccf00686798a626bab852ff4cd3d1e gems/sqlite3-2.10.2-x86-linux-musl.gem fd2c67b49d313031af112e172c83ab321681a2b4996bf882eefac50be7bea08f gems/sqlite3-2.10.2-x86_64-darwin.gem ca92731ab464df9cae503fa1a439a549e2724f6953c8c05a7769b59366e38f15 gems/sqlite3-2.10.2-x86_64-linux-gnu.gem b9f8fc62f3e0eb8966b41de251b492b4c8e9d1b23559beb6e150ad7f8d590941 gems/sqlite3-2.10.2-x86_64-linux-musl.gem f1ea68cd3287f8a49f39a088ac9e4bd0ef4e7f394c3d4a60dd4c7e44b0566964 gems/sqlite3-2.10.2.gem </code></pre> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md">sqlite3's changelog</a>.</em></p> <blockquote> <h2>2.10.2 / 2026-10-26</h2> <h3>Security / Stability</h3> <ul> <li>Raise <code>RangeError</code> when a SQL string, a bound String or Blob value, or a String or Blob returned from a custom function or aggregate is longer than <code>INT_MAX</code> bytes. Previously the length was truncated to 32 bits, so SQLite could read only part of the string and drop trailing clauses from a query. See <a href="https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-4fqr-96q8-xrfx">GHSA-4fqr-96q8-xrfx</a> for more information. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/762">#762</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Fix a crash when a custom aggregate's <code>finalize</code> returns a value that can't be converted to a SQLite result. The exception is now raised from the query and the connection remains usable. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/762">#762</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Fix a use-after-free when the hash returned by <code>Database#collations</code> is cleared, modified or frozen. GC could free a comparator that SQLite still called. When that hash is frozen, <code>Database#collation</code> still raises <code>FrozenError</code>, but the new comparator stays registered and in use. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Fix a deadlock when a collation comparator, <code>trace</code> block, <code>busy_handler</code> block or authorizer raises, or when an interrupt such as <code>Thread#raise</code> arrives while an aggregate's handler is being created. Another thread that used the connection blocked forever. The exception is now raised from the query and the connection remains usable. See "Changed" below for what SQLite does before the exception is raised. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Fix a crash when a custom function or aggregate uses <code>throw</code>. The throw now unwinds to its <code>catch</code>. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h3>Changed</h3> <ul> <li>When a callback raises or throws, SQLite now finishes its current call before the exception is raised, instead of being unwound in the middle of it. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a> <ul> <li>When a <code>trace</code> block raises, SQLite runs the statement up to its first row, or to completion, before the exception is raised. Previously the statement stopped where the block raised. For example, an <code>INSERT</code> whose <code>trace</code> block raises now inserts its row.</li> <li>The other callbacks in that SQLite call skip their Ruby code: collation comparators return 0, functions and aggregates report an error to SQLite, the busy handler stops retrying and the authorizer denies.</li> <li><code>Database#execute_batch2</code> now raises the exception from a custom function, instead of <code>SQLite3::SQLException</code> "Ruby Exception occurred".</li> <li>An exception from a callback that SQLite runs during <code>Statement#reset!</code> or <code>Database#close</code> is discarded.</li> </ul> </li> <li>The extension keeps per-fiber state in <code>Thread.current[:__sqlite3_callback_frames__]</code>. A query raises <code>FrozenError</code> on a <code>Thread</code> that was frozen before its first query. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>When SQLite can't allocate an aggregate's context, the query raises <code>SQLite3::MemoryException</code> instead of aborting the process. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h3>Improved</h3> <ul> <li><code>Statement#step</code> no longer allocates and discards an array when the statement has no more rows. This saves one object per statement execution. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/758">#758</a> <a href="https://github.com/thomasklemm"><code>@thomasklemm</code></a></li> <li><code>ObjectSpace.dump</code> and heap profilers now report <code>SQLite3::Database</code> and <code>SQLite3::Statement</code> objects under their own type names, instead of <code>SQLite3::Backup</code>. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h3>Documentation</h3> <ul> <li>Document that parameters bound by <code>Statement#execute</code>, <code>#execute!</code>, <code>#bind_param</code> and <code>#bind_params</code> stay bound across executions, and that <code>Statement#clear_bindings!</code> clears them. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/751">#751</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h2>2.10.1 / 2026-10-19</h2> <h3>Dependencies</h3> <ul> <li>Vendored sqlite is updated to <a href="https://www.sqlite.org/releaselog/3_54_1.html">v3.54.1</a> (from v3.54.0). This release contains a fix for a possible heap buffer overflow on 32-bit builds, including the precompiled <code>x86-linux-gnu</code> and <code>x86-linux-musl</code> gems. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/756">#756</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h3>Improved</h3> <ul> <li><code>Database#define_aggregator</code> no longer creates an anonymous class for each aggregate function it defines. Each invocation of the function still runs on a clone of the template object. <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/752">#752</a> <a href="https://github.com/jhawthorn"><code>@jhawthorn</code></a></li> </ul> <h2>2.10.0 / 2026-10-13</h2> <h3>Dependencies</h3> <ul> <li> <p>Vendored sqlite is updated to <a href="https://www.sqlite.org/releaselog/3_54_0.html">v3.54.0</a> (from v3.53.2). <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/750">#750</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></p> <p>Notable changes in this version include:</p> <ul> <li><code>ALTER TABLE</code> now raises an error when adding, renaming, or dropping a column named <code>ROWID</code>, <code>_ROWID_</code>, or <code>OID</code>.</li> <li>The authorizer callback is now invoked for SQL functions in the <code>DEFAULT</code> clauses of <code>CREATE TABLE</code> statements.</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sparklemotion/sqlite3-ruby/commit/1d2aa7ab53f1bb98a5dd64e51220ff9a83cd07f5"><code>1d2aa7a</code></a> version bump to v2.10.2</li> <li><a href="https://github.com/sparklemotion/sqlite3-ruby/commit/5329061f1c7c62a9139b57c61ca5c25c63f993af"><code>5329061</code></a> Merge pull request <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/764">#764</a> from sparklemotion/card-342-callback-lifetime-followups</li> <li><a href="https://github.com/sparklemotion/sqlite3-ruby/commit/8e81efac697ca90ab85f944b0dff013614cd9e23"><code>8e81efa</code></a> test: stop counting the finalizer probes</li> <li><a href="https://github.com/sparklemotion/sqlite3-ruby/commit/60bf60e655f6ddc04f97135443c1c1b013428ac7"><code>60bf60e</code></a> doc: list the callback behavior changes in CHANGELOG</li> <li><a href="https://github.com/sparklemotion/sqlite3-ruby/commit/083d734e592d2dde4eb5eec57a28b99447e586e3"><code>083d734</code></a> Stop a raise inside a callback from deadlocking other threads</li> <li><a href="https://github.com/sparklemotion/sqlite3-ruby/commit/ab14f58ce807663e05dc39d66905b8eb16cf17fe"><code>ab14f58</code></a> doc: add PR number to CHANGELOG</li> <li><a href="https://github.com/sparklemotion/sqlite3-ruby/commit/e4f3d58e55c5d3246f3e61a01a793a40a3e3c24e"><code>e4f3d58</code></a> Merge pull request <a href="https://redirect.github.com/sparklemotion/sqlite3-ruby/issues/763">#763</a> from sparklemotion/card-345-fork-safety-test-flake</li> <li><a href="https://github.com/sparklemotion/sqlite3-ruby/commit/dab7eb26ef98dc1d94dc209ceabec5d98323df1d"><code>dab7eb2</code></a> doc: update CHANGELOG</li> <li><a href="https://github.com/sparklemotion/sqlite3-ruby/commit/03e54697a6c0bd9f075e2cf7c71d98aac48eb1e4"><code>03e5469</code></a> test: release aggregate instances on more routes to xFinal</li> <li><a href="https://github.com/sparklemotion/sqlite3-ruby/commit/621c692ba4fffffca2cfc30d84d48ec00938ab97"><code>621c692</code></a> test: skip compaction tests where compaction raises</li> <li>Additional commits viewable in <a href="https://github.com/sparklemotion/sqlite3-ruby/compare/v2.0.2...v2.10.2">compare view</a></li> </ul> </details> <br /> Updates `minitest` from 5.24.0 to 6.0.6 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/minitest/minitest/blob/master/History.rdoc">minitest's changelog</a>.</em></p> <blockquote> <p>=== 6.0.6 / 2026-04-30</p> <ul> <li> <p>2 bug fixes:</p> <ul> <li>Fix using assert_equal/same/nil w/ BasicObject by comparing w/ <code>nil == exp</code>. (mtasaka)</li> <li>Removed private Assertions#_where as it is no longer used.</li> </ul> </li> </ul> <p>=== 6.0.5 / 2026-04-20</p> <ul> <li> <p>2 bug fixes:</p> <ul> <li>Avoid circular requires in lib/minitest/server_plugin.rb.</li> <li>Raise TypeError if assert_raises is passed anything but modules/classes.</li> </ul> </li> </ul> <p>=== 6.0.4 / 2026-04-14</p> <ul> <li> <p>1 bug fix:</p> <ul> <li>Fixed refute_predicate to call assert_respond_to w/ include_all:true like assert_predicate does. (jparker)</li> </ul> </li> </ul> <p>=== 6.0.3 / 2026-03-31</p> <ul> <li> <p>1 bug fix:</p> <ul> <li>assert_same(nil, value) no longer allowed. Use assert_nil to be explicit. (paddor)</li> </ul> </li> </ul> <p>=== 6.0.2 / 2026-02-23</p> <ul> <li> <p>7 bug fixes:</p> <ul> <li>Added missing drb dependency from minitest-server. (y-yagi)</li> <li>Cleaned up bisect's sub-commands to load files directly, not ruby+require.</li> <li>Fixed bisect to use same cmd ($0) to run tests as original invocation.</li> <li>load server_plugin if server is loaded. (y-yagi)</li> <li>Manipulate local args instead of ARGV in Sprint.run.</li> <li>Only show --bisect in usage if using minitest.</li> <li>Remove -Itest:lib from bisect's rb_flags since bin/minitest adds them.</li> </ul> </li> </ul> <p>=== 6.0.1 / 2025-12-26</p> <ul> <li> <p>1 minor enhancement:</p> <ul> <li>Added new rake task <code>test:fu</code> to Minitest::TestTask, to only run tests with FU (focused units?) in their name. This should mostly obviate the need for the minitest-focus plugin.</li> </ul> </li> <li> <p>5 bug fixes:</p> <ul> <li>Fixed --help and --version exiting 1. (grosser)</li> <li>Fixed method signature of Minitest::Benchmark.run. (flavorjones)</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/minitest/minitest/commit/f6180b07ea6e8504a71d220246da0875f392c51c"><code>f6180b0</code></a> prepped for release</li> <li><a href="https://github.com/minitest/minitest/commit/23bc7f25a8853b9b3c75b9b73c65d231e42cb452"><code>23bc7f2</code></a> - Removed private Assertions#_where as it is no longer used.</li> <li><a href="https://github.com/minitest/minitest/commit/c471347e5daf7f3e362c530170ae3302edad9117"><code>c471347</code></a> - Fix using assert_equal/same/nil w/ BasicObject by comparing w/ <code>nil == exp</code>...</li> <li><a href="https://github.com/minitest/minitest/commit/89c3e6255ac7833925368ad3c2a4d51865c9f245"><code>89c3e62</code></a> Branching minitest to version 6.0.5</li> <li><a href="https://github.com/minitest/minitest/commit/6790f86f894637768a1f64cfe50959d2029b65ed"><code>6790f86</code></a> - Raise TypeError if assert_raises is passed anything but modules/classes.</li> <li><a href="https://github.com/minitest/minitest/commit/235fa5b760f445f2fcb2a479bd8179138b9a8e33"><code>235fa5b</code></a> - Avoid circular requires in lib/minitest/server_plugin.rb.</li> <li><a href="https://github.com/minitest/minitest/commit/5f0482ed086272f856dbc1bb69697a8b4c486744"><code>5f0482e</code></a> prepped for release</li> <li><a href="https://github.com/minitest/minitest/commit/b12f87f4f8962694ff52e39e50190b8a1f907992"><code>b12f87f</code></a> - Fixed refute_predicate to call assert_respond_to w/ include_all:true like a...</li> <li><a href="https://github.com/minitest/minitest/commit/649b075c5ad70fa924ba5a71e7eae6a7026a1c23"><code>649b075</code></a> prepped for release</li> <li><a href="https://github.com/minitest/minitest/commit/a2d0904767e058c962dda89e37192097cce14de2"><code>a2d0904</code></a> - assert_same(nil, value) no longer allowed. Use assert_nil to be explicit. (...</li> <li>Additional commits viewable in <a href="https://github.com/minitest/minitest/compare/v5.24.0...v6.0.6">compare view</a></li> </ul> </details> <br /> Updates `steep` from 1.6.0 to 2.1.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/soutaro/steep/releases">steep's releases</a>.</em></p> <blockquote> <h2>2.1.0</h2> <p><a href="https://github.com/soutaro/steep/wiki/Release-Note-2.1">Release note</a></p> <p>Steep 2.1 opens the running server to commands other than the editor's. <code>steep langserver</code> now binds the per-project UNIX socket that <code>steep server</code> serves, so <code>steep check</code> and <code>steep query</code> reach the language server the editor is already running instead of needing a daemon of their own, and the new <code>steep query diagnostics</code> reads the diagnostics that server has already computed rather than starting a type check of its own. Both are aimed at tools that edit files on disk and want fast feedback, coding agents in particular.</p> <p>The type checker gains support for Ruby 3.4's <code>it</code> block parameter, and RBS is updated to 4.2.0.</p> <h3>Type checker core</h3> <ul> <li>Infer tuple types for array literals against pair interface hints like <code>Hash::_Pair</code> (<a href="https://redirect.github.com/soutaro/steep/pull/2253">#2253</a>)</li> <li>Accept a type alias as the type of a lambda's block parameter (<a href="https://redirect.github.com/soutaro/steep/pull/2263">#2263</a>)</li> <li>Build expensive log tags only when something is logged (<a href="https://redirect.github.com/soutaro/steep/pull/2271">#2271</a>)</li> <li>Accept block-pass arguments for optional blocks (<a href="https://redirect.github.com/soutaro/steep/pull/2261">#2261</a>)</li> <li>feat: support the <code>it</code> block parameter (<a href="https://redirect.github.com/soutaro/steep/pull/2238">#2238</a>)</li> <li>Fix <code>UnreachableBranch</code> on <code>==</code> against literal supertype (<code>Symbol</code> / <code>Integer</code> / <code>String</code>) (<a href="https://redirect.github.com/soutaro/steep/pull/2223">#2223</a>)</li> </ul> <h3>Commandline tool</h3> <ul> <li>Stop <code>steep query definition</code> from hanging on inline sources (<a href="https://redirect.github.com/soutaro/steep/pull/2276">#2276</a>)</li> <li>Serve steep query/check through the language server's UNIX socket (<a href="https://redirect.github.com/soutaro/steep/pull/2273">#2273</a>)</li> <li>Add <code>steep query diagnostics</code> (<a href="https://redirect.github.com/soutaro/steep/pull/2274">#2274</a>)</li> <li>Point the Steepfile template, README and CLAUDE.md at rbs collection (<a href="https://redirect.github.com/soutaro/steep/pull/2269">#2269</a>)</li> </ul> <h3>Miscellaneous</h3> <ul> <li>Update RBS to 4.2.0 (<a href="https://redirect.github.com/soutaro/steep/pull/2277">#2277</a>)</li> <li>Fix <code>bin/steep-check.rb</code> for the current API (<a href="https://redirect.github.com/soutaro/steep/pull/2270">#2270</a>)</li> <li>Update RBS to 4.2.0.pre.1 (<a href="https://redirect.github.com/soutaro/steep/pull/2267">#2267</a>)</li> <li>Fix Ruby warnings printed while running tests (<a href="https://redirect.github.com/soutaro/steep/pull/2266">#2266</a>)</li> <li>Run test subprocesses outside the parent Bundler env (<a href="https://redirect.github.com/soutaro/steep/pull/2225">#2225</a>)</li> </ul> <h2>1.10.0</h2> <p><a href="https://github.com/soutaro/steep/wiki/Release-Note-1.10">Release note</a></p> <p>Nothing changed since <code>1.10.0.pre.3</code>.</p> <h2>1.10.0.pre.3</h2> <p><a href="https://github.com/soutaro/steep/wiki/Release-Note-1.10">Release note</a></p> <h3>Type checker core</h3> <ul> <li>Fix block type checking (<a href="https://redirect.github.com/soutaro/steep/pull/1534">#1534</a>)</li> </ul> <h2>1.10.0.pre.2</h2> <p><a href="https://github.com/soutaro/steep/wiki/Release-Note-1.10">Release note</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/soutaro/steep/blob/master/CHANGELOG.md">steep's changelog</a>.</em></p> <blockquote> <h2>2.1.0 (2026-08-27)</h2> <p>Steep 2.1 opens the running server to commands other than the editor's. <code>steep langserver</code> now binds the per-project UNIX socket that <code>steep server</code> serves, so <code>steep check</code> and <code>steep query</code> reach the language server the editor is already running instead of needing a daemon of their own, and the new <code>steep query diagnostics</code> reads the diagnostics that server has already computed rather than starting a type check of its own. Both are aimed at tools that edit files on disk and want fast feedback, coding agents in particular.</p> <p>The type checker gains support for Ruby 3.4's <code>it</code> block parameter, and RBS is updated to 4.2.0.</p> <h3>Type checker core</h3> <ul> <li>Infer tuple types for array literals against pair interface hints like <code>Hash::_Pair</code> (<a href="https://redirect.github.com/soutaro/steep/pull/2253">#2253</a>)</li> <li>Accept a type alias as the type of a lambda's block parameter (<a href="https://redirect.github.com/soutaro/steep/pull/2263">#2263</a>)</li> <li>Build expensive log tags only when something is logged (<a href="https://redirect.github.com/soutaro/steep/pull/2271">#2271</a>)</li> <li>Accept block-pass arguments for optional blocks (<a href="https://redirect.github.com/soutaro/steep/pull/2261">#2261</a>)</li> <li>feat: support the <code>it</code> block parameter (<a href="https://redirect.github.com/soutaro/steep/pull/2238">#2238</a>)</li> <li>Fix <code>UnreachableBranch</code> on <code>==</code> against literal supertype (<code>Symbol</code> / <code>Integer</code> / <code>String</code>) (<a href="https://redirect.github.com/soutaro/steep/pull/2223">#2223</a>)</li> </ul> <h3>Commandline tool</h3> <ul> <li>Stop <code>steep query definition</code> from hanging on inline sources (<a href="https://redirect.github.com/soutaro/steep/pull/2276">#2276</a>)</li> <li>Serve steep query/check through the language server's UNIX socket (<a href="https://redirect.github.com/soutaro/steep/pull/2273">#2273</a>)</li> <li>Add <code>steep query diagnostics</code> (<a href="https://redirect.github.com/soutaro/steep/pull/2274">#2274</a>)</li> <li>Point the Steepfile template, README and CLAUDE.md at rbs collection (<a href="https://redirect.github.com/soutaro/steep/pull/2269">#2269</a>)</li> </ul> <h3>Miscellaneous</h3> <ul> <li>Update RBS to 4.2.0 (<a href="https://redirect.github.com/soutaro/steep/pull/2277">#2277</a>)</li> <li>Fix <code>bin/steep-check.rb</code> for the current API (<a href="https://redirect.github.com/soutaro/steep/pull/2270">#2270</a>)</li> <li>Update RBS to 4.2.0.pre.1 (<a href="https://redirect.github.com/soutaro/steep/pull/2267">#2267</a>)</li> <li>Fix Ruby warnings printed while running tests (<a href="https://redirect.github.com/soutaro/steep/pull/2266">#2266</a>)</li> <li>Run test subprocesses outside the parent Bundler env (<a href="https://redirect.github.com/soutaro/steep/pull/2225">#2225</a>)</li> </ul> <h2>2.0.0 (2026-04-14)</h2> <h3>Summary</h3> <p>Steep 2.0 introduces three major new features.</p> <ul> <li><strong>Inline RBS Declaration (Experimental)</strong>: Files configured with <code>check(inline: true)</code> can now have RBS type declarations written directly in Ruby code. Supports method types, <code>attr_*</code>, instance variables, constants, mixins, inheritance, and more, with editor integration for completion, hover, and go-to-definition.</li> <li><strong><code>steep server</code> command</strong>: A daemon server that persists the RBS environment. By connecting to the daemon during <code>steep check</code>, it skips RBS environment setup and speeds up type checking.</li> <li><strong><code>steep query</code> command</strong>: Query type information from the daemon server. <code>steep query hover</code> retrieves hover information and <code>steep query definition</code> retrieves definition locations, making type information accessible outside of editors.</li> </ul> <p>In addition, this release includes many improvements such as type narrowing for <code>block_given?</code>, type checking arbitrary expressions with the <code>steep check</code> with <code>-e</code> option, and Prism parser introduction for Ruby 3.4+.</p> <h3>Type checker core</h3> <ul> <li>Handle RBS library syntax error</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/soutaro/steep/commit/3b75b367c9ad3d07f8f053c0c1f28e4bab560f5d"><code>3b75b36</code></a> Merge pull request <a href="https://redirect.github.com/soutaro/steep/issues/2279">#2279</a> from soutaro/claude/release-2-1-0-prep-892981</li> <li><a href="https://github.com/soutaro/steep/commit/89d69d5dd072e7c64a8d8747ef1c049adea017c5"><code>89d69d5</code></a> Version 2.1.0</li> <li><a href="https://github.com/soutaro/steep/commit/d09cc36d1b307465626fb074d3bbb3786b142fd9"><code>d09cc36</code></a> Merge pull request <a href="https://redirect.github.com/soutaro/steep/issues/2277">#2277</a> from soutaro/claude/rbs-4-2-update-3eb855</li> <li><a href="https://github.com/soutaro/steep/commit/219391e4111d6834fd3f12bd700dbc2e5595cd9f"><code>219391e</code></a> Stop checking whether <code>Process.warmup</code> is defined</li> <li><a href="https://github.com/soutaro/steep/commit/716b3b520f68eeaf51afe474f9d8b4e93a5eca8c"><code>716b3b5</code></a> Update RBS to 4.2.0</li> <li><a href="https://github.com/soutaro/steep/commit/e610187b509deb8af4d284663150601182c6d27b"><code>e610187</code></a> Merge pull request <a href="https://redirect.github.com/soutaro/steep/issues/2240">#2240</a> from soutaro/dependabot/github_actions/actions/check...</li> <li><a href="https://github.com/soutaro/steep/commit/9c67151f9617570f09e991433b96074c4bbeb72c"><code>9c67151</code></a> Merge pull request <a href="https://redirect.github.com/soutaro/steep/issues/2253">#2253</a> from sferik/pair-interface-tuple-hint</li> <li><a href="https://github.com/soutaro/steep/commit/5812d9f0e8499994abb35cafc42cc51ac434a598"><code>5812d9f</code></a> Add regression tests for pair interface hints on array literals</li> <li><a href="https://github.com/soutaro/steep/commit/75255a959d47159adc93d97f7f176d3e67d3d84b"><code>75255a9</code></a> Merge pull request <a href="https://redirect.github.com/soutaro/steep/issues/2276">#2276</a> from soutaro/claude/fix-goto-inline-source</li> <li><a href="https://github.com/soutaro/steep/commit/5431215cc1823e64bb92b113105b569cdd616926"><code>5431215</code></a> Merge pull request <a href="https://redirect.github.com/soutaro/steep/issues/2278">#2278</a> from soutaro/claude/gemspec-dependabot-block-3eb855</li> <li>Additional commits viewable in <a href="https://github.com/soutaro/steep/compare/v1.6.0...v2.1.0">compare view</a></li> </ul> </details> <br /> Updates `rubocop` from 1.74.0 to 1.92.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rubocop/rubocop/releases">rubocop's releases</a>.</em></p> <blockquote> <h2>RuboCop v1.92.2</h2> <h3>Bug fixes</h3> <ul> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16147">#16147</a>: Fix a false negative for <code>Lint/RedundantCopDisableDirective</code> when autocorrection shifts lines. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16104">#16104</a>: Fix a false negative for <code>Style/FloatDivision</code> with a trailing comment. ([<a href="https://github.com/a-lavis"><code>@a-lavis</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16146">#16146</a>: Fix a false positive for <code>Lint/RedundantCopDisableDirective</code> with a repeated disable. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16176">#16176</a>: Fix a false positive for <code>Style/RaiseArgs</code> with <code>EnforcedStyle: compact</code> and constructor arguments. ([<a href="https://github.com/bbatsov"><code>@bbatsov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16183">#16183</a>: Fix an error for <code>Layout/RescueEnsureAlignment</code> with index or-assignment. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16158">#16158</a>: Fix an error for <code>Style/NumericPredicate</code> with a predicate nested in the receiver of another. ([<a href="https://github.com/Starlexxx"><code>@Starlexxx</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16125">#16125</a>: Fix an error for <code>Style/RedundantCondition</code> with a nested modifier <code>if</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16175">#16175</a>: Fix an incorrect autocorrect for <code>Layout/HashAlignment</code> with multiple styles and pairs on one line. ([<a href="https://github.com/bbatsov"><code>@bbatsov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16139">#16139</a>: Fix an incorrect autocorrect for <code>Layout/LineLength</code> with code after a heredoc opener. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16160">#16160</a>: Fix an incorrect autocorrect for <code>Layout/SingleLineBlockChain</code> with <code>Style/MapToSet</code>. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16002">#16002</a>: Fix an incorrect autocorrect for <code>Layout/SpaceBeforeBlockBraces</code> with a brace after a line continuation. ([<a href="https://github.com/Starlexxx"><code>@Starlexxx</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16175">#16175</a>: Fix an incorrect autocorrect for <code>Layout/SpaceBeforeBlockBraces</code> with a brace after a heredoc body. ([<a href="https://github.com/bbatsov"><code>@bbatsov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16180">#16180</a>: Fix an incorrect autocorrect for <code>Lint/InterpolationCheck</code> in a split string. ([<a href="https://github.com/Starlexxx"><code>@Starlexxx</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16143">#16143</a>: Fix an incorrect autocorrect for <code>Lint/ParenthesesAsGroupedExpression</code> with a command call operand. ([<a href="https://github.com/koic"><code>@koic</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16170">#16170</a>: Fix an incorrect autocorrect for <code>Lint/RedundantSplatExpansion</code> with <code>Array.new</code> as a method argument. ([<a href="https://github.com/wleeaf"><code>@wleeaf</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16178">#16178</a>: Fix an incorrect autocorrect for <code>Style/AndOr</code> with a binary operator method operand. ([<a href="https://github.com/bbatsov"><code>@bbatsov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16150">#16150</a>: Fix an incorrect autocorrect for <code>Style/AndOr</code> with a command call that takes a <code>do</code> block. ([<a href="https://github.com/Starlexxx"><code>@Starlexxx</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16178">#16178</a>: Fix an incorrect autocorrect for <code>Style/AndOr</code> with a method chained onto a command call's do block. ([<a href="https://github.com/bbatsov"><code>@bbatsov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16178">#16178</a>: Fix an incorrect autocorrect for <code>Style/AndOr</code> with a negated command call that takes a do block. ([<a href="https://github.com/bbatsov"><code>@bbatsov</code></a>][])</li> <li><a href="https://redirect.github.com/rubocop/rubocop/pull/16178">#16178</a>: Fix an incorrect autocorrect for <code>Style/AndOr</code> with a…