# Configuration depup has two configuration files of its own: the global configuration file for your defaults, and `.depup` for the directories of a monorepo. A minimum release age written in a project's pnpm, Bun, or mise settings also applies; how it combines with `--age` and the global configuration is described in [Resolution Priority](usage.md#resolution-priority). ## Global Configuration File On its first run, depup creates `~/.config/depup/config.toml`, which lists the default settings with explanatory comments; it never overwrites an existing file. Edit it to change the defaults for every project. A command-line flag still wins for a single run (see the priority lists in [Filtering Candidates](usage.md#filtering-candidates)). The path is the same on every OS: `.config/depup/config.toml` under your home directory (on Windows, `%USERPROFILE%\.config\depup\config.toml`). The generated file looks like this: ```toml # depup global configuration # https://github.com/owayo/depup # # This file is auto-generated on first run. # Edit values below to override depup's built-in defaults. # Default age filter applied to every depup run. # Accepts the same format as --age: Nd (days), Nw (weeks), Nm (months). # Override per-run with --age or disable with --no-age. age = "1w" # Check candidate versions against the OSV.dev vulnerability database # and prefer versions without known vulnerabilities (enabled by default). # Requires network access; on API errors depup keeps the original candidate. # Override per-run with --osv / --no-osv. osv = true # Updates that fix existing vulnerabilities may introduce new Medium/Low issues # under the following limits. # New Medium issues cannot outnumber fixes of Medium-or-higher issues. # New Medium + Low issues cannot outnumber all known-severity fixes. # New High, Critical, Unknown, and malware are never allowed by this policy. # Set false (or pass --no-osv-risk-tradeoff) to require zero advisories. osv_risk_tradeoff = true # Limit the maximum allowed version change. # Accepts: "patch" (allow only patch bumps), "minor" (allow patch + minor), # or "major" (default — all bumps allowed). # Override per-run with --max-change . # max_change = "minor" # Exempt releases published by verified GitHub identities from age filtering. # Self-declared repository URLs do not qualify. See docs/configuration.md. # [age_exempt] # github = ["example-dev"] ``` A key that is missing from the file falls back to the built-in default (`age = "1w"`, `osv = true`, `osv_risk_tradeoff = true`, no `max_change` limit). If the file cannot be created, read, or parsed, depup prints a warning and uses the built-in defaults. Write the file as UTF-8 text; a file that is not UTF-8 (such as the UTF-16 that `>` writes in Windows PowerShell 5.1) is reported the same way. If a single value is invalid (such as `age = "abc"`), depup prints a warning and uses the built-in default for that setting only. Updates that fix existing vulnerabilities may still be allowed under severity and count limits, even when an existing configuration file has no `osv_risk_tradeoff` key. See [Vulnerability Check](usage.md#vulnerability-check-osvdev) for the counting rules and baseline requirements. ## Age Exemptions by Verified Publisher Keep the normal waiting period and exempt selected GitHub identities in your global configuration: ```toml age = "2w" [age_exempt] github = ["example-dev", "example-org"] ``` The list is empty by default. Logins are matched as complete names, without case sensitivity. Invalid names are ignored with a warning; an invalid `age_exempt` table disables only the exemptions and preserves your other settings. Supported evidence is version-specific crates.io publisher information (`published_by` with a confirmed GitHub login, or GitHub Trusted Publishing), and GitHub source paths for Go and Swift. A package name, a registry account with the same name, a current list of crate owners, or a self-declared repository URL does not establish a GitHub identity. Other registries keep the normal age filter; depup prints a notice when they are selected. For an exempted Swift owner, depup does not look up tag release dates at all. Exemptions affect only release age. Pinned dependencies, version ranges, prerelease rules, `--max-change`, and OSV checks still apply. An explicit project `minimumReleaseAge` takes precedence and disables global exemptions. Git dependencies already bypass release-age filtering. The same policy applies to candidate selection, Tauri synchronization, and the Rust lockfile audit after `--install`, including transitive crates. Text output identifies an exempt update; JSON adds an `age_exemption` object with `identity` and `evidence` only when an update uses the exemption. ## `.depup` Configuration File For monorepo projects with multiple subdirectories, create a `.depup` file at the project root to list additional directories to process: ```text # .depup gui # Frontend app api # Backend API shared # Shared libraries ``` Run `depup` from the root directory to update dependencies across all listed directories at once. The root directory itself is always scanned in addition to the listed directories. Version lookups are cached, so shared packages are only fetched once. mise candidates are scoped to their directory and age policy and use mise's own cache. When `--install` is used, depup runs each package manager in the deepest listed directory that contains the updated manifest, so nested apps install in their own directories instead of the repository root ([Running the Package Manager](usage.md#running-the-package-manager---install)). Each listed directory inherits explicit age settings from its ancestors up to the run root. Sibling policies remain separate for candidate selection; a shared install or Cargo workspace lock uses the strictest member policy. See [Resolution Priority](usage.md#resolution-priority). The `.depup` format: - `#` starts a comment (line or inline) - Empty lines are ignored - Paths are relative to the `.depup` file location - If any entry is an absolute path, contains `..`, or is a symlink that resolves outside the directory containing `.depup`, depup prints a warning and ignores the whole `.depup` file. The run then behaves as if there were no `.depup`: the root and its automatically detected workspaces are still processed - Non-existent directories are ignored with a warning - Write the file as UTF-8 text. A UTF-8 byte order mark at the start is skipped. A file that cannot be read, or cannot be read as UTF-8 (such as the UTF-16 that `>` writes in Windows PowerShell 5.1), is ignored as a whole with a warning, as with an invalid entry