v1.2.5 (2020-09-17)
Implemented enhancements:
- Use Zeitwerk for auto-loading #87
Fixed bugs:
poll-interval=-1
does not disable polling as intended #133
Closed issues:
- Lint - Introduce line character limits #122
- Jobs are not processed in multi schema setup. Apartment + GoodJob ( post 1.1.2 ) #117
- Host a documentation sprint #48
Merged pull requests:
- Test GoodJob against Rails HEAD #144 (bensheldon)
- Update Gemspec to reflect that GoodJob is not compatible with Rails 5.1 #143 (bensheldon)
- Drop Ruby 2.4 support #142 (morgoth)
- Prevent jobs hanging #141 (morgoth)
- Remove arguments from perform method #140 (morgoth)
- Extract "execute" method to reduce "perform" method complexity #138 (morgoth)
- Correct example on how to configure multiple queues by command line. #135 (morgoth)
- Add explicit require_paths to gemspec for engine #134 (bensheldon)
- Spike on data dashboard; pull in full Bootstrap CSS and JS #131 (bensheldon)
- Update ActionMailer Job class, to match the default #130 (morgoth)
- Add initial Engine scaffold #125 (bensheldon)
- Use
connection.quote\_table\_name
and add spacing for SQL concatenation #124 (bensheldon) - Zeitwerk Loader Implementation #123 (gadimbaylisahil)
- Update code-level documentation #111 (bensheldon)
v1.2.4 (2020-09-01)
Implemented enhancements:
- Add environment variable to mirror
cleanup\_preserved\_jobs --before-seconds-ago=SECONDS
#110
Closed issues:
- Remove unused PgLocks class #121
- Fix minor issue with CommandLine option links in README.md #116
- Unused .advisory_lock_details in PgLocks #105
Merged pull requests:
- Remove unused PgLocks class #120 (gadimbaylisahil)
- Better table name detection for Job queries #119 (gadimbaylisahil)
- Fix readme CommandLine option links #115 (gadimbaylisahil)
- Allow env variable config for cleanups #114 (gadimbaylisahil)
- Have YARD render markdown files with GFM (Github Flavored Markdown) #113 (bensheldon)
- Add markdownlint to lint readme #109 (bensheldon)
- Remove unused method in PgLocks #107 (gadimbaylisahil)
- Re-organize Readme: frontload configuration, add Table of Contents #106 (bensheldon)
v1.2.3 (2020-08-27)
Closed issues:
- requiring more dependencies in then needed #103
Merged pull requests:
v1.2.2 (2020-08-27)
Implemented enhancements:
- Run Github Action tests against Ruby 2.5, 2.6, 2.7 #100
Fixed bugs:
Closed issues:
- Add test for
rails g good\_job:install
#57
Merged pull requests:
- Use more ActiveRecord in Lockable and not connection.execute #102 (bensheldon)
- Run CI tests on Ruby 2.5, 2.6, and 2.7 #101 (arku)
- Return to using executor.wrap around Scheduler execution task #99 (bensheldon)
- Fix Ruby 2.7 keyword arguments warning #98 (arku)
- Remove executor/reloader for less interlocking #97 (sj26)
- Name the thread pools #96 (sj26)
- Add test for
rails g good\_job:install
#94 (arku)
v1.2.1 (2020-08-21)
Fixed bugs:
- undefined method `thread_mattr_accessor' when not requiring the Sprockets Railstie #85
Closed issues:
- Document comparison of GoodJob with other backends #51
Merged pull requests:
- Explicitly require thread_mattr_accessor from ActiveSupport #86 (bensheldon)
- Add comparison of other backends to Readme #84 (bensheldon)
v1.2.0 (2020-08-20)
Merged pull requests:
- Document GoodJob module #83 (bensheldon)
v1.1.4 (2020-08-19)
Implemented enhancements:
- Explicitly name threads for easier debugging #64
- Investigate Listen/Notify as alternative to polling #54
Merged pull requests:
- Add Postgres LISTEN/NOTIFY support #82 (bensheldon)
- Allow Schedulers to filter #create_thread to avoid flood of queries when running async with multiple schedulers #81 (bensheldon)
- Fully name scheduler threadpools and thread names; refactor CLI STDOUT #80 (bensheldon)
v1.1.3 (2020-08-14)
Fixed bugs:
- Job exceptions not properly attached to good_jobs record #72
Merged pull requests:
- Capture errors via instrumentation from retry_on and discard_on #79 (bensheldon)
- Document GoodJob::Scheduler with Yard #78 (bensheldon)
v1.1.2 (2020-08-13)
Implemented enhancements:
- Allow the omission of queue names within a scheduler #73
Merged pull requests:
- Allow named queues to be excluded with a minus #77 (bensheldon)
v1.1.1 (2020-08-12)
Implemented enhancements:
- Allow multiple schedulers within the same process. e.g.
queues=mice:2,elephants:4
#45
Merged pull requests:
- Allow instantiation of multiple schedulers via --queues #76 (bensheldon)
- Extract options parsing to Configuration object #74 (bensheldon)
v1.1.0 (2020-08-10)
Closed issues:
- Document reliability guarantees #59
- Document how to hook in exception monitor (Sentry, Rollbar, etc) #47
- Allow an Async mode #27
Merged pull requests:
- Add a callable hook on thread errors #71 (bensheldon)
- Clarify reliability guarantees #70 (bensheldon)
- Clean up Readme formatting; re-arrange tests for clarity and values #69 (bensheldon)
- Create an Async execution mode #68 (bensheldon)
- Move all stdout to LogSubscriber #67 (bensheldon)
- Allow schedulers to be restarted; separate unit tests from integration tests #66 (bensheldon)
v1.0.3 (2020-07-26)
Fixed bugs:
- Preserve GoodJob::Jobs when a StandardError is raised #60
Closed issues:
- Have an initial setup generator #6
Merged pull requests:
- Re-perform a job if a StandardError bubbles up; better document job reliability #62 (bensheldon)
- Update the setup documentation to use correct bin setup command #61 (jm96441n)
v1.0.2 (2020-07-25)
Fixed bugs:
- Fix counting of available execution threads #58 (bensheldon)
Merged pull requests:
v1.0.1 (2020-07-22)
Merged pull requests:
- Change threadpool idletime default to 60 seconds from 0 #49 (bensheldon)
v1.0.0 (2020-07-20)
v0.9.0 (2020-07-20)
Merged pull requests:
- Allow preservation of finished job records #46 (bensheldon)
v0.8.2 (2020-07-18)
Closed issues:
- Add a job timeout configuration to time out jobs that have run too long #19
Merged pull requests:
- Run Github Action tests on PRs from forks #44 (bensheldon)
- Fix Rubygems homepage URL #43 (joshmn)
v0.8.1 (2020-07-18)
Merged pull requests:
- Move where(scheduled_at: Time.current) into dynamic part of GoodJob::Job::Performer #42 (bensheldon)
v0.8.0 (2020-07-17)
Merged pull requests:
- Replace Adapter inline boolean kwarg with execution_mode instead #41 (bensheldon)
v0.7.0 (2020-07-16)
Closed issues:
- Always store a default priority (0) and scheduled_at(Time.current) #30
Merged pull requests:
- Add more examples to Readme #39 (bensheldon)
- Add additional Rubocops and lint #38 (bensheldon)
- Always store a default queue_name, priority and scheduled_at; index by queue_name and scheduled_at #37 (bensheldon)
v0.6.0 (2020-07-15)
Closed issues:
Merged pull requests:
- Improve generation of changelog #36 (bensheldon)
- Update Github Action Workflow for Backlog Project Board #35 (bensheldon)
- Add configuration options to good_job executable #33 (bensheldon)
- Extract Job querying behavior out of Scheduler #31 (bensheldon)
- Allow configuration of Rails queue adapter with
:good\_job
#28 (bensheldon)
v0.5.0 (2020-07-13)
Merged pull requests:
- Update development Ruby to 2.6.6 and gems #29 (bensheldon)
v0.4.0 (2020-03-31)
Merged pull requests:
- Improve ActiveRecord usage for advisory locking #24 (bensheldon)
- Remove support for Rails 5.1 #23 (bensheldon)
v0.3.0 (2020-03-22)
Merged pull requests:
- Update development Ruby to 2.6.5 #22 (bensheldon)
- Simplify the internal API, removing JobWrapper and InlineScheduler #21 (bensheldon)
- Generate a new future for every executed job #20 (bensheldon)
- Configuration for maximum number of job execution threads #18 (bensheldon)
v0.2.2 (2020-03-08)
Merged pull requests:
- Gracefully shutdown Scheduler when executable receives TERM or INT #17 (bensheldon)
- Update Appraisals #16 (bensheldon)
v0.2.1 (2020-03-07)
Merged pull requests:
- Clean up Gemspec #15 (bensheldon)
- Set up Rubocop #14 (bensheldon)
- Add pg gem as explicit dependency #13 (bensheldon)
- Bump nokogiri from 1.10.7 to 1.10.9 #12 (dependabot[bot])
- Add Appraisal with tests for Rails 5.1, 5.2, 6.0 #11 (bensheldon)
- Use Rails.logger and ActiveSupport::Notifications for logging instead of puts #10 (bensheldon)
v0.2.0 (2020-03-06)
Merged pull requests:
- Remove minitest files #9 (bensheldon)
- Use scheduled_at and priority for scheduling #8 (bensheldon)
- Create Github Action workflow for PRs and Issues #7 (bensheldon)
v0.1.0 (2020-03-03)
Merged pull requests:
- Add executable with Thor #4 (bensheldon)
- Refactor adapter enqueing methods; expand Readme, tests, editorconfig #3 (bensheldon)
- Fetch new jobs within the worker thread itself; incrementally grow worker threads #2 (bensheldon)
- Set up Github Workflows for tests #1 (bensheldon)
* This Changelog was automatically generated by github_changelog_generator