Skip to content

Commit 279ab27

Browse files
jackiekazilrht
authored andcommitted
Update history & version number for Taylor release.
1 parent a2e6d24 commit 279ab27

File tree

2 files changed

+82
-1
lines changed

2 files changed

+82
-1
lines changed

HISTORY.rst

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,87 @@
33
Release History
44
---------------
55

6+
7+
1.2.0 (2023-03-09) Taylor
8+
++++++++++++++++++++++++++
9+
10+
**Special notes**
11+
12+
New features:
13+
14+
* Implement radius for NetworkGrid.get_neighbors #1564
15+
16+
Some highlights for the perf improvements:
17+
18+
* Use getattr for attribute strings in model data collection #1590 this is a 2x speedup over the relevant line
19+
* Faster is_integer function for common cases #1597 is for 1.3x speedup for grid access (grid[x, y])
20+
* Refactor iter/get_cell_list_contents methods #1570 at least 1.3x speedup for iter/get_cell_list_contents
21+
* Evaluate empties set more lazily #1546 (comment) ~1.3x speedup for place_agent, remove_agent, and move_agent
22+
23+
**Improvements**
24+
25+
* ci: Add testing on Python 3.11 #1519
26+
* Remove auto-update GH Actions for Pipfile.lock #1558
27+
* ruff
28+
* ruff: Add isort #1594
29+
* ci: Replace flake8 with Ruff #1587
30+
* ruff: Add more rules based on Zulip's config #1596
31+
* perf: faster is_integer function for common cases #1597
32+
* Remove _reporter_decorator #1591
33+
* Change index at DataFrame creation in get_agent_vars_dataframe #1586
34+
* Make Grid class private #1575
35+
* Make the internal grid and empties_built in Grid class private #1568
36+
* Simplify code in ContinuousSpace #1536
37+
* Improve docstrings of ContinuousSpace #1535
38+
* Simplify accept_tuple_argument decorator in space.py #1531
39+
* Enhance schedulers to support intra-step removal of agents #1523
40+
* perf: Refactor iter_cell_list_contents Performance #1527
41+
* Replace two loops with dictionary comprehension, list- with generator comprehension #1458
42+
* Make MultiGrid.place_agent faster #1508
43+
* Update space module-level docstring summary #1518
44+
* Update NetworkGrid.__init__ docstring #1514
45+
* Deprecate SingleGrid.position_agent #1512
46+
* Make swap_pos part of Grid instead of SingleGrid #1507
47+
* Refactor NetworkGrid docstrings and iter/get_cell_list_contents #1498
48+
* Hexgrid: use get_neighborhood in iter_neighbors #1504
49+
* Auto update year for copyright in docs #1503
50+
* Refactor Grid.move_to_empty #1482
51+
* Put "Mesa" instead of "it" in README #1490
52+
* Batchrunner: Remove unnecessary dict transformation, .keys() in len() #1460
53+
* Add Dependabot configuration for GitHub Actions update check #1480
54+
* Use list transformation only when shuffled is True #1478
55+
* Implement swap_pos #1474
56+
* Clean up DataCollector #1475
57+
58+
59+
**Fixes**
60+
61+
* Update resources in README #1605
62+
* Fix accident from https://github.com/projectmesa/mesa/pull/1488 #1489
63+
* pre-commit autoupdate #1598, #1576, #1548, #1494
64+
* Fix docstring of DataCollector #1592
65+
* Update Pipfile.lock (dependencies) #1495 #1487
66+
* build(deps):
67+
* build(deps): bump codecov/codecov-action from 2 to 3 dependencies Pull requests that update a dependency file #1486
68+
* build(deps): bump actions/upload-artifact from 2 to 3 dependencies Pull requests that update a dependency file #1485
69+
* build(deps): bump peter-evans/create-pull-request from 3 to 4 dependencies Pull requests that update a dependency file #1484
70+
* build(deps): bump actions/setup-python from 3 to 4 dependencies Pull requests that update a dependency file #1483
71+
* Establish reproducibility for NetworkGrid.get_neighbors when radius > 1 #1569
72+
* Format js code #1554
73+
* Add some missing const declarations #1549
74+
* fix tutorial url in examples #1538
75+
* Update cookiecutter to flat import style. #1525
76+
* Fix bug in Grid.get_neighborhood #1517
77+
* Revert changes of #1478 and #1456 #1516
78+
* Fix return types of some NetworkGrid methods #1505
79+
* Update year for copyright #1501
80+
* Add default_value function to NetworkGrid #1497
81+
* Remove extraneous spaces from docstrings in modules 2 #1496
82+
* Remove extraneous spaces from docstrings in modules #1493
83+
* SingleGrid: Remove extraneous attribute declaration (empties) #1491
84+
85+
86+
687
1.1.1 (2022-10-21)
788
++++++++++++++++++
889

mesa/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
]
2525

2626
__title__ = "mesa"
27-
__version__ = "1.1.1"
27+
__version__ = "1.2.0"
2828
__license__ = "Apache 2.0"
2929
_this_year = datetime.datetime.now(tz=datetime.timezone.utc).date().year
3030
__copyright__ = f"Copyright {_this_year} Project Mesa Team"

0 commit comments

Comments
 (0)