All Versions
16
Latest Version
Avg Release Cycle
165 days
Latest Release
1711 days ago

Changelog History
Page 1

  • v0.14.0 Changes

    August 19, 2019
    • Requires Elixir 1.7 or newer
    • Added fetch_or_store/3 and dirty_fetch_or_store/3
  • v0.13.1 Changes

    February 26, 2019
    • โœ‚ removed a few compiler warnings
  • v0.13.0 Changes

    April 30, 2018

    ๐Ÿ’ฅ Breaking changes

    • Requires Elixir 1.5 or newer
    • ๐Ÿ”— The ConCache.start_link function takes only one argument. Previously, you needed to pass two keyword lists, which have now been unified in a single kw list. See ConCache.start_link/1 for details.
    • ๐Ÿ”— The ConCache.start_link parameters :ttl_check and :ttl are renamed to :ttl_check_interval and :global_ttl.
    • The :ttl_check_interval parameter is now required. If you don't want expiry in your cache, you need to explicitly pass ttl_check_interval: false.
    • If the :ttl_check_interval option is set to a positive integer, you also need to pass the :global_ttl option.
    • ๐Ÿ”ง If a cache is configured for expiry, but you want some item to not expire, you need to pass the atom :infinity as its TTL value (previously, it was 0).

    ๐Ÿ‘Œ Improvements

    • Added child_spec/1. A ConCache child can now be specified as {ConCache, [name: :my_cache, ttl_check_interval: false]}.
  • v0.12.1 Changes

    August 03, 2017
    • ๐Ÿ˜Œ Relaxed version requirement for Elixir
    • Proper early exit when the cache doesn't exist
  • v0.12.0 Changes

    January 08, 2017

    ๐Ÿ’ฅ Breaking changes

    • Elixir 1.4 is now required.
    • ๐Ÿ‘ท The process started through ConCache.start_link is a supervisor (previously it was a worker). Make sure to adapt your supervisor specifications accordingly.
    • ๐Ÿšš ConCache.start has been removed.

    ๐Ÿ‘Œ Improvements

    • You can now use bag, and duplicate_bag (thanks to fcevado for implementing it).
    • ๐Ÿ”’ Lock processes are now specific for each cache instance (previously they were shared between all of them). Multiple cache instances in the same system will not block each other.
  • v0.11.1 Changes

    June 23, 2016
    • ๐Ÿ›  Fix warnings on 1.3.0
  • v0.11.0 Changes

    February 15, 2016

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘Œ Support the avoiding prolongation of ttls when updated items through the :no_update ttl value in %ConCache.Item{}

    ๐Ÿ›  Fixes

    • ๐Ÿ†• New items inserted with ConCache.update/3 and ConCache.dirty_update/3 never expired.
  • v0.10.0 Changes

    January 06, 2016

    ๐Ÿ‘Œ Improvements

    • โž• add ConCache.size/1
  • v0.9.0 Changes

    September 09, 2015

    ๐Ÿ›  Fixes

    • ๐Ÿ‘Œ Support for Elixir 1.1
  • v0.8.1 Changes

    July 30, 2015

    ๐Ÿ›  Fixes

    • ๐Ÿ”’ Proper unlocking of an item. Previously it was possible that a process keeps the resource locked forever if the lock attempt timed out.