Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Quartz.Extensions.Hosting and Quartz.Extensions.DependencyInjection in /src #3146

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 7, 2024

Bumps Quartz.Extensions.Hosting and Quartz.Extensions.DependencyInjection. These dependencies needed to be updated together.
Updates Quartz.Extensions.Hosting from 3.10.0 to 3.12.0

Release notes

Sourced from Quartz.Extensions.Hosting's releases.

Quartz.NET 3.12.0

This release aims to alleviate some problems that have been present then Quartz's own global singletons clash with DI containers singleton concept when DI container is being torn down during testing. Now both scheduler repository and DB connection manager are scoped inside DI container and share container's lifetime.

If you want to have multiple service collections sharing same global state, you should manually register IDbConnectionManager and ISchedulerRepository to DI as singletons pointing to global object instances.

// add globals before AddQuartz to get old behavior
services.AddSingleton<IDbConnectionManager>(DBConnectionManager.Instance);
services.AddSingleton<ISchedulerRepository>(SchedulerRepository.Instance);
services.AddQuartz(...)

What's Changed

Full Changelog: quartznet/quartznet@v3.11.0...v3.12.0

Quartz.NET 3.11.0

What's Changed

New Contributors

Full Changelog: quartznet/quartznet@v3.10.0...v3.11.0

Changelog

Sourced from Quartz.Extensions.Hosting's changelog.

Release 3.12.0, Aug 3 2024

This release aims to alleviate some problems that have been present then Quartz's own global singletons clash with DI containers singleton concept when DI container is being torn down during testing. Now both scheduler repository and DB connection manager are scoped inside DI container and share container's lifetime.

If you want to have multiple service collections sharing same global state, you should manually register IDbConnectionManager and ISchedulerRepository to DI as singletons pointing to global object instances.

  • NEW FEATURES

    • Add custom trigger serializer support for Newtonsoft integration (#2480)
  • CHANGES

    • Change scheduler repository to be singleton scoped to DI under MS DI integration (#2502)
    • Change DB connection manager to be singleton scoped under MS DI integration (#2504)
  • FIXES

    • Make scheduler registration cleanup more robust during shutdown (#2498)

Release 3.11.0, Jul 7 2024

  • NEW FEATURES

    • Add support for DbDataSource (#2439)
    • Allow MSSQL Init Database script to be configured to not delete existing tables (#2449)
  • CHANGES

    • Update build actions to use checkout/@v4 for Docs and Qodana (#2451)
    • Change NativeJob to use RuntimeInformation.IsOSPlatform instead of env var (#2411)
  • FIXES

    • Fix issues with STJ serializer (#2434)
    • Fix DirtyFlagMap enumerator behaviors (#2445)
    • Improve binary to JSON migration support and documentation (#2458)
    • Don't create intermediate MemoryStream in SystemTextJsonObjectSerializer (#2418)
Commits
  • 00fb3db Release preparations
  • 39a6383 Change DB connection manager to be singleton scoped under MS DI integration (...
  • 8778b0b Cleanup
  • ac35f77 Make ISchedulerRepository and SchedulerRepository public
  • 2a57ccc Fix scheduler repository lookup in QuartzScheduler
  • 5a63e2d Change scheduler repository to be singleton scoped to DI under MS DI integrat...
  • e26bb5d Make scheduler registration cleanup more robust during shutdown (#2498)
  • 405dddb Add custom trigger serializer support for Newtonsoft integration (#2480)
  • c8bba86 Improve API documentation
  • 722b75d Upgrade System.Text.Json to 8.0.4 (#2466)
  • Additional commits viewable in compare view

Updates Quartz.Extensions.DependencyInjection from 3.11.0 to 3.12.0

Release notes

Sourced from Quartz.Extensions.DependencyInjection's releases.

Quartz.NET 3.12.0

This release aims to alleviate some problems that have been present then Quartz's own global singletons clash with DI containers singleton concept when DI container is being torn down during testing. Now both scheduler repository and DB connection manager are scoped inside DI container and share container's lifetime.

If you want to have multiple service collections sharing same global state, you should manually register IDbConnectionManager and ISchedulerRepository to DI as singletons pointing to global object instances.

// add globals before AddQuartz to get old behavior
services.AddSingleton<IDbConnectionManager>(DBConnectionManager.Instance);
services.AddSingleton<ISchedulerRepository>(SchedulerRepository.Instance);
services.AddQuartz(...)

What's Changed

Full Changelog: quartznet/quartznet@v3.11.0...v3.12.0

Changelog

Sourced from Quartz.Extensions.DependencyInjection's changelog.

Release 3.12.0, Aug 3 2024

This release aims to alleviate some problems that have been present then Quartz's own global singletons clash with DI containers singleton concept when DI container is being torn down during testing. Now both scheduler repository and DB connection manager are scoped inside DI container and share container's lifetime.

If you want to have multiple service collections sharing same global state, you should manually register IDbConnectionManager and ISchedulerRepository to DI as singletons pointing to global object instances.

  • NEW FEATURES

    • Add custom trigger serializer support for Newtonsoft integration (#2480)
  • CHANGES

    • Change scheduler repository to be singleton scoped to DI under MS DI integration (#2502)
    • Change DB connection manager to be singleton scoped under MS DI integration (#2504)
  • FIXES

    • Make scheduler registration cleanup more robust during shutdown (#2498)
Commits
  • 00fb3db Release preparations
  • 39a6383 Change DB connection manager to be singleton scoped under MS DI integration (...
  • 8778b0b Cleanup
  • ac35f77 Make ISchedulerRepository and SchedulerRepository public
  • 2a57ccc Fix scheduler repository lookup in QuartzScheduler
  • 5a63e2d Change scheduler repository to be singleton scoped to DI under MS DI integrat...
  • e26bb5d Make scheduler registration cleanup more robust during shutdown (#2498)
  • 405dddb Add custom trigger serializer support for Newtonsoft integration (#2480)
  • c8bba86 Improve API documentation
  • 722b75d Upgrade System.Text.Json to 8.0.4 (#2466)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner August 7, 2024 13:41
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Aug 7, 2024
Copy link

codecov bot commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.04%. Comparing base (1c169ad) to head (5d9c5cc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3146   +/-   ##
=======================================
  Coverage   86.04%   86.04%           
=======================================
  Files         295      295           
  Lines       11331    11331           
  Branches      873      873           
=======================================
  Hits         9750     9750           
  Misses       1298     1298           
  Partials      283      283           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Metal-Mighty Metal-Mighty enabled auto-merge (rebase) August 9, 2024 13:45
@dependabot dependabot bot force-pushed the dependabot/nuget/src/multi-d5bc84302b branch from bdf0e2e to 68c7883 Compare August 9, 2024 13:47
Bumps [Quartz.Extensions.Hosting](https://github.com/quartznet/quartznet) and [Quartz.Extensions.DependencyInjection](https://github.com/quartznet/quartznet). These dependencies needed to be updated together.

Updates `Quartz.Extensions.Hosting` from 3.10.0 to 3.12.0
- [Release notes](https://github.com/quartznet/quartznet/releases)
- [Changelog](https://github.com/quartznet/quartznet/blob/v3.12.0/changelog.md)
- [Commits](quartznet/quartznet@v3.10.0...v3.12.0)

Updates `Quartz.Extensions.DependencyInjection` from 3.11.0 to 3.12.0
- [Release notes](https://github.com/quartznet/quartznet/releases)
- [Changelog](https://github.com/quartznet/quartznet/blob/v3.12.0/changelog.md)
- [Commits](quartznet/quartznet@v3.11.0...v3.12.0)

---
updated-dependencies:
- dependency-name: Quartz.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Quartz.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/nuget/src/multi-d5bc84302b branch from 68c7883 to 5d9c5cc Compare August 9, 2024 13:57
@Metal-Mighty Metal-Mighty merged commit 399071c into main Aug 9, 2024
6 checks passed
@Metal-Mighty Metal-Mighty deleted the dependabot/nuget/src/multi-d5bc84302b branch August 9, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant