Skip to content

Tags: opendoor/pggen

Tags

v0.3.5

Toggle v0.3.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump golang.org/x/crypto from 0.0.0-20210322153248-0c34fe9e7dc2 to 0.…

…1.0 (#196)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210322153248-0c34fe9e7dc2 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v0.3.4

Toggle v0.3.4's commit message
release version v0.3.4

This version adds support for a new `box_result` config option
on tables and queries that causes pggen generated code to return
slices of pointers to structs rather than slices of structs.
Many thanks to @miniscruff for raising this issue and implementing
the feature!

v0.3.3

Toggle v0.3.3's commit message
release v0.3.3

This version brings two new features:
    - The ability to add comments to statements
    - The ability to ask pggen to generate a statement
      wrapper with nullable arguments.

Both of these features already existed for queries. They
have just been ported over to statements.

v0.3.2

Toggle v0.3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add ability to not fail on partial list results (#184)

* Add ability to not fail on partial list results

* fixed my test

v0.3.1

Toggle v0.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add disable timestamps (#183)

This patch adds a new option to both the Insert and Update CRUD
routines to tell them not to automatically set timestamps.

v0.3.0

Toggle v0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
opendoor-labs -> opendoor (#174)

This patch switches the references to github.com/opendoor-labs
over to the new repository location.

This also rips out circleci since it doesn't work with the new
namespace.

v0.2.1

Toggle v0.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
middleware: add support for error converter func (#173)

This patch adds support for injecting a routine for
converting pggen errors to errors of a different sort.
It is already possible to intercept errors systemically
at the level of interactions with the database driver,
but pggen itself creates a few errors that cannot be
intercepted in this way (including the NotFoundError,
which is probably the most interesting sort of error
that pggen returns).

v0.2.0

Toggle v0.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
IsNotFoundError: check causal chain as well (#172)

This is a breaking change, but it shouldn't impact any
current existing usage. This will be nice because it means
you can intercept not-found errors in middleware and wrap them
with your own error tagging system and calls to IsNotFoundError
in your existing codebase should continue to work.

This also makes us match the behavior of errors.Is from the standard
library better, which ought to be less confusing given the name
of the function.

v0.1.0

Toggle v0.1.0's commit message
mark v0.1.0