82 lines
1.9 KiB
Markdown
82 lines
1.9 KiB
Markdown
# Changelog
|
|
|
|
Notable changes to the esqueue project. Pay attention to `[BREAKING]` changes when upgrading.
|
|
|
|
## v0.10.0
|
|
|
|
- [BREAKING] Remove header passing on job creation
|
|
- Expose event names in constants
|
|
- Emit on success conditions as well as errors
|
|
- Also emit on the Queue instance
|
|
|
|
## v0.9.0
|
|
|
|
- [BREAKING] Rename timeout error event
|
|
- Fix worker timeout condition
|
|
- Fix issue where a worker error was not an instance of Error, or lacked a `toString()` method
|
|
- Allow specifying option to pass to elasticsearch client on index creation
|
|
|
|
## v0.8.0
|
|
|
|
- [BREAKING] Don't throw on worker failures
|
|
- [BREAKING] Don't emit errors on queue instance
|
|
|
|
## v0.7.0
|
|
|
|
- [BREAKING] Don't throw on job creation failures
|
|
|
|
## v0.6.1
|
|
|
|
- Allow headers option on job creation, passed to elasticsearch index request
|
|
|
|
## v0.6.0
|
|
|
|
- Allow client instance to be passed when creating a job
|
|
- Allow client instance to be passed when creating a worker
|
|
- Prefer any 4.x version of node for development
|
|
|
|
## v0.5.0
|
|
|
|
- [BREAKING] Change default `created_by` value to `false` (formerly `null`)
|
|
|
|
## v0.4.1
|
|
|
|
- Use `filter` instead of `must` to query for outstanding jobs
|
|
|
|
## v0.4.0
|
|
|
|
- [BREAKING] Change `priority` mapping to *byte*
|
|
- Exclude `output.content` from _source when query jobs
|
|
- Add optional `created_by` value to job documents
|
|
|
|
## v0.3.2
|
|
|
|
- Misisng indiced returns empty array (fixed errors in v0.3.1)
|
|
|
|
## v0.3.1
|
|
|
|
- Ignore missing indices when looking for jobs
|
|
|
|
## v0.3.0
|
|
|
|
- [BREAKING] Use `jobtype` field to control document indexing and lookup (instead of document `_type`)
|
|
|
|
## v0.2.2
|
|
|
|
- Swollow errors when saving job output
|
|
- Set `process_expiration` value (prevents upstream Elasticsearch error in alpha builds)
|
|
- Update npm package
|
|
|
|
## v0.2.1
|
|
|
|
- Use `esqueue` namespace for debugging
|
|
|
|
## v0.2.0
|
|
|
|
- [BREAKING] Async jobs should return promises, not use callbacks
|
|
- Remove bluebird dependency
|
|
- Only require specific lodash modules, instead of the whole library
|
|
|
|
## v0.1.0
|
|
|
|
- Initial release |