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 tokio-cron-scheduler from 0.7.6 to 0.10.2 #160

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 22, 2024

Bumps tokio-cron-scheduler from 0.7.6 to 0.10.2.

Release notes

Sourced from tokio-cron-scheduler's releases.

v0.10.2 - Unix signal only

Because it uses Tokio for the ctrl+c signal handling, the signal feature only works with Unix.

Thank you @​SandroHc for this.

v0.10.1 - Timezone bugfix

Thank you @​rlienlaf for the bug fix on the timezone offsets.

v0.10.0 - Timezone support

Hi all Timezone support has landed, plus a builder API. For now you'll need the builder API to change the TZ of a job.

Thank you also @​marioloko for the added log feature.

v0.9.4 Bugfix for PostgreSQL v15 whitespace issue

Thank you @​grahamhub for the report/PR to fix a whitespace issue for PostgreSQL.

v0.9.2 Bugfix: Make deleter async

Solves mvniekerk/tokio-cron-scheduler#40 Thank you @​skrcka for the report.

v0.9.1 Bugfix: use oneshot channel for starting scheduler

There's a race condition on starting the scheduler when using Nats. Rewritten logic around starting the scheduler using a tokio oneshot channel.

v0.8.3 Remove time-rs

Removes the time-rs and oldtime feature (that enables time-rs on chrono). Thanks @​imurx for the report.

v0.8.2 Depency bumps

  1. Updated some depencies
  2. Removed the time crate

0.8.1 Get next tick for a job

An extra function is exposed on the JobScheduler - next_tick_for_job. It takes the JobId as parameter and must be run from an async context.

    let mut four_s_job_async = Job::new_async("1/4 * * * * *", |uuid, mut l| {
        Box::pin(async move {
            info!("I run async every 4 seconds id {:?}", uuid);
            let next_tick = l.next_tick_for_job(uuid).await;
            match next_tick {
                Ok(Some(ts)) => info!("Next time for 4s is {:?}", ts),
                _ => warn!("Could not get next tick for 4s job"),
            }
        })
    })
    .unwrap();

... (truncated)

Commits
  • 9bce734 Merge remote-tracking branch 'origin/main'
  • 4be048b README update
  • 20162d2 Merge pull request #48 from SandroHc/signal-win
  • 84e46e0 Merge branch 'main' into signal-win
  • 2fe6dc3 v0.10.1
  • 849422c Merge pull request #64 from rlienlaf/fix/timezone
  • d106fa8 fix: offset logic calculated for east_opt not for west_opt
  • 83321d0 Merge pull request #62 from frederikhors/patch-2
  • 0849ab8 Fix misprint
  • b1cf3aa Merge remote-tracking branch 'origin/main' into Timezones
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

updated-dependencies:
- dependency-name: tokio-cron-scheduler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 22, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 12, 2024

Superseded by #180.

@dependabot dependabot bot closed this Aug 12, 2024
@dependabot dependabot bot deleted the dependabot/cargo/tokio-cron-scheduler-0.10.2 branch August 12, 2024 12:00
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants