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.
- Various Python syntax fixes in README examples. PR #34.
UniqueOpts.by_statenow has the stronger type oflist[JobState](the enum) instead oflist[str]. PR #32.
riverqueue.AttemptErrorcan now round trip to and from JSON properly, including itsattimestamp. PR #31.
- Add doc strings for most of the public API. PR #27.
- Add
riverqueue.AttemptErrordata class to represent errors on a job row. PR #27.
- Use real enum for
JobStateinstead 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_manyandinsert_many_tx. PR #22.
- Rename
ArgstoJobArgsand addJobArgsWithInsertOptsprotocol. 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.tomldescription 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
psycopg2orasyncpg(for async).