diff --git a/CHANGELOG.md b/CHANGELOG.md index 447e378e3f..51b093476f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,9 @@ _We tried to deprecate every major change, resulting in practically no breakage ## New features - Two new functions `random_id_in_position` and `random_agent_in_position` can be used to select a random id/agent in a position in discrete spaces (even with filtering). +- A new function `swap_agents` can be used to swap an agents couple in a discrete space. - A new argument `alloc` can be used to select a more performant version in relation to the expensiveness of the filtering for all random methods selecting ids/agents/positions. +- The `random_agent` function is now much faster than before. - The `sample!` function is up to 2x faster than before. - Grid and continuous spaces support boundaries with mixed periodicity, specified by tuples with a `Bool` value for each dimension, e.g. `GridSpace((5,5); periodic=(true,false))` is periodic along the first dimension but not along the second.