Skip to content

Releases: cedar-policy/cedar-java

v4.8.0 Release

11 Dec 16:39
7c5bfb3

Choose a tag to compare

Release 4.8.0, available on Maven Repository

4.8.0

  • Pinned to cedar-policy 4.8.2
  • This release moves directly from 4.3.1 to 4.8.0, skipping versions 4.4 through 4.7. While cedar-policy maintains backward compatibility, please open an issue if you require CedarJava bindings for a specific intermediate version of cedar-policy.

Added

  • Added Schema conversion APIs #325
  • Added Level Validation #327
  • Added DateTime extension support #328
  • Added Duration extension support #331
  • Added Offset function support #331
  • Added PolicySet to JSON conversion API #329
  • Added Cedar Schema support for Entity Validation #332

v4.3.1 Release

13 Mar 18:30
abb53b5

Choose a tag to compare

Release 4.3.1, available on Maven Repository

4.3.1

Added

  • Added Zig version validation for publishing artifacts #306

Fixes

  • Compatibility issues with AL2 Linux machines

v4.3.0 Release

05 Mar 19:11
94d4d15

Choose a tag to compare

Release 4.3.0, available on Maven Repository

4.3.0

Added

  • Introduced new model classes for improved type safety and functionality:
    • com.cedarpolicy.model.Context - Policy context representation (will replace Map<String,Value>) #286
    • com.cedarpolicy.model.entity.Entities - Entity collection management (will replace Set<Entity>) #293
  • Enhanced AuthorizationError with public getters and .toString() method #294
  • Added JSON parsing support for Entity #292
  • Implemented additional constructors to improve instantiation options for Entity #288
  • Added support for policy annotations #296

Planned Improvements

  • The following authorization parameters will be updated in a future release:
    • Map<String,Value> for context will be replaced by com.cedarpolicy.model.Context
    • Set<Entity> for entities will be replaced by com.cedarpolicy.model.entity.Entities

C3R 3.2.5 Release

14 Aug 13:34
d8ba863

Choose a tag to compare

Adding toJson JNI method for Policy object (#187)