All Versions
16
Latest Version
Avg Release Cycle
165 days
Latest Release
1884 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.14.0 Changes
August 19, 2019- Requires Elixir 1.7 or newer
- Added
fetch_or_store/3
anddirty_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. SeeConCache.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 passttl_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
. AConCache
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
, andduplicate_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
andConCache.dirty_update/3
never expired.
- ๐ Support the avoiding prolongation of ttls when updated items through the
-
v0.10.0 Changes
January 06, 2016๐ Improvements
- โ add
ConCache.size/1
- โ add
-
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.