All Versions
25
Latest Version
Avg Release Cycle
29 days
Latest Release
-

Changelog History
Page 3

  • v1.1.1 Changes

    • โœ‚ Remove CONCURRENTLY from migration since it doesn't play well with Ecto.
  • v1.1.0 Changes

    • โž• Add missing index that massively improves performance at high loads
  • v1.0.1 Changes

    • ๐Ÿ›  Fix a SQL syntax error in migration rollback.
  • v1.0.0 Changes

    โž• Added

    • โž• Added an optional callback per job which defines what to do when that job errors.
      def after_error(failure_reason, args) do
        notify_someone(__MODULE__, failure_reason, args)
      end
    
  • v0.7.0 Changes

    โž• Added

    • โฑ Schedule jobs to run at a DateTime or in a number of milliseconds.
      Rihanna.schedule(
        {IO, :puts, ["Hello"]},
        at: DateTime.from_naive!(~N[2018-07-01 12:00:00], "Etc/UTC")
      )
    
      Rihanna.schedule({IO, :puts, ["Hello"]}, in: :timer.hours(1))
    

    โฌ†๏ธ Upgrading

    This release requires a database upgrade. The easiest way to upgrade the database is with Ecto. Run mix ecto.gen.migration upgrade_rihanna_jobs and make your migration look like this:

    defmodule MyApp.UpgradeRihannaJobs do
      use Rihanna.Migration.Upgrade
    end
    

    Now you can run mix ecto.migrate.