pg_timetable v2.2.0 Release Notes

Release Date: 2020-05-20 // over 3 years ago
  • ๐Ÿ”„ Changelog

    [!] add --init command line argument fixes #128, closes #129 f441bfc
    ๐Ÿ’ป [!] add --no-help command line argument to suppress help output 18768b0
    [!] add Grafana dashboard to monitor chain execution stats dd8608c
    [!] implement custom startup script support with --file, closes #131 e66ece0
    [!] implement autonomous tasks
    โœ… [+] add context argument to InitAndTestConfigDBConnection() 4acfaf5
    [+] add context arguments to migrations routines 4acfaf5
    [+] add context arguments to transactions, access and shell routines #118 9b599c2 4acfaf5
    [+] add context to pgengine.ReconnectDbAndFixLeftovers() and use channels
    โฑ [+] add context to scheduler.Run()
    [+] add pgengine.IsAlive() method
    [+] add reconnection routine to the main()
    [+] add sample for autonomous task
    [+] make cmdparser 100% covered with tests, resolves #126 8e787f8
    [+] make built-in 100% tasks 5778939
    โœ… [+] make download task 100% covered with tests 1f193e1
    โœ… [+] make mail task 100% covered with tests febeb1f
    ๐Ÿ‘ท [+] pass derived contexts to chain workers goroutines
    [+] return ConnectionDropped after failed pgengine.IsAlive()
    [+] rewrite reconnecting routing with channels and context #118 787628a c2cc25d
    [+] set timeout for initial connection to 90 sec #118 19dbca7 9d4c5c4
    ๐ŸŒฒ [*] improve log messages for reconnection tries #118 4ee0cc3
    โœ… [*] make InitAndTestConfigDBConnection() return boolean 4e1e2c8
    [*] make MigrateDb() and CheckNeedMigrateDb() return boolean #118 4e1e2c8 828f8f2
    [*] make pgengine.WaitTime public const 032ab3e a1c63ce
    โœ… [*] pass context argument to InitAndTestConfigDBConnection() in tests #118 223f1d9 693e817
    ๐ŸŒฒ [*] prettify log strings 65afcb1
    ๐Ÿ”จ [*] refactor command line handling b87995f
    ๐Ÿšš [*] remove reconnection routine from pgengine.LogToDB()
    ๐Ÿ‘• [*] set cyclomatic complexity to 16 for linter; resolves #122 73d29fa
    [-] fix "if block ends with a return statement, so drop this else and outdent its block" 16fa2ee 3f8c518
    [-] fix "Cannot log to the database: pq: relation "timetable.log" does not exist" #118 25df3de 74ee9e6
    [-] fix "exported func Run returns unexported type scheduler.runStatus, which can be annoying to use" 310fd5d 3363398
    [-] fix "Host in --pgurl parameter ignored if port is not specified" f441bfc
    โฑ [-] fix "interval chains are not rescheduled if a database error occurs" f6dcb97
    โฑ [-] fix "return" to "continue" in scheduler.intervalChainWorker() 8226433
    ๐Ÿ–จ [-] fix "S1039: unnecessary use of fmt.Sprintf" 8226433
    [-] fix tests connection string 3106fa4 e32cb76
    [-] fix verbose level output
    [-] make scheduler.Run() return runStatus type #118 20c08e0 d07a486
    โฑ [-] reschedule interval chains in a separate goroutines acf02ec