pg_timetable v3.0.0 Release Notes

Release Date: 2020-11-05 // over 3 years ago
  • 🔄 Changelog

    [!] implement asynchronous chain execution, closes #71 a387c0f
    [!] implement exclusive execution mode for chains, resolves #50 c7a538d
    [!] reimplement session locking, resolves #149 ec1f368
    [!] use jackc/pgx PostgreSQL library instead of lib/pq, closes #112 f4c945c
    🔒 [+] add Chain.Lock() and Chain.Unlock() methods 233d004
    [+] add debug mode, closes #63 a387c0f
    [+] add getPgxConnString() function 73021c4
    👍 [+] add LISTEN\NOTIFY support b8fd7c4
    🌲 [+] add Log() function which performs logging to standard output 2b7d5a4
    [+] add mutex to the notificationHandler df062a9
    [+] add notification_test da11522
    👀 [+] add setupTestCaseEx() function df062a9
    [+] add tests for IntervalChain class 80ffce9
    [+] add tests for pgengine.ExecuteCustomScripts() function a82b995
    [+] add tests for pgengine.ExecuteSchemaScripts() function bcfbada
    [+] add tests for pgengine.FinalizeConfigDBConnection() function 6eeae0a
    [+] add tests for pgengine.ReconnectDbAndFixLeftovers() function 01bebe6
    [+] add tests for pgx logger 749f999
    [+] add tests for retrieveAsyncChainsAndRun() function 82434d9
    [+] add tests for scheduler.chainWorker() function 167664e
    [+] add timetable.next_run(timetable.cron) function #105 91473f6
    [+] check if the schema is available already first in TryLockClientName() 73021c4
    🔒 [+] create SECURITY.md 0e779de
    [+] explain the ignore_error flag on the scheduler working process. 4c0ca4a
    [+] make chain channels buffered 82434d9
    [+] make intervalChainsChan channel buffered 80ffce9
    🌲 [+] make LOG lines green and DEBUG blue b8fd7c4
    [+] prettify pgx logged object output b8fd7c4
    [+] run chains retrieval in parallel b8fd7c4
    🌲 [+] use built-in pgx logging for verbose mode 236bbce
    👕 [+] use golangci-lint-action instead of binary installation 85e5c74
    [+] use pre-installed PostgreSQL in Github Actions (#163) 12c5ade
    [*] add *.sql files as targets for github action 8a2a36e
    [*] add PostgreSQL v13 to the manual 23d0acb
    [*] awesome-go badge added 96f5958
    [*] change SHELL task kind to PROGRAM, closes #155 ea06e3d
    🚚 [*] move chain implementation into separate file ef729d4
    🚚 [*] remove unused const 41dac5c
    ⚡️ [*] update pgx and go-sqlmock dependencies 3d69873
    ⚡️ [*] update schema 46f95a8
    [-] "Cron syntax "/5 * * * *" don't execute job at 00 minutes" bug fixed, closes #156 15a178f
    [-] call DB.Close() in tear down test function 90ac0c8
    [-] fix --name option in --clientname. c4c9246
    [-] fix engine tests 7ef5402
    👕 [-] fix golint warnings b468219
    [-] fix migrator tests 5bac7af
    0️⃣ [-] fix README default values docs, spelling c6f2369
    [-] fix remote execution, fixes #164 a61ee58
    [-] fix reschedule() function 38b77ba
    [-] fix tests 36ecf8f
    [-] fix tests for pgx library #112 d52ccb8
    [-] fix TestSamplesScripts() f76bb74
    [-] fix TestShellCommand ee4dbb2 a5ac83b
    [-] fixes "Interval field value out of range", fixes #148 75bf0d6
    👷 [-] use client_name in job_add function, fixes #150 06a294b


Previous changes from v2.3.0

  • 🔄 Changelog

    ⚡️ [!] update Go version to 1.14 b8d7d30
    [!] add contexts to all low level engine functions, resolves #142 2c458a3
    [!] add continuous code coverage #140 70f3e21
    [!] add timetable.next_run(timetable.cron) 03cfbef
    🚀 [+] add a separate tag to Docker Hub for every release 4495b73
    [+] add bootstrap tests 5db1aef
    📜 [+] add ClientName argument to cmdparser.NewCmdOptions 16b3383
    🌲 [+] add contexts to task and logging functions 56f00f0
    [+] add continuous code coverage enhancement. Closes #140 d426785
    [+] add Coveralls action for push and pull request 128d727
    [+] add log tests 5429ed8
    [+] add self destruct chain to scheduler test 088372d
    [+] add tests for pgengine migrations b618547
    [+] add tests for scheduler
    👷 [+] exit from workers immediately if context done 925fe37
    [+] improve pgengine test coverage 4869958
    [+] make access.go 100% covered by tests bea9739
    [+] make chains channel buffered b491a35
    [+] make cmdparser 100% covered by tests 292c03b
    [+] make interval chain reschedule compatible with context 0389e5b
    [+] make intervalChainsChan channel buffered
    [+] make migrator 100% covered by tests 63a1ae8
    [*] close database connection at the end of each test e481d9b
    🌲 [*] log message prettify 6a61b03
    [*] prettify code 4fd917c
    🚚 [*] remove init() function from shell.go 8ec2e7e
    [*] rewrite pgengine.TryLockClientName 06d9a6c
    [-] disallow parallel execution of tests 325c0a8
    🐳 [-] fix Docker Hub name d9a7633
    [-] fix double sleep time for interval chains bb2b452
    [-] fix engine tests 16ef999
    👷 [-] fix possible blocking in chain workers b491a35
    [-] fix SelfDestruct.sql sample 5ef5586
    [-] fix TryLockClientName to return True immediately without waiting 46c01b7
    🚚 [-] remove Golang setup step. Latest is available automatically 61c207b
    🚚 [-] remove unused variable 9626cd0