HangFire.Mongo 0.6.5

MongoDB storage implementation for Hangfire (background job system for ASP.NET applications).

Install-Package HangFire.Mongo -Version 0.6.5
dotnet add package HangFire.Mongo --version 0.6.5
<PackageReference Include="HangFire.Mongo" Version="0.6.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HangFire.Mongo --version 0.6.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

0.6.5
     - Cleanup expired DistributedLock after each wait iteration (#217)
     - Make extracting mongodb version more resilient
0.6.4
- Upgrade to "Hangfire.Core" Version="1.7.6"
- Upgrade to "MongoDB.Bson" Version="2.9.1"
- Upgrade to "MongoDB.Driver" Version="2.9.1"
- Upgrade to "MongoDB.Driver.Core" Version="2.9.1"
- Make sure to use timout when waiting for signalled semaphore #207
- Do not try to delete expired migration lock #208
- Allow user to supply preconfigured MongoClient #199
- Dont restart observing capped collection if collection is not capped (deleted by user) #204
- Fix job set filter - escape regex chars #212
     
0.6.3
- Explicitly set discriminators because filters rely on them (#200)
     
0.6.2
- Handle cancellation more gracefully (#191)
- Make Connection check timeout configurable and set new default = 5 seconds (#191)
     
0.6.1
- Fixed potential race condition releasing distributed lock mutex (#188)
     
0.6.0
- Added connection check when initializing MongoStorage (#179)
- Fixed Jobs Stuck In 'Enqueued' State (#180)     
- Added Tailable collection 'notifications' for signalling enqueued jobs and released locks
- Update to latest Hangfire.Core (v1.7.1)
- Update to latest Mongo.Driver (v2.8.0)
- Target net452 as this is required by latest Mongo.Driver
- Added dedicated migration lock.
- Fix old migration step. (only used if migrating from an old schema)
- Enhanced logging

0.5.15
- Fix Dashboard, top menu, Recurring Jobs count is 0 (#173)
- Fix GetAllItemsFromSet truncated values (#175)

0.5.14
- Fix race case in distributed lock implementation (#166, #134)
- Not JSON serializing Server data
- Add unique index ('Key') for 'Hash' and 'Counter' data (related to #166)
- Rename 'ListDto' field 'Key' to 'Item' ('Key' is now a unique index) (related to #166)
- Remove obsolete counters, which should have been removed in migrations for schema 13
- Mark ctor's for MongoStorage which takes connectionString obsolete, use 'MongoClientSettings'
- Fix requeued job state can be incorrect when multiple servers process jobs (#167)
- Add console logging per default in samples

0.5.13
- Use 'buildinfo' command instead of 'serverStatus' to get the server version. Because the 'buildinfo' command does not require - root privileges.
- Add missing migration for HashDto.Field removal
- Add data integrity tests
- Update to "MongoDB.Driver" Version="2.7.2"
- Update to "Hangfire.Core" Version="1.6.21"
- Use separate collection for migration locks as the ".locks" collection might be dropped if the migration strategy is "Drop"
- Making migration support CosmosDB
- Fix if client is using camelcase convention
- Removing Obsolete interfaces and logic
- Obsolete access to DbContext and queue providers
- Fix migration option combi migrationstrategy.drop and backupstrategy.none
- Fix timezone issue with conflicting bsonserializer settings

0.5.12
- Using $dec and $inc operators for counters
- Merging HashDto fields into one document
- Deprecating  direct db access and queueproviders
- Removed use of $slice (#151)

0.5.11
- Fixed duplicate key exception in advanced setups (#70)
- Fixed DeadLock on concurrent environment (#139)
- Update to latest Hangfire
- Update to latest MongoDB

0.5.10
- Fix for Hangfire Dashboard History Graph showing incorrect counts
- Update to latest Hangfire
- Update to latest MongoDB

0.5.9
- Fix for Hangfire Dashboard History Graph showinf incorrect counts
- Added indexes to all our collections
- Updated a few NuGet references
- Cleaned up library references
- Improve migration stability
- Remove dependency to Microsoft.CSharp

0.5.8
- Broken release

0.5.7
- Fix for broken migration

0.5.6
- Job state now shows correct in dashboard
- Hangfire dashboard logs are now sorted descending

0.5.5
- Use default naming conventions for our Dto models
 This should hopefully eliminate all the camelCase issues
- Optimized job aggregation to filter by only the status needed
- Add version check when backing up collections

0.5.4
- Fix broken migration

0.5.3
- Added new backup database strategy when migration
- Fixed a bug that made backup incompatiple with MongoDB 3.4
- A few code optimizations

0.5.2
- Forcing the use of Pascal Casing in Hangfire specific collections.

0.5.1
- Fix for migration of stateData collelction.

0.5.0
- Migration has been introduces. So now you can upgrade from previous version without loosing you jobs.
- MonitoringApi returning succeeded jobs when quering processing
- List and Set not sorted correctly
- Fixed NuGet references for xUnit so they again can be run from IDE
- Updated Hangfire NuGet reference to latest (Hangfire 1.6.15)
- Updated project files so it is possible to build and run .NETCore sample from Visual Studio Code
- Using MongoWriteOnlyTransaction.SetRangeInHash in MongoConnection.SetRangeInHash

0.4.1
- Add workaround for MongDB C# driver not adding inheritance types when doing upsert
- Fix bug in MongoWriteOnlyTransaction.AddRangeToSet where Value not being written for upsert
     
0.4.0
- THIS RELEASE INTRODUCES BREAKING CHANGES, YOU WILL HAVE TO DROP YOUR JOBS DB.
- BREAKING: Combined collections for state data into one collection
- BREAKING: Optimized job creation
- Not getting timestamp from mongodb. Using Datetime.UtcNow
- Using MongoDB native "ObjectId" as JobId instead of int.
- Fix MongoStorage.ToString() when settings contain multiple servers
- Upgraded to VS2017, new csproj and MSBuild
- Fix for duplicated key error writing schema version
- Update to JobDto, added parameters and statehistory to JobDto
     
0.3.2
- Fixed support on UNIX systems
- Better handling for non Pascal Case json serialization

0.3.1
- Now with .NET Starndard 1.5 included in the NuGet
- Correcting a few spelling errors
- Included .pdb files in Nuget

0.3.0
- Added .NET Starndard 1.5 support
- Hangfire version updated to 1.6.7
- MongoDB.Driver version updated to 2.3.0

0.2.8
- Fixed issues with distributed lock
- Adding index for jobid on state, jobParameter, jobQueue for better performance
- Updated to target latest Hangfire.Core and Mongo.Driver

0.2.7
- Changed Queue priority added

0.2.6
- Hangfire version updated to 1.5.6
- Code refactoring

0.2.5
- MongoDB time format exception workaround

0.2.4
- MongoDB.Driver updated to 2.2.3
- Added support of MongoClientSettings
- Target version changed to 4.5

0.2.3
- Hangfire version updated to 1.5.3
- MongoDB.Driver version updated to 2.1.1
- CPU utilization issue fixed
- Paging logic updated for dashboard

0.2.2
- Hangfire version updated to 1.4.3
- Obsolete mongocsharpdriver replaced with MongoDB.Driver

0.2.1
- Support for Hangfire 1.3.0 added

0.2.0
- Initial public release

Showing the top 1 GitHub repositories that depend on HangFire.Mongo:

Repository Stars
Pathoschild/SMAPI
The modding API for Stardew Valley.

Version History

Version Downloads Last updated
0.6.5 3,294 10/21/2019
0.6.4 3,972 9/26/2019
0.6.3 12,201 8/14/2019
0.6.2 7,733 7/28/2019
0.6.1 16,742 6/16/2019
0.6.0 19,337 4/23/2019
0.5.15 69,505 1/3/2019
0.5.14 306 1/1/2019
0.5.13 4,745 12/13/2018
0.5.12 26,780 10/28/2018
0.5.11 31,579 9/5/2018
0.5.10 30,891 5/27/2018
0.5.9 25,001 2/20/2018
0.5.8 525 2/20/2018
0.5.7 49,331 11/20/2017
0.5.6 268 11/20/2017
0.5.5 6,142 10/14/2017
0.5.4 8,954 9/22/2017
0.5.3 1,515 9/21/2017
0.5.2 19,559 9/1/2017
0.5.1 730 8/30/2017
0.5.0 2,149 8/17/2017
0.4.1 6,509 6/22/2017
0.4.0 3,480 6/19/2017
0.3.2 40,393 12/10/2016
0.3.1 656 11/30/2016
0.3.0 430 11/29/2016
0.2.8 3,777 9/26/2016
0.2.6 214,099 5/29/2016
0.2.5 3,267 3/5/2016
0.2.4 952 2/15/2016
0.2.3 1,222 12/6/2015
0.2.2 4,168 7/12/2015
0.2.1 1,227 12/13/2014
0.2.0 546 12/7/2014