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

Update Rust crate indicatif to ^0.17.0 #408

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 30, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
indicatif dependencies minor ^0.16 -> ^0.17.0

Release Notes

console-rs/indicatif (indicatif)

v0.17.8

Compare Source

What's Changed

v0.17.7

Compare Source

What's Changed

v0.17.6

Compare Source

What's Changed

v0.17.5

Compare Source

Another smaller release. Fixes a regression from 0.17.4 and should drastically improve ETA and speed estimation thanks to great work by @​afontenot in #​539.

On behalf of @​chris-laplante and @​djc, thanks to all contributors!

v0.17.4

Compare Source

Another small bugfix release.

On behalf of the indicatif team (@​chris-laplante and @​djc), thanks to all contributors!

v0.17.3

Compare Source

A small maintenance release:

Full Changelog: console-rs/indicatif@0.17.2...0.17.3

v0.17.2

Compare Source

A small maintenance release which makes indicatif more portable and fixes some minor regressions.

On behalf of @​djc and @​chris-laplante, thanks to all contributors!

v0.17.1

Compare Source

2.5 months after the large 0.17 release, we (finally) have a release that addresses most of the regressions found in 0.17. There is ongoing work on changes in the estimation algorithm, tracked in #​394, which has regressed for some users.

Note that we made some technically semver-breaking change of adding a missing Sync bound to the ProgressTracker bounds (#​471). We're assuming that most users don't (yet) have custom ProgressTracker impls, and that users who do have probably built one that is Sync anyway.

Fixed regressions

Other changes

Thanks from @​djc and @​chris-laplante to all contributors!

v0.17.0

Compare Source

indicatif is one of the most popular terminal progress bar libraries in the Rust ecosystem. More than a year after the 0.16.0 release, we're happy to finally release 0.17. In the past year, the indicatif team has grown to two maintainers, since @​chris-laplante joined @​djc as a maintainer. We also now have a Discord channel.

Apart from many small API additions and fixes, particular effort has gone into reducing the overhead for reporting progress. To this end, we've removed some of the explicit rate limiting APIs in favor of a single refresh rate in the ProgressDrawTarget. We now set a rate limit by default (50ms) that should drastically reduce overhead for most applications while being more than enough for most terminal applications. Additionally, position updates are now synchronized by using atomic integer APIs instead of a mutex. In a basic test the simplest possible progress bar is about 95x faster on 0.17.0 compared to 0.16.2.

We've made many changes to the way MultiProgress collections work. You no longer need to explicitly join() the MultiProgress, there are more ways to insert new progress bars into the collection, and many correctness improvements have been made, in part to more effort having gone into testing the crate.

Additionally, we've reduced our dependency footprint, removing lazy_static and regex from our required dependencies.

Additions

Performance

  • Use atomics to track the current position (#​390 with follow up in #​404, #​406, #​414)
  • Faster template expansion (without the regex dependency; #​319)
  • Draw progress bars into draw states (#​361, with follow up in #​371)
  • Remove draw limiting from the progress bar state (#​380)
  • Simplify ProgressDrawTarget to reduce in-memory size (#​277, thanks to @​mibac138)

MultiProgress changes

Fixes

Non-functional improvements


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/indicatif-0.x branch 17 times, most recently from fee1d4d to 36829de Compare August 6, 2022 13:35
@renovate renovate bot force-pushed the renovate/indicatif-0.x branch 13 times, most recently from ba33b9f to 36b52ba Compare August 12, 2022 19:29
@renovate renovate bot force-pushed the renovate/indicatif-0.x branch 24 times, most recently from 3864212 to 1a22e7b Compare November 22, 2023 06:33
@renovate renovate bot changed the title Update Rust crate indicatif to ^0.17.7 Update Rust crate indicatif to ^0.17.8 Feb 10, 2024
Copy link
Contributor Author

renovate bot commented Feb 10, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/core/Cargo.toml --workspace
    Updating crates.io index
    Updating git repository `https://github.com/ufoscout/typescript-definitions`
error: failed to get `typescript-definitions` as a dependency of package `factorio-bot v0.2.4-dev (/tmp/renovate/repos/github/arturh85/factorio-bot/app/src-tauri)`

Caused by:
  failed to load source for dependency `typescript-definitions`

Caused by:
  Unable to update https://github.com/ufoscout/typescript-definitions?branch=no-debug-attrs#f21e330d

Caused by:
  failed to fetch into: /home/ubuntu/.cargo/git/db/typescript-definitions-969bdaa4a3b53cbd

Caused by:
  failed to authenticate when downloading repository

  * attempted to find username/password via git's `credential.helper` support, but failed

  if the git CLI succeeds then `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  failed to acquire username/password from local configuration

@renovate renovate bot force-pushed the renovate/indicatif-0.x branch from a957663 to 8709d2e Compare May 5, 2024 09:52
@renovate renovate bot changed the title Update Rust crate indicatif to ^0.17.8 Update Rust crate indicatif to ^0.17.0 May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants