Skip to content

Releases

v2.0.2

Choose a tag to compare

@bdurand bdurand released this 21 Jul 01:43
Immutable release. Only release title and notes can be modified.
ba840e2

Changed

  • An ArgumentError is now raised when a named encrypted argument cannot be matched to a parameter of the worker's perform method or when the worker class name cannot be resolved to a class. Previously these arguments were silently left unencrypted.

Fixed

  • Setting the secret to an empty value (e.g. an empty array or empty string) no longer silently disables encryption. An InvalidSecretError is now raised when encrypting or decrypting if no secret is available.
  • The client middleware no longer mutates the caller's arguments array in place when encrypting arguments.
  • Lazily initializing the encryption keys from the SIDEKIQ_ENCRYPTED_ARGS_SECRET environment variable is now thread safe.

v2.0.0

Choose a tag to compare

@bdurand bdurand released this 20 Jan 02:15
26451e5

What's Changed

Changed

  • A secret key is now required to be set. Previously the code would silently fail if no key was set. This change improves security by protecting against misconfiguration leaking data into Redis.
  • Bumped minimum required Ruby version to 2.7 and Sidekiq to 6.3.

Full Changelog: v1.2.0...v2.0.0

v1.2.0

Choose a tag to compare

@bdurand bdurand released this 17 Jan 17:42

What's Changed

Removed

  • Removed deprecated method of setting encrypted args with a hash with numeric keys. This method stopped working with Sidekiq 7.1.
  • Removed deprecated method of setting encrypted args with an array of booleans.
  • Removed deprecated method of setting encrypted args with a mix of symbols and integers.

Full Changelog: v1.1.1...v1.2.0

v1.1.1

Choose a tag to compare

@bdurand bdurand released this 04 Apr 02:36
1c354b6

What's Changed

  • Fix double encryption on job retry by @bdurand in #7

Full Changelog: v1.1.0...v1.1.1

Version 1.1.0

Choose a tag to compare

@R167 R167 released this 15 Jun 15:54
6613b58

Change Log

1.1.0

  • Use to_json if it is defined when serializing encrypted args to JSON.
  • Add client middleware to the server default configuration. This ensures that arguments will be encrypted if a worker enqueues a job with encrypted arguments.
  • Client middleware now reads sidekiq options from the job hash instead of from the worker class so that the list of encrypted arguments is always in sync on the job payload.
  • Don't blow up if class name that is not defined is passed to client middleware.
  • Added additional option to specify encrypted args with array of argument indexes.
  • Deprecated setting encrypted args as hash or array of booleans.
  • Client middleware is prepended while server middleware is appended.

Version 1.0.2

Choose a tag to compare

@R167 R167 released this 15 Jun 15:55

Change Log

1.0.2

  • Remove overly noisy log warning when running without the secret set

Version 1.0.1

Choose a tag to compare

@R167 R167 released this 15 Jun 15:55

Change Log

1.0.1

  • Now works with scheduled jobs
    • Scheduled jobs dispatch by class name instead of Class, requiring a constant lookup

Version 1.0.0

Choose a tag to compare

@R167 R167 released this 15 Jun 15:57

Change Log

1.0.0

  • Initial release