Skip to content

Conversation

@quaquel
Copy link
Member

@quaquel quaquel commented Feb 9, 2025

Update version and release notes for the next feature release, Mesa 3.1.4.

See the release notes

## Highlights
This release contains various improvements and bugfixes to the matplotlib-based visualization of spaces. Hexgrids are now fully supported, including property layers. In making this possible various minor bugs were encoutered and also fixed. In addition to the visualization improvements, there are various minor convenience improvements to the docs.


## What's Changed
### 🛠 Enhancements made
* Fixed hex-space draw function to avoid overlaps by @Sahil-Chhoker in https://github.com/projectmesa/mesa/pull/2609
* Enhance DataCollector to validate model_reporters functions by @peter-kinger in https://github.com/projectmesa/mesa/pull/2605
### 🐛 Bugs fixed
* bugfix for draw_property_layer by @quaquel in https://github.com/projectmesa/mesa/pull/2639
* Uses array for hex grid property layer fix by @Sahil-Chhoker in https://github.com/projectmesa/mesa/pull/2651
* Update Binder environment to use latest Mesa version (#2652) by @aarav-shukla07 in https://github.com/projectmesa/mesa/pull/2655
### 🔍 Examples updated
* Added property layer viz to sugarscape by @sanika-n in https://github.com/projectmesa/mesa/pull/2653
### 📜 Documentation improvements
* remove any reference to using --pre by @quaquel in https://github.com/projectmesa/mesa/pull/2618
* Updated Docs by @sanika-n in https://github.com/projectmesa/mesa/pull/2624
* Fixed 404 error for Examples Tab in Introductory Tutorial (#2662) by @aarav-shukla07 in https://github.com/projectmesa/mesa/pull/2664
### 🔧 Maintenance
* remove remnants of mesa cli by @quaquel in https://github.com/projectmesa/mesa/pull/2617
* benchmarks.yml: Install SciPy and use uv for pip install by @EwoutH in https://github.com/projectmesa/mesa/pull/2633
### Other changes
* added color-bar for spice by @sanika-n in https://github.com/projectmesa/mesa/pull/2622
* Documentation by @Spartan-71 in https://github.com/projectmesa/mesa/pull/2630
* Adding a copy option at the top of the code written in the docs by @PrashantChoudhary13579 in https://github.com/projectmesa/mesa/pull/2628
* Change Hexgrid._connect_cells_2d to use x,y coordinates by @quaquel in https://github.com/projectmesa/mesa/pull/2632
* Fix: Property layer visualization for HexGrid by @Sahil-Chhoker in https://github.com/projectmesa/mesa/pull/2646
* Implemented post_process in Altair based components by @sanika-n in https://github.com/projectmesa/mesa/pull/2641
* Fix: Alpha for colormaps in HexGrid by @Sahil-Chhoker in https://github.com/projectmesa/mesa/pull/2660
* Adding Mesa Extension page by @PrashantChoudhary13579 in https://github.com/projectmesa/mesa/pull/2627
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/projectmesa/mesa/pull/2659

## New Contributors
* @PrashantChoudhary13579 made their first contribution in https://github.com/projectmesa/mesa/pull/2628
* @aarav-shukla07 made their first contribution in https://github.com/projectmesa/mesa/pull/2655
* @peter-kinger made their first contribution in https://github.com/projectmesa/mesa/pull/2605

**Full Changelog**: https://github.com/projectmesa/mesa/compare/v3.1.3...v3.1.4

@quaquel quaquel requested a review from EwoutH February 9, 2025 12:58
@github-actions
Copy link

github-actions bot commented Feb 9, 2025

Performance benchmarks:

Model Size Init time [95% CI] Run time [95% CI]
BoltzmannWealth small 🔵 +0.3% [-1.3%, +2.1%] 🔵 +0.4% [+0.1%, +0.6%]
BoltzmannWealth large 🔵 -0.6% [-1.8%, +0.4%] 🔵 +0.9% [-0.5%, +2.4%]
Schelling small 🔵 -0.1% [-0.4%, +0.2%] 🔵 +0.4% [+0.2%, +0.6%]
Schelling large 🔵 +1.2% [+0.5%, +1.8%] 🔴 +7.8% [+6.3%, +9.2%]
WolfSheep small 🔵 +0.6% [+0.2%, +1.0%] 🔵 +0.8% [+0.5%, +1.2%]
WolfSheep large 🔵 -2.3% [-3.6%, -0.9%] 🔵 -5.0% [-7.4%, -2.0%]
BoidFlockers small 🔵 -0.6% [-1.4%, +0.3%] 🔵 +1.9% [+1.5%, +2.3%]
BoidFlockers large 🔵 -1.8% [-2.4%, -1.3%] 🔵 +0.1% [-0.3%, +0.4%]

Copy link
Member

@tpike3 tpike3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Very cool we got three new contributors!

HISTORY.md Outdated
* remove remnants of mesa cli by @quaquel in https://github.com/projectmesa/mesa/pull/2617
* benchmarks.yml: Install SciPy and use uv for pip install by @EwoutH in https://github.com/projectmesa/mesa/pull/2633
### Other changes
* added color-bar for spice by @sanika-n in https://github.com/projectmesa/mesa/pull/2622
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally all these PRs should get a label, so all fall in one of the categories.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have moved the other changes to the right category.

Is there a way to go back in and update these PRs? I assume I can just go to each PR and retrospective add the right label?

Copy link
Member

@EwoutH EwoutH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Highlights look good, one comment.

Thanks!

@quaquel quaquel merged commit 8c24e1b into projectmesa:main Feb 9, 2025
11 checks passed
@quaquel quaquel deleted the 314 branch February 12, 2025 18:46
@EwoutH EwoutH added the ignore-for-release PRs that aren't included in the release notes label Apr 25, 2025
@coderabbitai

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release PRs that aren't included in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants