Skip to content

Tags

Tags

v1.0.17

Toggle v1.0.17's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
fix(tests): update TestInformation_GetVersion to use PG_EXPECTED_MAJO…

…R for version checks

v1.0.16

Toggle v1.0.16's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
 fix(desc): treat a bare value option as the column-name shorthand

  A bare tag option that is not a boolean flag is documented as the column-name shorthand (pg:"id" is
  name=id), but the parser gave every bare option the value "true" before switching on its key. A bare name
  therefore set the column name to "true": pg:"name,unique" created a unique column called true. The
  Product model in _examples/README.md and six structs in kataras/umls hit it.

  Bare name, type, default, check, generated, conflict, ref, reference, references and unique_index now
  name the column, instead of producing an invalid type, DEFAULT true, CHECK (true) and similar. Boolean
  flags and bare index are unchanged. A database already created from such a tag keeps its column called
  true, and CheckSchema reports it; the changelog gives the ALTER TABLE to rename it.

v1.0.15

Toggle v1.0.15's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
chore: update changelog for version 1.0.15 release

v1.0.14

Toggle v1.0.14's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
fix(retry): respect context cancellation before backoff delay

Ensure that the retry loop stops immediately when a context is canceled,
even if the calculated backoff delay is zero. Previously, a zero delay
drawn from the jitter range would allow the loop to proceed to another
attempt before checking the context.

This change introduces `waitDelay` to explicitly check `ctx.Err()`
before evaluating the delay duration. This makes the retry mechanism
more deterministic and responsive to cancellation.

- Refactor `waitBackoff` to use a new `waitDelay` helper.
- Add `TestWaitDelayCanceledDuringWait` to verify cancellation during
  active sleeps.
- Add `TestWaitDelayZeroDelayHonorsCanceledContext` to ensure context
  is checked before zero-duration delays.
- Update `CHANGELOG.md` with details on the fix.

v1.0.13

Toggle v1.0.13's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
docs: update changelog with CI linting details

v1.0.12

Toggle v1.0.12's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
feat: parse column generation expressions

Update the database information schema query to extract the
`generation_expression` for generated columns. Map this expression
into the column description and update the struct tag builder to
handle both strict and non-strict output for generated fields.

v1.0.11

Toggle v1.0.11's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
go 1.25

v1.0.10

Toggle v1.0.10's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
fix test

v1.0.9

Toggle v1.0.9's commit message

Unverified

This user has not yet uploaded their public signing key.
update LICENSE

v1.0.8

Toggle v1.0.8's commit message

Unverified

This user has not yet uploaded their public signing key.
update x crypto dep