Skip to content

Update Rust crate config to 0.15 #16

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 9, 2021

This PR contains the following updates:

Package Type Update Change
config dependencies minor 0.11 -> 0.15

Release Notes

rust-cli/config-rs (config)

v0.15.0

Compare Source

Compatibility
  • ConfigError is no longer exhaustive
  • ConfigError::Parses type changed
  • FileFormat is no longer exhaustive
  • Deprecated functions removed
  • Case insensitivity from 0.14.0 was reverted
Fixes
  • Struct fields, variants, and lookup paths with uppercase letters can be used again (regression from 0.14.0)

v0.14.1

Compare Source

Compatibility
  • MSRV is now 1.75
Internal
  • Remove dependency on lazy_static
  • Update rust-ini from 0.19 to 0.20
  • Switch from yaml-rust to yaml-rust2

v0.14.0

Compare Source

This is a maintenance release, mostly to get some dependency updates out, but
also with some fixes and changes that have piled up over a rather long time.

Features
  • #​100 Fix #​99: expose file::source::FileSource
  • #​318 Add Value::origin()
  • #​379 Add clone to builder state types
  • #​381 env: add a 'convert_case' field to ease dealing with kebab-case
  • #​402 Gate async-traits behind a feature
  • #​413 Attach key to type error generated from Config::get_()
  • #​480 Hide and deprecate AsyncConfigBuilder
Fixes
  • #​306 fix: dot in config name
  • #​334 errors: clarify names of integer types
  • #​343 fix yaml to parse int keys
  • #​353 Use TryInto for more permissive deserialization for integers
  • #​354 Fix uppercase lowercase issues
  • #​374 Fix FIXME in de.rs and value.rs
  • #​395 Fix: Do not use deprecated function
  • #​429 Make the parse list key to lowercase when insert the keys
  • #​465 Fix nested arrays (by reworking array handling)
  • #​481 Fix docs warnings
Dependency updates
  • #​271 Update warp requirement from =0.3.1 to =0.3.2
  • #​316 test: Adopt test-env to fix random test failure
  • #​335 Update MSRV: 1.56.0 -> 1.56.1
  • #​350 Bump actions/checkout from 2.4.0 to 3.0.2
  • #​367 Update ron requirement from 0.7 to 0.8
  • #​373 Update notify (4.0.0 -> 5.0.0)
  • #​375 Update temp-env requirement from 0.2.0 to 0.3.0
  • #​378 Update warp requirement from =0.3.2 to =0.3.3
  • #​382 Bump actions/checkout from 3.0.2 to 3.1.0
  • #​389 Update MSRV: 1.56.1 -> 1.59.0
  • #​403 Bump actions/checkout from 3.1.0 to 3.2.0
  • #​411 Bump actions/checkout from 3.2.0 to 3.3.0
  • #​420 Update MSRV: 1.59.0 -> 1.60.0
  • #​421 Update toml requirement from 0.5 to 0.7
  • #​422 Update MSRV in cron workflow
  • #​425 Bump actions/checkout from 3.3.0 to 3.4.0
  • #​426 Update MSRV: 1.60.0 -> 1.64.0
  • #​427 Bump actions/checkout from 3.4.0 to 3.5.0
  • #​430 Update warp requirement from =0.3.3 to =0.3.4
  • #​433 Bump actions/checkout from 3.5.0 to 3.5.1
  • #​434 Bump actions/checkout from 3.5.1 to 3.5.2
  • #​436 Update warp requirement from =0.3.4 to =0.3.5
  • #​437 Update rust-ini requirement from 0.18 to 0.19
  • #​438 Update notify requirement from ^5.0.0 to ^6.0.0
  • #​440 Bump actions/checkout from 3.5.2 to 3.5.3
  • #​441 Update indexmap requirement from 1.7.0 to 2.0.0
  • #​451 Bump actions/checkout from 3.5.3 to 3.6.0
  • #​453 Bump actions/checkout from 3.6.0 to 4.0.0
  • #​455 MSRV: 1.64.0 -> 1.66.0
  • #​456 Update toml requirement from 0.7 to 0.8
  • #​458 Update MSRV in cron job
  • #​459 Bump actions/checkout from 4.0.0 to 4.1.0
  • #​462 Update warp requirement from =0.3.5 to =0.3.6
  • #​477 Bump actions/checkout from 4.1.0 to 4.1.1
  • #​483 Update MSRV: 1.66.0 -> 1.70.0
  • #​503 Bump actions/setup-python from 4 to 5
Misc
  • #​188 Add test for log::Level deserialization
  • #​274 move 'must_use' attribute to struct for 'builder' types
  • #​283 Add cron job
  • #​299 docs(builder): fix typo in doc comment
  • #​344 Fix clippy: Derive Eq as well
  • #​347 Fix clippy: use first() instead of get(0)
  • #​348 actions: Remove "minimal" setting, as workflow does not support this key
  • #​356 refactoring deserialize-any in config
  • #​359 Add test to deserialize unsigned int
  • #​360 Duplicate test for type conversion with unsigned int
  • #​362 Run clippy only on MSRV
  • #​363 Backport CHANGELOG entry for 0.13.2
  • #​388 Add documentation to File required setter
  • #​392 Add simple example using lazy_static
  • #​393 More clippy fixes
  • #​396 Replace actions rs
  • #​401 Backport changelog
  • #​404 Replace fixupmerge with gitlint
  • #​406 Fix clippy: Remove unnecessary cast
  • #​410 Copy member docs to builder functions
  • #​416 Replace actions-rs with run scripts
  • #​423 Fix clippy: Remove needless borrowed reference
  • #​445 Update license field following SPDX 2.1 license expression standard
  • #​460 Use weak features for preserve_order
  • #​469 chore: Use a common method in parsers to check root is a table
  • #​471 Clippy exact toolchains
  • #​479 docs: Example for conditionally loading sources
  • #​485 Add DCO
  • #​488 Unify deser impl (redux)
  • #​489 deserialize: strings: Introduce string_serialize_via_display macro
  • #​507 Check external types
  • #​511 Fix: cargo-check-external-types must use nightly 2023-10-10

v0.13.4

Compare Source

v0.13.3

Compare Source

Please note that we had to update the MSRV for this crate from 1.56.0 to 1.59.0
for this patch release being possible, because a transitive dependency did
update its MSRV.

v0.13.2

Compare Source

  • Backport of #​316 to be testing with temp_env. The backport was necessary to
    be able to backport the next change. This change shouldn't be user-visible.
  • Backport of #​353 to use TryInto for more permissive deserialization of
    integers
  • Backport of commit 518a3cafa1e62ba7405709e5c508247e328e0a18 from #​362 to
    fix tests

v0.13.1

Compare Source

  • typo in doc comment for ConfigBuilder #​299
  • dot in config file name handling fixed #​306

v0.13.0

Compare Source

  • Prefix-Separator support was added #​292
  • Environment lists can now be parsed #​255
  • Setting an overwrite from an Option was added #​303
  • Option to keep the prefix from an environment variable was added #​298
  • Some small doc/CI fixes #​307, #​309
  • MSRV was updated to 1.56.0 #​304
  • Dependencies were updated #​289, #​301

v0.12.0

Compare Source

Format support changes in this version
Other noteworthy changes
  • A new ConfigBuilder interface for building configuration objects #​196
  • Asynchronous sources #​207
  • Custom ENV separators are now supported #​185
  • Loads of dependency updates and bugfixes of course
  • Preserved map order #​217
  • Support for parsing numbers from the environment #​137
  • Support for unsigned integers #​178
  • Format trait for (custom) file formats #​219
Deprecated
  • Environment::new() - see #​235
  • Large parts of the Config interface - see #​196
    • Config::merge()
    • Config::with_merged()
    • Config::refresh()
    • Config::set_default()
    • Config::set()
    • Config::set_once()
    • Config::deserialize()

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/config-0.x branch 2 times, most recently from ec6ca2a to b106efb Compare December 4, 2021 09:36
codehearts
codehearts previously approved these changes Dec 4, 2021
codehearts
codehearts previously approved these changes Dec 4, 2021
@codecov
Copy link

codecov bot commented Dec 10, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.16%. Comparing base (09c1686) to head (b106efb).
Report is 1 commits behind head on master.

❗ Current head b106efb differs from pull request most recent head eb45e97. Consider uploading reports for the commit eb45e97 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   92.40%   96.16%   +3.76%     
==========================================
  Files          22       27       +5     
  Lines         408     1199     +791     
==========================================
+ Hits          377     1153     +776     
- Misses         31       46      +15     

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

@renovate renovate bot force-pushed the renovate/config-0.x branch from b7176f3 to 20c73c5 Compare March 7, 2022 10:38
@renovate renovate bot changed the title Update Rust crate config to 0.11 Update Rust crate config to 0.12 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/config-0.x branch from 20c73c5 to 6db6f8a Compare April 24, 2022 19:37
@renovate renovate bot changed the title Update Rust crate config to 0.12 Update Rust crate config to 0.13 Apr 24, 2022
@renovate renovate bot force-pushed the renovate/config-0.x branch from 6db6f8a to ab6dabc Compare June 3, 2022 21:34
@renovate renovate bot force-pushed the renovate/config-0.x branch 4 times, most recently from b983de8 to dc3f96c Compare October 14, 2022 03:01
codehearts
codehearts previously approved these changes Oct 14, 2022
@renovate renovate bot force-pushed the renovate/config-0.x branch from dc3f96c to 646feee Compare October 19, 2022 19:34
@renovate renovate bot force-pushed the renovate/config-0.x branch from 646feee to 66dffe9 Compare February 3, 2023 19:33
@renovate renovate bot force-pushed the renovate/config-0.x branch from 66dffe9 to 7ff4526 Compare March 15, 2023 16:42
@renovate renovate bot force-pushed the renovate/config-0.x branch from 7ff4526 to 7547876 Compare February 1, 2024 17:49
@renovate renovate bot changed the title Update Rust crate config to 0.13 Update Rust crate config to 0.14 Feb 1, 2024
@renovate renovate bot force-pushed the renovate/config-0.x branch from 7547876 to 08a3859 Compare May 1, 2024 10:05
@renovate renovate bot changed the title Update Rust crate config to 0.14 Update Rust crate config to 0.14.0 May 1, 2024
@renovate renovate bot changed the title Update Rust crate config to 0.14.0 Update Rust crate config to 0.14 May 5, 2024
@renovate renovate bot force-pushed the renovate/config-0.x branch from 08a3859 to eb45e97 Compare May 5, 2024 10:17
@renovate renovate bot force-pushed the renovate/config-0.x branch from eb45e97 to 5b7536e Compare December 17, 2024 23:30
@renovate renovate bot changed the title Update Rust crate config to 0.14 Update Rust crate config to 0.15 Dec 17, 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.

1 participant