Skip to content

chore(deps): update rust crate genetic_algorithm to 0.27.0#150

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/genetic_algorithm-0.x
Open

chore(deps): update rust crate genetic_algorithm to 0.27.0#150
renovate[bot] wants to merge 1 commit intomainfrom
renovate/genetic_algorithm-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 23, 2026

This PR contains the following updates:

Package Type Update Change
genetic_algorithm (source) workspace.dependencies minor 0.26.00.27.0

Release Notes

basvanwesting/genetic-algorithm (genetic_algorithm)

v0.27.1

Compare Source

Changed
  • Update lru dependency from v0.12.4 to v0.16.3
  • Fix bug in UniqueGenotype: neighbouring_population_size panics when genes_size < 2
  • Manually review AGENTS.md as AI generation of the document made too many assumptions

v0.27.0

Compare Source

Changed
  • Compile-time crossover safety. Split EvolveGenotype into an empty marker
    trait + separate SupportsGeneCrossover and SupportsPointCrossover traits.
    Removed runtime has_crossover_indexes/has_crossover_points methods
  • Framework-owned age lifecycle. Moved state.population.increment_age() from
    crossover into the evolve loop (just before crossover call).
  • Sensible defaults: target_population_size from 0 to 100 for Evolve,
    replace_on_equal_fitness to true for all
  • Auto-disable genes_hashing in HillClimb as it is never sensible
Added
  • Added fitness_value(float, precision) helper method to convert float to isize (FitnessValue)
  • Better validations and error messages

v0.26.1

Compare Source

Added
  • Documentation additions for AI agent (and human) consumption:
    • Added AGENTS.md as a comprehensive agent guide (decision matrices, API reference, copy-paste templates, gotchas)
    • Added docstrings to all previously undocumented public constructors and key methods
    • Fixed several inaccurate docstrings (extensions, crossover, mutate, select)
    • Improved error messages with actionable fix suggestions
    • Add example headers
    • Add a new Heterogeneous Genotype example (examples/evolve_heterogeneous)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/genetic_algorithm-0.x branch from 43ecb16 to ddc8a8d Compare February 26, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants