From 0f627dfdb4663b95e7614d3adc3106ba6f131397 Mon Sep 17 00:00:00 2001 From: Jackie Kazil Date: Tue, 15 Oct 2024 08:22:18 -0400 Subject: [PATCH 1/2] Update to reflect release_3.0.0b1 notes. --- HISTORY.md | 42 ++++++++++++++++++++++++++++++++++++++++++ mesa/__init__.py | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 1558c0416af..a035733f414 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,48 @@ --- title: Release History --- + +# 3.0.0b1 (2024-10-17) + +## Highlights +Basic exmaples are now importable in Mesa, includes boid_flockers, boltzmann_wealth_model, conways_game_of_life, schelling, and virus_on_network models. With this change they are also integrated into the Mesa tutorial in the docs. + +Also, in this release, visualizations are improved by making visualization elements scalable and more clearly labeling the plots. + + + +## What's Changed +### โš ๏ธ Breaking changes +* replace model with random in AgentSet init by @quaquel in https://github.com/projectmesa/mesa/pull/2350 +### ๐Ÿงช Experimental features +* cell space: Add convenience properties for grid width and height by @quaquel in https://github.com/projectmesa/mesa/pull/2348 +* Bugfix for deepcopy / pickling discrete spaces by @quaquel in https://github.com/projectmesa/mesa/pull/2378 +### ๐ŸŽ‰ New features added +* Move core example models back (v2) by @EwoutH in https://github.com/projectmesa/mesa/pull/2358 +* Add Model.rng for SPEC-7 compliant numpy random number generation by @quaquel in https://github.com/projectmesa/mesa/pull/2352 +### ๐Ÿ›  Enhancements made +* use GridDraggable instead of Column in SolaraViz by @wang-boyu in https://github.com/projectmesa/mesa/pull/2344 +* update legend, xlabel & format of matplotlib plots by @wang-boyu in https://github.com/projectmesa/mesa/pull/2346 +* __init__.py: Import mesa.experimental by @EwoutH in https://github.com/projectmesa/mesa/pull/2374 +* Importable examples by @Corvince in https://github.com/projectmesa/mesa/pull/2381 +### ๐Ÿ› Bugs fixed +* experimental init: Fix Solara import by making it lazy by @EwoutH in https://github.com/projectmesa/mesa/pull/2357 +* fix: pass `model.random` to schedulers by @quaquel in https://github.com/projectmesa/mesa/pull/2359 +* fix: register agent after creating unique_id and pos attributes by @wang-boyu in https://github.com/projectmesa/mesa/pull/2368 +* solara: viz tutorial: fix histogram code by @Corvince in https://github.com/projectmesa/mesa/pull/2379 +### ๐Ÿ” Examples updated +* Cleanup and restructure basic example models by @EwoutH in https://github.com/projectmesa/mesa/pull/2365 +* Ruff basic examples by @EwoutH in https://github.com/projectmesa/mesa/pull/2370 +### ๐Ÿ“œ Documentation improvements +* Update migration_guide.md by @quaquel in https://github.com/projectmesa/mesa/pull/2347 +### ๐Ÿ”ง Maintenance +* Code coverage: ignore experimental and visualization by @Corvince in https://github.com/projectmesa/mesa/pull/2361 +* add codecov token, fixes #2363 by @Corvince in https://github.com/projectmesa/mesa/pull/2366 +* add test_time back by @quaquel in https://github.com/projectmesa/mesa/pull/2367 +* Release notes: Add example category by @EwoutH in https://github.com/projectmesa/mesa/pull/2369 + +**Full Changelog**: https://github.com/projectmesa/mesa/compare/v3.0.0b0...v3.0.0b1 + # 3.0.0b0 (2024-10-04) ## Highlights We're proud to release the first Mesa 3.0 beta! This pre-release announces that we're ready for Mesa 3.0 to be tested by all our regular users. We try to not making breaking changes anymore, but focus on resolving bugs and imperfections. diff --git a/mesa/__init__.py b/mesa/__init__.py index 514275f7cb3..ae9b360adec 100644 --- a/mesa/__init__.py +++ b/mesa/__init__.py @@ -26,7 +26,7 @@ ] __title__ = "mesa" -__version__ = "3.0.0b0" +__version__ = "3.0.0b1" __license__ = "Apache 2.0" _this_year = datetime.datetime.now(tz=datetime.timezone.utc).date().year __copyright__ = f"Copyright {_this_year} Project Mesa Team" From 8f761071e2418f8ffca98e8c8c7f0eb883e8ca0e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 03:52:28 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- HISTORY.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index a035733f414..f2e55b1a7ab 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,10 +4,10 @@ title: Release History # 3.0.0b1 (2024-10-17) -## Highlights -Basic exmaples are now importable in Mesa, includes boid_flockers, boltzmann_wealth_model, conways_game_of_life, schelling, and virus_on_network models. With this change they are also integrated into the Mesa tutorial in the docs. +## Highlights +Basic exmaples are now importable in Mesa, includes boid_flockers, boltzmann_wealth_model, conways_game_of_life, schelling, and virus_on_network models. With this change they are also integrated into the Mesa tutorial in the docs. -Also, in this release, visualizations are improved by making visualization elements scalable and more clearly labeling the plots. +Also, in this release, visualizations are improved by making visualization elements scalable and more clearly labeling the plots.