Skip to content

v1.2.0

Compare
Choose a tag to compare
@whitfin whitfin released this 17 Jun 22:24

Cachex v1.2.0 contains large performance improvements in the way we handle communication with the cache, which has a result of roughly a 3x speedup on all commands (sweet!).

Fixes:

  • Corrected an issue with the README examples
  • Corrected an issue with Cachex tasks not accepting options
  • Corrected several issues in test cases being unreliable

Improvements:

  • Added an application callback to initialize Cachex pre-requisites
  • Added a new wrapper to handle table states
  • Added a new start interface to enforce the :name option
  • Added a new interface for tasks to run in a Cachex context
  • Migrated test code to a standard structure
  • Migrated the inspector to run in-process
  • Migrated to using ETS to store state rather than a GenServer
  • Removed a dependency on :gen_delegate
  • Removed all Cachex task wrappers
  • Removed unnecessary Cachex Macro modules

Deprecations:

  • Using the :async option is now deprecated
  • Using the :timeout option is now deprecated
  • Using start_link/2 and start/1 are now deprecated

Please make sure to file any issues found and they'll be addressed as soon as possible!