Skip to content

Commit

Permalink
chore(deps): Update dependency google.protobuf to v3.27.2 (#141)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [Google.Protobuf](https://togithub.com/protocolbuffers/protobuf) |
`3.27.1` -> `3.27.2` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Google.Protobuf/3.27.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Google.Protobuf/3.27.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Google.Protobuf/3.27.1/3.27.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Google.Protobuf/3.27.1/3.27.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>protocolbuffers/protobuf (Google.Protobuf)</summary>

###
[`v3.27.2`](https://togithub.com/protocolbuffers/protobuf/compare/v3.27.1...v3.27.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/cerbos/cerbos-sdk-net).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhcmVhL2NpIiwiYm90cyIsImtpbmQvY2hvcmUiXX0=-->

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com>
  • Loading branch information
renovate[bot] and oguzhand95 authored Jul 8, 2024
1 parent 98031d5 commit 47c9219
Show file tree
Hide file tree
Showing 43 changed files with 3,434 additions and 896 deletions.
6 changes: 3 additions & 3 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
version: v1
version: v2
managed:
enabled: false
plugins:
- plugin: buf.build/protocolbuffers/csharp:v23.1
- remote: buf.build/protocolbuffers/csharp:v27.2
opt:
- base_namespace=
- file_extension=.g.cs
out: ./src/Sdk

- plugin: buf.build/grpc/csharp:v1.55.0
- remote: buf.build/grpc/csharp:v1.65.0
out: ./src/Sdk
23 changes: 0 additions & 23 deletions buf.lock

This file was deleted.

5 changes: 0 additions & 5 deletions buf.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Task("Clean")
Task("Generate")
.Does(() =>
{
StartProcess("buf", new ProcessSettings{Arguments = "generate proto"});
StartProcess("buf", new ProcessSettings{Arguments = "generate protos"});
});

Task("Build")
Expand Down
5 changes: 2 additions & 3 deletions fetch_protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ TMP_PROTO_DIR="$(mktemp -d -t cerbos-XXXXX)"

trap 'rm -rf "$TMP_PROTO_DIR"' EXIT

buf mod update
buf export "$CERBOS_MODULE" -o "$TMP_PROTO_DIR"

rm -rf proto
mv "$TMP_PROTO_DIR" proto
rm -rf protos
mv "$TMP_PROTO_DIR" protos
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ message PlanResourcesInput {
(buf.validate.field).string = {pattern: "^[[:word:]]*$"},
(google.api.field_behavior) = OPTIONAL,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "The policy version to use to evaluate this request. If not specified, will default to the server-configured default version.",
description: "The policy version to use to evaluate this request. If not specified, will default to the server-configured default version."
pattern: "^[[:word:]]*$"
example: "\"default\""
}
Expand Down Expand Up @@ -135,9 +135,9 @@ message CheckInput {
];
repeated string actions = 4 [
(buf.validate.field).repeated = {
unique: true,
items {
string {min_len: 1}
unique: true
items: {
string: {min_len: 1}
}
},
(google.api.field_behavior) = REQUIRED
Expand Down Expand Up @@ -177,8 +177,8 @@ message Resource {
(buf.validate.field).string = {min_len: 1},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "Name of the resource kind being accessed.",
example: "\"album:photo\"",
description: "Name of the resource kind being accessed."
example: "\"album:photo\""
}
];
string policy_version = 2 [
Expand Down Expand Up @@ -244,10 +244,10 @@ message Principal {
];
repeated string roles = 3 [
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
items {
string {min_len: 1}
unique: true
min_items: 1
items: {
string: {min_len: 1}
}
},
(buf.validate.field).required = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ message ResourcePolicy {
(buf.validate.field).string = {pattern: "^[[:word:]]+$"}
];
repeated string import_derived_roles = 3 [(buf.validate.field).repeated = {
unique: true,
items {
string {pattern: "^[[:word:]\\-\\.]+$"}
unique: true
items: {
string: {pattern: "^[[:word:]\\-\\.]+$"}
}
}];
repeated ResourceRule rules = 4;
Expand All @@ -72,24 +72,24 @@ message ResourcePolicy {
message ResourceRule {
repeated string actions = 1 [
(buf.validate.field).repeated = {
min_items: 1,
unique: true,
items {
string {min_len: 1}
min_items: 1
unique: true
items: {
string: {min_len: 1}
}
},
(buf.validate.field).required = true
];
repeated string derived_roles = 2 [(buf.validate.field).repeated = {
unique: true,
items {
string {pattern: "^[[:word:]\\-\\.]+$"}
unique: true
items: {
string: {pattern: "^[[:word:]\\-\\.]+$"}
}
}];
repeated string roles = 3 [(buf.validate.field).repeated = {
unique: true,
items {
string {min_len: 1}
unique: true
items: {
string: {min_len: 1}
}
}];
Condition condition = 4;
Expand Down Expand Up @@ -154,7 +154,7 @@ message DerivedRoles {
string name = 1 [
(buf.validate.field).required = true,
(buf.validate.field).string = {
pattern: "^[[:word:]\\-\\.]+$",
pattern: "^[[:word:]\\-\\.]+$"
min_len: 1
}
];
Expand All @@ -172,10 +172,10 @@ message RoleDef {
];
repeated string parent_roles = 2 [
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
items {
string {min_len: 1}
unique: true
min_items: 1
items: {
string: {min_len: 1}
}
},
(buf.validate.field).required = true
Expand All @@ -187,7 +187,7 @@ message ExportVariables {
string name = 1 [
(buf.validate.field).required = true,
(buf.validate.field).string = {
pattern: "^[[:word:]\\-\\.]+$",
pattern: "^[[:word:]\\-\\.]+$"
min_len: 1
}
];
Expand All @@ -196,9 +196,9 @@ message ExportVariables {

message Variables {
repeated string import = 1 [(buf.validate.field).repeated = {
unique: true,
items {
string {pattern: "^[[:word:]\\-\\.]+$"}
unique: true
items: {
string: {pattern: "^[[:word:]\\-\\.]+$"}
}
}];
map<string, string> local = 2;
Expand Down Expand Up @@ -243,10 +243,10 @@ message Schemas {
message IgnoreWhen {
repeated string actions = 1 [
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
items {
string {min_len: 1}
unique: true
min_items: 1
items: {
string: {min_len: 1}
}
},
(buf.validate.field).required = true
Expand Down Expand Up @@ -311,8 +311,8 @@ message TestTable {
message Input {
repeated string principals = 1 [
(buf.validate.field).repeated = {
min_items: 1,
unique: true,
min_items: 1
unique: true
items: {
string: {min_len: 1}
}
Expand All @@ -321,8 +321,8 @@ message TestTable {
];
repeated string resources = 2 [
(buf.validate.field).repeated = {
min_items: 1,
unique: true,
min_items: 1
unique: true
items: {
string: {min_len: 1}
}
Expand All @@ -331,8 +331,8 @@ message TestTable {
];
repeated string actions = 3 [
(buf.validate.field).repeated = {
min_items: 1,
unique: true,
min_items: 1
unique: true
items: {
string: {min_len: 1}
}
Expand Down Expand Up @@ -364,10 +364,10 @@ message TestTable {
];
map<string, cerbos.effect.v1.Effect> actions = 3 [
(buf.validate.field).map = {
min_pairs: 1,
min_pairs: 1
keys: {
string: {min_len: 1}
},
}
values: {
enum: {
in: [
Expand Down Expand Up @@ -424,10 +424,10 @@ message Test {
cerbos.engine.v1.CheckInput input = 5 [(buf.validate.field).required = true];
map<string, cerbos.effect.v1.Effect> expected = 6 [
(buf.validate.field).map = {
min_pairs: 1,
min_pairs: 1
keys: {
string: {min_len: 1}
},
}
values: {
enum: {
in: [
Expand Down
Loading

0 comments on commit 47c9219

Please sign in to comment.