From 029594607dfaf758a53ab096af2f558dccd4af11 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Fri, 24 Apr 2020 16:00:28 +0200 Subject: [PATCH] release: 0.2.5 --- CHANGELOG.md | 5 +++++ examples/example.c | 2 +- include/sentry.h | 2 +- tests/assertions.py | 8 ++++---- tests/test_integration_http.py | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e0c8d799..4612047d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.2.5 + +- Send sessions to the correct sentry endpoint and make sure they work. +- Smaller cleanups. + ## 0.2.4 - Avoid unsafe reads in the linux module finder. diff --git a/examples/example.c b/examples/example.c index 2e992af17..5bc451ea4 100644 --- a/examples/example.c +++ b/examples/example.c @@ -38,7 +38,7 @@ main(int argc, char **argv) sentry_options_t *options = sentry_options_new(); sentry_options_set_database_path(options, ".sentry-native"); - sentry_options_set_environment(options, "Production"); + sentry_options_set_environment(options, "development"); sentry_options_set_release(options, "test-example-release"); if (has_arg(argc, argv, "log")) { diff --git a/include/sentry.h b/include/sentry.h index 9d3db10ca..47ea701b9 100644 --- a/include/sentry.h +++ b/include/sentry.h @@ -14,7 +14,7 @@ extern "C" { /* SDK Version */ #define SENTRY_SDK_NAME "sentry.native" -#define SENTRY_SDK_VERSION "0.2.4" +#define SENTRY_SDK_VERSION "0.2.5" #define SENTRY_SDK_USER_AGENT (SENTRY_SDK_NAME "/" SENTRY_SDK_VERSION) /* common platform detection */ diff --git a/tests/assertions.py b/tests/assertions.py index aae024ba4..b9acb5f22 100644 --- a/tests/assertions.py +++ b/tests/assertions.py @@ -15,7 +15,7 @@ def assert_session(envelope, extra_assertion=None): assert session["did"] == "42" assert session["attrs"] == { "release": "test-example-release", - "environment": "Production", + "environment": "development", } if extra_assertion: assert matches(session, extra_assertion) @@ -26,7 +26,7 @@ def assert_meta(envelope): expected = { "platform": "native", - "environment": "Production", + "environment": "development", "contexts": {"runtime": {"type": "runtime", "name": "testing-runtime"}}, "release": "test-example-release", "user": {"id": 42, "username": "some_name"}, @@ -35,9 +35,9 @@ def assert_meta(envelope): "extra": {"extra stuff": "some value", "…unicode key…": "őá…–🤮🚀¿ 한글 테스트"}, "sdk": { "name": "sentry.native", - "version": "0.2.4", + "version": "0.2.5", "packages": [ - {"name": "github:getsentry/sentry-native", "version": "0.2.4",}, + {"name": "github:getsentry/sentry-native", "version": "0.2.5"}, ], }, } diff --git a/tests/test_integration_http.py b/tests/test_integration_http.py index c3497e09c..a83cfa77f 100644 --- a/tests/test_integration_http.py +++ b/tests/test_integration_http.py @@ -19,7 +19,7 @@ pytest.skip("tests need http", allow_module_level=True) auth_header = ( - "Sentry sentry_key=uiaeosnrtdy, sentry_version=7, sentry_client=sentry.native/0.2.4" + "Sentry sentry_key=uiaeosnrtdy, sentry_version=7, sentry_client=sentry.native/0.2.5" )