- BREAKING CHANGES caused by
@logfire.instrument()no longer needing source code by @alexmojaki in #543:- Decorated async generator functions won't support the
.asendmethod properly - the generator will only receiveNone. Butinstrumentshouldn't be used on generators anyway unless the generator is being used as a context manager, so new warnings about this have been added. See https://logfire.pydantic.dev/docs/guides/advanced/generators/#using-logfireinstrument - Functions decorated with
@logfire.instrument()and functions nested within them can now be auto-traced unlike before. Use@logfire.no_auto_traceanywhere on functions you want to exclude, especially the instrumented function.
- Decorated async generator functions won't support the