Skip to content

Commit

Permalink
update to v1.9.2 (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
gottscj authored Feb 2, 2023
1 parent 543e8b4 commit 851d058
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 24 deletions.
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@

## Change log

### v1.9.2 (2022-02-02)
- Remove debug log written with Console.WriteLine (#336)
- Automatically run MongoDB during the tests (with EphemeralMongo) (#337)
- Make compatible with MongoDB.Driver linq v3 (#338)
- Update to Hangfire.Core 1.7.33
- Update MongoDB.Driver to 2.19.0

### v1.9.1 (2022-12-19)
- Fixes SchemaDto deserialization bug (#333)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Description />
<Version>1.9.1</Version>
<Version>1.9.2</Version>
<Description>MongoDB storage implementation for Hangfire (background job system for ASP.NET applications).</Description>
<Copyright>Copyright © 2014-2019 Sergey Zwezdin, Martin Lobger, Jonas Gottschau</Copyright>
<Authors>Sergey Zwezdin, Martin Lobger, Jonas Gottschau</Authors>
Expand All @@ -19,12 +19,12 @@
<ProjectReference Include="..\Hangfire.Mongo\Hangfire.Mongo.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="bootstrap" Version="5.2.2" />
<PackageReference Include="Hangfire.AspNetCore" Version="1.7.32" />
<PackageReference Include="Hangfire.Core" Version="1.7.32" />
<PackageReference Include="jquery" Version="3.6.1" />
<PackageReference Include="bootstrap" Version="5.2.3" />
<PackageReference Include="Hangfire.AspNetCore" Version="1.7.33" />
<PackageReference Include="Hangfire.Core" Version="1.7.33" />
<PackageReference Include="jquery" Version="3.6.3" />
<PackageReference Include="Mongo2Go" Version="3.1.3" />
<PackageReference Include="MongoDB.Driver" Version="2.18.0" />
<PackageReference Include="MongoDB.Driver" Version="2.19.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Description />
<Version>1.9.1</Version>
<Version>1.9.2</Version>
<Description>MongoDB storage implementation for Hangfire (background job system for ASP.NET applications).</Description>
<Copyright>Copyright © 2014-2019 Sergey Zwezdin, Martin Lobger, Jonas Gottschau</Copyright>
<Authors>Sergey Zwezdin, Martin Lobger, Jonas Gottschau</Authors>
Expand All @@ -19,11 +19,11 @@
<ProjectReference Include="..\Hangfire.Mongo\Hangfire.Mongo.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="bootstrap" Version="5.2.2" />
<PackageReference Include="Hangfire.AspNetCore" Version="1.7.32" />
<PackageReference Include="Hangfire.Core" Version="1.7.32" />
<PackageReference Include="jquery" Version="3.6.1" />
<PackageReference Include="MongoDB.Driver" Version="2.18.0" />
<PackageReference Include="bootstrap" Version="5.2.3" />
<PackageReference Include="Hangfire.AspNetCore" Version="1.7.33" />
<PackageReference Include="Hangfire.Core" Version="1.7.33" />
<PackageReference Include="jquery" Version="3.6.3" />
<PackageReference Include="MongoDB.Driver" Version="2.19.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<AssemblyName>Hangfire.Mongo.Sample.NETCore</AssemblyName>
<OutputType>Exe</OutputType>
<PackageId>Hangfire.Mongo.Sample.NETCore</PackageId>
<Version>1.9.1</Version>
<Version>1.9.2</Version>
<Description>MongoDB storage implementation for Hangfire (background job system for ASP.NET applications).</Description>
<Copyright>Copyright © 2014-2019 Sergey Zwezdin, Martin Lobger, Jonas Gottschau</Copyright>
<Authors>Sergey Zwezdin, Martin Lobger, Jonas Gottschau</Authors>
Expand All @@ -18,8 +18,8 @@
<ProjectReference Include="..\Hangfire.Mongo\Hangfire.Mongo.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Hangfire.Core" Version="1.7.32" />
<PackageReference Include="Hangfire.Core" Version="1.7.33" />
<PackageReference Include="Mongo2Go" Version="3.1.3" />
<PackageReference Include="MongoDB.Driver" Version="2.18.0" />
<PackageReference Include="MongoDB.Driver" Version="2.19.0" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions src/Hangfire.Mongo.Tests/Hangfire.Mongo.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
<ItemGroup>
<PackageReference Include="EphemeralMongo6" Version="0.1.3" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Moq" Version="4.18.2" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="xunit" Version="2.4.2" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/Hangfire.Mongo.Tests/MongoWatcherFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

namespace Hangfire.Mongo.Tests
{
[Collection("Database")]
public sealed class MongoWatcherFacts : IDisposable
{
private readonly HangfireDbContext _dbContext;
Expand Down Expand Up @@ -42,7 +43,7 @@ public void Dispose()
_cts.Dispose();
}

[Fact(Skip = "Needs replica set, enable when you figure out how to set it up in github actions")]
[Fact]
public void Execute_JobEnqueued_Signaled()
{
// ARRANGE
Expand Down
3 changes: 2 additions & 1 deletion src/Hangfire.Mongo.Tests/Utils/MongoDbFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ public MongoDbFixture(IMessageSink sink)
{
var options = new MongoRunnerOptions
{
StandardOuputLogger = text => sink.OnMessage(new DiagnosticMessage(text)),
//StandardOuputLogger = text => sink.OnMessage(new DiagnosticMessage(text)),
StandardErrorLogger = text => sink.OnMessage(new DiagnosticMessage($"MongoDB ERROR: {text}")),
UseSingleNodeReplicaSet = true
};
_runner = MongoRunner.Run(options);
}
Expand Down
14 changes: 9 additions & 5 deletions src/Hangfire.Mongo/Hangfire.Mongo.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<VersionPrefix>1.9.1</VersionPrefix>
<VersionPrefix>1.9.2</VersionPrefix>
<TargetFramework>netstandard2.0</TargetFramework>
<NoWarn>$(NoWarn);CS0618</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand All @@ -21,8 +21,12 @@
<owners>Sergey Zwezdin, Jonas Gottschau</owners>
<Description>MongoDB storage implementation for Hangfire (background job system for ASP.NET applications).</Description>
<PackageTags>Hangfire AspNet OWIN MongoDB CosmosDB Long-Running Background Fire-And-Forget Delayed Recurring Tasks Jobs Scheduler Threading Queues</PackageTags>
<PackageReleaseNotes>1.9.1
- Fixes SchemaDto deserialization bug (#333)
<PackageReleaseNotes>1.9.2
- Remove debug log written with Console.WriteLine (#336)
- Automatically run MongoDB during the tests (with EphemeralMongo) (#337)
- Make compatible with MongoDB.Driver linq v3 (#338)
- Update to Hangfire.Core 1.7.33
- Update MongoDB.Driver to 2.19.0
</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!--<PackageLicenseUrl>https://raw.githubusercontent.com/sergun/Hangfire.Mongo/master/LICENSE</PackageLicenseUrl>-->
Expand All @@ -33,7 +37,7 @@
<None Include="../../README.md" pack="true" PackagePath="." />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Hangfire.Core" Version="1.7.32" />
<PackageReference Include="MongoDB.Driver" Version="2.18.0" />
<PackageReference Include="Hangfire.Core" Version="1.7.33" />
<PackageReference Include="MongoDB.Driver" Version="2.19.0" />
</ItemGroup>
</Project>

0 comments on commit 851d058

Please sign in to comment.