v4.4.0
Changelog 🚦🕸️🚄
[!]
add REST API, resolves #378 by @pashagolub in #379
[!]
provide migration script from v3 to v4 transition, resolves #338 by @pashagolub in #377
[!]
rewrite active chain handling by @pashagolub in #382
[+]
bump georgysavva/scany
0.3.0 by @dependabot in #374
[+]
bump jackc/pgx/v4
to 4.14.0 by @dependabot in #357
[+]
bump pashagolub/pgxmock
to 1.4.3 by @dependabot in #362
[+]
bump spf13/viper
to 1.10.1 by @dependabot in #366
[+]
bump jackc/puddle
to 1.2.1 by @pashagolub in #376
[+]
output version information on demand, closes #385 by @pashagolub in #386
[*]
save some space for big tables by @ukolovda in #373
[*]
use constants for exit codes by @pashagolub in #365
Full Changelog: v4.3.0...v4.4.0
[!]
add REST API, resolves #378 83ac6e9
[!]
introduce internal web-server for REST API 4ecff4b
[!]
provide migration script from v3 to v4 transition, resolves #338 9310da2
[+]
add 00381
migration b03b2be
[+]
add RestApi
section and --rest-port
command-line option 83ac6e9
[+]
add Scheduler.IsReady()
method to be used in REST API 83ac6e9
[+]
add Scheduler.status
property and RunningStatus
constant 83ac6e9
[+]
add TestRemoveChainRunStatus()
test case 7237986
[+]
add timetable.active_chain
table and remove timetable.run_status
, closes #381, fixes #370 b12c922
[+]
add REST API documentation 63c8bee
[+]
bump georgysavva/scany
to 0.3.0 4888e75
[+]
bump jackc/pgx/v4
to 4.14.1 0ce5cff
[+]
bump jackc/pgtype
to 1.9.1 0ce5cff
[+]
bump pashagolub/pgxmock
to 1.4.2 740b5e6
[+]
bump pashagolub/pgxmock
to 1.4.3, merge #362 f1bfbec
[+]
bump spf13/viper
to 1.10.1 951361b
[+]
bump jackc/puddle
to 1.2.1 b0f060f
[+]
output version information on demand, closes #385 52e1217
[*]
enhance PgEngine.Finalize()
with cleaning dead chains b12c922
[*]
enhance timetable.try_lock_client_name()
with cleaning dead chains b12c922
[*]
remove Chain.RunStatusID
field b12c922
[*]
remove PgEngine.FixSchedulerCrash()
b12c922
[*]
rewrite PgEngine.InsertChainRunStatus()
b12c922
[*]
remove timetable.get_chain_running_statuses()
and timetable.health_check()
b12c922
[*]
rename and update PgEngine.AddChainRunStatus()
to PgEngine.RemoveChainRunStatus()
b12c922
[*]
return ExitCodeDBEngineError
if cannot reconnect in main()
b12c922
[*]
save some space for big 34a1944
[*]
use constants for exit codes 817ec74
[-]
fix "error: cannot insert multiple commands into a prepared statement (SQLSTATE 42601)" 81b1f3b
[-]
fix parameter naming in dockerfile 8767c87
[-]
fix S1023: redundant return
statement (gosimple) 672452b