Skip to content

Aphrodite v0.7.0 - Plugin atomization: _core/_hooks/_marker packages

Choose a tag to compare

@NikolaRHristov NikolaRHristov released this 17 Jun 04:29
· 1356 commits to Current since this release

Compare Aphrodite/v0.5.134...Aphrodite/v0.7.0

Aphrodite v0.7.0

Summary

Note: this range jumps from v0.5.134 straight to v0.7.0, skipping the
0.6.x series entirely - that gap is real project versioning history, not
an error in these notes. The release is a large internal refactor: the
three largest plugin files - _core.py (664 lines), _hooks.py (2,142
lines), and _marker.py (538 lines) - were atomized into _core/,
_hooks/, and _marker/ packages of small, single-purpose modules (e.g.
_marker/classify.py, _marker/compress.py, _marker/marker.py,
_marker/parse.py, _marker/preview.py; _hooks/catalog.py,
_hooks/live.py, _hooks/prefetch.py, _hooks/session.py, etc.), fixing
__init__.py import syntax and getting the whole plugin ruff-clean in the
process. Alongside the refactor, scripts/auto-release.sh gained a
--minor flag so feature-sized changes can bump the minor version while
fixes still default to a patch bump - which is how this release itself
reached 0.7.0 from 0.5.134 in three --minor commits.

Changes

  • Feature: auto-release.sh - add --minor flag for feature-driven version bumps (patch remains the default for fixes)
  • Chore: atomize _core.py → _core/ package (__init__.py, config.py, state.py, store.py, struct.py, template.py)
  • Chore: atomize _hooks.py (2,142 lines) → _hooks/ package (catalog.py, classify.py, diff.py, files.py, git.py, live.py, prefetch.py, rebuild.py, reclassify.py, search.py, session.py, session_helpers.py, stats.py, terminal.py, test.py, transform.py)
  • Chore: atomize _marker.py → _marker/ package (__init__.py, classify.py, compress.py, marker.py, parse.py, preview.py), each module ≤246 lines
  • Fix: correct __init__.py import syntax broken by the atomization; get the plugin ruff-clean end to end

Verification

  • Commit range analyzed: f1ec04a..4e94eb4 (7 commits, tagged across three --minor bumps)
  • Diffstat: 38 files changed, 3404 insertions(+), 3359 deletions(-) - near-even churn consistent with a file-split refactor rather than new functionality

What Ships

Artifact Platform
aphrodite (unspecified/legacy artifact name)

Links