Repository navigation
Releases
v0.14.0
Plugin sha256: 29b83c040c909259b7f6c1d6eaf15eeaa93d22ddb7d296142d78b046abf369e1
Usage
version: '2'
plugins:
- name: ruby
wasm:
url: https://github.com/DaredevilOSS/sqlc-gen-ruby/releases/download/v0.14.0/sqlc-gen-ruby.wasm
sha256: 29b83c040c909259b7f6c1d6eaf15eeaa93d22ddb7d296142d78b046abf369e1What's Changed
New features
- Support :execresult, :batch*, more PostgreSQL types, composites, SQLite affinity by @devin-ai-integration[bot] in #43
- Support Ruby 4.0 by @devin-ai-integration[bot] in #48
- Fix bugs found by the independent pre-release check; E2E on every supported Ruby by @devin-ai-integration[bot] in #49
- CI: run codegen checks and E2E on macOS and Windows by @devin-ai-integration[bot] in #50
- Aggregate E2E type coverage into per-engine type-family tables by @devin-ai-integration[bot] in #63
- Support common application usage: forked workers, shared connections, DATABASE_URL by @devin-ai-integration[bot] in #64
Bug fixes
- Fix bugs found by end-to-end testing of v0.13.0 by @devin-ai-integration[bot] in #45
- Fix wrong generated output (names, outer-join embeds, PG arrays) by @devin-ai-integration[bot] in #42
- Fix bugs found by the pre-release sweep, update docs by @devin-ai-integration[bot] in #46
- Fix bugs found by the final pre-release sweep by @devin-ai-integration[bot] in #47
- Fix bugs found by the second pre-release check by @devin-ai-integration[bot] in #51
- Fix pg reconnect inside a transaction, mysql2 closed client after Async stop, SQLite hash rows by @devin-ai-integration[bot] in #52
- Fix name collisions, SQLite :execresult with RETURNING, cross-fiber transactions and late PostgreSQL enum arrays by @devin-ai-integration[bot] in #53
- Fix keyword enum constants, interrupts at BEGIN/COMMIT, Ruby 3.1 RuboCop and pg re-prepare after DEALLOCATE ALL by @devin-ai-integration[bot] in #54
- Fix prepared-statement name collisions, row members named like row hooks, and CamelCase query file classes by @devin-ai-integration[bot] in #55
- Fix interrupted PostgreSQL PREPAREs, SQLite JSON/UUID read as numbers, Has/Is query names; MySQL :copyfrom takes any Enumerable by @devin-ai-integration[bot] in #56
- Fix MySQL :copyfrom into mixed-case tables; ArgumentError for unknown isolation:; doc gaps by @devin-ai-integration[bot] in #57
- Fix MySQL Thread#kill during a query and inconsistent rubyVersion "3" decisions by @devin-ai-integration[bot] in #58
- Keep the instant of MySQL Time parameters whatever their UTC offset by @devin-ai-integration[bot] in #59
- Fix pg Thread#kill during queries, cached plans after column type changes, timestamp instants by @devin-ai-integration[bot] in #60
- Keep DateTime instants in pg timestamp params and Timeout::Error on Ruby 3.1's bundled timeout by @devin-ai-integration[bot] in #61
- Raise instead of committing a MySQL transaction the server rolled back on a deadlock by @devin-ai-integration[bot] in #62
Full Changelog: v0.13.0...v0.14.0
v0.13.0
Plugin sha256: 814c831818b421daf35c6f6292520b2d2b1fb07dd4ad83468259e61a84484950
Usage
version: '2'
plugins:
- name: ruby
wasm:
url: https://github.com/DaredevilOSS/sqlc-gen-ruby/releases/download/v0.13.0/sqlc-gen-ruby.wasm
sha256: 814c831818b421daf35c6f6292520b2d2b1fb07dd4ad83468259e61a84484950What's Changed
Other changes
- small fix to release action by @SockworkOrange in #36
- standardize list construction across the project by @SockworkOrange in #37
- Update README.md by @SockworkOrange in #38
- Port the plugin from C# to Ruby, shipped as a ruby.wasm sqlc plugin by @doron050 in #39
- Speed up CI: add x86_64-linux to Gemfile.lock so native gems install prebuilt by @doron050 in #41
- Bump the gems group across 1 directory with 8 updates by @dependabot[bot] in #40
New Contributors
- @doron050 made their first contribution in #39
- @dependabot[bot] made their first contribution in #40
Full Changelog: v0.12.0...v0.13.0
v0.12.0
Release version v0.12.0
Release sha256 is 78c02bec155ce4937715d4d2023a4d3d28afaebd7c7ca95c9f8ab85efaef638c
Configuration example
version: '2'
plugins:
- name: ruby
wasm:
url: https://github.com/DaredevilOSS/sqlc-gen-ruby/releases/download/v0.12.0/sqlc-gen-ruby.wasm
sha256: 78c02bec155ce4937715d4d2023a4d3d28afaebd7c7ca95c9f8ab85efaef638cChangelog
15db2ec - Ilan Uzan, 6 minutes ago : fix release action (#35)
ba169bb - github-actions[bot], 27 hours ago : update docs (#34)
746a854 - Ilan Uzan, 27 hours ago : [release] [minor] add sqlite3 support (#33)
03ad3ac - Ilan Uzan, 3 days ago : update README (#32)
62259ab - github-actions[bot], 13 days ago : update docs (#30)
Contributors
v0.11.0
Release version v0.11.0
Release sha256 is a291b651934f72f2cf537c4b285447da037041e341ac21dd228b035b367797cc
Configuration example
version: '2'
plugins:
- name: ruby
wasm:
url: https://github.com/DaredevilOSS/sqlc-gen-ruby/releases/download/v0.11.0/sqlc-gen-ruby.wasm
sha256: a291b651934f72f2cf537c4b285447da037041e341ac21dd228b035b367797ccChangelog
d4c65a2 - Ilan Uzan, 5 minutes ago : fixed check commit step (#31)
3882c16 - Ilan Uzan, 28 minutes ago : [release] [minor] added type validation with steep check (#29)
538318f - Ilan Uzan, 27 hours ago : added rbs type support in generated code (#28)
bfb32fd - Ilan Uzan, 2 days ago : fixed CI status indicator in README (#27)
Contributors
v0.10.1
Release version v0.10.1
Release sha256 is 73980327b3fee257cee7337e195ba5e5882c2b1420f890a373155cf39a8a3187
Configuration example
version: '2'
plugins:
- name: ruby
wasm:
url: https://github.com/DaredevilOSS/sqlc-gen-ruby/releases/download/v0.10.1/sqlc-gen-ruby.wasm
sha256: 73980327b3fee257cee7337e195ba5e5882c2b1420f890a373155cf39a8a3187Changelog
- Split main action to CI and release
- fixed indentation issue in generated ruby code
Contributors
v0.10.0
Release version v0.10.0
Release sha256 is 7382581cab4519646c024cc999885cf6502510119a7dc93020b053080c401f12
Configuration example
version: '2'
plugins:
- name: ruby
wasm:
url: https://github.com/DaredevilOSS/sqlc-gen-ruby/releases/download/v0.10.0/sqlc-gen-ruby.wasm
sha256: 7382581cab4519646c024cc999885cf6502510119a7dc93020b053080c401f12Changelog
The 1st version of the plugin supports:
- Ruby versions 3.1 / 3.2 / 3.3
- MySQL (via mysql2 gem) & PostgreSQL (via pg gem) - with connection pool supprt.
- Generating a gemfile with the rquired dependencies (disabled by default)
Contributors
- @SockworkOrange
- @doron050 for helping with all things infra in the project:)