microsoft / rego-cpp

A C++ interpreter for the OPA policy language Rego
https://microsoft.github.io/rego-cpp/
MIT License
33 stars 9 forks source link

Point release adding the `uuid`, `time`, and `walk` builtins. #163

Closed matajoh closed 2 months ago

matajoh commented 2 months ago

In order to add support for the time built-ins that worked cross-platform and with the widest range of C++ compilers, we had to introduce a dependency on the date library. This contains a full implementations of the std::chrono functionality which will eventually be supported across most c++ compilers as part of the STL. In particular, it provides the crucial Time Zone lookup functionalities required by the Rego time built-ins. The Time Zone lookup requires a valid tzdata database from the IANA. This can either be configured to use the local system TZ data (default for Linux variants) or a manual database (default for Windows). If the REGOCPP_USE_MANUAL_TZDATA flag is set, then the project will download the latest database and install it as part of its build process.

New Features

Bug Fixes

Closes #57 Closes #139