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: Shopify/shadowenv
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.5.0
Choose a base ref
...
head repository: Shopify/shadowenv
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.5.1
Choose a head ref
  • 12 commits
  • 10 files changed
  • 10 contributors

Commits on Jan 8, 2026

  1. Configuration menu
    Copy the full SHA
    2c7d0aa View commit details
    Browse the repository at this point in the history
  2. Merge pull request #161 from Shopify/surma/nu-autoload

    Make use of nushell's autoload directory
    surma authored Jan 8, 2026
    Configuration menu
    Copy the full SHA
    2e17729 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2026

  1. Bump memory limit

    In some projects $NIX_CFLAGS_COMPILE now exceeds 10k. Maybe we should
    make this configurable, but it also feels reasonable to just support
    whatever the system supports. The maximum length appears to depend on
    the platform -- PAGE_SIZE * 32 on Linux (usually 128 KiB), and capped by
    ARG_MAX on macOS (256 KiB across all args). 64 KiB ought to be enough
    for anyone.
    joshheinrichs-shopify committed Feb 10, 2026
    Configuration menu
    Copy the full SHA
    b085ee4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cec3cc View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2026

  1. init: avoid fully resolving shadowenv path

    This avoids the situation where shadowenv will fully resolve to a nix
    store path which then isn't tracked by nix gc-roots.
    jonringer committed Feb 24, 2026
    Configuration menu
    Copy the full SHA
    f8a0d56 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2026

  1. Replace __fish_reconstruct_path hook on first run of __shadowenv_hook…

    … to avoid incorrect reordering of PATH
    lilyinstarlight committed Apr 28, 2026
    Configuration menu
    Copy the full SHA
    2e41425 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #166 from Shopify/fix-fish-path

    Replace __fish_reconstruct_path hook on first run of __shadowenv_hook to avoid incorrect reordering of PATH
    lilyinstarlight authored Apr 28, 2026
    Configuration menu
    Copy the full SHA
    1127b36 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2026

  1. Configuration menu
    Copy the full SHA
    4882984 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    294deb3 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2026

  1. Resolve argv[0] via $PATH in init for bare invocations

    When a shell locates `shadowenv` through $PATH, argv[0] is the bare name
    "shadowenv". `shadowenv init <shell>` joined that name with the current
    directory, so the generated hook ran `"$PWD/shadowenv" hook` on every
    prompt and failed with "No such file or directory" from any directory
    other than the one shadowenv happens to live in.
    
    Resolve the executable path correctly instead:
    
      * absolute argv[0] is used as-is,
      * a relative path containing a separator (e.g. `./shadowenv`) is joined
        with the cwd, as before,
      * a bare name is looked up on $PATH.
    
    We still avoid `current_exe()` for these cases so a stable symlink is
    preferred over a canonicalized (and potentially garbage-collected)
    target such as a Nix store path; it is only used as a last-resort
    fallback, never `$PWD/<name>`.
    
    Adds unit tests covering each case, including a regression test ensuring
    a bare name is never resolved to `$PWD/shadowenv`.
    paracycle committed Jun 1, 2026
    Configuration menu
    Copy the full SHA
    64e9898 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2026

  1. Merge pull request #168 from Shopify/paracycle/fix-init-path-resolution

    Fix `init` resolving argv[0] to `$PWD/shadowenv` for bare invocations
    paracycle authored Jun 18, 2026
    Configuration menu
    Copy the full SHA
    f889b59 View commit details
    Browse the repository at this point in the history
  2. bump version to 3.5.1

    paracycle committed Jun 18, 2026
    Configuration menu
    Copy the full SHA
    4f35a2c View commit details
    Browse the repository at this point in the history
Loading