Skip to content

Commit

Permalink
release: 0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Apr 27, 2020
1 parent 1ab1fe3 commit 0295946
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down
2 changes: 1 addition & 1 deletion include/sentry.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
8 changes: 4 additions & 4 deletions tests/assertions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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"},
Expand All @@ -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"},
],
},
}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_integration_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)


Expand Down

0 comments on commit 0295946

Please sign in to comment.