Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haskell/cabal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2e30cb8
Choose a base ref
...
head repository: haskell/cabal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: aafd688
Choose a head ref
  • 2 commits
  • 53 files changed
  • 1 contributor

Commits on Mar 21, 2025

  1. Implement v2-gen-bounds function

    This commit implements project-aware functionality for the `cabal gen-bounds` command,
    allowing it to work correctly in multi-package projects. Previously, running `gen-bounds`
    from within a package directory that depends on another local package would fail
    because it couldn't find the local dependency.
    
    The implementation follows the same pattern as other v2 commands, creating a full
    project context that knows about all packages defined in the cabal.project file.
    This allows `gen-bounds` to properly analyze dependencies between local packages
    and suggest appropriate bounds.
    
    ```
    cabal gen-bounds <TARGET>
    ```
    
    Fixes #7504 #8654 #9752 #5932
    mpickering committed Mar 21, 2025
    Configuration menu
    Copy the full SHA
    6ae908d View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2025

  1. Implement v2-outdated command for cabal-install

    This commit updates the outdated command to the new v2 architecture:
    
    - Transform the old `outdated` command into a new v2-style command `v2-outdated`
    - Support three modes of operation:
      - Check for outdated dependencies in v1-style freeze file
      - Check for outdated dependencies in project context (cabal.project & cabal.project.freeze)
      - Check for outdated dependencies in local packages
    
    Since the `cabal outdated` command now supports the v2-architecture, you
    can request to run the `v2-outdated` command on any target.
    
    I also introduced the `resolveTargetsFromLocalPackages` which resolves
    which local packages targets refer to without having to run the solver.
    This will be useful for `cabal check` as well.
    
    A change in behaviour from before is that the package description is
    flattened, so all bounds will be warned about rather than those in
    conditional branches being ignored.
    
    Fixes #8283
    mpickering committed Mar 27, 2025
    Configuration menu
    Copy the full SHA
    aafd688 View commit details
    Browse the repository at this point in the history
Loading