Skip to content

Commit 6a6478f

Browse files
committed
chore: release 0.5.3
1 parent d79eb4c commit 6a6478f

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## [0.5.3] - 2026-03-16
4+
### Added
5+
- `Validator::validate_with_defaults_and_context()` — combines schema defaults + root context in one call
6+
- `Serialize` derive on `ValidationError`, `ErrorKind`, `AnalysisWarning`, `WarningKind` — enables JSON output for CI tooling
7+
- `Deserialize` derive on `VapResult`
8+
- `PartialEq, Eq` derive on all VAP types (`VapResult`, `VapExpression`, `AdmissionRequest`, `GroupVersionKind`, `GroupVersionResource`)
9+
- `compile_rule` and `compile_schema_validations` are now `pub` (were `pub(crate)`)
10+
- Examples: `vap_evaluation`, `static_analysis`, `defaults_and_context`
11+
- README sections for VAP evaluation, static analysis, schema defaults, and root-level variables
12+
13+
### Fixed
14+
- `convert_number` no longer panics on non-representable floats (uses `unwrap_or(NAN)`)
15+
- Recursion depth limit (64) on `compile_schema`, `walk_schema`, `walk_compiled`, `apply_defaults` — prevents stack overflow on deeply nested schemas
16+
- Convenience functions `validate()` / `validate_compiled()` now share a single `thread_local` Validator instance (was two separate)
17+
18+
319
## [0.5.2] - 2026-03-16
420
### Added
521
- `VapEvaluator::compile_expressions()` / `evaluate_compiled()` — pre-compile VAP expressions once, evaluate many times

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kube-cel"
3-
version = "0.5.2"
3+
version = "0.5.3"
44
edition = "2024"
55
rust-version = "1.88"
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)