diff --git a/docs/migrations/migrating-to-v4.md b/docs/migrations/migrating-to-v4.md index 1c8f70c..74d7ba2 100644 --- a/docs/migrations/migrating-to-v4.md +++ b/docs/migrations/migrating-to-v4.md @@ -37,9 +37,7 @@ Cachex.start_link(:my_cache, [ ]) ``` -Both of these features have had additional documentation written, so you can double check the relevant documentation in [Gathering Stats](../management/stats-gathering.md) and [Limiting Caches](../management/limiting-caches.md) as necessary. Limits in particular have had quite a shakeup in Cachex v4, so it's definitely worth a visit to the documentation if you're using those! - -In addition, the `:state` option when registering a hook has been renamed `:args` as per the example above. +Both of these features have had additional documentation written, so you can double check the relevant documentation in [Gathering Stats](../management/stats-gathering.md) and [Limiting Caches](../management/limiting-caches.md) as necessary. Limits in particular have had quite a shakeup in Cachex v4, so it's definitely worth a visit to the documentation if you're using those! Please also note that the `:state` option inside hooks has been renamed to `:args` as shown above. The `:nodes` option has also been removed, in favour of the new approach to routing in a distributed cache. It's possible to keep the same semantics as Cachex v3 using the `Cachex.Router.Jump` module implementation: