Skip to content

Releases: vgarvardt/gue

v5.1.1

28 Feb 08:38
387ca8d
Compare
Choose a tag to compare

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

26 Feb 22:05
3867ad3
Compare
Choose a tag to compare

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

30 Jan 11:32
d1e5eed
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.0...v5.0.1

v5.0.0

20 Dec 21:15
4582037
Compare
Choose a tag to compare

Breaking

  • gue_jobs.job_id column type changed to TEXT and the Job.ID field type changed from int64
    to ULID 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 to BYTEA - 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
    like ALTER 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 representation
  • Job.Error() accepts error instance instead of error string
  • Job.LastError type changed from github.com/jackc/pgtype.Text to stdlib database/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 time
    • ErrRescheduleJobAt() - reschedule Job to some specific time
    • ErrDiscardJob() - discard a Job

v4.1.0

24 Oct 10:13
5e2ac0d
Compare
Choose a tag to compare

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

04 Oct 19:47
031c8e7
Compare
Choose a tag to compare
  • Expose couple helper functions

v4.0.0

20 Sep 14:25
7605fae
Compare
Choose a tag to compare

See change log for complete list of changes

v4.0.0-beta.2

03 Sep 10:36
Compare
Choose a tag to compare

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

08 Aug 12:09
d26221e
Compare
Choose a tag to compare

See change log for complete list of changes

v4.0.0-alpha.10

01 Aug 12:44
667e4cb
Compare
Choose a tag to compare

See change log for complete list of changes