Skip to content

Commit

Permalink
Merge pull request #33 from allegro/feature/package-bump-identifiers
Browse files Browse the repository at this point in the history
Unpin version of Meziantou.Framework and Microsoft.CodeAnalysis
  • Loading branch information
cugoszi authored Jan 26, 2024
2 parents 174e09c + 28ca909 commit 30a3e39
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 7 deletions.
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"sdk": {
"version": "6.0.405",
"version": "8.0.100",
"rollForward": "latestFeature"
},
"msbuild-sdks": {
"Allegro.DotnetSdk": "1.2.2"
"Allegro.DotnetSdk": "2.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>
<Import Project="..\..\Package.Build.props" />
<ItemGroup>
<PackageReference Include="Meziantou.Framework.StronglyTypedId" Version="[1.0.28]" />
<PackageReference Include="Microsoft.CodeAnalysis" Version="[4.3.1]"/>
<PackageReference Include="Meziantou.Framework.StronglyTypedId" Version="2.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.8.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>
<Import Project="..\..\Package.Build.props" />
<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Allegro.Extensions.Identifiers.Abstractions\Allegro.Extensions.Identifiers.Abstractions.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public static IServiceCollection AddStronglyTypedIds(this IServiceCollection ser
services.Configure<SwaggerGenOptions>(options =>
{
var types = AppDomain.CurrentDomain.GetAssemblies()
.Where(a => a.FullName?.StartsWith("Microsoft", StringComparison.Ordinal) != true)
.SelectMany(x => x.GetTypes())
.Where(x => IsAssignableToGenericType(x, typeof(IStronglyTypedId<>)) && !x.IsInterface && !x.IsAbstract)
.ToList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Allegro.Extensions.Identifiers.Abstractions\Allegro.Extensions.Identifiers.Abstractions.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#pragma warning disable 1591

using Allegro.Extensions.Identifiers.Abstractions;
using Meziantou.Framework.Annotations;

namespace Allegro.Extensions.Identifiers.Demo.Identifiers;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) PlaceholderCompany. All rights reserved.

using Allegro.Extensions.Identifiers.Abstractions;
using Meziantou.Framework.Annotations;

namespace Allegro.Extensions.Identifiers.Demo.Identifiers;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) PlaceholderCompany. All rights reserved.

using Allegro.Extensions.Identifiers.Abstractions;
using Meziantou.Framework.Annotations;

namespace Allegro.Extensions.Identifiers.Demo.Identifiers;

Expand Down
7 changes: 7 additions & 0 deletions src/Allegro.Extensions.Identifiers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.0] - 2024-01-26
* Updated to version 2.1.0 of Meziantou.Framework.StronglyTypedId and Microsoft.CodeAnalysis to 4.8.0
* Fixed AddStronglyTypedIds failing becouse of https://github.com/dotnet/SqlClient/issues/1930
### Fix

* Updated to version 1.0.34 of Meziantou.Framework.StronglyTypedId and Microsoft.CodeAnalysis to 4.7.0

## [1.2.0] - 2023-01-03

### Fix
Expand Down
2 changes: 1 addition & 1 deletion src/Allegro.Extensions.Identifiers/version.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<VersionPrefix>1.2.0</VersionPrefix>
<VersionPrefix>1.3.0</VersionPrefix>
</PropertyGroup>
</Project>

0 comments on commit 30a3e39

Please sign in to comment.