Skip to content

Releases: apache/skywalking-python

v1.3.0

Choose a tag to compare

@kezhenxu94 kezhenxu94 released this 14 Aug 07:49
1bd4692

What's Changed

  • chore(ci): remove changelog checkbox in pull request template by @shenxiangzhuang in #372
  • chore: fix Makefile not work in Linux and non-interactive mode by @kezhenxu94 in #373
  • fix(plugin): add exec_module to execute the module code by @shenxiangzhuang in #377
  • Fix: kafka image in docker-compose demo by @zth9 in #380
  • fix: pin packaging dep to 25 by @kezhenxu94 in #383
  • infra: update markdown lint check by @kevinjqliu in #382
  • feat: support Python 3.10-3.14, drop 3.8/3.9, update plugin compatibility by @wu-sheng in #386
  • feat(plugin): add urllib3 2.x support for Python 3.12+ by @wu-sheng in #387
  • feat: re-enable aiohttp/psycopg2 and add falcon v3/sanic v2 plugins by @wu-sheng in #389
  • fix: support module-level @Runnable with continue_tracing() by @wu-sheng in #391
  • fix(ci): unblock CI — approved paths-filter pin + happybase test flake by @wu-sheng in #405
  • perf(demo): set a timeout on flask consumer fork HTTP calls by @basheer-cloud in #388
  • fix(ci): pin docker/* actions to ASF-approved SHAs in publish-docker by @wu-sheng in #406
  • fix: gRPC fork safety for Gunicorn prefork (grpcio >= 1.83), sw_grpc aio compatibility, websockets >= 13 support by @wu-sheng in #409
  • chore(test): upgrade the mock collector and drop the sw_fork_support seed workaround by @wu-sheng in #410
  • chore: install linters in make env, exclude *.txt from the license check by @kezhenxu94 in #412

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

Choose a tag to compare

@kezhenxu94 kezhenxu94 released this 11 May 02:55
1f091ee

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

Choose a tag to compare

@kezhenxu94 kezhenxu94 released this 17 Jul 08:42
28602ae

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

1.0.1

Choose a tag to compare

@Superskyyy Superskyyy released this 29 Apr 19:03
4717e1b

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.1

1.0.0

Choose a tag to compare

@Superskyyy Superskyyy released this 23 Feb 02:39
6f745cd

PyPI Wheel: https://pypi.org/project/apache-skywalking/1.0.0/

DockerHub Image: https://hub.docker.com/r/apache/skywalking-python

What's Changed

  • Important Notes and Breaking Changes:

    • BREAKING: Python 3.6 is no longer supported and may not function properly, Python 3.11 support is added and tested.
    • BREAKING: A number of common configuration options and environment variables are renamed to follow the convention of Java agent,
      please check with the latest official documentation before upgrading. (#273, #282)
      https://skywalking.apache.org/docs/skywalking-python/v1.0.0/en/setup/configuration/
    • BREAKING: All agent core capabilities are now covered by test cases and enabled by default (Trace, Log, PVM runtime metrics, Profiler)
    • BREAKING: DockerHub Python agent images since v1.0.0 will no longer include the run part in ENTRYPOINT ["sw-python", "run"],
      user should prefix their command with [-d/--debug] run [-p/--prefork] <Command> for extra flexibility.
    • Packaged wheel now provides a extra [all] option to support all three report protocols
  • Feature:

    • Add support for Python 3.11 (#285)
    • Add MeterReportService (gRPC, Kafka reporter) (default:enabled) (#231, #236, #241, #243)
    • Add reporter for PVM runtime metrics (default:enabled) (#238, #247)
    • Add Greenlet profiler (#246)
    • Add test and support for Python Slim base images (#249)
    • Add support for the tags of Virtual Cache for Redis (#263)
    • Add a new configuration kafka_namespace to prefix the kafka topic names (#277)
    • Add log reporter support for loguru (#276)
    • Add experimental support for explicit os.fork(), restarts agent in forked process (#286)
    • Add experimental sw-python CLI sw-python run [-p] flag (-p/--prefork) to enable non-intrusive uWSGI and Gunicorn postfork support (#288)
  • Plugins:

    • Add aioredis, aiormq, amqp, asyncpg, aio-pika, kombu RMQ plugins (#230 Missing test coverage)
    • Add Confluent Kafka plugin (#233 Missing test coverage)
    • Add HBase plugin Python HappyBase model (#266)
    • Add FastAPI plugin websocket protocol support (#269)
    • Add Websockets (client) plugin (#269)
    • Add HTTPX plugin (#283)
  • Fixes:

    • Allow RabbitMQ BlockingChannel.basic_consume() to link with outgoing spans (#224)
    • Fix RabbitMQ basic_get bug (#225, #226)
    • Fix case when tornado socket name is None (#227)
    • Fix misspelled text "PostgreSLQ" -> "PostgreSQL" in Postgres-related plugins (#234)
    • Make sure span.component initialized as Unknown rather than 0 (#242)
    • Ignore websocket connections inside fastapi temporarily (#244, issue#9724)
    • Fix Kafka-python plugin SkyWalking self reporter ignore condition (#249)
    • Add primary endpoint in tracing context and endpoint info to log reporter (#261)
    • Enforce tag class type conversion (#262)
    • Fix sw_logging (log reporter) potentially throw exception leading to traceback confusion (#267)
    • Avoid reporting meaningless tracecontext with logs when there's no active span, UI will now show empty traceID (#272)
    • Fix exception handler in profile_context (#273)
    • Add namespace suffix to service name (#275)
    • Add periodical instance property report to prevent data loss (#279)
    • Fix sw_logging when Logger.disabled is true (#281)
  • Docs:

    • New documentation on how to test locally (#222)
    • New documentation on the newly added meter reporter feature (#240)
    • New documentation on the newly added greenlet profiler and the original threading profiler (#250)
    • Overhaul documentation on development setup and testing (#249)
    • Add tables to state currently supported features of Python agent. (#271)
    • New configuration documentation generator (#273)
  • Others:

    • Pin CI SkyWalking License Eye (#221)
    • Fix dead link due to the 'next' url change (#235)
    • Pin CI SkyWalking Infra-E2E (#251)
    • Sync OAP, SWCTL versions in E2E and fix test cases (#249)
    • Overhaul development flow with Poetry (#249)
    • Fix grpcio-tools generated message type (#253)
    • Switch plugin tests to use slim Python images (#268)
    • Add unit tests to sw_filters (#269)

New Contributors

Full Changelog: v0.8.0...v1.0.0

0.8.0

Choose a tag to compare

@kezhenxu94 kezhenxu94 released this 10 Jul 02:20
5c0b30f

What's Changed

New Contributors

Full Changelog: v0.7.0...v0.8.0

0.7.0

Choose a tag to compare

@kezhenxu94 kezhenxu94 released this 13 Sep 03:05
c847900
  • Feature:

    • Support collecting and reporting logs to backend (#147)
    • Support profiling Python method level performance (#127
    • Add a new sw-python CLI that enables agent non-intrusive integration (#156)
    • Add exponential reconnection backoff strategy when OAP is down (#157)
    • Support ignoring traces by http method (#143)
    • NoopSpan on queue full, propagation downstream (#141)
    • Support agent namespace. (#126)
    • Support secure connection option for GRPC and HTTP (#134)
  • Plugins:

    • Add Falcon Plugin (#146)
    • Update sw_pymongo.py to be compatible with cluster mode (#150)
    • Add Python celery plugin (#125)
    • Support tornado5+ and tornado6+ (#119)
  • Fixes:

    • Remove HTTP basic auth credentials from log, stacktrace, segment (#152)
    • Fix @trace decorator not work (#136)
    • Fix grpc disconnect, add SW_AGENT_MAX_BUFFER_SIZE to control buffer queue size (#138)
  • Others:

    • Chore: bump up requests version to avoid license issue (#142)
    • Fix module wrapt as normal install dependency (#123)
    • Explicit component inheritance (#132)
    • Provide dockerfile & images for easy integration in containerized scenarios (#159)

0.6.0

Choose a tag to compare

@kezhenxu94 kezhenxu94 released this 31 Mar 14:06
befbae2
  • Fixes:
    • Segment data loss when gRPC timing out. (#116)
    • sw_tornado plugin async handler status set correctly. (#115)
    • sw_pymysql error when connection haven't db. (#113)

0.5.0

Choose a tag to compare

@wu-sheng wu-sheng released this 31 Dec 00:53
3947a6c
  • New plugins

    • Pyramid Plugin (#102)
    • AioHttp Plugin (#101)
    • Sanic Plugin (#91)
  • API and enhancements

    • @trace decorator supports async functions
    • Supports async task context
    • Optimized path trace ignore
    • Moved exception check to Span.__exit__
    • Moved Method & Url tags before requests
  • Fixes:

    • BaseExceptions not recorded as errors
    • Allow pending data to send before exit
    • sw_flask general exceptions handled
    • Make skywalking logging Non-global
  • Chores and tests

    • Make tests really run on specified Python version
    • Deprecate 3.5 as it's EOL

0.4.0

Choose a tag to compare

@kezhenxu94 kezhenxu94 released this 24 Nov 05:54
5dbb9db
  • Feature: Support Kafka reporter protocol (#74)
  • BugFix: Move generated packages into skywalking namespace to avoid conflicts (#72)
  • BugFix: Agent cannot reconnect after server is down (#79)
  • Test: Mitigate unsafe yaml loading (#76)