Skip to content

Commit

Permalink
chore(deps): Update .net deps (#134)
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.26.1` -> `3.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Google.Protobuf/3.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Google.Protobuf/3.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Google.Protobuf/3.26.1/3.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Google.Protobuf/3.26.1/3.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [Grpc.Net.Client](https://togithub.com/grpc/grpc-dotnet) | `2.62.0` ->
`2.63.0` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Grpc.Net.Client/2.63.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Grpc.Net.Client/2.63.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Grpc.Net.Client/2.62.0/2.63.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Grpc.Net.Client/2.62.0/2.63.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) |
`17.9.0` -> `17.10.0` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/Microsoft.NET.Test.Sdk/17.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Microsoft.NET.Test.Sdk/17.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Microsoft.NET.Test.Sdk/17.9.0/17.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Microsoft.NET.Test.Sdk/17.9.0/17.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>grpc/grpc-dotnet (Grpc.Net.Client)</summary>

###
[`v2.63.0`](https://togithub.com/grpc/grpc-dotnet/releases/tag/v2.63.0)

##### What's Changed

- Prevent block inside ResolveAsync from blocking
PollingResolver.Refresh by
[@&#8203;JamesNK](https://togithub.com/JamesNK) in
[grpc/grpc-dotnet#2385
- Bump follow-redirects from 1.15.4 to 1.15.6 in
/testassets/InteropTestsGrpcWebWebsite/Tests by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[grpc/grpc-dotnet#2392
- Update microsoft-support.md by
[@&#8203;JamesNK](https://togithub.com/JamesNK) in
[grpc/grpc-dotnet#2403
- fix a couple typos in README.md by
[@&#8203;jjanuszkiewicz](https://togithub.com/jjanuszkiewicz) in
[grpc/grpc-dotnet#2397
- Interrupt existing subchannel connect attempt when reconnect is
requested by [@&#8203;JamesNK](https://togithub.com/JamesNK) in
[grpc/grpc-dotnet#2410
- Update Directory.Packages.props by
[@&#8203;WeihanLi](https://togithub.com/WeihanLi) in
[grpc/grpc-dotnet#2413
- [#&#8203;2401](https://togithub.com/grpc/grpc-dotnet/issues/2401) Add
new TFM's so package dependency can be removed by
[@&#8203;thompson-tomo](https://togithub.com/thompson-tomo) in
[grpc/grpc-dotnet#2402
- support `ReadAllAsync` for netstandard2.0 by
[@&#8203;WeihanLi](https://togithub.com/WeihanLi) in
[grpc/grpc-dotnet#2411
- Fix ObjectDisposedException message by
[@&#8203;drewnoakes](https://togithub.com/drewnoakes) in
[grpc/grpc-dotnet#2415
- Enable multiple connections with WinHttpHandler by default by
[@&#8203;JamesNK](https://togithub.com/JamesNK) in
[grpc/grpc-dotnet#2416
- Fix memory leak when using call context propagation with cancellation
token by [@&#8203;JamesNK](https://togithub.com/JamesNK) in
[grpc/grpc-dotnet#2421
- Fix HTTP/3 test errors on .NET 6 by
[@&#8203;JamesNK](https://togithub.com/JamesNK) in
[grpc/grpc-dotnet#2423
- Add semaphore to limit subchannel connect to prevent race conditions
by [@&#8203;JamesNK](https://togithub.com/JamesNK) in
[grpc/grpc-dotnet#2422
- Don't capture async locals in resolver by
[@&#8203;JamesNK](https://togithub.com/JamesNK) in
[grpc/grpc-dotnet#2426
- Update Grpc.Tools to 2.63 by
[@&#8203;apolcyn](https://togithub.com/apolcyn) in
[grpc/grpc-dotnet#2429
- Bump 2.63.x branch to 2.63.0-pre1 by
[@&#8203;apolcyn](https://togithub.com/apolcyn) in
[grpc/grpc-dotnet#2430
- Fix build on v2.63.x - cherry pick
[grpc/grpc-dotnet#2437
by [@&#8203;apolcyn](https://togithub.com/apolcyn) in
[grpc/grpc-dotnet#2442
- Bump 2.63.x to stable release by
[@&#8203;apolcyn](https://togithub.com/apolcyn) in
[grpc/grpc-dotnet#2440

##### New Contributors

- [@&#8203;jjanuszkiewicz](https://togithub.com/jjanuszkiewicz) made
their first contribution in
[grpc/grpc-dotnet#2397
- [@&#8203;thompson-tomo](https://togithub.com/thompson-tomo) made their
first contribution in
[grpc/grpc-dotnet#2402
- [@&#8203;drewnoakes](https://togithub.com/drewnoakes) made their first
contribution in
[grpc/grpc-dotnet#2415

**Full Changelog**:
grpc/grpc-dotnet@v2.62.0...v2.63.0

</details>

<details>
<summary>microsoft/vstest (Microsoft.NET.Test.Sdk)</summary>

###
[`v17.10.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.10.0)

##### What's Changed

- Add missing runtimeconfig.json file for 8.0 by
[@&#8203;MarcoRossignoli](https://togithub.com/MarcoRossignoli) in
[microsoft/vstest#4792
- Localized file check-in by OneLocBuild Task: Build definition ID 1222:
Build ID
[`2338548`](https://togithub.com/microsoft/vstest/commit/2338548) by
[@&#8203;dotnet-bot](https://togithub.com/dotnet-bot) in
[microsoft/vstest#4794
- Disable testhost prestart by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[microsoft/vstest#4833
- Terminal logger fixes by [@&#8203;nohwnd](https://togithub.com/nohwnd)
in
[microsoft/vstest#4834
- Add RiscV64 by [@&#8203;nohwnd](https://togithub.com/nohwnd) in
[microsoft/vstest#4838
- Add deterministic source mapping storing for Microsoft.CodeCoverage by
[@&#8203;jakubch1](https://togithub.com/jakubch1) in
[microsoft/vstest#4849
- Fix terminal logger encoding & error by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[microsoft/vstest#4853
- Update sourcebuild configuration to build net previous and net current
by [@&#8203;Evangelink](https://togithub.com/Evangelink) in
[microsoft/vstest#4856
- Updating version of Microsoft.VisualStudio.Interop to 17.10 by
[@&#8203;MSLukeWest](https://togithub.com/MSLukeWest) in
[microsoft/vstest#4866
- Add VSTEST_DIAG_VERBOSITY to help by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[microsoft/vstest#4882
- Fix feature flag name by [@&#8203;nohwnd](https://togithub.com/nohwnd)
in
[microsoft/vstest#4885
- Improve terminal logger by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[microsoft/vstest#4877
- Remove PackageLicenseFile preventing PackageLicenseExpression from
working by [@&#8203;lahma](https://togithub.com/lahma) in
[microsoft/vstest#4890
- Add GitHub Actions logger by
[@&#8203;martincostello](https://togithub.com/martincostello) in
[microsoft/vstest#4906
- Ensure to send a session complete event by
[@&#8203;drognanar](https://togithub.com/drognanar) in
[microsoft/vstest#4878
- specify Win10 + maxversiontested to enable xaml APIs to be used in
tests running under testhost.exe by
[@&#8203;ChrisGuzak](https://togithub.com/ChrisGuzak) in
[microsoft/vstest#4888
- Make VSTest repo buildable in VMR non-source-build by
[@&#8203;ViktorHofer](https://togithub.com/ViktorHofer) in
[microsoft/vstest#4920
- Migrate pipelines by [@&#8203;nohwnd](https://togithub.com/nohwnd) in
[microsoft/vstest#4921
- Add test name to MSBuild where we have frame. by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[microsoft/vstest#4935
- \[rel/17.10] Add list of known TestingPlatform dlls by
[@&#8203;nohwnd](https://togithub.com/nohwnd) in
[microsoft/vstest#4982

And many infrastructure related changes and updates.

##### New Contributors

- [@&#8203;ellahathaway](https://togithub.com/ellahathaway) made their
first contribution in
[microsoft/vstest#4785
- [@&#8203;MSLukeWest](https://togithub.com/MSLukeWest) made their first
contribution in
[microsoft/vstest#4866
- [@&#8203;lahma](https://togithub.com/lahma) made their first
contribution in
[microsoft/vstest#4890
- [@&#8203;ChrisGuzak](https://togithub.com/ChrisGuzak) made their first
contribution in
[microsoft/vstest#4888

**Full Changelog**:
microsoft/vstest@v17.9.0...v17.10.0

</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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJvdHMiLCJjaG9yZSIsImNpIl19-->

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>
  • Loading branch information
renovate[bot] committed May 31, 2024
1 parent f2df05d commit edd8c3b
Show file tree
Hide file tree
Showing 7 changed files with 582 additions and 92 deletions.
4 changes: 2 additions & 2 deletions buf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ deps:
- remote: buf.build
owner: cerbos
repository: cerbos-api
commit: df180e07d6154eb8a2d7801459003b9f
digest: shake256:b2712ba97cdbf03c5111261ed409b5d77cf0c9aa2336cfb6a4f78a22f75598e3ff30efba74429cb91ef1edad3eed653f1a4a1f2741671d434846ef6db4faeb05
commit: e27328ec963d4f538a5c970aeec688b8
digest: shake256:71ab15742b3a474818482b0104f9b7377d7e722f2ad0a149db42abf257ed88c6043f9763ec651bfe6836b56f834bce54c52399c9f77ac77fe161d510d63e341b
- remote: buf.build
owner: googleapis
repository: googleapis
Expand Down
54 changes: 33 additions & 21 deletions proto/cerbos/request/v1/request.proto
Original file line number Diff line number Diff line change
Expand Up @@ -445,14 +445,14 @@ message AddOrUpdatePolicyRequest {
repeated cerbos.policy.v1.Policy policies = 1 [
(buf.validate.field).repeated = {
min_items: 1,
max_items: 10
max_items: 100
},
(buf.validate.field).required = true,
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of policies."
min_items: 1
max_items: 10
max_items: 100
}
];
}
Expand Down Expand Up @@ -554,6 +554,19 @@ message ListPoliciesRequest {
(google.api.field_behavior) = OPTIONAL,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Filter policies by version with regexp"}
];
repeated string policy_id = 5 [
(google.api.field_behavior) = OPTIONAL,
(buf.validate.field).repeated = {
max_items: 25,
items {
string {min_len: 1}
}
},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "For blob, disk, git stores use file name (<filename>.yaml). For mysql, postgres, sqlite3 use id (<kind>.<name>.<version>) of the policy"
example: "\"principal.sarah.vdefault\""
}
];
}

message GetPolicyRequest {
Expand All @@ -565,12 +578,8 @@ message GetPolicyRequest {
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
max_items: 25,
items {
string {
min_len: 1,
max_len: 1280
}
string {min_len: 1}
}
},
(buf.validate.field).required = true,
Expand All @@ -590,12 +599,8 @@ message DisablePolicyRequest {
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
max_items: 25,
items {
string {
min_len: 1,
max_len: 1280
}
string {min_len: 1}
}
},
(buf.validate.field).required = true,
Expand All @@ -615,12 +620,8 @@ message EnablePolicyRequest {
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
max_items: 25,
items {
string {
min_len: 1,
max_len: 1280
}
string {min_len: 1}
}
},
(buf.validate.field).required = true,
Expand Down Expand Up @@ -651,6 +652,19 @@ message InspectPoliciesRequest {
(google.api.field_behavior) = OPTIONAL,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Filter policies by version with regexp"}
];
repeated string policy_id = 5 [
(google.api.field_behavior) = OPTIONAL,
(buf.validate.field).repeated = {
max_items: 25,
items {
string {min_len: 1}
}
},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "For blob, disk, git stores use file name (<filename>.yaml). For mysql, postgres, sqlite3 use id (<kind>.<name>.<version>) of the policy"
example: "\"principal.sarah.vdefault\""
}
];
}

message AddOrUpdateSchemaRequest {
Expand All @@ -662,13 +676,13 @@ message AddOrUpdateSchemaRequest {
(google.api.field_behavior) = REQUIRED,
(buf.validate.field).repeated = {
min_items: 1,
max_items: 10
max_items: 100
},
(buf.validate.field).required = true,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "List of schemas."
min_items: 1
max_items: 10
max_items: 100
}
];
}
Expand All @@ -688,7 +702,6 @@ message GetSchemaRequest {
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
max_items: 25,
items {
string {
min_len: 1,
Expand All @@ -713,7 +726,6 @@ message DeleteSchemaRequest {
(buf.validate.field).repeated = {
unique: true,
min_items: 1,
max_items: 25,
items {
string {
min_len: 1,
Expand Down
21 changes: 20 additions & 1 deletion proto/cerbos/response/v1/response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,27 @@ message InspectPoliciesResponse {
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
json_schema: {description: "Inspect policies response"}
};

message Variable {
enum Kind {
KIND_UNSPECIFIED = 0;
KIND_EXPORTED = 1;
KIND_IMPORTED = 2;
KIND_LOCAL = 3;
KIND_UNDEFINED = 4;
KIND_UNKNOWN = 5;
}

string name = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Variable name defined in the policy."}];
string value = 2 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Raw value of the variable defined in the policy."}];
Kind kind = 3 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Kind of the variable defined in the policy."}];
string source = 4 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Source of the variable defined in the policy. Only exists if the kind is imported."}];
bool used = 5 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Whether the variable is used in a condition."}];
}

message Result {
repeated string actions = 1;
repeated string actions = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Actions defined in the policy"}];
repeated Variable variables = 2 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "Variables defined in the policy"}];
}

map<string, Result> results = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/Sdk.UnitTests/Sdk.UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.2.0" />
Expand Down
Loading

0 comments on commit edd8c3b

Please sign in to comment.