Skip to content

chore(deps): bump orion-variate from 0.11.2 to 0.12.0#288

Open
dependabot[bot] wants to merge 1 commit into
betafrom
dependabot/cargo/beta/orion-variate-0.12.0
Open

chore(deps): bump orion-variate from 0.11.2 to 0.12.0#288
dependabot[bot] wants to merge 1 commit into
betafrom
dependabot/cargo/beta/orion-variate-0.12.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Bumps orion-variate from 0.11.2 to 0.12.0.

Release notes

Sourced from orion-variate's releases.

v0.12.0

What's Changed

Full Changelog: galaxio-labs/orion-variate@v0.11.1...v0.12.0

Changelog

Sourced from orion-variate's changelog.

[0.12.0] - 2026-04-24

Changed

  • 升级 orion-error 依赖从 0.60.7
  • VarsReason 现在显式实现 DomainReason,以适配 orion-error 0.7StructError<R> 约束
  • 旧的 owe* 兼容导入切换到 orion_error::compat_traits::*
  • 测试中的 TestAssert 导入切换到 orion_error::testcase::TestAssert

Fixed

  • 修复 orion-error 0.7 升级后 orion-variate 的编译失败问题
  • 修复 setup_start_env_vars()ValueType::update_from_str() 中因旧版错误 trait 导入路径失效导致的调用错误
  • 将弃用的上下文 API 从 want() / with() 迁移到 doing() / with_context(),消除 orion-error 0.7 相关 warning
  • 验证 cargo test 全量通过,包括 116 个单元测试和 1 个 doctest

[0.10.8] - 2026-01-11

Fixed

  • Critical bug fix: Fixed env_eval incorrectly parsing environment variable values containing :// (e.g., URLs, database connection strings)
    • The parser previously treated any : as a default value separator, even when it appeared outside the ${} syntax
    • This caused incorrect replacement when variable values contained protocols like postgresql://, https://, etc.
    • Example of the bug:
      let mut dict = EnvDict::new();
      dict.insert("DB_URL", "postgresql://localhost/mydb");
      "${DB_URL}".env_eval(&dict); // Was broken, now fixed
    • The fix ensures : is only treated as a separator when it appears within the ${} brackets
    • Added comprehensive tests to prevent regression

Added

  • New test case test_url_with_protocol for verifying URL handling in environment variable values
  • New test case test_url_with_protocol_complex for testing multiple variables with URL values
  • Example program examples/test_multiline_json.rs demonstrating JSON configuration with URL environment variables

[0.10.7] - 2026-01-11

Added

  • 新增 EnvChecker trait,用于环境变量检查与提取
    • needs_env_eval(&self) -> bool - 检查是否包含环境变量占位符(如 ${VAR}
    • list_env_vars(&self) -> Vec<String> - 提取所有环境变量名称
  • 为以下类型实现 EnvChecker trait:
    • String&str - 直接检查和提取
    • Option<String>Option<&str> - 递归处理 Some 值
    • ValueType - 智能递归处理所有变体(String、Obj、List)
  • 新增 extract_env_var_names() 公共辅助函数,从字符串中提取环境变量名

... (truncated)

Commits

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 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)

Bumps [orion-variate](https://github.com/galaxio-labs/orion-variate) from 0.11.2 to 0.12.0.
- [Release notes](https://github.com/galaxio-labs/orion-variate/releases)
- [Changelog](https://github.com/galaxio-labs/orion-variate/blob/main/CHANGELOG.md)
- [Commits](galaxio-labs/orion-variate@v0.11.2...v0.12.0)

---
updated-dependencies:
- dependency-name: orion-variate
  dependency-version: 0.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 27, 2026

Labels

The following labels could not be found: beta, 📦 dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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.

0 participants