0.011 - 2026-12-04
  - Security and Resource Limits:
     - Common to the command-line tools and the server:
        - Sanitize paths derived from upstream package indexes and from
          distribution archives.
        - Limit the file count, total size, and largest file when unpacking
          archives (default 40000, 200MB, 30MB).  Refused archives are
          remembered in the dist cache until the limit is raised.
        - Only download from allowed upstreams, by default the public CPAN
          over https.  INCOMPATIBLE: http:// or DarkPAN mirrors now require
          --allowed-upstreams=+URL.
        - Restrict the characters of paths requested from upstream.
        - Key the dist cache on upstream_backup_url too, so branches can't
          poison each other's cached distributions.
        - Don't hold downloaded or unpacked files in memory until commit.
        - Fix quadratic POD stripping when scanning source for packages.
        - Make control characters visible when writing to a terminal.
     - cpangit-add:
        - New options --allowed-upstreams, --max-files, --max-total-size,
          --max-file-size.
        - When unpacking with --local, reject conflicting paths, attempts
          to write through symlinks, and symlinks outside the repo.
     - cpangit-audit:
        - New option --allowed-upstreams.
        - --assert-no-cve fails for versions it can't compare (like
          Foo-1.02-RC1) instead of passing them.
     - cpangit-create:
        - New option --allowed-upstreams.  --upstream=URL is allowed
          automatically for this command.
     - cpangit-diff:
        - New option --allowed-upstreams.
     - cpangit-server:
        - Serve only branch heads by default.  INCOMPATIBLE: serving tags
          and commits now require --serve-tags / --serve-commits.
          --branch-head-only is deprecated.  HEAD means the checked-out branch.
        - Browsing and comparing distributions requires --browse-dists.
        - Don't autofetch for mirrors whose upstream isn't allowed by
          --allowed-upstreams.
        - New options --max-download-size (per file, default 100M) and
          --max-cache-size (per process, default 10G; beyond it, downloads
          get 503).
        - New option --tree-cache-limit (default unlimited for branches
          only, otherwise 20).  Commit IDs share an entry regardless of case.
        - New options --max-files, --max-total-size, --max-file-size.
        - Never use the working directory or index of the checked-out
          branch.
        - Serve downloads as attachments with safely quoted names, and
          errors as text/plain, all with nosniff.
        - Add ETags from Git object IDs and Cache-Control, for cheap
          revalidation.  Cache the gzipped 02packages.details.txt.gz.
        - Try at most 16 URL components as a friendly branch or tag name.
  - API Changes
    - CPAN::InGit
      - new attributes allowed_upstreams, download_limit, downloaded_bytes
      - new methods is_allowed_upstream, update_allowed_upstreams
      - get_archive_tree new option use_workdir
      - cached_dist_tree remembers refused archives.
    - MutableTree
      - new method import_from_archive (with global %archive_limits)
      - set_path and friends sanitize paths and guard against symlinks in the
        working directory
      - fix stale 'branch' attribute after a commit, which broke a third commit.
    - ArchiveTree
      - import_dist and index_distribution sanitize author paths
      - add_local_dist uses import_from_archive.
    - MirrorTree
      - fetch_upstream_file enforces the allowed upstreams, path characters and download_limit
      - downloads are added to the tree immediately.
    - DistTree
      - new class method unwrap_tree
      - new_from_archive accepts the options of import_from_archive
    - Advisories
      - affecting returns every advisory for a version it can't parse, with a warning
    - Server
      - new attributes browse_dists, serve_tags, serve_commits, tree_cache_limit
      - branch_head_only is deprecated
      - render_gzipped output is reproducible.

0.010 - 2026-12-02
  - Always load Net::SSLeay before Git::Raw, to work around crash caused by
    https://github.com/jacquesg/p5-Git-Raw/issues/231

0.009 - 2026-11-30
  - Change default CVE list to the one used by CPANSA::DB (cpan-security-advisory.json
    of https://github.com/briandfoy/cpan-security-advisory) instead of the
    cpansa-feed of CPAN-Security, which stopped being updated in July 2026.
  - Warn when the newest information in the CVE list is more than 30 days old,
    in cpangit-audit (on STDERR and in `cve_list.warning` of the JSON) and in
    the web interface.
  - load_advisories remembers the ETag of the CVE list (in a file beside it)
    so that an unchanged list is not downloaded again from a server which
    ignores If-Modified-Since.
  - Advisories: new attribute `generated`, new methods `data_date` and
    `stale_warning`.  An affected version without a comparison operator
    means exactly that version.
  - Web interface: a range which can't be understood now marks the release as
    affected, like cpangit-audit, instead of failing the whole CVE check.

0.008 - 2026-11-28
  - CPAN::InGit:
     - lookup_branch: new method that finds local branches *or* remote
       branches, in case the local tracking branch wasn't created yet.
  - MutableTree:
     - When committing on a remote-tracking branch, automatically create a
       matching local branch.
  - ArchiveTree:
     - New attributes repo_web_url and branch_web_url, to refer to GitHub
       or similar git web interface.
     - Method commit_web_url for computing web interface URLs for commits
  - Server:
     - Improved styling for the header of ArchiveTree indexes
     - Link to browsable dist files, not a download of the dist archive

0.007 - 2026-11-27
  - cpangit-add
     - New feature `--local` imports a dist to L/LO/LOCAL for customization
       and sets this local version as the provider for the contained modules.
  - cpangit-audit: New tool listing every dist of a branch for which a newer
    dist is available in its import sources, and which versions are affected
    by CVEs.
  - cpangit-diff: New tool for comprehensively diffing two versions of the
    same dist, primarily for showing what would change if it were upgraded.
  - When importing a dist into a branch, warn if it provides modules which
    were not indexed at the source.  This could be a sign that it is
    violating namespace permissions.
  - New module CPAN::InGit::Advisories looks up CVEs in the CPANSA feed, with
    the same semantics as the web interface.
  - ArchiveTree: New method `find_upgrades` compares the index with other
    trees, grouping modules by (dist here, dist there).
  - CPAN::InGit:
     - New method `load_advisories` and attributes `cve_feed_url`,
       `cve_feed_path`, `cve_feed_max_age`.
     - New attribute `dist_cache_repo` provides a Git::Repo for cached
       unpacking of dists without polluting the main repo.
     - Removed method `process_distfile` which has been superceeded by
       DistTree and its methods.
  - MutableTree:
     - New methods list_dir and diff
     - set_path accepts a hashref or Git tree to replace a whole directory
     - get_path can return directories
  - New class CPAN::InGit::DistTree gives access to the files, META, change
    log, and prereqs of a distribution, and can compare two distributions.
    Get one from new method ArchiveTree->get_dist.
  - ArchiveTree:
     - get_dist_meta falls back to the META inside of the distribution
     - get_dist: new method returns CPAN::InGit::DistTree instances
     - import_dist writes the .meta file from the distribution if the source
       tree lacks one
     - dist_storage: new method indicates whether a dist is stored as a single
       archive file or is already unpacked in the repo.
  - Server:
     - Browse the files of a distribution at authors/id/.../Dist-1.0.tar.gz/
     - New views of a distribution: ~changes, ~meta, and ~diff?to=OTHER_DIST
     - The "Src. Ver." column of the index links to a ~diff of the pinned
       distribution vs. the one in the import source.
     - The front-end can now collapse modules from the same dist and matching
       prefix, for readability.

0.006 - 2026-10-29
  - Server:
     - Fix ability to run Mojo server mounted at a deeper path than '/'
     - Fix ability to serve branch and tag names containing '/'
     - Add canonical ~branch/, ~tag/, and ~commit/ paths
     - Resolve friendly tree paths to these canonical paths before routing
       so that Mojo's URL caching doesn't hide changes in available git refs.

0.005 - 2026-10-29
  - Declare missing dependency on Log::Any::Adapter::MojoLog
  - Suppress ssl-related crash on FreeBSD from tests, since the bug
    needs fixed upstream in Git::Raw.

0.004 - 2026-10-28
  - Fix ability for commands to update the index of the working branch
  - Server:
     - Serve an index page for the whole repository, optionally listing
       available branches
     - Serve an index page for each archive tree, browsing or filtering
       the module list, and javascript feature to compare the list to the
       CVE database.

0.003 - 2026-01-14
  - cpangit-add can now process cpanfile or cpanfile.snapshot
  - New method ArchiveTree->import_cpanfile_snapshot
  - Support for backpan via MirrorTree->upstream_backup_url

0.002 - 2025-12-19
  - Sort 02packages.details.txt case-insensitive so that it works with
    binary search required by CPAN::02Packages::Search used by App::cpm
  - Server:
      - Refresh cache if a branch receives new commits
      - Limit cache to 20 trees (LRU) when Tree::RB::XS is available
      - Fix bugs in ability to generate .tar.gz files from dist dir

0.001 - 2025-12-16
  - Initial mostly-usable release
