Skip to content

Conversation

@joncinque
Copy link
Collaborator

Problem

As part of the breaking change to unite pinocchio's program error with the sdk's program error in #12, we are introducing a new ToStr trait that doesn't rely on any particular logging.

To go with that, we want to deprecate PrintProgramError.

Summary of changes

Before landing the breaking change, let's deprecate PrintProgramError properly and add ToStr as an alternative for downstream users.

Once this lands, we'll do the patch release with the deprecation, then we can finally land #12.

cc @kevinheavey

#### Problem

As part of the breaking change to unite pinocchio's program error with
the sdk's program error in anza-xyz#12, we are introducing a new `ToStr` trait
that doesn't rely on any particular logging.

To go with that, we want to deprecate `PrintProgramError`.

#### Summary of changes

Before landing the breaking change, let's deprecate `PrintProgramError`
properly and add `ToStr` as an alternative for downstream users.

Once this lands, we'll do the patch release with the deprecation, then
we can finally land anza-xyz#12.
Copy link
Contributor

@febo febo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@joncinque joncinque merged commit 1971070 into anza-xyz:master Mar 28, 2025
20 checks passed
@joncinque joncinque deleted the depppe branch March 28, 2025 21:55
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.

2 participants