You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,19 @@
1
1
# Release Notes
2
2
3
+
## [v0.51.0] (2024-08-22)
4
+
5
+
### BREAKING CHANGES
6
+
7
+
***System metrics are no longer collected by default** when the correct dependency is installed. Use [`logfire.instrument_system_metrics()`](https://docs.pydantic.dev/logfire/integrations/system_metrics/) to enable system metrics collection. **If you are simply using the old 'Basic System Metrics' dashboard, then no further code changes are required, but that dashboard will no longer work properly and you should create a new dashboard from the template named 'Basic System Metrics (Logfire)'**. If you were using other collected metrics, see the documentation for how to collect those. By @alexmojaki in https://github.com/pydantic/logfire/pull/373
8
+
* Stop collecting package versions by @alexmojaki in https://github.com/pydantic/logfire/pull/387
9
+
* Don't auto-trace generators by @alexmojaki in https://github.com/pydantic/logfire/pull/386
10
+
* Disable ASGI send/receive spans by default by @alexmojaki in https://github.com/pydantic/logfire/pull/371
11
+
12
+
### Other fixes
13
+
14
+
* Add py.typed file to logfire-api by @jackmpcollins in https://github.com/pydantic/logfire/pull/379
15
+
* Check `LambdaRuntimeClient` before logging tracebacks in `_ensure_flush_after_aws_lambda` by @alexmojaki in https://github.com/pydantic/logfire/pull/388
16
+
3
17
## [v0.50.1] (2024-08-06)
4
18
5
19
(Previously released as `v0.50.0`, then yanked due to https://github.com/pydantic/logfire/issues/367)
@@ -252,6 +266,7 @@ First release from new repo!
252
266
* Ensure `logfire.testing` doesn't depend on pydantic and eval_type_backport by @alexmojaki in https://github.com/pydantic/logfire/pull/40
253
267
* Allow using pydantic plugin with models defined before calling logfire.configure by @alexmojaki in https://github.com/pydantic/logfire/pull/36
`LOGFIRE_CONFIG_DIR` environment variable, otherwise defaults to the current working directory.
81
84
data_dir: Directory to store credentials, and logs. If `None` uses the `LOGFIRE_CREDENTIALS_DIR` environment variable, otherwise defaults to `'.logfire'`.
82
85
base_url: Root URL for the Logfire API. If `None` uses the `LOGFIRE_BASE_URL` environment variable, otherwise defaults to https://logfire-api.pydantic.dev.
83
-
collect_system_metrics: Legacy argument, use `logfire.instrument_system_metrics()` instead.
86
+
collect_system_metrics: Legacy argument, use [`logfire.instrument_system_metrics()`](https://docs.pydantic.dev/logfire/integrations/system_metrics/) instead.
84
87
id_generator: Generator for span IDs. Defaults to `RandomIdGenerator()` from the OpenTelemetry SDK.
85
88
ns_timestamp_generator: Generator for nanosecond timestamps. Defaults to [`time.time_ns`][time.time_ns] from the
0 commit comments