upd-cli 0.0.28__tar.gz → 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. {upd_cli-0.0.28 → upd_cli-0.1.1}/.mise.toml +3 -3
  2. {upd_cli-0.0.28 → upd_cli-0.1.1}/.pre-commit-config.yaml +3 -3
  3. {upd_cli-0.0.28 → upd_cli-0.1.1}/.pre-commit-hooks.yaml +1 -1
  4. {upd_cli-0.0.28 → upd_cli-0.1.1}/CHANGELOG.md +54 -0
  5. {upd_cli-0.0.28 → upd_cli-0.1.1}/Cargo.lock +415 -168
  6. {upd_cli-0.0.28 → upd_cli-0.1.1}/Cargo.toml +16 -16
  7. {upd_cli-0.0.28 → upd_cli-0.1.1}/PKG-INFO +146 -20
  8. {upd_cli-0.0.28 → upd_cli-0.1.1}/README.md +145 -19
  9. {upd_cli-0.0.28 → upd_cli-0.1.1}/rust-toolchain.toml +1 -1
  10. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/align.rs +219 -11
  11. upd_cli-0.1.1/src/audit/cache.rs +341 -0
  12. upd_cli-0.1.1/src/audit/cvss.rs +487 -0
  13. upd_cli-0.1.1/src/audit/mod.rs +1007 -0
  14. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/cache.rs +14 -5
  15. upd_cli-0.1.1/src/cli.rs +807 -0
  16. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/config.rs +217 -11
  17. upd_cli-0.1.1/src/lib.rs +63 -0
  18. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/lockfile.rs +373 -25
  19. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/main.rs +1097 -234
  20. upd_cli-0.1.1/src/output.rs +969 -0
  21. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/github_releases.rs +108 -18
  22. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/npm.rs +31 -2
  23. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/nuget.rs +68 -0
  24. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/rubygems.rs +85 -2
  25. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/utils.rs +8 -18
  26. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/cargo_toml.rs +42 -12
  27. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/csproj.rs +146 -20
  28. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/gemfile.rs +178 -14
  29. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/github_actions.rs +39 -17
  30. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/go_mod.rs +284 -22
  31. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/mise.rs +105 -23
  32. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/mod.rs +130 -1
  33. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/package_json.rs +334 -19
  34. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/pre_commit.rs +114 -18
  35. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/pyproject.rs +80 -20
  36. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/requirements.rs +388 -13
  37. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/updater/terraform.rs +470 -20
  38. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/version/mod.rs +4 -2
  39. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/version/pep440.rs +30 -0
  40. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/version/semver_util.rs +24 -0
  41. upd_cli-0.1.1/src/version/tag.rs +266 -0
  42. upd_cli-0.1.1/tests/audit_offline.rs +136 -0
  43. upd_cli-0.1.1/tests/audit_sarif.rs +188 -0
  44. upd_cli-0.1.1/tests/audit_severity.rs +335 -0
  45. upd_cli-0.1.1/tests/bump_filter.rs +257 -0
  46. upd_cli-0.1.1/tests/exit_codes.rs +542 -0
  47. upd_cli-0.1.1/tests/fix_audit.rs +304 -0
  48. upd_cli-0.1.1/tests/format_json.rs +107 -0
  49. upd_cli-0.1.1/tests/help_text.rs +167 -0
  50. upd_cli-0.1.1/tests/interactive_tty.rs +58 -0
  51. upd_cli-0.1.1/tests/invalid_positional.rs +142 -0
  52. upd_cli-0.1.1/tests/no_args_scope.rs +367 -0
  53. upd_cli-0.1.1/tests/output_streams.rs +215 -0
  54. upd_cli-0.1.1/tests/package_filter.rs +196 -0
  55. upd_cli-0.0.28/src/audit.rs +0 -394
  56. upd_cli-0.0.28/src/cli.rs +0 -400
  57. upd_cli-0.0.28/src/lib.rs +0 -22
  58. {upd_cli-0.0.28 → upd_cli-0.1.1}/.rumdl.toml +0 -0
  59. {upd_cli-0.0.28 → upd_cli-0.1.1}/LICENSE +0 -0
  60. {upd_cli-0.0.28 → upd_cli-0.1.1}/Makefile +0 -0
  61. {upd_cli-0.0.28 → upd_cli-0.1.1}/assets/logo-wide.svg +0 -0
  62. {upd_cli-0.0.28 → upd_cli-0.1.1}/assets/logo.svg +0 -0
  63. {upd_cli-0.0.28 → upd_cli-0.1.1}/pyproject.toml +0 -0
  64. {upd_cli-0.0.28 → upd_cli-0.1.1}/python/upd_cli/__init__.py +0 -0
  65. {upd_cli-0.0.28 → upd_cli-0.1.1}/python/upd_cli/__main__.py +0 -0
  66. {upd_cli-0.0.28 → upd_cli-0.1.1}/python/upd_cli/py.typed +0 -0
  67. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/interactive.rs +0 -0
  68. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/crates_io.rs +0 -0
  69. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/go_proxy.rs +0 -0
  70. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/mock.rs +0 -0
  71. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/mod.rs +0 -0
  72. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/pypi.rs +0 -0
  73. {upd_cli-0.0.28 → upd_cli-0.1.1}/src/registry/terraform.rs +0 -0
  74. {upd_cli-0.0.28 → upd_cli-0.1.1}/vership.toml +0 -0
@@ -5,10 +5,10 @@ RUST_BACKTRACE = "1"
5
5
 
6
6
  [tools]
7
7
  # Rust toolchain - version matches rust-toolchain.toml
8
- rust = "1.91.1"
8
+ rust = "1.95.0"
9
9
 
10
10
  # Python for maturin/python bindings
11
- python = "3.12"
11
+ python = "3.14"
12
12
 
13
13
  # UV - Fast Python package manager
14
14
  uv = "latest"
@@ -19,7 +19,7 @@ uv = "latest"
19
19
  "cargo:cargo-zigbuild" = "latest"
20
20
 
21
21
  # Zig for cross-compilation
22
- zig = "0.13"
22
+ zig = "0.15"
23
23
 
24
24
  [settings]
25
25
  cargo_binstall = true
@@ -26,7 +26,7 @@ repos:
26
26
 
27
27
  - id: cargo-test
28
28
  name: cargo test
29
- entry: cargo test --lib -- --test-threads=1
29
+ entry: env UPD_CACHE_DIR=/tmp/upd-precommit-cache cargo test --lib -- --test-threads=1
30
30
  language: system
31
31
  types: [rust]
32
32
  pass_filenames: false
@@ -34,7 +34,7 @@ repos:
34
34
 
35
35
  # General file quality checks
36
36
  - repo: https://github.com/pre-commit/pre-commit-hooks
37
- rev: v4.6.0
37
+ rev: v6.0.0
38
38
  hooks:
39
39
  - id: trailing-whitespace
40
40
  exclude: \.md$
@@ -50,7 +50,7 @@ repos:
50
50
 
51
51
  # Markdown linting using rumdl
52
52
  - repo: https://github.com/rvben/rumdl-pre-commit
53
- rev: v0.0.192
53
+ rev: v0.1.73
54
54
  hooks:
55
55
  - id: rumdl
56
56
  exclude: ^CHANGELOG\.md$
@@ -10,7 +10,7 @@
10
10
  - id: upd-check-major
11
11
  name: Check for major dependency updates
12
12
  description: Check if any dependencies have major updates available
13
- entry: upd --check --major
13
+ entry: upd --check --bump major
14
14
  language: system
15
15
  pass_filenames: false
16
16
  files: (requirements.*\.txt|pyproject\.toml|package\.json|Cargo\.toml|go\.mod)$
@@ -9,6 +9,60 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
 
11
11
 
12
+
13
+
14
+ ## [0.1.1](https://github.com/rvben/upd/compare/v0.1.0...v0.1.1) - 2026-04-22
15
+
16
+ ### Added
17
+
18
+ - **version**: add TagVersion for N-segment git tag parsing ([5994c6b](https://github.com/rvben/upd/commit/5994c6b39e347ed6470ca2097c1d7ed0a10b767d))
19
+
20
+ ### Fixed
21
+
22
+ - **align**: use TagVersion fallback in compare_semver ([1738ace](https://github.com/rvben/upd/commit/1738aceaa98e39bd5245864e6bb1a2658c147878))
23
+ - **registry**: resolve N-segment git tags in GitHub fallback ([552425d](https://github.com/rvben/upd/commit/552425de91519cfb0d280eebc22c7802304d6580))
24
+
25
+ ## [0.1.0](https://github.com/rvben/upd/compare/v0.0.28...v0.1.0) - 2026-04-21
26
+
27
+ ### Breaking Changes
28
+
29
+ - **cli**: rename --bump to --only-bump and add --max-bump ([eb63589](https://github.com/rvben/upd/commit/eb63589867bac483b5de313d413d7c8e22a00a5f))
30
+ - **cli**: lock CLI surface for 0.1.0 ([d7a3ea4](https://github.com/rvben/upd/commit/d7a3ea441836e266c9ca3c3b772026246ba07d2f))
31
+
32
+ ### Added
33
+
34
+ - **audit**: add SARIF 2.1.0 output for audit results ([d6b0118](https://github.com/rvben/upd/commit/d6b01188862bef90550814269df21c32f1588a50))
35
+ - **audit**: cache OSV responses and add --offline mode ([5a3058b](https://github.com/rvben/upd/commit/5a3058b39d97c4a116eefde65265bdfe354d263d))
36
+ - **audit**: add --fix-audit to bump packages to minimum safe version ([5292ae2](https://github.com/rvben/upd/commit/5292ae264b8f076c6b170f5eba5788e9d7eb56da))
37
+ - **cli**: rename --bump to --only-bump and add --max-bump ([eb63589](https://github.com/rvben/upd/commit/eb63589867bac483b5de313d413d7c8e22a00a5f))
38
+ - **cli**: scope no-args to VCS root and require --apply to mutate ([fe99418](https://github.com/rvben/upd/commit/fe99418b4844fa6c6944644e47982518a3f8616b))
39
+ - **audit**: normalize severity labels and sort by severity ([940f25c](https://github.com/rvben/upd/commit/940f25c0286deb5bb72d59cd08bec5ec6a34577e))
40
+ - **cli**: route errors to stderr and add --quiet flag ([0cbc19c](https://github.com/rvben/upd/commit/0cbc19c30f0c98a2683434c2f6b6f9f1cb9be615))
41
+ - **cli**: add --package filter to restrict updates by name ([f7962c8](https://github.com/rvben/upd/commit/f7962c8b1333a2da2133aacdc89f6f8318d0eb4e))
42
+ - **config**: warn on unknown keys and add --show-config ([cab49c1](https://github.com/rvben/upd/commit/cab49c18eb0ff1fd19f1e579959dc9ca3a555617))
43
+ - **lock**: regenerate packages.lock.json and .terraform.lock.hcl ([87d8e4e](https://github.com/rvben/upd/commit/87d8e4e9f7ea4e13ad0a5d4e4244384eae48b779))
44
+ - **audit**: include .NET packages via OSV NuGet ecosystem ([caec69d](https://github.com/rvben/upd/commit/caec69de65ae61f0923e19f1ba264031cc512365))
45
+ - **cli**: add --format json for machine-readable output ([f9c867f](https://github.com/rvben/upd/commit/f9c867fc497ed53e6d6997bb84660b40d851469a))
46
+
47
+ ### Fixed
48
+
49
+ - **cli**: reject unknown subcommands instead of silent no-op ([e28aea4](https://github.com/rvben/upd/commit/e28aea44b783190f002a3453a1fc21ceff23c882))
50
+ - **terraform**: handle registry.terraform.io prefixed sources ([6d90d11](https://github.com/rvben/upd/commit/6d90d1175ab25b35d81dfff791329d5da8b34d8d))
51
+ - **cli**: print revert tip in --help and post-run summary ([05cdd14](https://github.com/rvben/upd/commit/05cdd14a5de31fc0a9533f6d6454bb5cb5b8c6d4))
52
+ - **lockfile**: error on missing tool, skip when no lockfile exists ([f8cca78](https://github.com/rvben/upd/commit/f8cca785f8a365ee7240cc60236b92387253afdb))
53
+ - **cli**: accept comma-separated values for --lang ([c7f8b11](https://github.com/rvben/upd/commit/c7f8b11564b872270747f1cb88b2dbb988060bf3))
54
+ - **main**: exit 1 on --dry-run with pending updates ([eb3cadc](https://github.com/rvben/upd/commit/eb3cadc79f03f33f5a9ce5cc26ecec74c804b103))
55
+ - **audit**: exit 3 on vulnerabilities, add --no-fail ([28e8b75](https://github.com/rvben/upd/commit/28e8b75ad7b9ff15f33dfd56c5a8270e3dc1696b))
56
+ - **main**: exit 2 on errors, structure JSON error objects ([353e013](https://github.com/rvben/upd/commit/353e013988cb43bd66544246e1dca0a5132d4263))
57
+ - **version**: keep pre-releases on pre-release-pinned packages ([a95d2f8](https://github.com/rvben/upd/commit/a95d2f85c4143cc913266df774bda3fe35a0a4d3))
58
+ - **terraform**: keep ~> constraint when latest still satisfies ([e869e40](https://github.com/rvben/upd/commit/e869e40f99ca88cda873556cfdaff06c44b8de53))
59
+ - **audit**: include Go pseudoversion dependencies ([e051f06](https://github.com/rvben/upd/commit/e051f0621a88751059f83707bc415df359b15905))
60
+ - **interactive**: require TTY for --interactive mode ([ba0d0b2](https://github.com/rvben/upd/commit/ba0d0b2e2bb7d021ea557bf547bade3be5953379))
61
+ - **updater**: refuse to write version downgrades ([41bd7e6](https://github.com/rvben/upd/commit/41bd7e67d03d48cb2f948770abc7ee4979205f9e))
62
+ - **requirements**: skip update when current is not valid PEP 440 ([4e6f3ea](https://github.com/rvben/upd/commit/4e6f3ea755d974392915e3fe211b6e0f9e6c3121))
63
+ - **audit**: preserve package-name case for OSV queries ([8bde8b1](https://github.com/rvben/upd/commit/8bde8b1bc81aba56a43049d5fac46016195d7eac))
64
+ - **rubygems**: skip yanked versions when selecting latest ([2d48a0e](https://github.com/rvben/upd/commit/2d48a0ebcce2c576ca0169f661f27bd4a268a18c))
65
+
12
66
  ## [0.0.28](https://github.com/rvben/upd/compare/v0.0.27...v0.0.28) - 2026-04-17
13
67
 
14
68
  ### Added