-
Add
Faktory.Pool
This incurs the new dependencies,
unliftio
,resource-pool
, andmicrolens
.
- Fix handling decoding errors of the Job payload. Previously, it would log an
error and neither
ACK
norFAIL
the Job. Now itFAIL
s the Job.
- Support ghc-9.8 and aeson-2.2
- Migrate to
crypton-connection
- Remove CI for GHC 8.6
- Fix
jobBatchId
to work for all job types. Faktory seems to use bothbid
and_bid
in a jobs custom object when enqueing jobs. This allows the parser to use both
- Set
KeepAlive
in connections to Faktory (@jagonalez)
- Support GHCs 9.0 and 9.2
- Support
aeson
2.x
- Add
reserveFor
andjobReserveForMicroseconds
for settingACK
window for individual jobs. - Timeout jobs that have exceeded their
reserve_for
setting. Jobs without an explicitreserve_for
will default to Faktory's 1800 second timeout. - Allow configuration of default job options via
settingsDefaultJobOptions
.
- Add
jobRemainingRetries
-
Pass value of type
Job arg
(notarg
) to run-worker loopsThis will give consumer loops access to details like
jobJid
andjobOptions
, so they can (for example) callTRACK SET
.Call
jobArg
to get back what you were getting before this change. -
Support
BATCH STATUS
-
Add
tracked
Job Option -
Deprecate
trackPerform
(useperform (options <> tracked)
instead)
- Export lower-level
BATCH
functions
- Support for
TRACK
(Enterprise only)
- Remove dependencies upper bounds
- Relax dependencies upper bounds
- Fix bug in
at
parsing of consumed Job payloads
- Partial
BATCH
support (Enterprise only) - Support for
custom
field in Job payloads - Lower-level
buildJob
andcommandByteString
functions
- Relax dependencies upper bounds
- Maintain version bounds
- Various CI and dependency bounds changes
- Add support for queue namespacing
- Fix internal handling of invalid Server Replies
- Include non-OK reply in
commandOK
error - Build with GHC-8.8
- Upgrade to
megaparsec-7
Initial release.