pypi logfire 2.0.0
v2.0.0

latest releases: 4.33.0, 4.32.1, 4.32.0...
18 months ago
  • BREAKING CHANGES caused by @logfire.instrument() no longer needing source code by @alexmojaki in #543:
    • Decorated async generator functions won't support the .asend method properly - the generator will only receive None. But instrument shouldn'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_trace anywhere on functions you want to exclude, especially the instrumented function.

Don't miss a new logfire release

NewReleases is sending notifications on new releases.