All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Now compatible with "fast path" unique job insertion that uses a unique index instead of advisory lock and fetch as introduced in River #451. PR #36.
- Various Python syntax fixes in README examples. PR #34.
UniqueOpts.by_state
now has the stronger type oflist[JobState]
(the enum) instead oflist[str]
. PR #32.
riverqueue.AttemptError
can now round trip to and from JSON properly, including itsat
timestamp. PR #31.
- Add doc strings for most of the public API. PR #27.
- Add
riverqueue.AttemptError
data class to represent errors on a job row. PR #27.
- Use real enum for
JobState
instead of many constant. This is a breaking change, but the job state constants have existed for only a short time. PR #25. riverqueue.Job
's properties are now fully defined and typed. PR #26.
- Tags are now limited to 255 characters in length, and should match the regex
\A[\w][\w\-]+[\w]\z
(importantly, they can't contain commas). PR #23.
- Implement
insert_many
andinsert_many_tx
. PR #22.
- Rename
Args
toJobArgs
and addJobArgsWithInsertOpts
protocol. PR #20.
- Add usage instructions README, add job state constants, and change return value of
insert_many()
andinsert_many_tx()
to an integer instead of a list of jobs. PR #19.
- Fix
pyproject.toml
description and add various URLs like to homepage, docs, and GitHub repositories. PR #18.
- Initial release, supporting insertion through SQLAlchemy and its underlying Postgres drivers like
psycopg2
orasyncpg
(for async).