Skip to content

Commit b74e6af

Browse files
committed
Update changelogs and gemspec for 2.0 release
1 parent e2b56c8 commit b74e6af

33 files changed

+40
-40
lines changed

CHANGELOG.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
## 2.0.0 - unreleased
1+
## 2.0.0 - 2025-5-10
22

33
Breaking Changes:
4-
* Replaced `.search_space` and `.search_spaces` with the `.gene` macro-style method for defining genetic attributes.
4+
* Replaced legacy .search_space and .search_spaces definitions with the new .gene macro-style for defining genetic attributes.
55
* Renamed `#value` to `#fitness` throughout the codebase for clarity.
66
* Removed deprecated `Gene.crossover` in favor of `Gene.combine`.
77
* Removed deprecated `Evolution#crossover` in favor of `Evolution#combination`.
88
* Renamed `Evolvable#after_initialize` to `Evolvable#after_initialize_evolvable`.
99
* Changed population initialization and evolvable creation workflow for more consistency.
10-
* Simplified error handling in favor of more single `Evolvable::Error` type with more informative messages.
10+
* Simplified error handling by unifying all exceptions under a single Evolvable::Error type
1111
* Changed `Population#new_evolvables` to only accept a `count` parameter, removing the `evolvables` parameter.
1212
* Changed default `size` parameter in `Population#initialize` from 40 to 0.
1313
* Changed `Population#evolve` default `count` parameter from `Float::INFINITY` to `1`.
@@ -17,10 +17,9 @@ New Features:
1717
* Introduced the `Evolvable::GeneCluster` module for complex gene grouping.
1818
* Added `Evolvable::Community` for managing multiple populations and their interactions.
1919
* Added genome merging capabilities with `merge_genome!` and `load_and_merge_genome!`.
20-
* Improved inheritance support for evolvable classes, preserving gene configurations.
2120
* Added `evolve_selected` method to Population for evolving a specific subset of evolvables.
22-
* Added direct access to genes and gene clusters through automatically generated methods.
23-
* Added new evolution API methods: `evolve_to_goal` and `evolve_forever` for more intuitive control over the evolution process.
21+
* Added automatic method generation for accessing genes and gene clusters by name.
22+
* Added new evolution control methods: evolve_to_goal and evolve_forever for more intuitive lifecycle control.
2423
* Comprehensive YARD documentation and README overhaul.
2524

2625
## 1.2.0 - 2022-1-22

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GEM
2323
pp (0.6.2)
2424
prettyprint
2525
prettyprint (0.2.0)
26-
psych (5.2.4)
26+
psych (5.2.5)
2727
date
2828
stringio
2929
rdoc (6.13.1)

docs/Evolvable.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ <h3 class="signature " id="merge_genome!-instance_method">
16091609
</div>
16101610

16111611
<div id="footer">
1612-
Generated on Sat May 10 18:35:47 2025 by
1612+
Generated on Sat May 10 18:45:45 2025 by
16131613
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
16141614
0.9.37 (ruby-3.4.2).
16151615
</div>

docs/Evolvable/ClassMethods.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ <h3 class="signature " id="new_population-instance_method">
12231223
</div>
12241224

12251225
<div id="footer">
1226-
Generated on Sat May 10 18:35:47 2025 by
1226+
Generated on Sat May 10 18:45:45 2025 by
12271227
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
12281228
0.9.37 (ruby-3.4.2).
12291229
</div>

docs/Evolvable/Community.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ <h3 class="signature " id="reset_populations-instance_method">
13321332
</div>
13331333

13341334
<div id="footer">
1335-
Generated on Sat May 10 18:35:47 2025 by
1335+
Generated on Sat May 10 18:45:45 2025 by
13361336
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
13371337
0.9.37 (ruby-3.4.2).
13381338
</div>

docs/Evolvable/Community/ClassMethods.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ <h3 class="signature " id="populations_by_name-instance_method">
698698
</div>
699699

700700
<div id="footer">
701-
Generated on Sat May 10 18:35:47 2025 by
701+
Generated on Sat May 10 18:45:45 2025 by
702702
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
703703
0.9.37 (ruby-3.4.2).
704704
</div>

docs/Evolvable/CountGene.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ <h3 class="signature " id="min_count-instance_method">
876876
</div>
877877

878878
<div id="footer">
879-
Generated on Sat May 10 18:35:47 2025 by
879+
Generated on Sat May 10 18:45:45 2025 by
880880
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
881881
0.9.37 (ruby-3.4.2).
882882
</div>

docs/Evolvable/EqualizeGoal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ <h3 class="signature " id="value-instance_method">
337337
</div>
338338

339339
<div id="footer">
340-
Generated on Sat May 10 18:35:47 2025 by
340+
Generated on Sat May 10 18:45:45 2025 by
341341
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
342342
0.9.37 (ruby-3.4.2).
343343
</div>

docs/Evolvable/Error.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ <h2>Overview</h2><div class="docstring">
124124
</div>
125125

126126
<div id="footer">
127-
Generated on Sat May 10 18:35:47 2025 by
127+
Generated on Sat May 10 18:45:45 2025 by
128128
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129129
0.9.37 (ruby-3.4.2).
130130
</div>

docs/Evolvable/Evaluation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ <h3 class="signature " id="met_goal?-instance_method">
763763
</div>
764764

765765
<div id="footer">
766-
Generated on Sat May 10 18:35:47 2025 by
766+
Generated on Sat May 10 18:45:45 2025 by
767767
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
768768
0.9.37 (ruby-3.4.2).
769769
</div>

0 commit comments

Comments
 (0)