Ironium v3.0.0 Release Notes

  • Ironium 3.x works with IronMQ v3 and can still run in development mode against Beanstalkd (no authentication).

    Ironium 3.x requires Node 4.x or later.

    ๐Ÿ‘ท Methods like queueJob, runOnce, etc that previously took a callback no longer accept a callback. Everything returns a promise.

    ๐Ÿ”ง Configuration has changed, so check the README again. You can now use ๐Ÿ”ง iron.json as the configuration object, e.g:

    const config = require('iron.json'); ironium.configure(config);

    ๐Ÿ‘€ Debug messages have been split. Use DEBUG=ironium to see processing ๐Ÿ‘€ instructions, and DEBUG=ironium:* to see everything else reported.

    To listen to processing errors, use ironium.onerror(callback).

    To get the webhook URL of a queue, use ironium.webhookURL(queueName). This method returns a promise that resolves to the webhook URL.

    ๐Ÿ‘ท The width argument to eachJob is gone (for now).