Added
- A new
JobArgsWithKindAliases
interface lets job args implementKindAliases
to register a second kind that their worker will respond to. This provides a way to safely rename job kinds even with jobs using the original kind already in the database. PR #880.
Changed
- Job kinds must comply to a format of
\A[\w][\w\-\[\]<>\/.·:+]+\z
, mainly in an attempt to eliminate commas and spaces to make format more predictable for an upcoming search UI. This check can be disabled for now usingConfig.SkipJobKindValidation
, but this option will likely be removed in a future version of River. The newJobArgsWithKindAliases
interface (see above) can be used to rename non-compliant kinds. PR #879.