datalad-core/CHANGELOG.md

9.4 KiB

v0.2.0 (2026-03-19)

💫 New features

  • establish module for (small) annex utility functions [d79db625]
  • add implementation of git_url_basename() [3b8c69f0]
  • adopt approach to setting a random seed from legacy datalad [3f735ab9]
  • Repo.from_path() [ac94f8cb]
  • apply_changeset:
    • universal tool for making changes to worktree/repo content [2fd59640]
  • iter_git_status:
    • low-level front-end to git-status --porcelain=2 [996cbfaa]
  • iter_git_subproc_zlines:
    • runner for reading NULL-separated lines [7d2f45cf]
    • runner for reading NULL-separated lines [cba93863]
  • repo_is_dirty:
    • helper to determine the overall dirty state of a repo [c972137a]
  • runners:
    • consistently support passing an alternative environment [0983dbcb]

🐛 Bug Fixes

  • store pristine config values, not stringified Python types [9852da29]
  • apply_changeset:
    • robust operation (on windows), use NULL-delimiter [8064a8b9]

🏠 Refactorings

  • switch to Python 3.11 as the minimum supported version [3a613dc2]
  • code linting informed beautifications [c0be2425]
  • make random seeding more failsafe and log errors [37b91ebb]

📝 Documentation

🛡 Tests

  • more accurate evaluation of `symlinks_supported() fixture [f36a8379]
  • use correct fixture for skipping test with unsupported symlinks [455dc90b]
  • fix configuration isolation for committing tests [b7552976]
  • fixtures/tests do not require an existing Git identity setup [97830206]
  • committing tests require config isolation [5ea9c20c]
  • fixtures/tests do not require an existing Git identity setup [e447ee38]
  • workaround worktree issue with older Git versions [247b87be]
  • cfgman:
  • iter_git_subproc:

v0.1.2 (2025-11-14)

  • Python 3.10 is now the minimum version, because Python 3.9 went end-of-life on 2025-10-31.

🐛 Bug Fixes

  • DataladBranchConfig now treated as read-only in a bare repository [96c1e3e4]

v0.1.1 (2025-10-28)

🐛 Bug Fixes

  • annex-lookup in Annex() now supports secondary worktrees [9e45f2dc]
  • git-annex:
    • bump version to include fix non-symlink repo handling [ffa2090f]

📝 Documentation

🛡 Tests

  • verify annex availability via a secondary work tree [2d1d6305]
  • do not waste cycles on GPG signatures [b4416780]

v0.1.0 (2025-07-04)

💫 New features

  • add dependency on git-annex [d238e28e]
  • rmtree() test helper [b1f32026]
  • test helper modify_dataset() and modified_dataset [b4bb4e14]
  • add test fixtures related to symlink capabilities [57c9439d]
  • add test helper call_git_addcommit() [3c237dbe]
  • enhance call_git() to return captured output [822b4f72]
  • expose EnsureDataset in the datalad_core.commands module [6393bec6]
  • EnsurePath and EnsureDatasetPath [257f35ed]
  • parameter preprocessor (for @datalad_command) [5d2b494a]
  • EnsureChoice constraint [c8b55cc7]
  • EnsureDataset constraint [35a5eb98]
  • have UnsetValue be available from consts [6a6045d1]
  • EnsureMappingHasKeys constraint [a6d3ab97]
  • NoConstraint, a constraint for representing no constraint [b9caddfb]
  • add Constraint.for_dataset() to tailor constraints for a context [93c54432]
  • allow for Constraint subclasses with no input_description [343e8c76]
  • Dataset class to represent a command's dataset parameter [1741cc3f]
  • ensure (Repo|Worktree).path points to the respective root directory [4917a2ae]
  • have flyweight be robust to (root-)path resolution [4b468308]
  • @datalad_command decorator [53519146]
  • ConfigManager.get_from_protected_sources() [9ab7305b]
  • new ConfigManager(sources=...) parameter [6dd0e9dc]
  • WithDescription constraint wrapper to adjust auto-documentation [f101949d]
  • foundational classes for constraints [7da8bd43]
  • dedicated ConstraintError for structured reporting on validation errors [f57385f0]
  • annex interfaces and initialization [93be2575]
  • call_annex_json_lines() utility [a1feef64]
  • repository/worktree initialization methods [e432e31f]
  • classes to represent (bare) Git repositories and worktrees [228f8c67]
  • configuration manager [b9ac3d0e]
  • new const module with common, static definitions [b03f5d82]
  • helper for executing (Git) subprocesses [aaec4aa6]

🐛 Bug Fixes

  • git-annex changed error reporting, adjust regex [a56d124a]
  • check for exactly one line in call_git_oneline [364902fe]
  • let a Worktree config manager never be identical to a Repo's [c43f0629]
  • initialize internal variable of GitConfig needed by __repr__() [d1f81e4a]

📝 Documentation

  • add missing documentation on annex initialization [a7c7a7e4]
  • (dataset-)path resolution pattern for command implementations [a380d68f]
  • render documentation for __call__() methods also [060a9752]
  • show inherited class members [e87df53f]
  • add maintainability badge [b36dd784]
  • Add official badge of Hatch to README.md [ab85e206]

🛡 Tests

  • verify call_git_oneline() always raises for anything but a single line [45f5edd3]
  • use a dedicated path a worktree, no reuse [b69476c3]

v0.0.0

  • Initial package setup without any functionality.