v0.1.3-pre.013-fix.001
This commit is contained in:
59
deltas/0.1.3/pre.013-fix.001.md
Normal file
59
deltas/0.1.3/pre.013-fix.001.md
Normal file
@@ -0,0 +1,59 @@
|
||||
<!-- file: deltas/0.1.3/pre.013-fix.001.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# Delta 0.1.3-pre.013-fix.001
|
||||
|
||||
## Base requise
|
||||
|
||||
Cette correction s'applique après `0.1.3-pre.013`.
|
||||
|
||||
La validation utilisateur de `pre.013` a détecté une erreur de compilation dans `crates/ksp-config-lib/src/persistence.rs` :
|
||||
|
||||
```text
|
||||
error: expected `,`, found `:`
|
||||
...
|
||||
ksp_logging_lib::warn!(target: "ksp-config-lib", domain: "config.persistence", ...)
|
||||
```
|
||||
|
||||
## Correction
|
||||
|
||||
L'appel de la façade `ksp-logging-lib` utilise désormais la syntaxe structurée supportée par les macros KSP/tracing :
|
||||
|
||||
```rust
|
||||
ksp_logging_lib::warn!(
|
||||
target: "ksp-config-lib",
|
||||
domain = "config.persistence",
|
||||
path = %path.to_string_lossy(),
|
||||
error = %error,
|
||||
"unable to cleanup temporary Config file"
|
||||
);
|
||||
```
|
||||
|
||||
Le champ `domain` est un champ structuré de l'événement et utilise donc `=`. La forme `domain:` introduite dans `pre.013` était invalide.
|
||||
|
||||
## Périmètre
|
||||
|
||||
Aucun comportement de management/persistence n'est modifié. Aucun changement de dépendance, schema, Config, `.env` ou `.env.example`.
|
||||
|
||||
La version technique devient :
|
||||
|
||||
```text
|
||||
workspace.package.version = "0.1.3-pre.13.fix.1"
|
||||
```
|
||||
|
||||
## Fichiers modifiés
|
||||
|
||||
```text
|
||||
Cargo.toml
|
||||
crates/ksp-config-lib/src/persistence.rs
|
||||
deltas/0.1.3/pre.013-fix.001.md
|
||||
```
|
||||
|
||||
## Validation utilisateur demandée
|
||||
|
||||
```bash
|
||||
cargo fmt --all
|
||||
cargo check --workspace
|
||||
cargo clippy --workspace --all-targets
|
||||
cargo test --workspace
|
||||
```
|
||||
Reference in New Issue
Block a user