-
Couldn't load subscription status.
- Fork 16
Change Log
Grant Carthew edited this page Feb 26, 2018
·
70 revisions
- Dependencies updated.
- Fixed the README NSP link.
- Dependencies updated.
- Dependencies updated.
- Added
docker-compose.yamlto support testing. - Fixed table name collisions in the tests.
- Dependencies updated.
- Fixed dbReview tests.
- Added CODE_OF_CONDUCT.md
- TypeScript definitions updated.
- TypeScript definitions added thanks to Talin (@viridia)
- Added extra log entry when the job is passed back into the
next(null, job)callback. - Dependency packages updated.
- Add Queue.limitJobLogs option and feature.
- Dependency packages updated.
- Fixed logic bug related to
next(err)calls. - Major changes to tests making them atomic (each test is using its own table).
- Dependency packages updated.
- Changed Event.error arguments due to API design flaw and Nodejs bug. This is a breaking public API change.
- Dependency packages updated.
- Fixed
next()with undefined arguments bug. - Dependency packages updated.
- Dependency packages updated.
- Circular dependency removed.
- Duplicate function removed.
- Refactored queue.js.
- bitHound config added.
- Added the
nameindex. - Added the Job.setName method.
- Added the Queue.findJobByName method.
- Added the Queue.containsJobByName method.
- Improved Queue.findJob to return jobs in
dateCreatedorder.
- Dependency packages updated.
- Added new feature to
next()callback within Queue.process handler. Now supports passing back the job. See the Complex Job document for more detail.
- Dependency packages updated.
- Fixed
queue-get-next-job.jsquery to be atomic.
- Dependency packages updated.
- Queue.queryRunOptions added.
- Fixed Node.js circular dependency.
- Fixed Queue.reanimateJob api.
- Changed Queue.process
next()to Node.js style callback patternnext(err, result). - Renamed
Job.setProgresstoJob.updateProgress. - Added Queue.reanimateJob method.
- Added Event.reanimated event.
- Updated Event.error signature to include the Queue.id first then the error.
- Updated Event.reset signature to include the Queue.id and totalRemoved.
- Updated Event.reviewed signature to include the Queue.id and reviewed object.
- Updated Event.added signature to include the Queue.id and Job.id.
- Updated Event.active signature to include the Queue.id and Job.id.
- Updated Event.processing signature to include the Queue.id and Job.id.
- Updated Event.completed signature to include the Queue.id, Job.id, and isRepeating.
- Updated Event.failed signature to include the Queue.id and Job.id.
- Updated Event.terminated signature to include the Queue.id and Job.id.
- Updated Event.cancelled signature to include the Queue.id and Job.id.
- Updated Event.log signature to include the Queue.id and Job.id.
- Updated Event.progress signature to include the Queue.id, Job.id, and percent.
- Updated Event.updated signature to include the Queue.id and Job.id.
- Updated pausing, paused, and resumed signature order to Queue.id and global.
- Fixed removing event listeners when Queue.stop is called.
- Improved Queue.summary query performance by adding a
statusindex. - Migrated tests from tape to tap.
- Added Istanbul including a code coverage report.
- Updated Job.update to return a Promise resolving to the Job object.
- Updated Job.updateProgress to return a Promise resolving to the Job object.
- Added Job.setRepeat and Job.setRepeatDelay to enable repeat jobs.
- Added Job.repeat and Job.repeatDelay with full repeatable job tests.
- Added Job.processCount property to track process or attempts.
- Added a new Queue Option
databaseInitDelay. - Added a database initialization delay algorithm to the db-assert module.
- Readme updated to point to the installation document.
- Added Babel Pollyfill warning to README document.
- Added Job.getLastLog method.
- Renamed the
job-add-logmodule tojob-log. - Calling Job.setProgress (renamed to Job.updateProgress in v2.0 above) adds a log entry automatically.
- Added
Object.freezeto enum objects.
- Fixed
removeFinishedJobs = falsebug. - Upgraded Babel transpiling to babel-preset-latest.
-
Job.updatenow adds log entry automatically. - Bump to v1.0.0 to support SemVer.
- Dependencies updated.
- 'Job updated' message added.
- Updated job-add-log module tests.
- Removed
Job.createLogmethod. - Changed
Job.addLogsignature. - Changed
Job.updatesignature. -
next(error)stringifies error toJob.log[].data.
- Fixed
dateEnablevalue when job failed is called.
- Added default log message when data added.
- Fixed multiple Queue Masters in the same Node.js process.
- Fixed
queue-summaryquery picking up theState Document. - Fixed
Queue.idto include database name.
- Added
Queue.findJobraw option and tests. -
db-reviewnow changes state document state value toreviewed. -
queue-changerestarts processing on state documentreviewedstate.
- Improved Job constructor to support arrays.
- Fixed masterInterval option parsing.
- Added
is.logto theismodule. - Added
Job.setPriority,Job.setTimeout,Job.setRetryMax,Job.setRetryDelay,setDateEnable. - Added string, object, or log arguments to
Job.addLog. - Changed
Queue.createJobAPI to support data objects, values and options.
- Added global queue pause.
- Fixed tests for global queue pause.
- Added
Queue.findJob()method.
- Extended failed job
dateCreatedvalue in queue-process tests. - Added worker stops processing on global
cancelledevent. - Refactored
Queue.process.
- Documentation updated.
- Tests updated.
- Added the
job-updatemodule. - Added
job.update()method. - Changed
addedjob status towaiting.
- Added
db-drivermodule for connection testing. - Changed
Queue()constructor API to add connection options. - Standardized time related options to milliseconds.
- Added
datetimemodule to add and format dates. - Updated
ismodule to includedateBefore,dateAfter,dateBetween. - Removed the
momentlibrary.
- Replaced
node-uuiddependency withuuidpackage. - Renamed
dateRetrytodateEnable. - Updated
is.date()to removemoment.isDate(). - Added
Delayed Jobtests to queue-process tests.
- Fixed
next()calls. - Minor refactor.
- README updated.
- Changed the
next()function signature. - Added
catch()tonext()Promise. - README updated.
- Changed return values of
Queue.removeJobto job ids. - Removed the
Queue.connectionalias property. - Added the
pausingQueue event. - Updated examples to work with the
next()Promise. - Fixed a require path in
queue-add-job.
- Removed
retryjob priority. - Added process timeout extender when progress updated.
- Added
priorityAsStringtoJob.getCleanCopy. - Fixed
job-optionsso it keeps current if only one supplied. - Removed
Job.setPayload. - Switched to using
Map()for queue-process job timeouts.
- Removed
masterQueue options, only usingmasterInterval. -
masterIntervaldefault options changed from 300 sec to 310. - Internal parameter rename from
joborjobIdtojobOrId. - Updated README with better examples.
- Removed data from
Queue.createJob(). - Added the
Job.setPayload()method.
- Initial publish to npm.
- Changes expected.
- Introduction
- Tutorial
- Queue Constructor
- Queue Connection
- Queue Options
- Queue PubSub
- Queue Master
- Queue Events
- State Document
- Job Processing
- Job Options
- Job Status
- Job Retry
- Job Repeat
- Job Logging
- Job Editing
- Job Schema
- Job Name
- Complex Job
- Delayed Job
- Cancel Job
- Error Handling
- Queue.createJob
- Queue.addJob
- Queue.getJob
- Queue.findJob
- Queue.findJobByName
- Queue.containsJobByName
- Queue.cancelJob
- Queue.reanimateJob
- Queue.removeJob
- Queue.process
- Queue.review
- Queue.summary
- Queue.ready
- Queue.pause
- Queue.resume
- Queue.reset
- Queue.stop
- Queue.drop
- Queue.Job
- Queue.host
- Queue.port
- Queue.db
- Queue.name
- Queue.r
- Queue.id
- Queue.jobOptions [R/W]
- Queue.changeFeed
- Queue.master
- Queue.masterInterval
- Queue.removeFinishedJobs
- Queue.running
- Queue.concurrency [R/W]
- Queue.paused
- Queue.idle
- Event.ready
- Event.added
- Event.updated
- Event.active
- Event.processing
- Event.progress
- Event.log
- Event.pausing
- Event.paused
- Event.resumed
- Event.completed
- Event.cancelled
- Event.failed
- Event.terminated
- Event.reanimated
- Event.removed
- Event.idle
- Event.reset
- Event.error
- Event.reviewed
- Event.detached
- Event.stopping
- Event.stopped
- Event.dropped
- Job.setName
- Job.setPriority
- Job.setTimeout
- Job.setDateEnable
- Job.setRetryMax
- Job.setRetryDelay
- Job.setRepeat
- Job.setRepeatDelay
- Job.updateProgress
- Job.update
- Job.getCleanCopy
- Job.addLog
- Job.getLastLog