Skip to content

Commit ed764f8

Browse files
EwoutHquaquel
authored andcommitted
Improve Mesa 3.0 beta 1 release notes (projectmesa#2384)
Add some more information about the examples and mention the SPEC 7 random number generator.
1 parent 2ef80f8 commit ed764f8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

HISTORY.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ title: Release History
33
---
44

55
# 3.0.0b1 (2024-10-17)
6+
Mesa 3.0 beta 1 is our last beta release before the Mesa 3.0 stable release. We are restructuring our examples and have move 9 core examples from [mesa-examples](https://github.com/projectmesa/mesa-examples) to mesa itself ([#2358](https://github.com/projectmesa/mesa/pull/2358)). The 5 basic examples are now directly importable ([#2381](https://github.com/projectmesa/mesa/pull/2381)):
67

7-
## Highlights
8-
Basic examples 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.
8+
```Python
9+
from mesa.examples.basic import BoidFlockers, BoltzmannWealthModel, ConwaysGameOfLife, Schelling, VirusOnNetwork
10+
```
11+
12+
The 5 basic examples will always use stable Mesa features, we are also working on 4 more advanced example which can also include experimental features.
913

10-
Also, in this release, visualizations are improved by making visualization elements scalable and more clearly labeling the plots.
14+
All our core examples can now be viewed in the [`examples`](https://github.com/projectmesa/mesa/tree/main/examples) folder. [mesa-examples](https://github.com/projectmesa/mesa-examples) will continue to exists for user showcases. We're also working on making the examples visible in the ReadtheDocs ([#2382](https://github.com/projectmesa/mesa/pull/2382)) and on an website ([mesa-examples#139](https://github.com/projectmesa/mesa-examples/issues/139)). Follow all our work on the examples in this tracking issue [#2364](https://github.com/projectmesa/mesa/issues/2364).
1115

12-
<!-- Release notes generated using configuration in .github/release.yml at main -->
16+
Furthermore, the visualizations are improved by making visualization elements scalable and more clearly labeling the plots, and the Model now has an `rng` argument for an [SPEC 7](https://scientific-python.org/specs/spec-0007/) compliant NumPy random number generator ([#2352](https://github.com/projectmesa/mesa/pull/2352)). Following SPEC 7, you have to pass either `seed` or `rng`. Whichever one you pass will be used to seed both `random.Random`, and `numpy.random.Generator.`
1317

1418
## What's Changed
1519
### ⚠️ Breaking changes

0 commit comments

Comments
 (0)