From ed9e88ea9bff244f62e9509e39ffb7617121d1f6 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Mon, 22 Jan 2024 09:10:55 +0100 Subject: [PATCH] Update version and release notes for 2.2.2 --- HISTORY.md | 13 +++++++++++++ mesa/__init__.py | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 5d08eaa1683..e54e645532a 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,19 @@ --- title: Release History --- +# 2.2.2 (2024-01-22) + +## Highlights + +Mesa 2.2.2 is a small bugfix release, for models in which users had defined `Model.agents` (`self.agents` in a Model (sub)class). This is deprecated, but for now allowed. See [#1919 (comment)](https://github.com/projectmesa/mesa/discussions/1919#discussioncomment-8141844). + +## What's Changed +### 🐛 Bugs fixed +* Allow user models to assign `Model.agents` for now, but add warning by @quaquel in [#1976](https://github.com/projectmesa/mesa/pull/1976) + +**Full Changelog**: https://github.com/projectmesa/mesa/compare/v2.2.1...v2.2.2 + + # 2.2.1 (2024-01-16) ## Highlights diff --git a/mesa/__init__.py b/mesa/__init__.py index 36bd5823e6e..4adda035307 100644 --- a/mesa/__init__.py +++ b/mesa/__init__.py @@ -25,7 +25,7 @@ ] __title__ = "mesa" -__version__ = "2.2.1" +__version__ = "2.2.2" __license__ = "Apache 2.0" _this_year = datetime.datetime.now(tz=datetime.timezone.utc).date().year __copyright__ = f"Copyright {_this_year} Project Mesa Team"