Skip to content

TinyRuleKit v0.3.0

Choose a tag to compare

@JJairo-16 JJairo-16 released this 28 May 16:01

TinyRuleKit v0.3.0

First public release of TinyRuleKit: a lightweight Java framework for building simple, flexible rule-driven engines from JSON definitions.

Highlights

  • JSON rule compilation into immutable, trigger-indexed runtime engines.
  • Optional rule IDs for clearer diagnostics.
  • enabled support to exclude rules before validation, compilation, and indexing.
  • Required conditions and actions for every enabled rule.
  • Flexible condition composition with all, any, and not.
  • Conditional actions with when, avoiding duplicated triggers.
  • Safer expression usage through controlled context views.
  • Runtime reload support through RuleEngineRef.
  • Typed rule parameters with defaults, including enum values.
  • Required capability tokens, including optional framework version constraints.
  • JPMS module descriptor for controlled package visibility.
  • Consumer-focused documentation covering setup, authoring, runtime usage, references, security, and performance guidance.

Compatibility

This is the first release, so there are no previous public compatibility guarantees.

Enabled rules must define at least one condition and at least one action. Use disabled rules for draft definitions that should not be validated or indexed.