Cachex Versions Save

A powerful caching library for Elixir with support for transactions, fallbacks and expirations

v3.6.0

1 year ago

Cachex v3.6.0 is a small feature release with improvements to fallback caching.

Fixes:

  • Fixed a wrong definition in TTL documentation.

Improvements:

  • Added support for setting expiration inside fetch/4.
  • Added support for setting expiration inside get_and_update/4.
  • Removed unnecessary macros in cache action handling.
  • Simplified evented vs. scheduled LRW interfaces.
  • Updated documentation alongside fetch/4 changes.

Please let me know if you find any issues or have any suggestions!

v3.5.0

1 year ago

Cachex v3.5.0 is a small feature release containing many quality-of-life changes inside the repository and API.

Fixes:

  • Corrected several documentation typos in public documentation.
  • Fixed a missing import in Cachex.Warmer macros.
  • Fixed fetch/4 to correctly represent results across processes.

Improvements:

  • Added support for non-blocking cache warmers during startup.
  • Added support for passing inner stacktraces from calls to fetch/4.
  • Applied official formatting tools to the repository (mix format).
  • Optimized hook/policy interfaces and removed unnecessary APIs.
  • Optimized Cachex.Policy.LRW handling to lower monitoring overhead.
  • Updated all dependencies to latest versions.
  • Updated CI builds against latest versions.

Sorry this one took so long to package up and ship out, please let me know if you find any issues or have any suggestions!

v3.4.0

2 years ago

Cachex v3.4.0 is a very small set of changes with a couple of fixes and improvements.

Fixes:

  • Corrected several documentation typos in public documentation.
  • Corrected various specifications causing dialyzer warnings.
  • Fixed a bunch of deprecation warnings raised in Elixir v1.5 through v1.12.

Improvements:

  • Added support for :trusted flags when loading cache backups.
  • Allowed Elixir to manage :applications automatically.
  • Migrated away from Travis CI to Github Actions.
  • Raised the minimum Elixir requirement to v1.5.

Please make sure to file any issues found!

v3.3.0

3 years ago

Cachex v3.3.0 is a minor release with a couple of new features and various improvements.

Fixes:

  • Fixed a missing application in the project configuration.
  • Fixed an incorrect type specification in expiration records.

Improvements:

  • Added latest Elixir/OTP builds to the CI matrix.
  • Added new signatures for compatibility with latest Supervisor standards.
  • Improved some type specifications for Dialyzer.
  • Improved consistency of cache warmer initialization.
  • Improved documentation around expiration options.
  • Updated all dependencies to their latest versions.

Please make sure to file any issues found!

v3.2.0

4 years ago

Cachex v3.2.0 is a minor release with a couple of new features and various improvements.

Fixes:

  • Fixes a broken return signature in execute/3.
  • Various fixes for typespecs and documentation.

Improvements:

  • Added new Elixir/OTP versions to CI builds.
  • Added some missing benchmark functions.
  • Introduced the ability to import to a cache via import/3.
  • Introduced the ability to enable ETS table compression.
  • Updated all dependencies to their latest versions.

Please make sure to file any issues found!

v3.1.3

5 years ago

This is a minor release to fix an issue with Distillery builds.

Fixes:

  • Ensure all applications are correctly listed in mix.exs.

Please report any issues found!

v3.1.2

5 years ago

This is a minor release to improve some minor documentation and refactor some state management.

Fixes:

  • Fixes a typo in the documentation for export/2.
  • Fixes a missing nil type in the documentation for ttl/3.

Improvements:

  • Moved internal state management to run in the calling process.

Please report any issues found!

v3.1.1

5 years ago

This is a minor release to fix an issue with update functions.

Fixes:

  • Fixed an issue with get_and_update/4 being called multiple times

Please report any issues found!

v3.1.0

5 years ago

Cachex v3.1.0 contains the re-introduction of distributed caches, provided in a backwards compatible manner. Alongside this, the internal action routing has been rewritten and should perform a little faster than previously.

Improvements:

  • Added latest Elixir/OTP builds to the CI matrix.
  • Added support for testing against local cache clusters.
  • Introduced a new routing module for all cache interactions.
  • Introduced support for running caches in multiple Erlang processes.
  • Optimized several places we were using MapSet unnecessarily.

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

v3.0.3

5 years ago

This is a minor release to fix an edge condition in fetches:

Fixes:

  • Fixed a rare race condition where a fallback could fire twice
  • Fixed an issue where a service locator would return a Tuple instead of a process id
  • Fixed several issues with outdated type specs

Improvements:

  • Added new OTP versions to CI builds
  • Updated documentation to point to the repository tag

Please report any issues found!