Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Releases: contiamo/go-base

Dancing Raptor

17 Aug 07:15
8dccb68

Choose a tag to compare

Support more cases for underscore casing conversion (#52)

* `created_at DESC` -> `created_at_desc`
* de-duplication of underscore characters.

Dashing Raptor

14 Aug 08:32
108571f

Choose a tag to compare

Add support for changing references in the queue (#51)

Now it's possible to change both:

* list of system columns in `tasks` and `schedules`
* list of user defined references of the queue item

Only adding or removing of columns is supported, once it's created
it's not going to be edited only dropped if removed from the list.

Also, added some string functions for casing conversions.

Cubic Raptor

03 Aug 11:06
d28d70a

Choose a tag to compare

Add error logging and tracing when connect to a database (#50)

Gives way more data for debugging.

Cute Raptor

30 Jul 17:49
19d99c8

Choose a tag to compare

Allow one-time jobs in the scheduler (#49)

Sometimes it's needed to create a job that executes once.

Cutting Raptor

29 Jul 16:39
45b38a1

Choose a tag to compare

Implement the actual queue interface in the queue mock (#48)

Now it can be used by other services.

Cryonic Raptor

29 Jul 10:21
15cb624

Choose a tag to compare

Add `AssertSchedule` functionality (#46)

Now you can use this single function to upsert a schedule.

Cyclonic Raptor

27 Jul 15:49
d49a368

Choose a tag to compare

Fix panic when switch to the same service name (#45)

When switch queue metrics to the same name it caused panic in the
Prometheus client we use. Now we properly unregister the previous collectors.

Cycling Raptor

27 Jul 15:05
0ba02e4

Choose a tag to compare

Change the way queue metrics are initialized (#44)

* There are now default metrics, so the queue does not panic in runtime.
* The service name label of the metrics can be easily switched by calling `SwitchMetricsServiceName`, (executed binary name by default)
* `Setup` function is renamed to `SetupTables` because that's what it's supposed to do.
* Use queue metrics like in HTTP middleware

Bumping Raptor

24 Jul 14:05
da4774a

Choose a tag to compare

Fix race condition and add progress error (#43)

Now if task handler returns an error it's set into the task's
progress.

There was a race condition that set task status as `finished` instead
of `failed` sometimes.

Burning Raptor

21 Jul 11:07
c47bf32

Choose a tag to compare

Add dispatch task handler (#42)

This handler allows to register other handlers and dispatch based on
type of the task in the queue.