Skip to content

Commit

Permalink
Bump release version to 2.3.2 (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaobo-he-aws authored Aug 10, 2023
1 parent df64d9b commit 19fe243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cedar
Submodule cedar updated 52 files
+42 −0 .github/scripts/check-out-base-from-crates-io.sh
+41 −2 .github/workflows/ci.yml
+11 −0 cedar-integration-tests/sample-data/sandbox_a/schema.json
+3 −1 cedar-integration-tests/sample-data/sandbox_b/schema.json
+3 −1 cedar-integration-tests/sample-data/sandbox_b/schema_exts.json
+3 −3 cedar-policy-cli/Cargo.toml
+4 −1 cedar-policy-core/Cargo.toml
+3 −0 cedar-policy-core/clippy.toml
+21 −0 cedar-policy-core/src/ast/entity.rs
+23 −19 cedar-policy-core/src/ast/expr.rs
+32 −60 cedar-policy-core/src/ast/extension.rs
+1 −15 cedar-policy-core/src/ast/ops.rs
+4 −0 cedar-policy-core/src/ast/pattern.rs
+3 −1 cedar-policy-core/src/ast/policy.rs
+28 −25 cedar-policy-core/src/ast/policy_set.rs
+4 −0 cedar-policy-core/src/ast/restricted_expr.rs
+3 −1 cedar-policy-core/src/ast/value.rs
+24 −13 cedar-policy-core/src/authorizer.rs
+660 −115 cedar-policy-core/src/entities.rs
+4 −0 cedar-policy-core/src/entities/json.rs
+169 −49 cedar-policy-core/src/entities/json/entities.rs
+63 −8 cedar-policy-core/src/entities/json/err.rs
+27 −21 cedar-policy-core/src/entities/json/jsonvalue.rs
+115 −0 cedar-policy-core/src/entities/json/schema.rs
+8 −7 cedar-policy-core/src/est.rs
+48 −87 cedar-policy-core/src/est/expr.rs
+54 −38 cedar-policy-core/src/evaluator.rs
+9 −3 cedar-policy-core/src/evaluator/err.rs
+9 −10 cedar-policy-core/src/extensions.rs
+30 −21 cedar-policy-core/src/extensions/decimal.rs
+42 −22 cedar-policy-core/src/extensions/ipaddr.rs
+4 −0 cedar-policy-core/src/extensions/partial_evaluation.rs
+8 −0 cedar-policy-core/src/lib.rs
+2 −0 cedar-policy-core/src/parser.rs
+6 −0 cedar-policy-core/src/parser/cst_to_ast.rs
+9 −16 cedar-policy-core/src/parser/fmt.rs
+6 −0 cedar-policy-core/src/parser/text_to_cst.rs
+5 −0 cedar-policy-core/src/parser/unescape.rs
+4 −0 cedar-policy-core/src/transitive_closure.rs
+2 −2 cedar-policy-formatter/Cargo.toml
+2 −2 cedar-policy-validator/Cargo.toml
+34 −94 cedar-policy-validator/src/err.rs
+1 −1 cedar-policy-validator/src/expr_iterator.rs
+315 −276 cedar-policy-validator/src/schema.rs
+459 −77 cedar-policy-validator/src/schema_file_format.rs
+12 −6 cedar-policy-validator/src/type_error.rs
+14 −15 cedar-policy-validator/src/typecheck.rs
+1 −1 cedar-policy-validator/src/types.rs
+21 −0 cedar-policy/CHANGELOG.md
+8 −3 cedar-policy/Cargo.toml
+20 −7 cedar-policy/src/api.rs
+44 −0 panic_safety.sh
7 changes: 1 addition & 6 deletions cedar-dafny/difftest/main.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ module difftest.main {
"Neg" := Neg
]);

const extFuncOpFromProdJson :=
objDeserializer1Field(
"function_name", nameFromProdJson,
name => Ok(name));

function exprFromProdJson(j: Json): FromProdResult<Expr> {
var jkind :- getJsonField(j, "expr_kind");
var exprFromProdJsonRec := jr requires jr < jkind => exprFromProdJson(jr);
Expand Down Expand Up @@ -156,7 +151,7 @@ module difftest.main {
var cons :- deserializeField(body, "constant", getJsonInt);
Ok(UnaryApp(MulBy(cons), arg))
case "ExtensionFunctionApp" =>
var name :- deserializeField(body, "op", extFuncOpFromProdJson);
var name :- deserializeField(body, "fn_name", nameFromProdJson);
var jargs :- getJsonField(body, "args");
var args :- deserializeSeq(jargs, exprFromProdJsonRec);
Ok(Expr.Call(name, args))
Expand Down

0 comments on commit 19fe243

Please sign in to comment.