Skip to content

v1.18.1

Latest

Choose a tag to compare

@openfga-bot openfga-bot released this 29 Jun 18:57
69efbd9

Added

  • Added diagnostic logging in experimental weighted_graph_check when v2 Check resolution might produce a different result than v1 for the same query. These logs surface authorization models that may be affected by a future v1 deprecation, and no operator action is required. #3149
  • Added diagnostic logging in Expand and ListUsers when v2 resolution might produce a different result than v1 for the same query. Note that v2 has not been created yet for these endpoints, these logs purely add visibility for a future v1 deprecation, and no operator action is required. #3182

Changed

  • Extended experimental weighted_graph_check to BatchCheck: when the flag is enabled, each item in the batch is evaluated using the weighted graph algorithm, with per-item fallback to the standard algorithm on non-terminal errors. #3154
  • Use proto.MarshalOptions{Deterministic: true} when serializing authorization models to the serialized_protobuf column, ensuring consistent stored bytes within a given OpenFGA version for models with map-keyed type definitions. #3171
  • The in_cidr condition now treats IPv4-mapped IPv6 addresses as their IPv4 equivalents (RFC 4291 §2.5.5.2), so ::ffff:192.168.1.1 matches an IPv4 CIDR such as 192.168.1.0/24. See internal/condition/types/ipaddress.go. #3181
    • Thank you @kanywst for the contribution!

New Contributors

Full Changelog: v1.18.0...v1.18.1