Skip to content

Commit

Permalink
Bump the all-dependencies group with 10 updates (#571)
Browse files Browse the repository at this point in the history
* Bump the all-dependencies group with 10 updates

Bumps the all-dependencies group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [Microsoft.Extensions.DependencyInjection.Abstractions](https://github.com/dotnet/runtime) | `7.0.0` | `8.0.1` |
| [Microsoft.Extensions.Logging.Abstractions](https://github.com/dotnet/runtime) | `7.0.1` | `8.0.1` |
| [Parlot](https://github.com/sebastienros/parlot) | `0.0.26` | `0.0.28` |
| [Microsoft.Data.Sqlite](https://github.com/dotnet/efcore) | `8.0.0` | `8.0.6` |
| [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) | `1.11.2` | `1.11.3` |
| [Microsoft.Data.SqlClient](https://github.com/dotnet/sqlclient) | `5.2.0` | `5.2.1` |
| [Microsoft.AspNetCore.TestHost](https://github.com/dotnet/aspnetcore) | `6.0.24` | `7.0.20` |
| [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) | `17.9.0` | `17.10.0` |
| [xunit](https://github.com/xunit/xunit) | `2.7.0` | `2.8.1` |
| [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) | `2.8.0` | `2.8.1` |


Updates `Microsoft.Extensions.DependencyInjection.Abstractions` from 7.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v7.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 7.0.1 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v7.0.1...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection.Abstractions` from 7.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v7.0.0...v8.0.1)

Updates `Parlot` from 0.0.26 to 0.0.28
- [Release notes](https://github.com/sebastienros/parlot/releases)
- [Commits](sebastienros/parlot@v0.0.26...v0.0.28)

Updates `Microsoft.Data.Sqlite` from 8.0.0 to 8.0.6
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](dotnet/efcore@v8.0.0...v8.0.6)

Updates `Azure.Identity` from 1.11.2 to 1.11.3
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Identity_1.11.2...Azure.Identity_1.11.3)

Updates `Microsoft.Data.SqlClient` from 5.2.0 to 5.2.1
- [Release notes](https://github.com/dotnet/sqlclient/releases)
- [Changelog](https://github.com/dotnet/SqlClient/blob/main/CHANGELOG.md)
- [Commits](dotnet/SqlClient@V5.2.0...v5.2.1)

Updates `Azure.Identity` from 1.11.2 to 1.11.3
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Identity_1.11.2...Azure.Identity_1.11.3)

Updates `Microsoft.AspNetCore.TestHost` from 6.0.24 to 7.0.20
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v6.0.24...v7.0.20)

Updates `Microsoft.NET.Test.Sdk` from 17.9.0 to 17.10.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.9.0...v17.10.0)

Updates `xunit` from 2.7.0 to 2.8.1
- [Commits](xunit/xunit@2.7.0...2.8.1)

Updates `xunit.runner.visualstudio` from 2.8.0 to 2.8.1
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](xunit/visualstudio.xunit@2.8.0...2.8.1)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all-dependencies
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all-dependencies
- dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all-dependencies
- dependency-name: Parlot
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: Microsoft.Data.Sqlite
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: Azure.Identity
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: Microsoft.Data.SqlClient
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: Azure.Identity
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: Microsoft.AspNetCore.TestHost
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all-dependencies
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix Parlot update failure

* Remove Azure.Identity direct dependency

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastien Ros <sebastienros@gmail.com>
  • Loading branch information
dependabot[bot] and sebastienros authored Jun 3, 2024
1 parent dd176cd commit e2b1e32
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 21 deletions.
13 changes: 5 additions & 8 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,15 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Parlot" Version="0.0.26" />
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.2.0" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="8.0.0" />
<PackageVersion Include="Parlot" Version="0.0.28" />
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.2.1" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="8.0.6" />
<PackageVersion Include="Npgsql" Version="8.0.3" />
<PackageVersion Include="MySqlConnector" Version="2.3.7" />
<PackageVersion Include="Dapper.StrongName" Version="2.1.35" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.1" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />

<!-- For transitive dependencies fix only (YesSql.Provider.SqlServer) -->
<PackageVersion Include="Azure.Identity" Version="1.11.2" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/YesSql.Filters.Abstractions/Services/FilterResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public FilterResult(IReadOnlyDictionary<string, TTermOption> termOptions)
TermOptions = termOptions;
}

public FilterResult(List<TermNode> terms, IReadOnlyDictionary<string, TTermOption> termOptions)
public FilterResult(IReadOnlyList<TermNode> terms, IReadOnlyDictionary<string, TTermOption> termOptions)
{
TermOptions = termOptions;

Expand Down
2 changes: 1 addition & 1 deletion src/YesSql.Filters.Query/QueryEngineBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace YesSql.Filters.Query
/// </summary>
public class QueryEngineBuilder<T> where T : class
{
private Dictionary<string, TermEngineBuilder<T, QueryTermOption<T>>> _termBuilders = new Dictionary<string, TermEngineBuilder<T, QueryTermOption<T>>>();
private readonly Dictionary<string, TermEngineBuilder<T, QueryTermOption<T>>> _termBuilders = [];

public QueryEngineBuilder<T> SetTermParser(TermEngineBuilder<T, QueryTermOption<T>> builder)
{
Expand Down
4 changes: 2 additions & 2 deletions src/YesSql.Filters.Query/QueryFilterResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class QueryFilterResult<T> : FilterResult<T, QueryTermOption<T>> where T
public QueryFilterResult(IReadOnlyDictionary<string, QueryTermOption<T>> termOptions) : base(termOptions)
{ }

public QueryFilterResult(List<TermNode> terms, IReadOnlyDictionary<string, QueryTermOption<T>> termOptions) : base(terms, termOptions)
public QueryFilterResult(IReadOnlyList<TermNode> terms, IReadOnlyDictionary<string, QueryTermOption<T>> termOptions) : base(terms, termOptions)
{ }

public void MapFrom<TModel>(TModel model)
Expand Down Expand Up @@ -53,7 +53,7 @@ public async ValueTask<IQuery<T>> ExecuteAsync(QueryExecutionContext<T> context)
await VisitTerm(TermOptions, context, visitor, alwaysRunNode);
}
}

return context.Item;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

<ItemGroup>
<PackageReference Include="Microsoft.Data.SqlClient" />

<!-- For transitive dependency fix only -->
<PackageReference Include="Azure.Identity" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion test/YesSql.Tests/ProviderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void Dispose()
}

[Fact]
public async void AddedDbProviderStoreShouldPresentInDIContainer()
public async Task AddedDbProviderStoreShouldPresentInDIContainer()
{
var connectionString = @"Data Source=" + _tempFolder.Folder + "yessql.db;Cache=Shared";

Expand Down
10 changes: 5 additions & 5 deletions test/YesSql.Tests/YesSql.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
</PropertyGroup>

<PropertyGroup Condition="$(TargetFramework) == 'net7.0'">
<AspNetCoreTestHostPackagesVersion>7.0.13</AspNetCoreTestHostPackagesVersion>
<AspNetCoreTestHostPackagesVersion>7.0.20</AspNetCoreTestHostPackagesVersion>
</PropertyGroup>

<PropertyGroup Condition="$(TargetFramework) == 'net6.0'">
<AspNetCoreTestHostPackagesVersion>6.0.24</AspNetCoreTestHostPackagesVersion>
<AspNetCoreTestHostPackagesVersion>7.0.20</AspNetCoreTestHostPackagesVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="$(AspNetCoreTestHostPackagesVersion)" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit e2b1e32

Please sign in to comment.