chore: release (#25)

* chore: release

* chore: update versions and dependencies

* update CHANGELOG

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: JasterV <49537445+JasterV@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2026-01-24 19:52:57 +01:00 committed by JasterV
parent 26e46a4003
commit 772b3a45b9
4 changed files with 31 additions and 5 deletions

View file

@ -7,6 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## `granc` - [0.5.0](https://github.com/JasterV/granc/compare/granc-v0.2.4...granc-v0.5.0) - 2026-01-24
### Added
- **Introspection Commands**:
- `list`: Lists all services available on the server (requires reflection).
- `describe`: Lists all methods within a specific service, prints the Protobuf definition of a message type or show all the variants of an enum.
- **Formatted Output**: Added colored output for Protobuf definitions, JSON responses, and error messages.
### Changed
- **[BREAKING] New CLI Structure**: The CLI now enforces a `granc <URL> <COMMAND>` structure.
- Previous implicit calls are now explicit: `granc http://... call <ENDPOINT> ...`.
- The URL is now a global positional argument required for all commands.
## `granc_core` - [0.4.0](https://github.com/JasterV/granc/compare/granc_core-v0.3.1...granc_core-v0.4.0) - 2026-01-24
### Added
- **Introspection APIs**: Added `list_services` and `get_descriptor_by_symbol` to `GrancClient`.
- **Reflection Support**: Updated `ReflectionClient` to support the `ListServices` reflection method.
### Changed
- **Error Handling Refactor**: Overhauled error types to be more specific per method (`GetDescriptoError`, `ListServicesError`) and reduced internal duplication.
## `granc` - [0.4.0](https://github.com/JasterV/granc/compare/granc-v0.2.4...granc-v0.4.0) - 2026-01-22 ## `granc` - [0.4.0](https://github.com/JasterV/granc/compare/granc-v0.2.4...granc-v0.4.0) - 2026-01-22
- Made a mistake publishing `granc 0.3` and introduced bugs, `granc 0.4` fixes them and its the first working version after `0.2.4`. - Made a mistake publishing `granc 0.3` and introduced bugs, `granc 0.4` fixes them and its the first working version after `0.2.4`.

4
Cargo.lock generated
View file

@ -336,7 +336,7 @@ dependencies = [
[[package]] [[package]]
name = "granc" name = "granc"
version = "0.4.0" version = "0.5.0"
dependencies = [ dependencies = [
"clap", "clap",
"colored", "colored",
@ -355,7 +355,7 @@ dependencies = [
[[package]] [[package]]
name = "granc_core" name = "granc_core"
version = "0.3.2" version = "0.4.0"
dependencies = [ dependencies = [
"echo-service", "echo-service",
"futures-util", "futures-util",

View file

@ -11,7 +11,7 @@ publish = true
readme = "README.md" readme = "README.md"
repository = { workspace = true } repository = { workspace = true }
rust-version = { workspace = true } rust-version = { workspace = true }
version = "0.3.2" version = "0.4.0"
[lib] [lib]
name = "granc_core" name = "granc_core"

View file

@ -11,12 +11,12 @@ publish = true
readme = "../README.md" readme = "../README.md"
repository = { workspace = true } repository = { workspace = true }
rust-version = { workspace = true } rust-version = { workspace = true }
version = "0.4.0" version = "0.5.0"
[dependencies] [dependencies]
clap = { version = "4.5.54", features = ["derive"] } clap = { version = "4.5.54", features = ["derive"] }
colored = "3.1.1" colored = "3.1.1"
granc_core = { path = "../granc-core" } granc_core = "0.4.0"
serde_json = { workspace = true } serde_json = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
tonic = { workspace = true } tonic = { workspace = true }