Skip to content

chore(deps): bump orion-error from 0.6.3 to 0.7.2#131

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

chore(deps): bump orion-error from 0.6.3 to 0.7.2#131
dependabot[bot] wants to merge 1 commit into
betafrom
dependabot/cargo/beta/orion-error-0.7.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps orion-error from 0.6.3 to 0.7.2.

Release notes

Sourced from orion-error's releases.

v0.7.2

Full Changelog: galaxio-labs/orion-error@v0.7.1...v0.7.2

v0.7.1

What's Changed

Full Changelog: galaxio-labs/orion-error@v0.7.0...v0.7.1

v0.7.0

Full Changelog: galaxio-labs/orion-error@v0.6.3...v0.7.0

Changelog

Sourced from orion-error's changelog.

0.7.2

本版是 identity-first 架构收口:将 identity 从诊断层解耦到 exposure 层,清除 ErrorCode 在主路径上的残留 bound。

Added

  • ErrorProtocolSnapshot::from_report(report, identity, policy) — 从 DiagnosticReport 进入 protocol 层的 canonical 入口
  • Visibility::as_str() — 稳定 lowercase 输出

Changed

  • DiagnosticReport 移除 identity 数据
    • 删除 category / code 字段(只保留诊断字段)
    • 删除整组 exposure bridge 方法(exposure_identity / http_status / visibility / default_hints / decision / exposure_snapshot / to_exposure_snapshot_json
    • render() / render_compact() / redacted() / render_redacted() 保留
  • StructError<T>::report() / into_report() — 只要求 DomainReason(不再需要 ErrorIdentityProvider
  • From<StructError<T>> for DiagnosticReport — 降为 DomainReason-only
  • StableErrorSnapshot.category / .code — 添加 #[serde(skip)],不在 v2 稳定导出中出现
  • 四个 JSON projectioncategory / visibility 改用 as_str() 输出稳定小写字符串("biz" / "sys" / "public" / "internal"),不再使用 Rust Debug 格式
  • exposure_snapshot().to_json() — 改用手动 JSON 构造,与其余四个 projection 一致

Removed

  • DiagnosticReport::category / DiagnosticReport::code 字段
  • DiagnosticReport 上的 exposure bridge 方法
  • ErrorCode bound 从以下路径移除(DomainReason 已足够):
    • IntoSourcePayload for StructError<R>
    • with_struct_source()
    • wrap() / WrapStructErrorAs / ErrorWrapAs
    • into_std() / into_boxed_std() / as_std()
    • OwnedStdStructError::into_boxed()

Fixed

  • DiagnosticReport::exposure_identity() 不再构造启发式 "report.unclassified",改用真正的 stable_code()
  • display_chain() 不再要求 ErrorCode
  • collect_struct_error_source_frames() 不再要求 ErrorCode(compat error_code 字段只在 OwnedDynStdStructError::from 显式设置)
  • print_error() 不再要求 ErrorCode bound,只需 DomainReason

Docs

  • 新增 crate 级决策流程图(src/lib.rs),从"我有一个错误"到"我该怎么处理"的 5 条路径
  • report()render()StructError)、exposure_snapshot()render()DiagnosticReport)各增加可运行的 doc-example
  • cli.rs::print_error 的 doc-test 从 ignore 改为可运行

0.7.1

依赖更新与文档清理。

Added

... (truncated)

Commits
  • f66a2a6 docs: add crate-level decision flow diagram and runnable doc-tests
  • a2fdf72 chore: add 0.7.1 and 0.7.2 changelog entries
  • 7e2e876 docs: update report-exposure-boundary.md to reflect removal of DiagnosticRepo...
  • e6e85d7 refactor: remove category/code from DiagnosticReport, drop exposure bridge (#42)
  • 3110ae6 fix: unify exposure JSON semantics and remove stale ErrorCode bounds (#42)
  • af63628 fix: use stable as_str() in JSON projections; skip new fields in StableErrorS...
  • ddefd54 refactor: remove ErrorCode bound from structured source bridge
  • f592144 fix: thread stable code through snapshot chain to eliminate heuristic identity
  • b7791d8 refactor: converge Render/Report layer, clean up source payload, and fix iden...
  • 80a02f1 fix ver
  • Additional commits viewable in compare view

@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.

Bumps [orion-error](https://github.com/galaxio-labs/orion-error) from 0.6.3 to 0.7.2.
- [Release notes](https://github.com/galaxio-labs/orion-error/releases)
- [Changelog](https://github.com/galaxio-labs/orion-error/blob/main/CHANGELOG.md)
- [Commits](galaxio-labs/orion-error@v0.6.3...v0.7.2)

---
updated-dependencies:
- dependency-name: orion-error
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump orion-error from 0.6.1 to 0.7.1 chore(deps): bump orion-error from 0.6.3 to 0.7.2 Apr 30, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/beta/orion-error-0.7.1 branch from e16c528 to d23f044 Compare April 30, 2026 10:32
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