Skip to content

Yggdrasil v0.5.0

Choose a tag to compare

@glrs glrs released this 12 Oct 15:04
· 117 commits to main since this release
000d596

Yggdrasil v0.5.0 consolidates the codebase into a single yggdrasil package and removes obsolete code. The current planning and execution model is preserved, but import paths and legacy integrations change.

Highlights

  • Repository cleanup. Removed unused built-in realms, legacy entry scripts (ygg-mule.py and ygg_trunk.py), obsolete reporting code, and unused runtime dependencies.
  • One package. The top-level lib package is folded into yggdrasil, and the layering is visible in the paths: config, logging_utils and errors at the bottom; flow, watchers and couchdb above them; then storage and ops; daemon and cli on top.
  • Lighter imports. Importing yggdrasil.flow or yggdrasil.watchers no longer loads the CouchDB client or changes the logging configuration. Process-wide logging setup happens in configure_logging(), which the CLI calls.
  • Packaging. Explicit package discovery includes the complete package tree, bundled assets, and typing marker, including when building wheels from source distributions.
  • Legacy code removed. Legacy import aliases, the ygg.handler entry-point group, and code that the current architecture had already replaced are gone.
  • CI maintenance. Updated GitHub Actions dependencies and excluded a deleted placeholder-credential test fixture from secret scanning.

Upgrading

  • Import paths. Every lib.* import breaks; there is no compatibility shim. Realm code imports EventType and WatchSpec from yggdrasil.watchers, and the rest of the realm-facing API from yggdrasil.flow and yggdrasil.core.realm.
  • Realm registration. Entry points in the ygg.handler group are no longer discovered. Register realms through ygg.realm.
  • Logger names. Logger names follow the module paths; for example, lib.watchers.manager is now yggdrasil.watchers.manager. Update any log filter that matches on logger name.
  • Test-realm plans in development databases. Plans written before this release whose steps live under lib.realms.test_realm cannot be re-executed. Delete them and regenerate them. Plans of external realms are not affected.
  • Development from a checkout. For development from a checkout, install with pip install -e .; the automatic repository-path insertion has been removed.

What's Changed

  • Refactor/repository cleanup by @glrs in #105
  • Merge main (v0.4.0) into dev by @glrs in #106
  • Refactor/package consolidation by @glrs in #107
  • Fix/package consolidation followup by @glrs in #108
  • Repository cleanup and package consolidation by @glrs in #109

Full Changelog: v0.4.0...v0.5.0