-
Notifications
You must be signed in to change notification settings - 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.yaml
to 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
name
index. - Added the Job.setName method.
- Added the Queue.findJobByName method.
- Added the Queue.containsJobByName method.
- Improved Queue.findJob to return jobs in
dateCreated
order.
- 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.js
query 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.setProgress
toJob.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
status
index. - 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-log
module tojob-log
. - Calling Job.setProgress (renamed to Job.updateProgress in v2.0 above) adds a log entry automatically.
- Added
Object.freeze
to enum objects.
- Fixed
removeFinishedJobs = false
bug. - Upgraded Babel transpiling to babel-preset-latest.
-
Job.update
now 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.createLog
method. - Changed
Job.addLog
signature. - Changed
Job.update
signature. -
next(error)
stringifies error toJob.log[].data
.
- Fixed
dateEnable
value when job failed is called.
- Added default log message when data added.
- Fixed multiple Queue Masters in the same Node.js process.
- Fixed
queue-summary
query picking up theState Document
. - Fixed
Queue.id
to include database name.
- Added
Queue.findJob
raw option and tests. -
db-review
now changes state document state value toreviewed
. -
queue-change
restarts processing on state documentreviewed
state.
- Improved Job constructor to support arrays.
- Fixed masterInterval option parsing.
- Added
is.log
to theis
module. - Added
Job.setPriority
,Job.setTimeout
,Job.setRetryMax
,Job.setRetryDelay
,setDateEnable
. - Added string, object, or log arguments to
Job.addLog
. - Changed
Queue.createJob
API to support data objects, values and options.
- Added global queue pause.
- Fixed tests for global queue pause.
- Added
Queue.findJob()
method.
- Extended failed job
dateCreated
value in queue-process tests. - Added worker stops processing on global
cancelled
event. - Refactored
Queue.process
.
- Documentation updated.
- Tests updated.
- Added the
job-update
module. - Added
job.update()
method. - Changed
added
job status towaiting
.
- Added
db-driver
module for connection testing. - Changed
Queue()
constructor API to add connection options. - Standardized time related options to milliseconds.
- Added
datetime
module to add and format dates. - Updated
is
module to includedateBefore
,dateAfter
,dateBetween
. - Removed the
moment
library.
- Replaced
node-uuid
dependency withuuid
package. - Renamed
dateRetry
todateEnable
. - Updated
is.date()
to removemoment.isDate()
. - Added
Delayed Job
tests 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.removeJob
to job ids. - Removed the
Queue.connection
alias property. - Added the
pausing
Queue event. - Updated examples to work with the
next()
Promise. - Fixed a require path in
queue-add-job
.
- Removed
retry
job priority. - Added process timeout extender when progress updated.
- Added
priorityAsString
toJob.getCleanCopy
. - Fixed
job-options
so it keeps current if only one supplied. - Removed
Job.setPayload
. - Switched to using
Map()
for queue-process job timeouts.
- Removed
master
Queue options, only usingmasterInterval
. -
masterInterval
default options changed from 300 sec to 310. - Internal parameter rename from
job
orjobId
tojobOrId
. - 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