diff --git a/CHANGELOG.md b/CHANGELOG.md index c22c7f232b..356b9ede89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.12.1 + +**Fixes**: + +- PS5/Switch compilation regression (`sentry__process_spawn` signature change) ([#1436](https://github.com/getsentry/sentry-native/pull/1436)) + ## 0.12.0 **Breaking changes**: diff --git a/include/sentry.h b/include/sentry.h index bf5a7c15e8..7e69e01054 100644 --- a/include/sentry.h +++ b/include/sentry.h @@ -100,7 +100,7 @@ extern "C" { # endif #endif #ifndef SENTRY_SDK_VERSION -# define SENTRY_SDK_VERSION "0.12.0" +# define SENTRY_SDK_VERSION "0.12.1" #endif #define SENTRY_SDK_USER_AGENT SENTRY_SDK_NAME "/" SENTRY_SDK_VERSION diff --git a/ndk/gradle.properties b/ndk/gradle.properties index c3fbd657f3..c215d50825 100644 --- a/ndk/gradle.properties +++ b/ndk/gradle.properties @@ -7,7 +7,7 @@ org.gradle.parallel=true android.useAndroidX=true # Release information, used for maven publishing -versionName=0.12.0 +versionName=0.12.1 # disable renderscript, it's enabled by default android.defaults.buildfeatures.renderscript=false diff --git a/src/process/sentry_process_none.c b/src/process/sentry_process_none.c index c6c3f2d4c4..8f24d4b8c0 100644 --- a/src/process/sentry_process_none.c +++ b/src/process/sentry_process_none.c @@ -3,7 +3,7 @@ #include "sentry_core.h" void -sentry__process_spawn(const sentry_path_t *UNUSED(executable), - const sentry_pathchar_t *UNUSED(arg0), ...) +sentry__process_spawn( + const sentry_path_t *UNUSED(executable), const char *UNUSED(arg0), ...) { } diff --git a/tests/__init__.py b/tests/__init__.py index a613e188a4..9a25197ccf 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -15,7 +15,7 @@ # https://docs.pytest.org/en/latest/assert.html#assert-details pytest.register_assert_rewrite("tests.assertions") -SENTRY_VERSION = "0.12.0" +SENTRY_VERSION = "0.12.1" def make_dsn(httpserver, auth="uiaeosnrtdy", id=123456, proxy_host=False): diff --git a/tests/unit/test_basic.c b/tests/unit/test_basic.c index 095d59bd36..919a52616f 100644 --- a/tests/unit/test_basic.c +++ b/tests/unit/test_basic.c @@ -155,7 +155,8 @@ SENTRY_TEST(discarding_before_send) SENTRY_TEST(crash_marker) { // We don't use sentry_init() in this test so we must create a database dir - sentry_path_t *database_path = sentry__path_from_str(".sentry-native"); + sentry_path_t *database_path + = sentry__path_from_str(SENTRY_TEST_PATH_PREFIX ".sentry-native"); TEST_ASSERT(!!database_path); TEST_ASSERT(!sentry__path_create_dir_all(database_path)); @@ -305,6 +306,11 @@ SENTRY_TEST(capture_minidump_invalid_path) SENTRY_TEST(basic_transport_thread_name) { +#if defined(SENTRY_PLATFORM_NX) + // NX transport won't start without custom network_connect_func. + SKIP_TEST(); +#endif + const char *expected_thread_name = "sentry::worker_thread"; SENTRY_TEST_OPTIONS_NEW(options);