Skip to content

Commit b4fd0db

Browse files
authored
Prepare 4.8.0 (#1746)
1 parent 9af5037 commit b4fd0db

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# CHANGELOG
22

3+
## 4.8.0
4+
5+
The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.8.0.
6+
7+
### Features
8+
9+
- Add timing span when emiting a timing metric [(#1717)](https://github.com/getsentry/sentry-php/pull/1717)
10+
11+
```php
12+
use function Sentry\metrics;
13+
14+
// This will now both emit a distribution metric and a span with the "expensive-operation" key
15+
metrics()->timing(
16+
key: 'expensive-operation',
17+
callback: fn() => doExpensiveOperation(),
18+
);
19+
```
20+
21+
### Bug Fixes
22+
23+
- Fix missing data on HTTP spans [(#1735)](https://github.com/getsentry/sentry-php/pull/1735)
24+
- Test span sampled status before creating child spans [(#1740)](https://github.com/getsentry/sentry-php/pull/1740)
25+
26+
### Misc
27+
28+
- Implement fast path for ignoring errors [(#1737)](https://github.com/getsentry/sentry-php/pull/1737)
29+
- Add array shape for better autocomplete of `Sentry\init` function [(#1738)](https://github.com/getsentry/sentry-php/pull/1738)
30+
- Represent callable strings as strings [(#1741)](https://github.com/getsentry/sentry-php/pull/1741)
31+
- Use `AWS_LAMBDA_FUNCTION_VERSION` environment variable for release if available [(#1742)](https://github.com/getsentry/sentry-php/pull/1742)
32+
333
## 4.7.0
434

535
The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.7.0.

0 commit comments

Comments
 (0)