Changelog ⌚⚛🔗
[!] add notify_chain_start() and notify_chain_stop() functions, closes #195 62fbfb1
[!] add PGTT_CLIENTNAME env variable, closes #192 4d94de6
[+] add ChainSignal structure to handle START and STOP async commands 64a8f78
[+] add check to prevent session locking on a replica e7cd5f4
[+] add Dependabot Status badge f878ea5
[+] add on "pull_request" trigger to "Go Build & Test" action bac82ba
[+] add pgengine.TestSelectChain() test case af9d6c4
[+] add TestLogError test case, fix some regular expressions 2fdf7f5 4327436
[+] adds activeChains map so we can abort chain by request 76a11b3
[+] enhance "Build & Test" GitHub Action triggers 849535a
[+] enhance "Update Docker" GitHub Action triggers 9387b63
[+] push docker tags using the semver syntax by their git name 615ebd5
[*] allow SelectChain() return not only live chains for debug purposes 5dff98d
[*] bump github.com/jackc/pgconn from 1.6.4 to 1.8.0 11f671c
[*] bump github.com/jackc/pgx/v4 from 4.8.1 to 4.10.1 11f671c
[*] bump github.com/ory/dockertest/v3 from 3.6.0 to 3.6.3 5c5c3a5
[*] bump github.com/stretchr/testify from 1.6.1 to 1.7.0 884a842
[*] change error message in TryLockClientName to neutral form and make it log message dd5dd02
[*] clean cached NOTIFY messages after main loop period, closes #191 6c64aa6
[*] elevate adding async chain message from DEBUG to LOG 0091118
[*] improve "Release with goreleaser" GitHub Action triggers 01980e4
[*] obtaining chains logic moved to pgengine module from scheduler 65f4cd5
[*] remove duplicate GutHub Actions run for push and pull-request e514848
[*] remove duplicated PID from the timetable.active_sessions, closes #190 84c2a5d
[*] remove exact names for .mod and .sum files from actions triggers 570ec86
[*] remove ignored tasks for "Build & Test" action 0518b02
[*] remove obsolete comment 2636dba
[*] remove unused pgengine.GetLogPrefixLn() dd572a4
[*] rewrite notification testing with external notifier e95e556
[*] update golangci-lint-action to v2 d63404c
[*] usage examples – make them work immediately e7a4716
[*] use Log function instead of fmt.Printf 026d371
[-] add mutex to operations on activeChains map, fix race conditions 3ff246b
[-] change LogToDB to Log to avoid deadlock aa6d520
[-] do not pass chain configs less or equal 0 for async processing d8526e6
[-] fix "Cannot log to the database: context canceled" error f33ccdf
[-] fix "Cannot log to the database: context deadline exceeded" error for NOTICE log entries, closes #153 6b899c6
[-] fix assignment to entry in nil map b81663a
[-] fix chain status table if chain aborted b230491
[-] fix cleaning period for NOTIFY messages fe9c9e2
[-] fix deprecated set-env in GitHub Actions 615ebd5
[-] fix handling 2+ NOTIFY messages with the same payload, fixes #189 64a8f78
[-] fix TestHandleNotifications() 68a9f88