Added
- Added diagnostic logging in experimental
weighted_graph_checkwhen 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
ExpandandListUserswhen 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_checktoBatchCheck: 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 theserialized_protobufcolumn, ensuring consistent stored bytes within a given OpenFGA version for models with map-keyed type definitions. #3171- Thank You @danielwegener for the contribution!
- The
in_cidrcondition now treats IPv4-mapped IPv6 addresses as their IPv4 equivalents (RFC 4291 §2.5.5.2), so::ffff:192.168.1.1matches an IPv4 CIDR such as192.168.1.0/24. Seeinternal/condition/types/ipaddress.go. #3181- Thank you @kanywst for the contribution!
New Contributors
- @SoulPancake made their first contribution in #3178
- @danielwegener made their first contribution in #3171
Full Changelog: v1.18.0...v1.18.1