# Changelog ## [v2.0.2](https://github.com/bensheldon/good_job/tree/v2.0.2) (2021-08-27) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.99.1...v2.0.2) **Closed issues:** - Migrations generator assumes migrations are in db/migrate [\#352](https://github.com/bensheldon/good_job/issues/352) **Merged pull requests:** - v2.0: Generators support multiple databases: `--database` option, `migrations_paths`, custom `GoodJob.active_record_parent_class` [\#354](https://github.com/bensheldon/good_job/pull/354) ([bensheldon](https://github.com/bensheldon)) - README style/typo fixes: "web server" and possessive "Rails'" [\#350](https://github.com/bensheldon/good_job/pull/350) ([aried3r](https://github.com/aried3r)) - Add examples of setting config.good\_job.queues [\#349](https://github.com/bensheldon/good_job/pull/349) ([zachmargolis](https://github.com/zachmargolis)) ## [v1.99.1](https://github.com/bensheldon/good_job/tree/v1.99.1) (2021-08-27) [Full Changelog](https://github.com/bensheldon/good_job/compare/v2.0.1...v1.99.1) **Closed issues:** - Does Good job support delay method? [\#344](https://github.com/bensheldon/good_job/issues/344) ## [v2.0.1](https://github.com/bensheldon/good_job/tree/v2.0.1) (2021-08-24) [Full Changelog](https://github.com/bensheldon/good_job/compare/v2.0.0...v2.0.1) **Implemented enhancements:** - Suppress backtrace of ConcurrencyExceededError [\#348](https://github.com/bensheldon/good_job/pull/348) ([reczy](https://github.com/reczy)) **Closed issues:** - Is there any value in seeing a backtrace for ConcurrencyExceededError? [\#347](https://github.com/bensheldon/good_job/issues/347) - Release GoodJob 2.0 [\#307](https://github.com/bensheldon/good_job/issues/307) - Unhandled ActiveJob errors should trigger GoodJob.on\_thread\_error [\#247](https://github.com/bensheldon/good_job/issues/247) ## [v2.0.0](https://github.com/bensheldon/good_job/tree/v2.0.0) (2021-08-24) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.99.0...v2.0.0) **Implemented enhancements:** - Concurrency's enqueue\_limit should exclude performing jobs from count [\#317](https://github.com/bensheldon/good_job/issues/317) - Rename `:async` to `:async_all`; `:async_server` to `:async` and set as Development environment default; do not poll in async development [\#343](https://github.com/bensheldon/good_job/pull/343) ([bensheldon](https://github.com/bensheldon)) - Exclude executing jobs from Concurrency's enqueue\_limit's count [\#342](https://github.com/bensheldon/good_job/pull/342) ([bensheldon](https://github.com/bensheldon)) - Unhandled ActiveJob errors should trigger GoodJob.on\_thread\_error [\#312](https://github.com/bensheldon/good_job/pull/312) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Swap behavior of `async` with `async_server`; rename `async` execution mode to be `async_all`; default `async` in Development; [\#340](https://github.com/bensheldon/good_job/issues/340) - Add hyphen to lock key. e.g. "\[table\_name\]-\[column\]" instead of "\[table\_name\]\[column\]" [\#335](https://github.com/bensheldon/good_job/issues/335) - Use `async_server` as default execution mode in Development environment [\#139](https://github.com/bensheldon/good_job/issues/139) **Merged pull requests:** - Remove v1.0 deprecation notices and incremental migrations [\#338](https://github.com/bensheldon/good_job/pull/338) ([bensheldon](https://github.com/bensheldon)) - Lock GoodJob::Job on active\_job\_id instead of the row id; adds separator hyphen to lock key [\#337](https://github.com/bensheldon/good_job/pull/337) ([bensheldon](https://github.com/bensheldon)) ## [v1.99.0](https://github.com/bensheldon/good_job/tree/v1.99.0) (2021-08-24) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.13.2...v1.99.0) **Closed issues:** - Set Advisory Lock on ActiveJob job uuid instead of GoodJob's job uuid [\#272](https://github.com/bensheldon/good_job/issues/272) **Merged pull requests:** - Add upgrade instructions for v1 to v2 [\#345](https://github.com/bensheldon/good_job/pull/345) ([bensheldon](https://github.com/bensheldon)) - Add transitional/temporary additional lock on good\_jobs-\[active\_job\_id\] [\#336](https://github.com/bensheldon/good_job/pull/336) ([bensheldon](https://github.com/bensheldon)) ## [v1.13.2](https://github.com/bensheldon/good_job/tree/v1.13.2) (2021-08-18) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.13.1...v1.13.2) **Merged pull requests:** - Add deprecation notice that `async` mode will be renamed `async_all` in GoodJob v2.0 [\#339](https://github.com/bensheldon/good_job/pull/339) ([bensheldon](https://github.com/bensheldon)) ## [v1.13.1](https://github.com/bensheldon/good_job/tree/v1.13.1) (2021-08-18) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.13.0...v1.13.1) **Fixed bugs:** - Don’t attempt to enforce concurrency limits with other queue adapters [\#333](https://github.com/bensheldon/good_job/pull/333) ([codyrobbins](https://github.com/codyrobbins)) ## [v1.13.0](https://github.com/bensheldon/good_job/tree/v1.13.0) (2021-08-18) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.12.2...v1.13.0) **Implemented enhancements:** - Track if a GoodJob::Job has been subsequently retried [\#331](https://github.com/bensheldon/good_job/pull/331) ([bensheldon](https://github.com/bensheldon)) - Wrap and truncate error message, which can be a huge text [\#294](https://github.com/bensheldon/good_job/pull/294) ([morgoth](https://github.com/morgoth)) **Closed issues:** - Add hyphen to lock string. e.g. "table\_name-column" instead of "table\_namecolumn [\#334](https://github.com/bensheldon/good_job/issues/334) - Optimize db indexes in advance of v2.0.0 [\#332](https://github.com/bensheldon/good_job/issues/332) - wait\_until in development? [\#330](https://github.com/bensheldon/good_job/issues/330) - Race conditions in ActiveJob concurrency extension [\#325](https://github.com/bensheldon/good_job/issues/325) - Store in database if a job has been ActiveJob retried [\#321](https://github.com/bensheldon/good_job/issues/321) - Revisit and embrace concurrency control, scheduled jobs, and other extensions of ActiveJob [\#255](https://github.com/bensheldon/good_job/issues/255) - Why 1 million jobs per day? [\#222](https://github.com/bensheldon/good_job/issues/222) ## [v1.12.2](https://github.com/bensheldon/good_job/tree/v1.12.2) (2021-08-13) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.12.1...v1.12.2) **Fixed bugs:** - Fixes for race conditions in ActiveJob concurrency extension [\#326](https://github.com/bensheldon/good_job/pull/326) ([codyrobbins](https://github.com/codyrobbins)) **Merged pull requests:** - On gem release, add instructions to author a Github Release [\#324](https://github.com/bensheldon/good_job/pull/324) ([bensheldon](https://github.com/bensheldon)) ## [v1.12.1](https://github.com/bensheldon/good_job/tree/v1.12.1) (2021-08-05) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.12.0...v1.12.1) **Fixed bugs:** - Ensure CLI can shutdown cleanly with multiple queues and timeout [\#319](https://github.com/bensheldon/good_job/pull/319) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Setting a shutdown timeout causes the CLI executor to throw an exception on shutdown. [\#318](https://github.com/bensheldon/good_job/issues/318) - PgBouncer and prepared statements [\#269](https://github.com/bensheldon/good_job/issues/269) - Question about locking internals [\#212](https://github.com/bensheldon/good_job/issues/212) - Encoding::UndefinedConversionError \("\xE2" from ASCII-8BIT to UTF-8\) [\#198](https://github.com/bensheldon/good_job/issues/198) - tools for managing a 'fleet' of processes [\#150](https://github.com/bensheldon/good_job/issues/150) **Merged pull requests:** - Fix Readme lint warnings [\#320](https://github.com/bensheldon/good_job/pull/320) ([bensheldon](https://github.com/bensheldon)) ## [v1.12.0](https://github.com/bensheldon/good_job/tree/v1.12.0) (2021-07-27) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.11.3...v1.12.0) **Implemented enhancements:** - Add the ability to schedule repeating / recurring / cron-like jobs [\#53](https://github.com/bensheldon/good_job/issues/53) - Add cron-like support for recurring/repeating jobs [\#297](https://github.com/bensheldon/good_job/pull/297) ([bensheldon](https://github.com/bensheldon)) **Fixed bugs:** - Place Dashboard shared view partials under `good_job` namespace [\#310](https://github.com/bensheldon/good_job/pull/310) ([bensheldon](https://github.com/bensheldon)) - Ensure Dashboard inline javascript has CSP nonce for strict Content-Security Policy [\#309](https://github.com/bensheldon/good_job/pull/309) ([bensheldon](https://github.com/bensheldon)) ## [v1.11.3](https://github.com/bensheldon/good_job/tree/v1.11.3) (2021-07-25) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.11.2...v1.11.3) **Closed issues:** - ERROR: relation "good\_jobs" does not exist at character 454 [\#308](https://github.com/bensheldon/good_job/issues/308) - Add Frozen String Literal to all files [\#298](https://github.com/bensheldon/good_job/issues/298) - Support for good\_job without Rails? [\#295](https://github.com/bensheldon/good_job/issues/295) **Merged pull requests:** - Have prettier Dashboard asset urls e.g. `bootstrap.css` instead of `bootstrap_css.css` [\#306](https://github.com/bensheldon/good_job/pull/306) ([bensheldon](https://github.com/bensheldon)) - Create dashboard demo app on Heroku [\#305](https://github.com/bensheldon/good_job/pull/305) ([bensheldon](https://github.com/bensheldon)) - Add Frozen String Literal to all files [\#302](https://github.com/bensheldon/good_job/pull/302) ([tedhexaflow](https://github.com/tedhexaflow)) ## [v1.11.2](https://github.com/bensheldon/good_job/tree/v1.11.2) (2021-07-20) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.11.1...v1.11.2) **Fixed bugs:** - Notifier waits to retry listening when database is unavailable [\#301](https://github.com/bensheldon/good_job/pull/301) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Handle database connection drops [\#296](https://github.com/bensheldon/good_job/issues/296) - Using the `async` worker results in `ActiveModel::UnknownAttributeError unknown attribute 'create_with_advisory_lock' for GoodJob::Job`. [\#290](https://github.com/bensheldon/good_job/issues/290) **Merged pull requests:** - Rename development and test databases to be `good_job` [\#300](https://github.com/bensheldon/good_job/pull/300) ([bensheldon](https://github.com/bensheldon)) - Move generators spec into top-level spec directory; update dependencies [\#299](https://github.com/bensheldon/good_job/pull/299) ([bensheldon](https://github.com/bensheldon)) ## [v1.11.1](https://github.com/bensheldon/good_job/tree/v1.11.1) (2021-07-07) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.11.0...v1.11.1) **Fixed bugs:** - Defer accessing ActiveRecord `primary_key` in Lockable [\#293](https://github.com/bensheldon/good_job/pull/293) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Database connection required while loading the code on 1.10.x [\#291](https://github.com/bensheldon/good_job/issues/291) ## [v1.11.0](https://github.com/bensheldon/good_job/tree/v1.11.0) (2021-07-07) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.10.1...v1.11.0) **Implemented enhancements:** - Add concurrency extension for ActiveJob [\#281](https://github.com/bensheldon/good_job/pull/281) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Investigate GoodJob concurrency [\#289](https://github.com/bensheldon/good_job/issues/289) - Problem with migrating database on 1.10.0 [\#287](https://github.com/bensheldon/good_job/issues/287) - Support migration --database option for install task? [\#267](https://github.com/bensheldon/good_job/issues/267) - Add GoodJob to Ruby Toolbox [\#243](https://github.com/bensheldon/good_job/issues/243) - Custom advisory locks to prevent certain jobs from being worked on concurrently? [\#206](https://github.com/bensheldon/good_job/issues/206) ## [v1.10.1](https://github.com/bensheldon/good_job/tree/v1.10.1) (2021-06-30) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.10.0...v1.10.1) **Fixed bugs:** - Remove `FOR UPDATE SKIP LOCKED` from job locking sql statement [\#288](https://github.com/bensheldon/good_job/pull/288) ([bensheldon](https://github.com/bensheldon)) **Merged pull requests:** - Update GH Test Matrix with latest JRuby 9.2.19.0 [\#283](https://github.com/bensheldon/good_job/pull/283) ([tedhexaflow](https://github.com/tedhexaflow)) ## [v1.10.0](https://github.com/bensheldon/good_job/tree/v1.10.0) (2021-06-29) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.9.6...v1.10.0) **Implemented enhancements:** - Use `pg_advisory_unlock_all` after each thread's job execution; fix Lockable return values; improve test stability [\#285](https://github.com/bensheldon/good_job/pull/285) ([bensheldon](https://github.com/bensheldon)) - Add `rails g good_job:update` command to add idempotent migration files, including `active_job_id`, `concurrency_key`, `cron_key` columns [\#266](https://github.com/bensheldon/good_job/pull/266) ([bensheldon](https://github.com/bensheldon)) **Fixed bugs:** - Dashboard AssetsController does not raise if verify\_authenticity\_token is not in the callback chain [\#284](https://github.com/bensheldon/good_job/pull/284) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - \[Question\] Dashboard assets not showing [\#282](https://github.com/bensheldon/good_job/issues/282) **Merged pull requests:** - Separately cache Appraisal gems in GH Action [\#280](https://github.com/bensheldon/good_job/pull/280) ([bensheldon](https://github.com/bensheldon)) - Use custom RSpec doc formatter to show spec examples that are running [\#279](https://github.com/bensheldon/good_job/pull/279) ([bensheldon](https://github.com/bensheldon)) - Update development dependencies [\#278](https://github.com/bensheldon/good_job/pull/278) ([bensheldon](https://github.com/bensheldon)) - Fix Scheduler integration spec to ensure jobs are run in the Scheduler under test [\#276](https://github.com/bensheldon/good_job/pull/276) ([bensheldon](https://github.com/bensheldon)) - Add example benchmark for job throughput [\#275](https://github.com/bensheldon/good_job/pull/275) ([bensheldon](https://github.com/bensheldon)) - Allow Lockable to be passed custom column, key, and Postgres advisory lock/unlock function [\#273](https://github.com/bensheldon/good_job/pull/273) ([bensheldon](https://github.com/bensheldon)) ## [v1.9.6](https://github.com/bensheldon/good_job/tree/v1.9.6) (2021-06-04) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.9.5...v1.9.6) **Implemented enhancements:** - Add deleting jobs from UI. [\#265](https://github.com/bensheldon/good_job/pull/265) ([morgoth](https://github.com/morgoth)) - Collapse Dashboard params by default [\#263](https://github.com/bensheldon/good_job/pull/263) ([morgoth](https://github.com/morgoth)) **Closed issues:** - Pause jobs during migration / maintenance? [\#257](https://github.com/bensheldon/good_job/issues/257) - How to properly report errors to error tracker service [\#159](https://github.com/bensheldon/good_job/issues/159) ## [v1.9.5](https://github.com/bensheldon/good_job/tree/v1.9.5) (2021-05-24) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.9.4...v1.9.5) **Implemented enhancements:** - Update Dashboard to Bootstrap 5 [\#260](https://github.com/bensheldon/good_job/pull/260) ([morgoth](https://github.com/morgoth)) **Closed issues:** - Update from bootstrap 4 to bootstrap 5 [\#258](https://github.com/bensheldon/good_job/issues/258) **Merged pull requests:** - Serve Dashboard assets as discrete paths instead of inlining [\#262](https://github.com/bensheldon/good_job/pull/262) ([bensheldon](https://github.com/bensheldon)) - Fix Gemfile.lock's missing JRuby dependencies; fix release script and add check [\#261](https://github.com/bensheldon/good_job/pull/261) ([bensheldon](https://github.com/bensheldon)) ## [v1.9.4](https://github.com/bensheldon/good_job/tree/v1.9.4) (2021-05-18) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.9.3...v1.9.4) **Implemented enhancements:** - Add "running" jobs state to Dashboard [\#253](https://github.com/bensheldon/good_job/pull/253) ([morgoth](https://github.com/morgoth)) **Fixed bugs:** - Unify displaying timestamps [\#252](https://github.com/bensheldon/good_job/pull/252) ([morgoth](https://github.com/morgoth)) - Fix dashboard jobs endless pagination with timezone handling [\#251](https://github.com/bensheldon/good_job/pull/251) ([morgoth](https://github.com/morgoth)) **Closed issues:** - exception\_executions not counted correctly? [\#215](https://github.com/bensheldon/good_job/issues/215) - Document issues with PgBouncer and session-level Advisory Locks [\#52](https://github.com/bensheldon/good_job/issues/52) **Merged pull requests:** - Add handy scope for filtering by job class [\#259](https://github.com/bensheldon/good_job/pull/259) ([morgoth](https://github.com/morgoth)) - Nest exception stub within job class and cleanup let! precedence to fix flakey JRuby tests [\#254](https://github.com/bensheldon/good_job/pull/254) ([bensheldon](https://github.com/bensheldon)) - Move good\_job\_spec.rb to proper location in lib directory [\#250](https://github.com/bensheldon/good_job/pull/250) ([bensheldon](https://github.com/bensheldon)) - Refactor deprecated wait parameter and assorted improvements [\#249](https://github.com/bensheldon/good_job/pull/249) ([bensheldon](https://github.com/bensheldon)) - Update development dependencies \(Rails v6.1.3.2\) [\#248](https://github.com/bensheldon/good_job/pull/248) ([bensheldon](https://github.com/bensheldon)) - Update YARD documentation param types and return values [\#239](https://github.com/bensheldon/good_job/pull/239) ([bensheldon](https://github.com/bensheldon)) ## [v1.9.3](https://github.com/bensheldon/good_job/tree/v1.9.3) (2021-05-10) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.9.2...v1.9.3) **Implemented enhancements:** - Add async\_server detection for extensions of rack handler [\#246](https://github.com/bensheldon/good_job/pull/246) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Not processing unfinished jobs across server restarts using async\_server mode on Iodine server [\#244](https://github.com/bensheldon/good_job/issues/244) - No connection pool for 'ActiveRecord::Base' found [\#236](https://github.com/bensheldon/good_job/issues/236) ## [v1.9.2](https://github.com/bensheldon/good_job/tree/v1.9.2) (2021-05-10) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.9.1...v1.9.2) **Fixed bugs:** - Run Scheduler\#warm\_cache operation in threadpool executor [\#242](https://github.com/bensheldon/good_job/pull/242) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Jobs not visible in dashboard [\#245](https://github.com/bensheldon/good_job/issues/245) **Merged pull requests:** - Use GoodJob::Job::ExecutionResult object instead of job execution returning an ordered array [\#241](https://github.com/bensheldon/good_job/pull/241) ([bensheldon](https://github.com/bensheldon)) - Update development dependencies [\#240](https://github.com/bensheldon/good_job/pull/240) ([bensheldon](https://github.com/bensheldon)) ## [v1.9.1](https://github.com/bensheldon/good_job/tree/v1.9.1) (2021-04-19) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.9.0...v1.9.1) **Implemented enhancements:** - Allow to specify parent class for active record [\#238](https://github.com/bensheldon/good_job/pull/238) ([morgoth](https://github.com/morgoth)) ## [v1.9.0](https://github.com/bensheldon/good_job/tree/v1.9.0) (2021-04-16) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.8.0...v1.9.0) **Implemented enhancements:** - Add `async_server` option to run async only in Rails web server process [\#230](https://github.com/bensheldon/good_job/pull/230) ([bensheldon](https://github.com/bensheldon)) - FreeBSD startup script [\#221](https://github.com/bensheldon/good_job/pull/221) ([lauer](https://github.com/lauer)) **Fixed bugs:** - Fix instrumentation of GoodJob::Poller finished\_timer\_task event [\#233](https://github.com/bensheldon/good_job/pull/233) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Cannot run db:migrate when execution mode is :async [\#229](https://github.com/bensheldon/good_job/issues/229) - How do you enqueue a job to be executed immediately outside of Rails \(eg. creating a new record of good\_jobs in Postgresql\)? [\#225](https://github.com/bensheldon/good_job/issues/225) - Feature Ideas [\#220](https://github.com/bensheldon/good_job/issues/220) - Goodjob startup script for FreeBSD [\#214](https://github.com/bensheldon/good_job/issues/214) - Only start async mode executors when server is running [\#194](https://github.com/bensheldon/good_job/issues/194) **Merged pull requests:** - Move executable flags from constants to accessors on GoodJob::CLI [\#234](https://github.com/bensheldon/good_job/pull/234) ([bensheldon](https://github.com/bensheldon)) - Add custom Scheduler::TimerSet [\#232](https://github.com/bensheldon/good_job/pull/232) ([bensheldon](https://github.com/bensheldon)) - Fix assorted constant references in YARD documentation [\#231](https://github.com/bensheldon/good_job/pull/231) ([bensheldon](https://github.com/bensheldon)) - Update GH Test Matrix with latest JRuby 9.2.17.0 [\#228](https://github.com/bensheldon/good_job/pull/228) ([tedhexaflow](https://github.com/tedhexaflow)) - Update gem dependencies [\#227](https://github.com/bensheldon/good_job/pull/227) ([bensheldon](https://github.com/bensheldon)) - Remove leftover text from Readme [\#226](https://github.com/bensheldon/good_job/pull/226) ([weh](https://github.com/weh)) - Fix appraisal and bundler version CI conflicts [\#224](https://github.com/bensheldon/good_job/pull/224) ([bensheldon](https://github.com/bensheldon)) - Update GH Test Matrix with latest JRuby [\#223](https://github.com/bensheldon/good_job/pull/223) ([tedhexaflow](https://github.com/tedhexaflow)) ## [v1.8.0](https://github.com/bensheldon/good_job/tree/v1.8.0) (2021-03-04) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.7.1...v1.8.0) **Implemented enhancements:** - Wait then stop on shutdown [\#126](https://github.com/bensheldon/good_job/issues/126) - Add shutdown-timeout option to configure the wait for jobs to gracefully finish before stopping them [\#213](https://github.com/bensheldon/good_job/pull/213) ([bensheldon](https://github.com/bensheldon)) **Fixed bugs:** - Ensure Job\#serialized\_params are immutable [\#218](https://github.com/bensheldon/good_job/pull/218) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Run GoodJob on puma boot [\#91](https://github.com/bensheldon/good_job/issues/91) - ActiveRecord::ConnectionNotEstablished when using async mode [\#89](https://github.com/bensheldon/good_job/issues/89) **Merged pull requests:** - Update bundler and Appraisals so Rails HEAD is locked to Ruby version \>= 2.7 [\#219](https://github.com/bensheldon/good_job/pull/219) ([bensheldon](https://github.com/bensheldon)) ## [v1.7.1](https://github.com/bensheldon/good_job/tree/v1.7.1) (2021-01-27) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.7.0...v1.7.1) **Fixed bugs:** - Scheduler should always push a new task on completion of previous task, regardless of available thread calculation [\#209](https://github.com/bensheldon/good_job/pull/209) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Unexpected behavior with max\_threads = 1 [\#208](https://github.com/bensheldon/good_job/issues/208) **Merged pull requests:** - Fix equality typo in development.rb of test\_app [\#207](https://github.com/bensheldon/good_job/pull/207) ([reczy](https://github.com/reczy)) ## [v1.7.0](https://github.com/bensheldon/good_job/tree/v1.7.0) (2021-01-25) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.6.0...v1.7.0) **Implemented enhancements:** - Cache scheduled jobs in memory so they can be executed without polling [\#205](https://github.com/bensheldon/good_job/pull/205) ([bensheldon](https://github.com/bensheldon)) ## [v1.6.0](https://github.com/bensheldon/good_job/tree/v1.6.0) (2021-01-22) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.5.0...v1.6.0) **Implemented enhancements:** - Running as a daemon [\#88](https://github.com/bensheldon/good_job/issues/88) - Add daemonize option to CLI [\#202](https://github.com/bensheldon/good_job/pull/202) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Rails 6.1 & async - `queue_parser': undefined method `first' for "\*":String \(NoMethodError\) [\#195](https://github.com/bensheldon/good_job/issues/195) **Merged pull requests:** - Add scripts directory for benchmarking and dev tasks [\#204](https://github.com/bensheldon/good_job/pull/204) ([bensheldon](https://github.com/bensheldon)) - Fix YARD attr\_ declarations for documentation [\#203](https://github.com/bensheldon/good_job/pull/203) ([bensheldon](https://github.com/bensheldon)) - Remove Appraisal gemfile locks [\#201](https://github.com/bensheldon/good_job/pull/201) ([bensheldon](https://github.com/bensheldon)) ## [v1.5.0](https://github.com/bensheldon/good_job/tree/v1.5.0) (2021-01-18) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.4.1...v1.5.0) **Implemented enhancements:** - Create Web UI Dashboard [\#50](https://github.com/bensheldon/good_job/issues/50) - Configure GoodJob via `Rails.application.config` instead of recommending `GoodJob::Adapter.new` [\#199](https://github.com/bensheldon/good_job/pull/199) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - JRuby Support [\#160](https://github.com/bensheldon/good_job/issues/160) **Merged pull requests:** - Update bundler version to 2.2.5 [\#200](https://github.com/bensheldon/good_job/pull/200) ([bensheldon](https://github.com/bensheldon)) - Update GH Test Matrix with minimum & latest JRuby version [\#197](https://github.com/bensheldon/good_job/pull/197) ([tedhexaflow](https://github.com/tedhexaflow)) - Fix JRuby version number [\#193](https://github.com/bensheldon/good_job/pull/193) ([tedhexaflow](https://github.com/tedhexaflow)) ## [v1.4.1](https://github.com/bensheldon/good_job/tree/v1.4.1) (2021-01-09) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.4.0...v1.4.1) **Fixed bugs:** - Do not add lib/generators to Zeitwerk autoloader [\#192](https://github.com/bensheldon/good_job/pull/192) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Issues with Heroku and Good Job [\#184](https://github.com/bensheldon/good_job/issues/184) **Merged pull requests:** - Add missing YARD docs and Dashboard screenshot [\#191](https://github.com/bensheldon/good_job/pull/191) ([bensheldon](https://github.com/bensheldon)) ## [v1.4.0](https://github.com/bensheldon/good_job/tree/v1.4.0) (2020-12-31) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.3.6...v1.4.0) **Implemented enhancements:** - Add JRuby support [\#167](https://github.com/bensheldon/good_job/pull/167) ([bensheldon](https://github.com/bensheldon)) ## [v1.3.6](https://github.com/bensheldon/good_job/tree/v1.3.6) (2020-12-30) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.3.5...v1.3.6) **Implemented enhancements:** - Call GoodJob.on\_thread\_error when Notifier thread raises exception [\#185](https://github.com/bensheldon/good_job/pull/185) ([bensheldon](https://github.com/bensheldon)) - Improve dashboard UI, fix button state, add unfiltering [\#181](https://github.com/bensheldon/good_job/pull/181) ([bensheldon](https://github.com/bensheldon)) **Fixed bugs:** - Replace ActiveRecord execute usage and avoid potential memory leakage [\#187](https://github.com/bensheldon/good_job/issues/187) - Does good\_job hold on to advisory locks for finished jobs? [\#177](https://github.com/bensheldon/good_job/issues/177) **Merged pull requests:** - Run tests with Rails default configuration to enable Zeitwerk [\#190](https://github.com/bensheldon/good_job/pull/190) ([bensheldon](https://github.com/bensheldon)) - Update all Lockable queries to use exec\_query instead of execute; clear async\_exec results [\#189](https://github.com/bensheldon/good_job/pull/189) ([bensheldon](https://github.com/bensheldon)) - Have Lockable\#advisory\_locked? directly query pg\_locks table [\#188](https://github.com/bensheldon/good_job/pull/188) ([bensheldon](https://github.com/bensheldon)) - Update development gems, including Rails v6.1 and Rails HEAD [\#186](https://github.com/bensheldon/good_job/pull/186) ([bensheldon](https://github.com/bensheldon)) - Update Appraisals for Rails 6.1 [\#183](https://github.com/bensheldon/good_job/pull/183) ([bensheldon](https://github.com/bensheldon)) - Add Ruby 3 to CI test matrix [\#182](https://github.com/bensheldon/good_job/pull/182) ([bensheldon](https://github.com/bensheldon)) ## [v1.3.5](https://github.com/bensheldon/good_job/tree/v1.3.5) (2020-12-17) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.3.4...v1.3.5) **Fixed bugs:** - Ensure advisory lock CTE is MATERIALIZED on Postgres v12+ [\#179](https://github.com/bensheldon/good_job/pull/179) ([bensheldon](https://github.com/bensheldon)) - Ensure that deleted jobs are unlocked [\#178](https://github.com/bensheldon/good_job/pull/178) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - not running jobs [\#168](https://github.com/bensheldon/good_job/issues/168) - how to run good\_job on a separate machine [\#162](https://github.com/bensheldon/good_job/issues/162) **Merged pull requests:** - Add Appraisal for Rails 6.1-rc2 [\#175](https://github.com/bensheldon/good_job/pull/175) ([bensheldon](https://github.com/bensheldon)) ## [v1.3.4](https://github.com/bensheldon/good_job/tree/v1.3.4) (2020-12-02) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.3.3...v1.3.4) **Fixed bugs:** - Fix job ordering for Rails 6.1 [\#174](https://github.com/bensheldon/good_job/pull/174) ([morgoth](https://github.com/morgoth)) ## [v1.3.3](https://github.com/bensheldon/good_job/tree/v1.3.3) (2020-12-01) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.3.2...v1.3.3) **Implemented enhancements:** - UI: Admin UI with filters and space efficient layout [\#173](https://github.com/bensheldon/good_job/pull/173) ([zealot128](https://github.com/zealot128)) ## [v1.3.2](https://github.com/bensheldon/good_job/tree/v1.3.2) (2020-11-12) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.3.1...v1.3.2) **Fixed bugs:** - \(bug\) MultiScheduler polling bug [\#171](https://github.com/bensheldon/good_job/issues/171) - MultiScheduler should delegate to all schedulers when state is nil [\#172](https://github.com/bensheldon/good_job/pull/172) ([bensheldon](https://github.com/bensheldon)) ## [v1.3.1](https://github.com/bensheldon/good_job/tree/v1.3.1) (2020-11-01) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.3.0...v1.3.1) **Implemented enhancements:** - Extract polling from scheduler into Polling object [\#128](https://github.com/bensheldon/good_job/issues/128) - Format serialized params to ease reading [\#170](https://github.com/bensheldon/good_job/pull/170) ([morgoth](https://github.com/morgoth)) **Fixed bugs:** - Don't disconnect a nil activerecord connection [\#161](https://github.com/bensheldon/good_job/pull/161) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Propose addition of GoodJob to queue-shootout benchmarks [\#40](https://github.com/bensheldon/good_job/issues/40) **Merged pull requests:** - Ensure Rails is a development dependency [\#169](https://github.com/bensheldon/good_job/pull/169) ([bensheldon](https://github.com/bensheldon)) - Fix Ruby 2.7 GH action by setting default bundler explicitly [\#166](https://github.com/bensheldon/good_job/pull/166) ([bensheldon](https://github.com/bensheldon)) - Cache ruby version explicitly in Github Action [\#165](https://github.com/bensheldon/good_job/pull/165) ([bensheldon](https://github.com/bensheldon)) - Update development dependencies, rubocop [\#164](https://github.com/bensheldon/good_job/pull/164) ([bensheldon](https://github.com/bensheldon)) - Fix intended constant hierarchy of GoodJob::Scheduler::ThreadPoolExecutor [\#158](https://github.com/bensheldon/good_job/pull/158) ([bensheldon](https://github.com/bensheldon)) - Add bin/test\_app executable for Rails debugging [\#157](https://github.com/bensheldon/good_job/pull/157) ([bensheldon](https://github.com/bensheldon)) - Extract Scheduler polling behavior to its own object [\#152](https://github.com/bensheldon/good_job/pull/152) ([bensheldon](https://github.com/bensheldon)) ## [v1.3.0](https://github.com/bensheldon/good_job/tree/v1.3.0) (2020-10-03) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.2.6...v1.3.0) **Implemented enhancements:** - Lengthen default poll interval from 1 to 5 seconds [\#156](https://github.com/bensheldon/good_job/pull/156) ([bensheldon](https://github.com/bensheldon)) - Rename reperform\_jobs\_on\_standard\_error to retry\_on\_unhandled\_error [\#154](https://github.com/bensheldon/good_job/pull/154) ([morgoth](https://github.com/morgoth)) ## [v1.2.6](https://github.com/bensheldon/good_job/tree/v1.2.6) (2020-09-29) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.2.5...v1.2.6) **Implemented enhancements:** - Preserve only failed jobs [\#136](https://github.com/bensheldon/good_job/issues/136) - Add `GoodJob.preserve_job_records = :on_unhandled_error` option to only preserve jobs that errored [\#145](https://github.com/bensheldon/good_job/pull/145) ([morgoth](https://github.com/morgoth)) **Fixed bugs:** - Fix LogSubscriber notifications for finished\_timer\_task and finished\_job\_task [\#148](https://github.com/bensheldon/good_job/pull/148) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - run-once guarantee? [\#151](https://github.com/bensheldon/good_job/issues/151) **Merged pull requests:** - Add info how to setup basic auth for engine [\#153](https://github.com/bensheldon/good_job/pull/153) ([morgoth](https://github.com/morgoth)) - Add documentation for Dashboard Rails::Engine [\#149](https://github.com/bensheldon/good_job/pull/149) ([bensheldon](https://github.com/bensheldon)) - Style cleanup to Job error handling [\#147](https://github.com/bensheldon/good_job/pull/147) ([bensheldon](https://github.com/bensheldon)) - Replace gerund titles in Readme [\#146](https://github.com/bensheldon/good_job/pull/146) ([bensheldon](https://github.com/bensheldon)) - Only allow Scheduler to be initialized with max\_threads and poll\_interval; remove full access to pool and timer\_task options [\#137](https://github.com/bensheldon/good_job/pull/137) ([bensheldon](https://github.com/bensheldon)) ## [v1.2.5](https://github.com/bensheldon/good_job/tree/v1.2.5) (2020-09-17) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.2.4...v1.2.5) **Implemented enhancements:** - Use Zeitwerk for auto-loading [\#87](https://github.com/bensheldon/good_job/issues/87) - Spike on data dashboard; pull in full Bootstrap CSS and JS [\#131](https://github.com/bensheldon/good_job/pull/131) ([bensheldon](https://github.com/bensheldon)) **Fixed bugs:** - `poll-interval=-1` does not disable polling as intended [\#133](https://github.com/bensheldon/good_job/issues/133) - Update Gemspec to reflect that GoodJob is not compatible with Rails 5.1 [\#143](https://github.com/bensheldon/good_job/pull/143) ([bensheldon](https://github.com/bensheldon)) - Prevent jobs hanging [\#141](https://github.com/bensheldon/good_job/pull/141) ([morgoth](https://github.com/morgoth)) - Add explicit require\_paths to gemspec for engine [\#134](https://github.com/bensheldon/good_job/pull/134) ([bensheldon](https://github.com/bensheldon)) - Use `connection.quote_table_name` and add spacing for SQL concatenation [\#124](https://github.com/bensheldon/good_job/pull/124) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Lint - Introduce line character limits [\#122](https://github.com/bensheldon/good_job/issues/122) - Jobs are not processed in multi schema setup. Apartment + GoodJob \( post 1.1.2 \) [\#117](https://github.com/bensheldon/good_job/issues/117) - Host a documentation sprint [\#48](https://github.com/bensheldon/good_job/issues/48) **Merged pull requests:** - Test GoodJob against Rails HEAD [\#144](https://github.com/bensheldon/good_job/pull/144) ([bensheldon](https://github.com/bensheldon)) - Drop Ruby 2.4 support [\#142](https://github.com/bensheldon/good_job/pull/142) ([morgoth](https://github.com/morgoth)) - Remove arguments from perform method [\#140](https://github.com/bensheldon/good_job/pull/140) ([morgoth](https://github.com/morgoth)) - Extract "execute" method to reduce "perform" method complexity [\#138](https://github.com/bensheldon/good_job/pull/138) ([morgoth](https://github.com/morgoth)) - Correct example on how to configure multiple queues by command line. [\#135](https://github.com/bensheldon/good_job/pull/135) ([morgoth](https://github.com/morgoth)) - Update ActionMailer Job class, to match the default [\#130](https://github.com/bensheldon/good_job/pull/130) ([morgoth](https://github.com/morgoth)) - Add initial Engine scaffold [\#125](https://github.com/bensheldon/good_job/pull/125) ([bensheldon](https://github.com/bensheldon)) - Zeitwerk Loader Implementation [\#123](https://github.com/bensheldon/good_job/pull/123) ([gadimbaylisahil](https://github.com/gadimbaylisahil)) - Update code-level documentation [\#111](https://github.com/bensheldon/good_job/pull/111) ([bensheldon](https://github.com/bensheldon)) ## [v1.2.4](https://github.com/bensheldon/good_job/tree/v1.2.4) (2020-09-01) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.2.3...v1.2.4) **Implemented enhancements:** - Add environment variable to mirror `cleanup_preserved_jobs --before-seconds-ago=SECONDS` [\#110](https://github.com/bensheldon/good_job/issues/110) - Allow env variable config for cleanups [\#114](https://github.com/bensheldon/good_job/pull/114) ([gadimbaylisahil](https://github.com/gadimbaylisahil)) **Fixed bugs:** - Better table name detection for Job queries [\#119](https://github.com/bensheldon/good_job/pull/119) ([gadimbaylisahil](https://github.com/gadimbaylisahil)) **Closed issues:** - Remove unused PgLocks class [\#121](https://github.com/bensheldon/good_job/issues/121) - Fix minor issue with CommandLine option links in README.md [\#116](https://github.com/bensheldon/good_job/issues/116) - Unused .advisory\_lock\_details in PgLocks [\#105](https://github.com/bensheldon/good_job/issues/105) **Merged pull requests:** - Remove unused PgLocks class [\#120](https://github.com/bensheldon/good_job/pull/120) ([gadimbaylisahil](https://github.com/gadimbaylisahil)) - Fix readme CommandLine option links [\#115](https://github.com/bensheldon/good_job/pull/115) ([gadimbaylisahil](https://github.com/gadimbaylisahil)) - Have YARD render markdown files with GFM \(Github Flavored Markdown\) [\#113](https://github.com/bensheldon/good_job/pull/113) ([bensheldon](https://github.com/bensheldon)) - Add markdownlint to lint readme [\#109](https://github.com/bensheldon/good_job/pull/109) ([bensheldon](https://github.com/bensheldon)) - Remove unused method in PgLocks [\#107](https://github.com/bensheldon/good_job/pull/107) ([gadimbaylisahil](https://github.com/gadimbaylisahil)) - Re-organize Readme: frontload configuration, add Table of Contents [\#106](https://github.com/bensheldon/good_job/pull/106) ([bensheldon](https://github.com/bensheldon)) ## [v1.2.3](https://github.com/bensheldon/good_job/tree/v1.2.3) (2020-08-27) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.2.2...v1.2.3) **Closed issues:** - requiring more dependencies in then needed [\#103](https://github.com/bensheldon/good_job/issues/103) **Merged pull requests:** - stop depending on all rails libs [\#104](https://github.com/bensheldon/good_job/pull/104) ([thilo](https://github.com/thilo)) ## [v1.2.2](https://github.com/bensheldon/good_job/tree/v1.2.2) (2020-08-27) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.2.1...v1.2.2) **Implemented enhancements:** - Run Github Action tests against Ruby 2.5, 2.6, 2.7 [\#100](https://github.com/bensheldon/good_job/issues/100) - Name the thread pools [\#96](https://github.com/bensheldon/good_job/pull/96) ([sj26](https://github.com/sj26)) **Fixed bugs:** - Freezes puma on code change [\#95](https://github.com/bensheldon/good_job/issues/95) - Ruby 2.7 keyword arguments warning [\#93](https://github.com/bensheldon/good_job/issues/93) - Return to using executor.wrap around Scheduler execution task [\#99](https://github.com/bensheldon/good_job/pull/99) ([bensheldon](https://github.com/bensheldon)) **Closed issues:** - Add test for `rails g good_job:install` [\#57](https://github.com/bensheldon/good_job/issues/57) **Merged pull requests:** - Use more ActiveRecord in Lockable and not connection.execute [\#102](https://github.com/bensheldon/good_job/pull/102) ([bensheldon](https://github.com/bensheldon)) - Run CI tests on Ruby 2.5, 2.6, and 2.7 [\#101](https://github.com/bensheldon/good_job/pull/101) ([arku](https://github.com/arku)) - Fix Ruby 2.7 keyword arguments warning [\#98](https://github.com/bensheldon/good_job/pull/98) ([arku](https://github.com/arku)) - Remove executor/reloader for less interlocking [\#97](https://github.com/bensheldon/good_job/pull/97) ([sj26](https://github.com/sj26)) - Add test for `rails g good_job:install` [\#94](https://github.com/bensheldon/good_job/pull/94) ([arku](https://github.com/arku)) ## [v1.2.1](https://github.com/bensheldon/good_job/tree/v1.2.1) (2020-08-21) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.2.0...v1.2.1) **Fixed bugs:** - undefined method `thread\_mattr\_accessor' when not requiring the Sprockets Railstie [\#85](https://github.com/bensheldon/good_job/issues/85) **Closed issues:** - Document comparison of GoodJob with other backends [\#51](https://github.com/bensheldon/good_job/issues/51) **Merged pull requests:** - Explicitly require thread\_mattr\_accessor from ActiveSupport [\#86](https://github.com/bensheldon/good_job/pull/86) ([bensheldon](https://github.com/bensheldon)) - Add comparison of other backends to Readme [\#84](https://github.com/bensheldon/good_job/pull/84) ([bensheldon](https://github.com/bensheldon)) ## [v1.2.0](https://github.com/bensheldon/good_job/tree/v1.2.0) (2020-08-20) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.1.4...v1.2.0) **Merged pull requests:** - Document GoodJob module [\#83](https://github.com/bensheldon/good_job/pull/83) ([bensheldon](https://github.com/bensheldon)) ## [v1.1.4](https://github.com/bensheldon/good_job/tree/v1.1.4) (2020-08-19) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.1.3...v1.1.4) **Implemented enhancements:** - Explicitly name threads for easier debugging [\#64](https://github.com/bensheldon/good_job/issues/64) - Investigate Listen/Notify as alternative to polling [\#54](https://github.com/bensheldon/good_job/issues/54) **Merged pull requests:** - Add Postgres LISTEN/NOTIFY support [\#82](https://github.com/bensheldon/good_job/pull/82) ([bensheldon](https://github.com/bensheldon)) - Allow Schedulers to filter \#create\_thread to avoid flood of queries when running async with multiple schedulers [\#81](https://github.com/bensheldon/good_job/pull/81) ([bensheldon](https://github.com/bensheldon)) - Fully name scheduler threadpools and thread names; refactor CLI STDOUT [\#80](https://github.com/bensheldon/good_job/pull/80) ([bensheldon](https://github.com/bensheldon)) ## [v1.1.3](https://github.com/bensheldon/good_job/tree/v1.1.3) (2020-08-14) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.1.2...v1.1.3) **Fixed bugs:** - Job exceptions not properly attached to good\_jobs record [\#72](https://github.com/bensheldon/good_job/issues/72) **Merged pull requests:** - Capture errors via instrumentation from retry\_on and discard\_on [\#79](https://github.com/bensheldon/good_job/pull/79) ([bensheldon](https://github.com/bensheldon)) - Document GoodJob::Scheduler with Yard [\#78](https://github.com/bensheldon/good_job/pull/78) ([bensheldon](https://github.com/bensheldon)) ## [v1.1.2](https://github.com/bensheldon/good_job/tree/v1.1.2) (2020-08-13) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.1.1...v1.1.2) **Implemented enhancements:** - Allow the omission of queue names within a scheduler [\#73](https://github.com/bensheldon/good_job/issues/73) **Merged pull requests:** - Allow named queues to be excluded with a minus [\#77](https://github.com/bensheldon/good_job/pull/77) ([bensheldon](https://github.com/bensheldon)) ## [v1.1.1](https://github.com/bensheldon/good_job/tree/v1.1.1) (2020-08-12) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.1.0...v1.1.1) **Implemented enhancements:** - Allow multiple schedulers within the same process. e.g. `queues=mice:2,elephants:4` [\#45](https://github.com/bensheldon/good_job/issues/45) **Merged pull requests:** - Allow instantiation of multiple schedulers via --queues [\#76](https://github.com/bensheldon/good_job/pull/76) ([bensheldon](https://github.com/bensheldon)) - Extract options parsing to Configuration object [\#74](https://github.com/bensheldon/good_job/pull/74) ([bensheldon](https://github.com/bensheldon)) ## [v1.1.0](https://github.com/bensheldon/good_job/tree/v1.1.0) (2020-08-10) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.0.3...v1.1.0) **Closed issues:** - Document reliability guarantees [\#59](https://github.com/bensheldon/good_job/issues/59) - Document how to hook in exception monitor \(Sentry, Rollbar, etc\) [\#47](https://github.com/bensheldon/good_job/issues/47) - Allow an Async mode [\#27](https://github.com/bensheldon/good_job/issues/27) **Merged pull requests:** - Add a callable hook on thread errors [\#71](https://github.com/bensheldon/good_job/pull/71) ([bensheldon](https://github.com/bensheldon)) - Clarify reliability guarantees [\#70](https://github.com/bensheldon/good_job/pull/70) ([bensheldon](https://github.com/bensheldon)) - Clean up Readme formatting; re-arrange tests for clarity and values [\#69](https://github.com/bensheldon/good_job/pull/69) ([bensheldon](https://github.com/bensheldon)) - Create an Async execution mode [\#68](https://github.com/bensheldon/good_job/pull/68) ([bensheldon](https://github.com/bensheldon)) - Move all stdout to LogSubscriber [\#67](https://github.com/bensheldon/good_job/pull/67) ([bensheldon](https://github.com/bensheldon)) - Allow schedulers to be restarted; separate unit tests from integration tests [\#66](https://github.com/bensheldon/good_job/pull/66) ([bensheldon](https://github.com/bensheldon)) ## [v1.0.3](https://github.com/bensheldon/good_job/tree/v1.0.3) (2020-07-26) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.0.2...v1.0.3) **Fixed bugs:** - Preserve GoodJob::Jobs when a StandardError is raised [\#60](https://github.com/bensheldon/good_job/issues/60) **Closed issues:** - Have an initial setup generator [\#6](https://github.com/bensheldon/good_job/issues/6) **Merged pull requests:** - Re-perform a job if a StandardError bubbles up; better document job reliability [\#62](https://github.com/bensheldon/good_job/pull/62) ([bensheldon](https://github.com/bensheldon)) - Update the setup documentation to use correct bin setup command [\#61](https://github.com/bensheldon/good_job/pull/61) ([jm96441n](https://github.com/jm96441n)) ## [v1.0.2](https://github.com/bensheldon/good_job/tree/v1.0.2) (2020-07-25) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.0.1...v1.0.2) **Fixed bugs:** - Fix counting of available execution threads [\#58](https://github.com/bensheldon/good_job/pull/58) ([bensheldon](https://github.com/bensheldon)) **Merged pull requests:** - Add migration generator [\#56](https://github.com/bensheldon/good_job/pull/56) ([thedanbob](https://github.com/thedanbob)) - Fix migration script in readme [\#55](https://github.com/bensheldon/good_job/pull/55) ([thedanbob](https://github.com/thedanbob)) ## [v1.0.1](https://github.com/bensheldon/good_job/tree/v1.0.1) (2020-07-22) [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.0.0...v1.0.1) **Merged pull requests:** - Change threadpool idletime default to 60 seconds from 0 [\#49](https://github.com/bensheldon/good_job/pull/49) ([bensheldon](https://github.com/bensheldon)) ## [v1.0.0](https://github.com/bensheldon/good_job/tree/v1.0.0) (2020-07-20) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.9.0...v1.0.0) ## [v0.9.0](https://github.com/bensheldon/good_job/tree/v0.9.0) (2020-07-20) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.8.2...v0.9.0) **Merged pull requests:** - Allow preservation of finished job records [\#46](https://github.com/bensheldon/good_job/pull/46) ([bensheldon](https://github.com/bensheldon)) ## [v0.8.2](https://github.com/bensheldon/good_job/tree/v0.8.2) (2020-07-18) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.8.1...v0.8.2) **Closed issues:** - Add a job timeout configuration to time out jobs that have run too long [\#19](https://github.com/bensheldon/good_job/issues/19) **Merged pull requests:** - Run Github Action tests on PRs from forks [\#44](https://github.com/bensheldon/good_job/pull/44) ([bensheldon](https://github.com/bensheldon)) - Fix Rubygems homepage URL [\#43](https://github.com/bensheldon/good_job/pull/43) ([joshmn](https://github.com/joshmn)) ## [v0.8.1](https://github.com/bensheldon/good_job/tree/v0.8.1) (2020-07-18) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.8.0...v0.8.1) **Merged pull requests:** - Move where\(scheduled\_at: Time.current\) into dynamic part of GoodJob::Job::Performer [\#42](https://github.com/bensheldon/good_job/pull/42) ([bensheldon](https://github.com/bensheldon)) ## [v0.8.0](https://github.com/bensheldon/good_job/tree/v0.8.0) (2020-07-17) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.7.0...v0.8.0) **Merged pull requests:** - Replace Adapter inline boolean kwarg with execution\_mode instead [\#41](https://github.com/bensheldon/good_job/pull/41) ([bensheldon](https://github.com/bensheldon)) ## [v0.7.0](https://github.com/bensheldon/good_job/tree/v0.7.0) (2020-07-16) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.6.0...v0.7.0) **Closed issues:** - Always store a default priority \(0\) and scheduled\_at\(Time.current\) [\#30](https://github.com/bensheldon/good_job/issues/30) **Merged pull requests:** - Add more examples to Readme [\#39](https://github.com/bensheldon/good_job/pull/39) ([bensheldon](https://github.com/bensheldon)) - Add additional Rubocops and lint [\#38](https://github.com/bensheldon/good_job/pull/38) ([bensheldon](https://github.com/bensheldon)) - Always store a default queue\_name, priority and scheduled\_at; index by queue\_name and scheduled\_at [\#37](https://github.com/bensheldon/good_job/pull/37) ([bensheldon](https://github.com/bensheldon)) ## [v0.6.0](https://github.com/bensheldon/good_job/tree/v0.6.0) (2020-07-15) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.5.0...v0.6.0) **Closed issues:** - Improve the command line options [\#32](https://github.com/bensheldon/good_job/issues/32) - Allow config.active\_job.queue\_adapter = :good\_job to work [\#5](https://github.com/bensheldon/good_job/issues/5) **Merged pull requests:** - Improve generation of changelog [\#36](https://github.com/bensheldon/good_job/pull/36) ([bensheldon](https://github.com/bensheldon)) - Update Github Action Workflow for Backlog Project Board [\#35](https://github.com/bensheldon/good_job/pull/35) ([bensheldon](https://github.com/bensheldon)) - Add configuration options to good\_job executable [\#33](https://github.com/bensheldon/good_job/pull/33) ([bensheldon](https://github.com/bensheldon)) - Extract Job querying behavior out of Scheduler [\#31](https://github.com/bensheldon/good_job/pull/31) ([bensheldon](https://github.com/bensheldon)) - Allow configuration of Rails queue adapter with `:good_job` [\#28](https://github.com/bensheldon/good_job/pull/28) ([bensheldon](https://github.com/bensheldon)) ## [v0.5.0](https://github.com/bensheldon/good_job/tree/v0.5.0) (2020-07-13) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.4.0...v0.5.0) **Merged pull requests:** - Update development Ruby to 2.6.6 and gems [\#29](https://github.com/bensheldon/good_job/pull/29) ([bensheldon](https://github.com/bensheldon)) ## [v0.4.0](https://github.com/bensheldon/good_job/tree/v0.4.0) (2020-03-31) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.3.0...v0.4.0) **Merged pull requests:** - Improve ActiveRecord usage for advisory locking [\#24](https://github.com/bensheldon/good_job/pull/24) ([bensheldon](https://github.com/bensheldon)) - Remove support for Rails 5.1 [\#23](https://github.com/bensheldon/good_job/pull/23) ([bensheldon](https://github.com/bensheldon)) ## [v0.3.0](https://github.com/bensheldon/good_job/tree/v0.3.0) (2020-03-22) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.2.2...v0.3.0) **Merged pull requests:** - Update development Ruby to 2.6.5 [\#22](https://github.com/bensheldon/good_job/pull/22) ([bensheldon](https://github.com/bensheldon)) - Simplify the internal API, removing JobWrapper and InlineScheduler [\#21](https://github.com/bensheldon/good_job/pull/21) ([bensheldon](https://github.com/bensheldon)) - Generate a new future for every executed job [\#20](https://github.com/bensheldon/good_job/pull/20) ([bensheldon](https://github.com/bensheldon)) - Configuration for maximum number of job execution threads [\#18](https://github.com/bensheldon/good_job/pull/18) ([bensheldon](https://github.com/bensheldon)) ## [v0.2.2](https://github.com/bensheldon/good_job/tree/v0.2.2) (2020-03-08) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.2.1...v0.2.2) **Merged pull requests:** - Gracefully shutdown Scheduler when executable receives TERM or INT [\#17](https://github.com/bensheldon/good_job/pull/17) ([bensheldon](https://github.com/bensheldon)) - Update Appraisals [\#16](https://github.com/bensheldon/good_job/pull/16) ([bensheldon](https://github.com/bensheldon)) ## [v0.2.1](https://github.com/bensheldon/good_job/tree/v0.2.1) (2020-03-07) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.2.0...v0.2.1) **Merged pull requests:** - Clean up Gemspec [\#15](https://github.com/bensheldon/good_job/pull/15) ([bensheldon](https://github.com/bensheldon)) - Set up Rubocop [\#14](https://github.com/bensheldon/good_job/pull/14) ([bensheldon](https://github.com/bensheldon)) - Add pg gem as explicit dependency [\#13](https://github.com/bensheldon/good_job/pull/13) ([bensheldon](https://github.com/bensheldon)) - Bump nokogiri from 1.10.7 to 1.10.9 [\#12](https://github.com/bensheldon/good_job/pull/12) ([dependabot[bot]](https://github.com/apps/dependabot)) - Add Appraisal with tests for Rails 5.1, 5.2, 6.0 [\#11](https://github.com/bensheldon/good_job/pull/11) ([bensheldon](https://github.com/bensheldon)) ## [v0.2.0](https://github.com/bensheldon/good_job/tree/v0.2.0) (2020-03-06) [Full Changelog](https://github.com/bensheldon/good_job/compare/v0.1.0...v0.2.0) **Merged pull requests:** - Use Rails.logger and ActiveSupport::Notifications for logging instead of puts [\#10](https://github.com/bensheldon/good_job/pull/10) ([bensheldon](https://github.com/bensheldon)) - Remove minitest files [\#9](https://github.com/bensheldon/good_job/pull/9) ([bensheldon](https://github.com/bensheldon)) - Use scheduled\_at and priority for scheduling [\#8](https://github.com/bensheldon/good_job/pull/8) ([bensheldon](https://github.com/bensheldon)) - Create Github Action workflow for PRs and Issues [\#7](https://github.com/bensheldon/good_job/pull/7) ([bensheldon](https://github.com/bensheldon)) ## [v0.1.0](https://github.com/bensheldon/good_job/tree/v0.1.0) (2020-03-03) [Full Changelog](https://github.com/bensheldon/good_job/compare/6866006239f1a6b7fcb7103f5df60d904952fb84...v0.1.0) **Merged pull requests:** - Add executable with Thor [\#4](https://github.com/bensheldon/good_job/pull/4) ([bensheldon](https://github.com/bensheldon)) - Refactor adapter enqueing methods; expand Readme, tests, editorconfig [\#3](https://github.com/bensheldon/good_job/pull/3) ([bensheldon](https://github.com/bensheldon)) - Fetch new jobs within the worker thread itself; incrementally grow worker threads [\#2](https://github.com/bensheldon/good_job/pull/2) ([bensheldon](https://github.com/bensheldon)) - Set up Github Workflows for tests [\#1](https://github.com/bensheldon/good_job/pull/1) ([bensheldon](https://github.com/bensheldon)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*