Skip to content

fix: Add a getter for Builder base path - #2208

Merged
tmathern merged 1 commit into
gpeacock/remove_deprecated_apis_1from
mathern/remove_deprecated_apis_1_follow_up
Jun 8, 2026
Merged

fix: Add a getter for Builder base path#2208
tmathern merged 1 commit into
gpeacock/remove_deprecated_apis_1from
mathern/remove_deprecated_apis_1_follow_up

Conversation

@tmathern

@tmathern tmathern commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Changes in this pull request

As in title, targets #2206

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

@tmathern tmathern self-assigned this Jun 4, 2026
@tmathern
tmathern requested a review from gpeacock June 4, 2026 17:34
@tmathern
tmathern merged commit cfedcb1 into gpeacock/remove_deprecated_apis_1 Jun 8, 2026
10 checks passed
@tmathern
tmathern deleted the mathern/remove_deprecated_apis_1_follow_up branch June 8, 2026 14:39
tmathern added a commit that referenced this pull request Jun 11, 2026
* Remove deprecated file-based Ingredient APIs and legacy C FFI functions

- Remove Ingredient::from_file, from_file_with_folder, from_file_with_options,
  from_file_impl, from_memory, set_memory_thumbnail, IngredientOptions trait,
  and DefaultOptions struct
- Remove deprecated C FFI functions c2pa_read_file, c2pa_read_ingredient_file,
  c2pa_sign_file and the json_api module they depended on
- Update CLI --ingredient flag to use Builder::add_ingredient_from_stream with
  explicit resource writing instead of Ingredient::from_file_with_folder
- Update cli/src/info.rs to use Builder::add_ingredient_from_stream instead of
  deprecated from_file_with_options
- Make Ingredient::with_base_path and Builder base_path/intent fields private
- Update client.rs example to use BuilderIntent::Edit instead of manual parent
  ingredient setup
- Fix org.cai.ingredientIds -> ingredientIds in identity test fixture

* chore: intent() method cleanup

* fix: Add a getter for Builder base path (#2208)

fix: Add a getter

* fix: Test flakyness

* fix: test update

* fix: test update

* fix: Improve code coverage to make codecov happy

* fix: Missing codecov cli upload

* fix: Revert codecov change

---------

Co-authored-by: tmathern <60901087+tmathern@users.noreply.github.com>
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