Releases: vgarvardt/gue
Releases · vgarvardt/gue
v5.1.1
What's Changed
- Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #164
- fix: another one bc change in the otel metrics by @vgarvardt in #166
Full Changelog: v5.1.0...v5.1.1
v5.1.0
What's Changed
- Bump go.opentelemetry.io/otel from 1.12.0 to 1.13.0 by @dependabot in #155
- Bump go.opentelemetry.io/otel/metric from 0.35.0 to 0.36.0 by @dependabot in #154
- Bump github.com/jackc/pgx/v4 from 4.17.2 to 4.18.0 by @dependabot in #156
- Bump golang.org/x/sync from 0.0.0-20220923202941-7f9b1623fab7 to 0.1.0 by @dependabot in #159
- build: bump min golang version to 1.19 by @vgarvardt in #160
- Bump github.com/jackc/pgx/v5 from 5.2.0 to 5.3.0 by @dependabot in #157
- Bump golang.org/x/net from 0.0.0-20220927171203-f486391704dc to 0.7.0 in /_example/outbox-worker-kafka by @dependabot in #161
- feat: zerolog adapter by @vgarvardt in #162
- feat: added UnwrapTx to all db adapters to get driver-specific tx by @vgarvardt in #163
Full Changelog: v5.0.1...v5.1.0
v5.0.1
What's Changed
- docs: format readme by @vgarvardt in #147
- Bump go.opentelemetry.io/otel/metric from 0.34.0 to 0.35.0 by @dependabot in #152
Full Changelog: v5.0.0...v5.0.1
v5.0.0
Breaking
gue_jobs.job_id
column type changed toTEXT
and theJob.ID
field type changed fromint64
toULID
to generate ID on the client-side but keep jobs sortable by the primary
key. Library is not providing any migration routines, it is up to the users to apply a migration. Example can be
found at migrations/job_id_to_ulid.sql.gue_jobs.args
column type changed toBYTEA
- this allows storing any bytes as job args, not only valid JSON;
library is not providing any migration routines, it is up to the users to apply a migration that may look something
likeALTER TABLE gue_jobs ALTER COLUMN args TYPE bytea USING (args::text)::bytea
to change the column type and
convert existing JSON records to the binary byte array representationJob.Error()
acceptserror
instance instead of error stringJob.LastError
type changed fromgithub.com/jackc/pgtype.Text
to stdlibdatabase/sql.NullString
- min tested Postgres version is
11.x
New
- Handler may return special typed errors to control rescheduling/discarding of the jobs on the individual basis
ErrRescheduleJobIn()
- reschedule Job after some interval from the current timeErrRescheduleJobAt()
- reschedule Job to some specific timeErrDiscardJob()
- discard a Job
v4.1.0
What's Changed
- Bump github.com/jackc/pgx/v5 from 5.0.1 to 5.0.2 by @dependabot in #108
- Bump go.opentelemetry.io/otel/metric from 0.32.1 to 0.32.2 by @dependabot in #109
- Added example outbox worker kafka implementation by @vgarvardt in #113
- Bump go.opentelemetry.io/otel/metric from 0.32.2 to 0.32.3 by @dependabot in #110
- Bump github.com/jackc/pgx/v5 from 5.0.2 to 5.0.3 by @dependabot in #115
- Added graceful shutdown option by @vgarvardt in #117
- Bump go.opentelemetry.io/otel from 1.11.0 to 1.11.1 by @dependabot in #118
- Bump go.opentelemetry.io/otel/metric from 0.32.3 to 0.33.0 by @dependabot in #119
Full Changelog: v4.0.1...v4.1.0
v4.0.1
v4.0.0
See change log for complete list of changes
v4.0.0-beta.2
GetWorkerIdx
function extracts worker index in the pool from the handler context
See change log for complete list of changes
v4.0.0-beta.1
See change log for complete list of changes
v4.0.0-alpha.10
See change log for complete list of changes