Skip to content

Commit

Permalink
release: 0.3.0 (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem authored May 14, 2020
1 parent 7d24015 commit 3bfce2d
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 4 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Changelog

## 0.3.0

- Always send the newer `x-sentry-envelope` format, which makes this
incompatible with older on-premise installations.
- Better document and handle non-ASCII paths. Users on windows should use the
`w` version of the appropriate APIs.
- Avoid segfaults due to failed sentry initialization.
- Avoid creating invalid sessions without a `release`.
- Make `sentry_transport_t` opaque, and instead expose APIs to configure it.
More functionality related to creating custom transports will be exposed in
future versions.

### Breaking changes

- The `sentry_backend_free` function was removed.
- The `sentry_backend_t` type was removed.
- The `sentry_transport_t` type is now opaque. Use the following new API to
create a custom transport.

### New API

- `sentry_transport_new`
- `sentry_transport_set_state`
- `sentry_transport_set_free_func`
- `sentry_transport_set_startup_func`
- `sentry_transport_set_shutdown_func`

See `sentry.h` for more documentation.

### Deprecations

- `sentry_new_function_transport` has been deprecated in favor of the new
transport builder functions.

## 0.2.6

- Avoid crash with invalid crashpad handler path.
Expand Down
2 changes: 1 addition & 1 deletion include/sentry.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extern "C" {

/* SDK Version */
#define SENTRY_SDK_NAME "sentry.native"
#define SENTRY_SDK_VERSION "0.2.6"
#define SENTRY_SDK_VERSION "0.3.0"
#define SENTRY_SDK_USER_AGENT (SENTRY_SDK_NAME "/" SENTRY_SDK_VERSION)

/* common platform detection */
Expand Down
4 changes: 2 additions & 2 deletions tests/assertions.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ def assert_meta(envelope, release="test-example-release"):
"extra": {"extra stuff": "some value", "…unicode key…": "őá…–🤮🚀¿ 한글 테스트"},
"sdk": {
"name": "sentry.native",
"version": "0.2.6",
"version": "0.3.0",
"packages": [
{"name": "github:getsentry/sentry-native", "version": "0.2.6"},
{"name": "github:getsentry/sentry-native", "version": "0.3.0"},
],
},
}
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.6"
"Sentry sentry_key=uiaeosnrtdy, sentry_version=7, sentry_client=sentry.native/0.3.0"
)


Expand Down

0 comments on commit 3bfce2d

Please sign in to comment.