Anand Krishnamoorthi
ee898e112e
Update binding versions for next release ( #270 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-06-18 23:39:12 -07:00
balcanuc
e6f2ec825d
rename method from 'Clone' to 'clone' in 'Engine' class to match the java naming convention and definiont in the of java.lang.Object. ( #268 )
...
Co-authored-by: Cristi Balcanu <balcanu@amazon.com >
2024-06-18 20:46:21 -07:00
Anand Krishnamoorthi
df98c8d168
Provide ability to get JSON representation of policy AST ( #266 )
...
closes #265
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-06-08 18:58:30 -07:00
Anand Krishnamoorthi
97914d5596
Revert "chore: release v0.2.0 ( #257 )" ( #258 )
...
This reverts commit ffb79f1b30 .
2024-05-30 06:09:47 -07:00
Anand Krishnamoorthi
ffb79f1b30
chore: release v0.2.0 ( #257 )
...
v0.2.0
Signed-off-by: Anand Krishnamoorthi <35780660+anakrish@users.noreply.github.com >
---------
Signed-off-by: Anand Krishnamoorthi <35780660+anakrish@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-30 05:45:43 -07:00
Anand Krishnamoorthi
2b82f2842f
Fix merge issue ( #252 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-05-25 14:01:12 -07:00
Anand Krishnamoorthi
d09c445add
Update bindings to include newer APIs ( #250 )
...
- c, cpp
- csharp
- ffi
- go
- Java
- Python
- WASM
`arc` feature is turned on for all bindings
Use pretty string instead of colored string.
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-05-25 10:24:06 -07:00
thedavemarshall
33fe9d5039
update ruby bindings version to 0.1.5, bump deps ( #251 )
...
* update ruby bindings version to 0.1.5, bump deps
* update ruby bindings for coverage and print methods
2024-05-24 07:57:39 -07:00
Anand Krishnamoorthi
9894f00829
Fix bindings and add CI tests ( #247 )
...
Also update version numbers of binding Rust projects to match Regorus
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-05-22 08:15:42 -07:00
Burak
25ac1b6c95
Update README.md for Java bindings to mention we don't publish to ( #246 )
...
Maven Central currently
2024-05-20 08:15:39 -07:00
thedavemarshall
0952d42432
Update ruby bindings for add_policy and add_policy_from_file to return package name ( #240 )
2024-05-18 08:18:36 -07:00
Anand Krishnamoorthi
67f65c0561
c_no_std binding to show use in C freestanding environments. (#238 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-05-17 18:31:11 -07:00
dependabot[bot]
5422bde391
Bump rexml in /bindings/ruby in the bundler group across 1 directory ( #236 )
...
Bumps the bundler group with 1 update in the /bindings/ruby directory: [rexml](https://github.com/ruby/rexml ).
Updates `rexml` from 3.2.6 to 3.2.8
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.8 )
---
updated-dependencies:
- dependency-name: rexml
dependency-type: indirect
dependency-group: bundler
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-17 07:25:21 -07:00
Anand Krishnamoorthi
de56cce7cb
Fix anyhow dependency issues ( #208 )
...
- Do not require backtrace feature
- Starting version 1.0.77, anyhow gathers backtrace is std feature (enabled by default)
is specified even if backtrace feature is not enabled.
Therefore specify default features as false.
- Specify version 1.0.45 since that is the minimul version required to successfully
compile regorus
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-04-20 09:57:52 -07:00
thedavemarshall
6a167143cb
update ruby bindings ( #200 )
2024-04-10 07:28:25 +05:30
dependabot[bot]
0ebcb568cc
Update pyo3 requirement from 0.20.2 to 0.21.0 ( #190 )
...
Updates the requirements on [pyo3](https://github.com/pyo3/pyo3 ) to permit the latest version.
- [Release notes](https://github.com/pyo3/pyo3/releases )
- [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pyo3/pyo3/compare/v0.20.2...v0.21.0 )
---
updated-dependencies:
- dependency-name: pyo3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 08:14:50 +05:30
thedavemarshall
e86801bdd9
Ruby bindings for existing FFI methods, plus eval_rule() ( #188 )
...
* Ruby binding
* use relative regorus crate in ruby instead of a published version, also cargo fmt
* remove unnecessary Cargo.toml, include the top level Cargo.lock in ruby gem
* ruby bindings continued- add eval_rule, fix _json methods, update README.md
also added rubocop-minitest and rubocop-rake, and added more test coverage
* update README.md to include Ruby bindings
Closes #191
2024-04-02 08:14:29 +05:30
Anand Krishnamoorthi
0e053832db
chore: release ( #157 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-22 21:18:49 -08:00
Burak
22047287b4
Java publishing ( #151 )
...
* bindings/java: Add prefix to native methods
* bindings/java: Add javadocs and missing methods to Engine
* Setup publishing uber-JAR via GitHub workflow
* bindings/java: Update README
* bindings/java: Improve native library loading from JAR
* bindings/java: Fix usage of `working-directory`
* bindings/java: Pass required `distribution` parameter to `actions/setup-java@v4`
* bindings/java: Use Corretto distribution
This is because Microsoft doesn't provide JDK8,
see https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-8 .
* bindings/java: Install GCC toolchain for `aarch64-unknown-linux-gnu`
* bindings/java: Upload artifacts with different names from each step
* bindings/java: Upload built JARs to GitHub
2024-02-22 15:00:07 -08:00
Burak
bdb2aba596
Java bindings ( #147 )
2024-02-18 08:21:58 -08:00
Anand Krishnamoorthi
bb1b25ff2f
chore: release ( #137 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-08 07:09:22 -08:00
Anand Krishnamoorthi
dda525b989
C++ binding ( #129 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-02-05 00:22:27 -08:00
Anand Krishnamoorthi
22260ac46f
Bindings for C, C#, Golang ( #124 )
...
* FFI bindings
Generate C FFI as well as C# FFI
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
* Regorus C binding
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
* C# binding
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
* Golang binding
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
---------
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-02-04 19:50:44 -08:00
Anand Krishnamoorthi
1ab27b253b
chore: release ( #121 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-01 16:16:33 -08:00
Anand Krishnamoorthi
761d11ef48
Document bindings ( #119 )
...
* Instructions for WASM/JS binding
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
* Document Python, WASM/JS bindings
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
---------
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-02-01 13:47:27 -08:00
Anand Krishnamoorthi
ca91c0ea20
Publish python packages ( #117 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-01-28 23:12:06 -08:00
Anand Krishnamoorthi
8ca863c661
Python bindings ( #115 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-01-28 14:39:59 -08:00
Anand Krishnamoorthi
055bdd295f
WASM binding ( #114 )
...
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com >
2024-01-27 22:14:29 -08:00