chore(deps): Update dependencies and prepare v0.1.1 release#3
chore(deps): Update dependencies and prepare v0.1.1 release#3mergify[bot] merged 6 commits intomainfrom
Conversation
Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
…rsion Signed-off-by: UncleSp1d3r <unclesp1d3r@evilbitlabs.io>
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR updates development tooling and dependencies across the project: bumps mise-action to v4.0.0 across four CI/CD workflows, updates Rust dependencies (thiserror, windows, proptest), increments mdformat to v1.0.0, documents the v0.1.1 release in the changelog, and enhances the changelog generation build recipe. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 2❌ Failed checks (2 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 CI must passWonderful, this rule succeeded.
|
|
Related Documentation 2 document(s) may need updating based on files changed in this PR: token-privilege CI Pipeline ArchitectureView Suggested Changes@@ -342,7 +342,7 @@
- [cargo-audit 0.22.1](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L7), [cargo-deny 0.19.0](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L8), [scorecard 5.4.0](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L33), [cargo-auditable 0.7.4](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L24), [cargo-cyclonedx 0.5.7](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L25)
**Documentation**:
-- [lychee 0.23.0](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L29), [markdownlint-cli2 0.21.0](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L30), [mdformat 0.7.21](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L26), [prettier 3.8.1](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L27)
+- [lychee 0.23.0](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L29), [markdownlint-cli2 0.21.0](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L30), [mdformat 1.0.0](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L26), [prettier 3.8.1](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L27)
- [mdbook toolchain](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/mise.toml#L12-L19) (8 plugins: base, linkcheck, tabs, mermaid, toc, admonish, open-on-gh, i18n-helpers)
**Release Automation**:✅ Accepted Crate ArchitectureView Suggested Changes@@ -168,7 +168,7 @@
On Windows targets (`cfg(windows)`), the crate compiles full implementations:
-- **Win32 API bindings**: Uses the `windows` crate 0.62 as a conditional dependency, only included when compiling for Windows
+- **Win32 API bindings**: Uses the `windows` crate 0.62.2 as a conditional dependency, only included when compiling for Windows
- **FFI layer**: All unsafe Win32 calls in `src/ffi.rs` interact with token privilege APIs like `GetTokenInformation`, `OpenProcessToken`, and `LookupPrivilegeValueW`
- **Full functionality**: Complete elevation detection and privilege management operations
@@ -296,26 +296,28 @@
### Runtime Dependencies
-**thiserror 2.0** - Error Type Derivation
+**thiserror 2.0.18** - Error Type Derivation
- **Purpose**: Provides procedural macros for deriving `std::error::Error` implementations
- **Usage**: `TokenPrivilegeError` enum uses `#[derive(Error)]` for idiomatic error handling
- **Rationale**: Standard in the Rust ecosystem for error types; compile-time code generation with zero runtime overhead
-- **Version**: 2.0 for latest features and stability
-
-**windows 0.62** - Win32 API Bindings
+- **Version**: 2.0.18 from the 2.0 series
+
+**windows 0.62.2** - Win32 API Bindings
- **Purpose**: Provides safe bindings to Windows APIs
- **Platform gating**: [`cfg(windows)` only](https://github.com/EvilBit-Labs/token-privilege/blob/243f05cb8e2fff4b750982d3f9b480a28f4b2ecc/.github/commit-instructions.md) - not compiled on other platforms
- **Features**: Minimal feature flags for token privilege APIs only (reduces compilation time and binary size)
- **API access**: `GetTokenInformation`, `OpenProcessToken`, `LookupPrivilegeValueW`, `CloseHandle`
- **Rationale**: Official Microsoft-maintained bindings; type-safe FFI layer
+- **Version**: 0.62.2 from the 0.62 series
### Development Dependencies
-**proptest 1.6** - Property-Based Testing
+**proptest 1.10.0** - Property-Based Testing
- **Purpose**: Generate random test cases to verify invariants hold across input space
- **Usage**: Test privilege name validation, error path handling, edge cases
- **Scope**: `[dev-dependencies]` only - not included in production builds
- **Rationale**: Catches corner cases that hand-written unit tests might miss
+- **Version**: 1.10.0 from the 1.x series
### Dependency Management
✅ Accepted Note: You must be authenticated to accept/decline updates. |
There was a problem hiding this comment.
Pull request overview
Maintenance/release prep PR that updates Rust/tooling dependencies, refreshes CI setup, and updates release artifacts/config to support the v0.1.1 release process.
Changes:
- Bump Rust crate dependencies (
thiserror,windows) and dev-dependency (proptest). - Update local tooling pinning for
mdformat(mise) and refreshmise.locktool metadata. - Update GitHub Actions workflows to use
jdx/mise-actionv4 and add CodeRabbit review configuration; update changelog generation/release notes.
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
mise.toml |
Updates mdformat version and uvx_args plugin set used by mise/pipx. |
mise.lock |
Regenerates lock entries for updated tooling (mdformat) and platform artifacts (python/shellcheck). |
justfile |
Changes default changelog recipe to run git-cliff --current. |
Cargo.toml |
Bumps Rust dependencies (thiserror, windows) and proptest. |
CHANGELOG.md |
Updates v0.1.1 changelog content/structure. |
.github/workflows/security.yml |
Updates mise-action pin to v4.0.0. |
.github/workflows/release-plz.yml |
Updates mise-action pin to v4.0.0. |
.github/workflows/docs.yml |
Updates mise-action pin to v4.0.0. |
.github/workflows/ci.yml |
Updates mise-action pin to v4.0.0 across CI jobs. |
.coderabbit.yaml |
Adds CodeRabbit configuration for automated review/guidance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ### Styling | ||
|
|
||
| - **toml**: Reformat keywords and categories for consistency | ||
| - **toml**: Reformat keywords and categories for consistency |
| [group('docs')] | ||
| changelog: | ||
| @{{ mise_exec }} git-cliff --output CHANGELOG.md | ||
| @{{ mise_exec }} git-cliff --output CHANGELOG.md --current |
| [dependencies] | ||
| thiserror = "2.0" | ||
| thiserror = "2.0.18" | ||
|
|
||
| [target.'cfg(windows)'.dependencies] | ||
| windows = { version = "0.62", features = [ | ||
| windows = { version = "0.62.2", features = [ |
| [dev-dependencies] | ||
| proptest = "1.6.0" | ||
| proptest = "1.10.0" |
|
@Mergifyio queue |
Merge Queue Status
Required conditions to enter a queue
|
Merge Queue Status
This pull request spent 5 seconds in the queue, with no time running CI. Required conditions to merge
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
thiserrorto 2.0.12 andwindowsto 0.62.0mise-actionto v4.0.0 in all CI workflowsmdformatto 1.0.0 with newuvx_argsconfiguration.coderabbit.yamlfor review and automation guidelinesTest Plan