debputy (0.1.82) unstable; urgency=medium

  * Plugin API Change:
    - *Backwards incompatibility*: Remove unused
       `VirtualPath.is_detached` property from the public spec. As mentioned,
       it was unused, so no breakage expected. Note that the default
       implementation still has the method, so at this point it will only
       be visible as a typing warning and not a runtime error.

  * LSP/Lint:
    - Fix invalid structure sent via LSP protocol for document links. This
      could cause errors in the editor when the feature was used.
    - Fix missing `@` at the end of some `d/watch` variables, which would
      make `debputy` highlight and complete the variables wrongly.

  [ Nicolas Boulenguez ]
  * 15 refactor, typing fixes and other internal clean up commits
    to improve the maintainability for developers.

  [ Niels Thykier ]
  * docs: Remove obsolete warning about `lint --spellcheck --auto-fix`
  * debputy: fix crash if library was materialised before `dpkg-shlibdeps`
    Thanks to Nicolas Boulenguez <nicolas@debian.org> for reporting
    the bug and providing a minimal reproducer. (Closes: #1127427)

 -- Niels Thykier <niels@thykier.net>  Mon, 09 Feb 2026 19:30:52 +0000

debputy (0.1.81) unstable; urgency=medium

  [ Niels Thykier ]
  * Add a `py.typed` file to expose typing to consumers
  * fix: crash with `dh-sequence-zz-debputy-rrr` with `dbgsym` packages.
    Thanks to Chris Hofstaedtler <zeha@debian.org> (Closes: #1126403)
  * fix: incorrect error related to `Rules-Requires-Root` in `full` mode.
    In `full` mode, building packages with static ownership would fail
    since `dpkg-buildpackage` will not pass `DEB_RULES_REQUIRES_ROOT`
    in the environment (it only applies to `debian/rules` based builds).
    With this change, `debputy` behaves like `DEB_RULES_REQUIRES_ROOT`
    was set to `no` (with a slightly different warning message), since
    `debputy` is here to support "rootless" builds

  [ Nicolas Boulenguez ]
  * 19 refactor, typing fixes and other internal clean up commits
    to improve the maintainability for developers.

 -- Niels Thykier <niels@thykier.net>  Mon, 26 Jan 2026 18:22:05 +0000

debputy (0.1.80) unstable; urgency=medium

  * API:
    - *Backwards incompatibility*: Remove unused `VirtualPath.stat`
       method from the public spec. As mentioned, it was unused,
       so no breakage expected. Note that the default implementation
       still has the method, so at this point it will only be visible
       as a typing warning and not a runtime error.

  [ Nicolas Boulenguez ]
  * Improve log, warning and error messages related to the new
    `built-using` and `static-built-using` features.
  * 40+ refactor, typing fixes and other internal clean up commits
    to improve the maintainability for developers.

  [ Niels Thykier ]
  * deb_packer.py: provide closer match to `dpkg-deb` `xz` compression

 -- Niels Thykier <niels@thykier.net>  Sat, 24 Jan 2026 11:40:48 +0000

debputy (0.1.79) unstable; urgency=medium

  * Backwards Incompatibility:
    - Install `debian/pkg.modprobe` files under `/usr/lib/modprobe.d`.
      No packages using `debputy` in Debian used this feature yet,
      so the change was done without migration. If you migrate a
      package using `debian/pkg.modprobe`, please consider adding
      `dh-debputy (>= 0.1.79~)` as Build-Dependency to ensure there
      are no surprises with backports (etc.).

  * Manifest changes:
    - Add `built-using` and `static-built-using` keywords to enable
      `debputy` to generate `Built-Using` and `Static-Built-Using`
      for you. This replaces the `dh-sequence-builtusing` when
      using either `full` or `dh-sequence-zz-debputy` integration
      mode.  (Closes: #1121339)

  * migrate-from-dh:
    - Detect and provide manual instructions for migrating from
      `dh-builtusing` in `dh-sequence-zz-debputy` or `full`
      integration mode.

  * Plugin API:
    - Manifest detectors can now access some of the pluggable
      manifest rules via the context.

  [ Michael Hudson-Doyle ]
  * debputy: Support Ubuntu's `Architecture-Variant` when deciding
    the output file name for binary packages.

  [ Nicolas Boulenguez ]
  * Design and implement the `built-using` and `static-built-using`
    feature based on `dh-builtusing`.

  [ Niels Thykier ]
  * debputy: Recognise `.org` as common upstream changelog extension.
    This is to match `dh_installchangelogs`.
  * Generated prerm: Validate that `python3` works before calling
    `py3clean`. This is to match what `dh-python` does.

 -- Niels Thykier <niels@thykier.net>  Sun, 28 Dec 2025 12:07:00 +0000

debputy (0.1.78) unstable; urgency=medium

  * LSP/Lint:
    - Add check of canonical spelling of maintainer names.
    - Provide bug links for `d/changelog` for the most
      recent bugs.

 -- Niels Thykier <niels@thykier.net>  Sun, 12 Oct 2025 11:44:43 +0000

debputy (0.1.77) unstable; urgency=medium

  * LSP/Lint:
    - Add support for new `uscan` templates

  * LSP/Reformat:
    - Recognise `debian/gitlab-ci.yml`

  * migrate-from-dh:
   - Remove invalid min-compat check for dh-compat migrations
   - Cope better with `../foo` paths in `dh` config files.
     Either map to `debian/foo` or provide a better error
     message, when unsupported.

  * Plugin API:
    - Improve support for modern types such as `str | list[str]`
      instead of `Union[str, List[str]]`

  * debputy: Use `difflib` rather than forking `diff -u` for diffs
  * debputy: Add support for `X-Doc-Main-Package`
  * debputy: fix potential crash (`NameError`) under `migrate-from-dh`

 -- Niels Thykier <niels@thykier.net>  Fri, 26 Sep 2025 18:27:40 +0000

debputy (0.1.76) unstable; urgency=medium

  * LSP/Lint:
    - Add `Version-Type` field metadata for `d/watch`

  * debputy: Ensure relationship substvars are inserted in stable
    order.

 -- Niels Thykier <niels@thykier.net>  Mon, 15 Sep 2025 18:08:21 +0000

debputy (0.1.75) unstable; urgency=medium

  * Manifest:
    - Fix a bug where two keywords where parsed but ignored.
      The `installation-search-dirs` and the `conffile-management` keys
      under `packages.<PACKAGE>` would be full parsed, validated and
      then silently ignored due to a bug in `debputy`.
    - Add `remove-during-clean`. This is `debputy`'s answer to
      `debian/clean` from `dh_clean`.  Thanks to
      Paride Legovini <paride@debian.org> for reporting the missing
      feature.

  * migrate-from-dh:
    - Support migrating `d/clean` files to the new
      `remove-during-clean` feature.

 -- Niels Thykier <niels@thykier.net>  Sat, 30 Aug 2025 09:30:31 +0000

debputy (0.1.74.2) unstable; urgency=medium

  * LSP/Lint: Fix metadata mismatch where `X-DH-Compat` was a binary field

 -- Niels Thykier <niels@thykier.net>  Wed, 27 Aug 2025 16:33:53 +0000

debputy (0.1.74.1) unstable; urgency=medium

  * Include missing file

 -- Niels Thykier <niels@thykier.net>  Tue, 26 Aug 2025 18:54:21 +0000

# For older changelog entries, run 'apt-get changelog dh-debputy'
