From def600e8fc943a1a43eb51875e32c3f6b2a09f28 Mon Sep 17 00:00:00 2001 From: tmathern <60901087+tmathern@users.noreply.github.com> Date: Mon, 22 Jun 2026 12:37:25 -0700 Subject: [PATCH 1/2] chore: Bump to c2pa-rs v0.89.0 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ffa3ce..07f8545 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,10 +14,10 @@ cmake_minimum_required(VERSION 3.27) # This is the current version of this C++ project -project(c2pa-c VERSION 0.24.1) +project(c2pa-c VERSION 0.25.0) # Set the version of the c2pa_rs library used -set(C2PA_VERSION "0.88.0") +set(C2PA_VERSION "0.89.0") set(CMAKE_POLICY_DEFAULT_CMP0135 NEW) set(CMAKE_C_STANDARD 17) From 63d1c4a86531e56ea64cafa75bdfc9e0edb134d3 Mon Sep 17 00:00:00 2001 From: Tania Mathern Date: Mon, 22 Jun 2026 12:41:36 -0700 Subject: [PATCH 2/2] fix: Remove obsolete test --- tests/reader.test.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/reader.test.cpp b/tests/reader.test.cpp index 9ab8a4e..84081a9 100644 --- a/tests/reader.test.cpp +++ b/tests/reader.test.cpp @@ -474,20 +474,6 @@ TEST_F(ReaderTest, TruncatedFileReturnsError) c2pa::C2paException); } -TEST(ReaderErrorHandling, UnsupportedMimeTypeReturnsError) -{ - fs::path current_dir = fs::path(__FILE__).parent_path(); - fs::path test_file = current_dir / "../tests/fixtures/C.jpg"; - ASSERT_TRUE(std::filesystem::exists(test_file)) << "Test file does not exist: " << test_file; - std::ifstream stream(test_file, std::ios::binary); - ASSERT_TRUE(stream); - EXPECT_THROW( - { - c2pa::Reader reader("application/x-unsupported-c2pa-test", stream); - }, - c2pa::C2paException); -} - TEST(ReaderErrorHandling, EmptyStreamBehavesTheSameWithAndWithoutContext) { std::stringstream empty_stream1, empty_stream2;