v0.1.0

Initial release.

  • use AncestryEx with the materialized_path2 and materialized_path formats.
  • Navigation queries, depth scopes, leaves and pure helpers.
  • AncestryEx.Changeset with cast_parent/1, put_parent/2 and handle_orphans/2 (destroy, rootify, adopt, restrict and none strategies).
  • Depth cache (stored or generated column), counter cache and touch.
  • arrange/1, arrange_serializable/2 and sort_by_ancestry/1.
  • AncestryEx.Integrity: check, restore, build from parent_id, rebuild caches.
  • Generators: ancestry_ex.gen.migration, ancestry_ex.gen.schema and ancestry_ex.gen.context.