Skip to content

Releases: trailofdad/morphkit

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 11 Sep 23:13
7d8bdcf

What's Changed

  • feat: consumer-alignment APIs — combo fix, phenotype folding, dictionary index, free-text tier by @trailofdad in #27
  • fix: expose getAllele on DictionaryIndex; bump 0.3.1 by @trailofdad in #28

Full Changelog: v0.2.0...v0.3.1

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Jun 17:18
87443f5

What's Changed

  • docs: reconcile architecture docs and specify simple/complex API tiers by @trailofdad in #4
  • Reference-document alignment: Phases 0–7 (engine) by @trailofdad in #19
  • Add a warnings channel + validate polygenics against polygenicTags (#20) by @trailofdad in #22
  • Reuse a persistent/pooled worker in calculateMorphsAsync (#21) by @trailofdad in #23
  • Refresh docs for reference-alignment refactor + bump to 0.2.0 by @trailofdad in #25
  • Switch publish workflow to npm OIDC trusted publishing by @trailofdad in #26

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@trailofdad trailofdad released this 30 May 14:09

Initial release

Morphkit is a client-side genetic calculation engine for ball python morph breeding.

What's included

  • MK-1 Validation — normalizes raw input, fills implicit single-allele loci, validates sex presence for sex-linked morphs
  • MK-2 Punnett Engine — Cartesian matrix across all loci, Hardy-Weinberg probability verification
  • MK-3/4 Aggregator — phenotype resolution, allelic combo matching, poss-het math, lethality and congenital defect flagging
  • MK-5 Web Worker — off-main-thread calculation with typed message protocol
  • MK-6 Network — syncDictionary with stale-while-revalidate localStorage cache

Install

npm install @trailofdad/morphkit

Dictionary

Trait data is maintained separately in morphkit-dictionary and fetched at runtime via CDN — no rebuild required when morphs are added or updated.