tree-sitter (0.25.9-4) unstable; urgency=medium

  * Revert "fix(lib): replace raw array accesses with `array_get`" since it's
    triggering the asserts on ppc64el. Building the library with -DNDEBUG
    isn't sufficient.

 -- James McCoy <jamessan@debian.org>  Thu, 16 Oct 2025 21:57:29 -0400

tree-sitter (0.25.9-3) unstable; urgency=medium

  * Remove unnecessary Build-Depends on librust-proc-macro2-dev
  * Add -DNDEBUG to CPPFLAGS in optimized builds (Closes: #1118048)

 -- James McCoy <jamessan@debian.org>  Thu, 16 Oct 2025 09:08:19 -0400

tree-sitter (0.25.9-2) unstable; urgency=medium

  * Upload to unstable (Closes: #1117123)
  * d/control: Relax heck (Build-)Depends to support >= 0.4, << 0.6
  * d/control: Relax fs4 (Build-)Depends to allow 0.13 (Closes: #1117920)

 -- James McCoy <jamessan@debian.org>  Mon, 13 Oct 2025 20:31:00 -0400

tree-sitter (0.25.9-1) experimental; urgency=medium

  * Update to new upstream version 0.25.9.
  * Adjust librust-etcetera-dev dependencies to allow any 0.8 - 0.10 version
  * Remove Rules-Requires-Root: no, since that is the default

 -- James McCoy <jamessan@debian.org>  Sun, 05 Oct 2025 20:05:06 -0400

tree-sitter (0.25.6-3) experimental; urgency=medium

  * Remove version constraint for Breaks/Replaces of libtree-sitter0.22
    (Closes: #1108626)
  * libtree-sitter0.25: Add Breaks/Replaces against libtree-sitter0

 -- James McCoy <jamessan@debian.org>  Fri, 04 Jul 2025 09:20:04 -0400

tree-sitter (0.25.6-2) experimental; urgency=medium

  * Include main package version in librust-tree-sitter-dev version to ensure
    it changes with every upload, even if the crate version didn't change.
    (Closes: #1108220)

 -- James McCoy <jamessan@debian.org>  Mon, 23 Jun 2025 11:51:17 -0400

tree-sitter (0.25.6-1) experimental; urgency=medium

  * Update to new upstream version 0.25.6.
  * autopkgtests: Use versioned Provides to ensure the right package is installed

 -- James McCoy <jamessan@debian.org>  Sat, 21 Jun 2025 07:48:34 -0400

tree-sitter (0.25.4-1) experimental; urgency=medium

  * Update to new upstream version 0.25.4. (Closes: #1082967)
  * Update SONAME to libtree-sitter0.25
  * Add librust-tree-sitter-generate-dev package
  * Add librust-tree-sitter-language-dev package
  * Add autopkgtests for tree-sitter-generate and tree-sitter-language
  * Move all non-debhelper Build-Depends to Build-Depends-Arch, since only
    Arch: any packages are built
  * tree-sitter-loader: Add Provides for t-s-highlight and t-s-tags features
  * tree-sitter: Add provides for std feature
  * autopkgtest: Add bindgen dependency for tree-sitter --all-features test
  * lintian: Suppress package-contains-no-arch-dependent-files for
    librust-*-dev packages

 -- James McCoy <jamessan@debian.org>  Sun, 15 Jun 2025 08:16:05 -0400

tree-sitter (0.22.6-8) unstable; urgency=medium

  * Re-upload with patches generated

 -- James McCoy <jamessan@debian.org>  Sat, 13 Sep 2025 15:14:56 -0400

tree-sitter (0.22.6-7) unstable; urgency=medium

  * Bump bindgen dependency to 0.72 (Closes: #1110069)

 -- James McCoy <jamessan@debian.org>  Sat, 13 Sep 2025 14:58:10 -0400

tree-sitter (0.22.6-6) unstable; urgency=medium

  * Upload to unstable
  * Add Breaks/Replaces for libtree-sitter0

 -- James McCoy <jamessan@debian.org>  Sun, 16 Mar 2025 16:14:16 -0400

tree-sitter (0.22.6-5) experimental; urgency=medium

  * Remove emscripten Recommends until playground command is enabled
    (Closes: #1093836)
  * Backport patch to include the minor version in the SONAME so the ABI break
    is properly reflected. (Closes: #1100171)
  * Rename libtree-sitter0 to libtree-sitter0.22 for ABI bump

 -- James McCoy <jamessan@debian.org>  Sat, 15 Mar 2025 07:32:12 -0400

tree-sitter (0.22.6-4) unstable; urgency=medium

  * Upload to unstable
  * Revert "Switch package branch to debian/experimental"
  * Add salsa-ci config
  * autopkgtests: Bump bindgen to 0.71
  * Declare compliance with Policy 4.7.2, no changes needed

 -- James McCoy <jamessan@debian.org>  Sat, 08 Mar 2025 13:43:40 -0500

tree-sitter (0.22.6-3) experimental; urgency=medium

  * Switch autopkgtest from dh-cargo to dh-rust
  * cli: Add explicit include field to Cargo.toml to work around cargo's
    behavior of excluding hidden files when "cargo package" is run outside of
    a git repo. (Closes: #1093188)

 -- James McCoy <jamessan@debian.org>  Thu, 23 Jan 2025 21:14:25 -0500

tree-sitter (0.22.6-2) experimental; urgency=medium

  * Add librust-tree-sitter-cli-dev package (Closes: #1093038). This was
    unintentionally dropped when collapsing the independent rust-tree-sitter-*
    packages into src:tree-sitter.

 -- James McCoy <jamessan@debian.org>  Wed, 15 Jan 2025 19:22:14 -0500

tree-sitter (0.22.6-1) experimental; urgency=medium

  * New upstream release (Closes: #1082544)
    + Fix possible infinite loop when a tree has zero-width tokens (Closes:
      #1052020)
  * Build librust-tree-sitter{,-tags,-highlight,-loader,-config}-dev and
    tree-sitter-cli packages here instead of from their own source packages
  * Specify PREFIX and LIBDIR for dh_auto_build
  * Update libtree-sitter0.symbols
  * Switch package branch to debian/experimental
  * Declare compliance with Policy 4.7.0, no changes needed
  * Run wrap-and-sort -ast

 -- James McCoy <jamessan@debian.org>  Fri, 06 Dec 2024 15:48:14 -0500

tree-sitter (0.20.8-2) unstable; urgency=medium

  * Upload to unstable

 -- James McCoy <jamessan@debian.org>  Tue, 04 Jul 2023 09:09:44 -0400

tree-sitter (0.20.8-1) experimental; urgency=medium

  * New upstream release
  * Update symbols for 0.20.8
  * Mark all exported symbols not part of the public API as optional
  * Declare compliance with Policy 4.6.2, no changes needed

 -- James McCoy <jamessan@debian.org>  Fri, 07 Apr 2023 19:59:30 -0400

tree-sitter (0.20.7-1) unstable; urgency=medium

  * New upstream release
  * Update symbols for 0.20.7
  * Declare compliance with Policy 4.6.1, no changes needed
  * watch: use mode=git instead of scraping the releases page

 -- James McCoy <jamessan@debian.org>  Tue, 15 Nov 2022 07:19:34 -0500

tree-sitter (0.20.6-1) unstable; urgency=medium

  * New upstream release

 -- James McCoy <jamessan@debian.org>  Tue, 29 Mar 2022 07:18:48 -0400

tree-sitter (0.20.3-1) unstable; urgency=medium

  * New upstream release
  * libtree-sitter0.symbols: Add/remove functions for 0.20.3

 -- James McCoy <jamessan@debian.org>  Sat, 29 Jan 2022 13:05:52 -0500

tree-sitter (0.20.1-1) unstable; urgency=medium

  * New upstream release
  * Bump copyright years
  * Update libtree-sitter0.symbols

 -- James McCoy <jamessan@debian.org>  Mon, 20 Dec 2021 14:59:34 -0500

tree-sitter (0.20.0-2) unstable; urgency=medium

  * Upload to unstable
  * Declare compliance with Policy 4.6.0
  * Fix group name in Vcs-* links

 -- James McCoy <jamessan@debian.org>  Sun, 29 Aug 2021 15:04:11 -0400

tree-sitter (0.20.0-1) experimental; urgency=medium

  * New upstream release
  * Update Vcs-* to salsa.d.o/tree-sitter/tree-sitter
  * libtree-sitter0.symbols: Add/remove functions for 0.20.0
  * Change maintainer to team+tree-sitter@tracker.debian.org

 -- James McCoy <jamessan@debian.org>  Sun, 01 Aug 2021 22:55:19 -0400

tree-sitter (0.19.4-1) experimental; urgency=medium

  * New upstream release
  * Add missing libtree-sitter0 Depends to libtree-sitter-dev (Closes:
    #985695)
  * watch: Support tags with a leading "v"
  * Bump changelog to 0.19.4-1
  * symbols:
    + Raise version for all APIs to 0.19 due to ABI break
    + Add ts_query_cursor_did_exceed_match_limit, new in 0.19.2

 -- James McCoy <jamessan@debian.org>  Sun, 28 Mar 2021 13:53:55 -0400

tree-sitter (0.17.3-1) experimental; urgency=medium

  * Initial release. (Closes: #976003)

 -- James McCoy <jamessan@debian.org>  Wed, 06 Jan 2021 22:39:46 -0500
