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 simplelog requirement from 0.11.2 to 0.12.0 #137

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 19, 2022

Updates the requirements on simplelog to permit the latest version.

Changelog

Sourced from simplelog's changelog.

v0.12.0

- Replaces the semingly unmainted chrono library with the time crate.
- Addresses through this update 
    - RUSTSEC-2020-0159 (chrono)
    - RUSTSEC-2020-0071 (time)
- `ConfigBuilder::set_time_to_local` is replaced by `ConfigBuilder::set_time_offset_to_local`.
    - This function requires the new (and by default activated) `local-offset` feature.
    - This function may fail, for more information read the docs.
    - simplelog will not determine the local offset dynamically anymore, but only once, when this config option is set.
        - Due to safety reasons there is no way to provide this property currently.
- `ConfigBuilder::set_time_offset` now takes a `time::UtcOffset` instead of a `chrono::FixedOffset`.
- `ConfigBuilder::set_time_format` has been replaced by three new variants
    - `ConfigBuilder::set_time_format_rfc2822` sets the time format to use the format described by rfc2822.
    - `ConfigBuilder::set_time_format_rfc3339` sets the time format to use the format described by rfc3339.
    - `ConfigBuilder::set_time_format_custom` sets the time format to a custom time format best created using `time::macros::format_description`.
        - Runtime provided time format configuration is possible, but difficult due to lifetime constraints.
        - Fixing this will require a solution to https://github.com/time-rs/time/issues/429
    - *Note*: The default format is unchanged "[hour]:[minute]:[second]"

v0.11.0

- Add colored log levels using `ansi_term` (PR [#88](https://github.com/drakulix/simplelog.rs/issues/88), credits to @manio)
- Add target padding (PR [#85](https://github.com/drakulix/simplelog.rs/issues/85), credits to @bytebeamio)
- Add optional color and style support using `paris` crate (PR [#84](https://github.com/drakulix/simplelog.rs/issues/84), credits to @manio)

v0.10.2

- Fix flushing with `BufferedStandardStreams` (PR [#82](https://github.com/drakulix/simplelog.rs/issues/82), credits to @mrkline)

v0.10.1

- Fix TermLogger performance using `termcolor::BufferedStandardStream` (PR [#80](https://github.com/drakulix/simplelog.rs/issues/80), credits to @mrkline)
- Add write thread name support for `termlog` (PR [#76](https://github.com/drakulix/simplelog.rs/issues/76), credits to @zeroflaw)

v0.10.0

- Fix wrong argument naming (PR [#70](https://github.com/drakulix/simplelog.rs/issues/70), credits to @scvalex)
- *Breaking*: More color customization options (PR [#72](https://github.com/drakulix/simplelog.rs/issues/72), credits to @mrkline)
- Clarify docs on config levels

v0.9.0

- Add customizable level label colors (PR [#69](https://github.com/drakulix/simplelog.rs/issues/69). credits to @JarrettBillingsley)
- Remove unneeded TermLogError
- Future-proof config by adding `#[non_exhaustive]`
- Fix compiling with minimal-versions

v0.8.0

- Switch from `term` to `termcolor` (PR [#59](https://github.com/drakulix/simplelog.rs/issues/59). credits to @raybritton)
- Fix typo in docs (PR [#58](https://github.com/drakulix/simplelog.rs/issues/58), credits to @anthonyjmartinez)
- Switch default padding to `Off`. Padding is annoyingly controversal, just set it to whatever you prefer, if you want it.

v0.7.6

- Derive `Clone`,`Copy`,`PartialEq`,`Eq`,`Debug` and `Hash` for `TerminalMode`. (PR [#56](https://github.com/drakulix/simplelog.rs/issues/56), credits to @panhania)

... (truncated)

Commits

You can trigger a rebase of this PR 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 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@anweiss
Copy link
Owner

anweiss commented Sep 19, 2022

Requires Rust 1.59.0

@dependabot dependabot bot force-pushed the dependabot/cargo/simplelog-0.12.0 branch from be97c39 to cfda755 Compare September 19, 2022 15:56
@dependabot dependabot bot force-pushed the dependabot/cargo/simplelog-0.12.0 branch from cfda755 to c6611a3 Compare September 26, 2022 18:50
@anweiss anweiss changed the base branch from main to dependabot/cargo/clap-4.0.8 October 4, 2022 18:09
@anweiss anweiss force-pushed the dependabot/cargo/clap-4.0.8 branch from d5e3ccd to af6c060 Compare October 4, 2022 18:10
@anweiss anweiss changed the base branch from dependabot/cargo/clap-4.0.8 to main October 4, 2022 18:11
@anweiss anweiss force-pushed the dependabot/cargo/simplelog-0.12.0 branch from 3d9a849 to 995ec09 Compare October 14, 2022 17:48
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 6, 2023

A newer version of simplelog exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@anweiss anweiss force-pushed the dependabot/cargo/simplelog-0.12.0 branch from 995ec09 to ca71e9d Compare April 18, 2023 16:35
Updates the requirements on [simplelog](https://github.com/drakulix/simplelog.rs) to permit the latest version.
- [Release notes](https://github.com/drakulix/simplelog.rs/releases)
- [Changelog](https://github.com/Drakulix/simplelog.rs/blob/master/CHANGELOG.md)
- [Commits](Drakulix/simplelog.rs@v0.11.2...v0.12.0)

---
updated-dependencies:
- dependency-name: simplelog
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@anweiss anweiss force-pushed the dependabot/cargo/simplelog-0.12.0 branch from ca71e9d to 48ebd71 Compare June 26, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant