From bf987bbc334d565193eac2b16cf0299a24815304 Mon Sep 17 00:00:00 2001 From: doron050 Date: Mon, 3 Aug 2026 16:39:41 +0000 Subject: [PATCH] Release Prep v0.24.0 --- README.md | 5 +++-- docs/02_Quickstart.md | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 460308d7..92afdbc4 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ version: "2" plugins: - name: csharp wasm: - url: https://github.com/DaredevilOSS/sqlc-gen-csharp/releases/download/v0.23.0/sqlc-gen-csharp.wasm - sha256: 14aaa98ca141bde2160df534f6d19036d474dba5cd168d6096cf881d33153338 + url: https://github.com/DaredevilOSS/sqlc-gen-csharp/releases/download/v0.24.0/sqlc-gen-csharp.wasm + sha256: a8c0552e398a515159535aa51d97d2f5cc3b3a0313c34074181b658d89f9c299 sql: # For PostgresSQL - schema: schema.sql @@ -50,6 +50,7 @@ sql: | overrideDapperVersion | default:
`2.1.35`
values: The desired Dapper version | Yes | If `useDapper` is set to `true`, this option allows you to override the version of Dapper to be used. | | Override | values: A nested override value like [this](#override-option). | Yes | Allows you to override the generated C# data types for specific columns in specific queries. This option accepts a `query_name:column_name` mapping and the overriden data type. | | | useCentralPackageManagement | default: `false`
values: `false`,`true` | Yes | If true, the code is generated to support central package management. | +| useProperSingularization | default: `false`
values: `false`,`true` | Yes | When true, model names are singularized using English grammar rules (`policies` -> `Policy`, `statuses` -> `Status`). Defaults to the legacy behavior of trimming trailing `s` characters, which mangles some names (`policies` -> `Policie`). Opt-in because enabling it renames existing generated classes. | | withAsyncSuffix | default: `true`
values: `false`,`true` | Yes | When true, async methods will have the "Async" suffix appended to their names (e.g., `GetAuthorAsync`). When false, async methods will not have the suffix (e.g., `GetAuthor`). | | withCancellationToken | default: `false`
values: `false`,`true` | Yes | When true, every generated method takes an optional trailing `CancellationToken cancellationToken = default`, threaded into every async DB call so in-flight queries can be cancelled. See [Cancellation](#cancellation). When false (default), generated output is unchanged. | diff --git a/docs/02_Quickstart.md b/docs/02_Quickstart.md index c7aecf9e..1e761842 100644 --- a/docs/02_Quickstart.md +++ b/docs/02_Quickstart.md @@ -4,8 +4,8 @@ version: "2" plugins: - name: csharp wasm: - url: https://github.com/DaredevilOSS/sqlc-gen-csharp/releases/download/v0.23.0/sqlc-gen-csharp.wasm - sha256: 14aaa98ca141bde2160df534f6d19036d474dba5cd168d6096cf881d33153338 + url: https://github.com/DaredevilOSS/sqlc-gen-csharp/releases/download/v0.24.0/sqlc-gen-csharp.wasm + sha256: a8c0552e398a515159535aa51d97d2f5cc3b3a0313c34074181b658d89f9c299 sql: # For PostgresSQL - schema: schema.sql