Skip to content

Releases: JJairo-16/TinyRuleKit

TinyRuleKit v1.0.0

Choose a tag to compare

@JJairo-16 JJairo-16 released this 04 Jun 11:23

TinyRuleKit v1.0.0

TinyRuleKit 1.0.0 is the first stable release of the framework: a lightweight Java rule engine toolkit for compiling JSON rule definitions into immutable, trigger-indexed runtime engines.

Highlights

  • Stable 1.0.0 artifact version for consumer projects.
  • Static rule engines can be used without adding MVEL when expression features are not needed.
  • Optional expression support with pluggable expression engines.
  • Stronger expression safety defaults with extensible security policies, validators, and safe object views.
  • Trigger guards for trigger-wide preconditions that return early before matching rules run.
  • Reusable condition definitions with ref and !ref, resolved during engine construction.
  • Compact JSON condition aliases: !type, !all, !any, and !ref.
  • Restricted static type shorthand inside homogeneous all, any, !all, and !any lists.
  • Loader support for simple rule arrays and metadata-rich documents.
  • Required capability tokens with optional framework version constraints.
  • Updated documentation split into setup, static rules, expressions, runtime, and advanced JSON authoring topics.

Compatibility

This release promotes the current API to 1.0.0 and includes breaking package/API organization work made before the stable version. Consumers should update imports and documentation references if they were using pre-1.0 snapshots.

Enabled rules must define at least one condition and at least one action. Disabled rules are skipped before validation, resolver compilation, and trigger indexing.

Expression support remains optional. Static rule documents do not require MVEL unless the default expression engine is used.

Download

Release page: https://github.com/JJairo-16/TinyRuleKit/releases/tag/v1.0.0

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.