Skip to content

Releases

2.7.0

Choose a tag to compare

@odinserj odinserj released this 09 Jan 09:20
v2.7.0
0668557

Release Notes

  • Added – Support for custom scope configuration logic with background job context data.
  • Project – Faster continuous integration builds with the modern PowerShell.
  • Project – Don't emit warnings when building with .NET 9.0 SDK.

2.6.0

Choose a tag to compare

@odinserj odinserj released this 16 Feb 04:02
v2.6.0
b688d58

Release Notes

  • Project – Sign NuGet package and .NET assemblies on build.
  • Project – Enable NuGet package signature validation on restore.
  • Project – Use deterministic and locked package restore for all projects.
  • Project – Add more metadata for assemblies and NuGet package.
  • Project – Fix GitHub repository URL in the nuspec file.
  • Project – Add HangfireIO as a NuGet package owner.

2.5.0

Choose a tag to compare

@odinserj odinserj released this 23 Jan 07:49
v2.5.0
9927692

Release Notes

  • Project – Full source link support with embedded symbols and repository-based sources.
  • Project – Enable static analysis via the Microsoft.CodeAnalysis.NetAnalyzers package.
  • Project – Restore packages in locked mode for all the projects.
  • Project – Switch from MSTest to Xunit for simplicity across other projects.

2.4.1

Choose a tag to compare

@odinserj odinserj released this 25 May 10:17
v2.4.1
2683aaf

Release Notes

  • Fixed – Add missing files for the netstandard2.0 target to the NuGet package.

2.4.0

Choose a tag to compare

@odinserj odinserj released this 25 May 10:12
v2.4.0
f2c7dd3

Release Notes

  • Added – netstandard2.0 target support for the package based on Autofac 5.0.

2.3.1

Choose a tag to compare

@aidmsu aidmsu released this 08 Jun 06:15

Release Notes

  • Changed – NuGet package title and a link to the project site were added.

2.3.0

Choose a tag to compare

@aidmsu aidmsu released this 07 Jun 13:28

Release Notes

  • Added – Support for .NET Core with .NET Standard 1.3.
  • Added – Support for SourceLink 2.0. If "Enable source link support flag is set" in Visual Studio it's possible to debug Hangfire.Autofac using its downloaded sources.
  • Changed – Removed references to Newtonsoft.Json and Owin packages.
  • Changed – Renamed HangFire.Autofac to Hangfire.Autofac.

2.2.0

Choose a tag to compare

@odinserj odinserj released this 24 Feb 12:04

Release Notes

  • Added – Allow combining lifetime scope tags (by @chaoaretasty).

1.2.0-beta1

1.2.0-beta1 Pre-release
Pre-release

Choose a tag to compare

@odinserj odinserj released this 22 Jul 15:25

Release Notes

Hangfire.Autofac now resolves service instances using a child, tagged lifetime scope. Added shared instance and deterministic disposal features support allowed by the new JobActivatorScope abstraction introduced in Hangfire 1.5.0-beta1.

Please see the updated README.md file for the details.

Updating

Ownership of all the resolved components moved to Autofac, ownership in this case means the party which is responsible to call the Dispose method on IDisposable instances. Now Autofac itself is responsible for disposing the resolved components.

Previously job type instances (i.e. an instance of a type parameter passed to Enqueue, Schedule, etc. methods) were owned by Hangfire itself and thus the Dispose method was called by Hangfire. It was also beleived that your job type is responsible for disposing all the passed dependencies (through the constructor or properties).

Now, as the ownership moved, it is not necessary to call the Dispose method on the dependencies – it will be called automatically by Autofac (if appropriate). So your Dispose methods may be called multiple times, but generally this is not a problem.

0.1

0.1

Choose a tag to compare

@odinserj odinserj released this 01 Apr 14:12

Initial version of HangFire.Autofac