Releases: apache/skywalking-python
Releases · apache/skywalking-python
v1.1.0
What's Changed
- Fix wrong docker tag name by @kezhenxu94 in #307
- Update release doc to reflect new steps by @Superskyyy in #306
- Fix unexpected 'No active span' IllegalStateError by @ZEALi in #311
- Add Neo4j plugin. by @Jedore in #312
- Update README.md to reflect new slack channel by @Superskyyy in #313
- Replace Kafka CI image tags to sha by @FAWC438 in #319
- Python agent performance enhancement with asyncio by @FAWC438 in #316
- loose restrict of greenlet (#3) by @jaychoww in #326
- Add support printing TID to logs by @CodePrometheus in #323
- Fix psutil dockerfile version constraint by @Superskyyy in #328
- Change from pkg_resources to importlib metadata by @shenxiangzhuang in #329
- Update NOTICE to 2024 by @Superskyyy in #332
- Disable uwsgi e2e by @Superskyyy in #337
- Fix unexpected 'decode' AttributeError when MySQLdb module is mapped by PyMySQL by @ZEALi in #336
- Add Pulsar plugin by @CodePrometheus in #345
- fix(agent): no attribute '_SkyWalkingAgent__log_queue' using kafka plain text by @tsonglew in #343
- Bump up version to 1.1.0 by @kezhenxu94 in #347
New Contributors
- @CodePrometheus made their first contribution in #323
- @shenxiangzhuang made their first contribution in #329
- @tsonglew made their first contribution in #343
Full Changelog: v1.0.1...v1.1.0
1.0.1
What's Changed
- Fix Docker build missing required ARG by @kezhenxu94 in #291
- Fix wrong environment names in doc by @kezhenxu94 in #292
- Don't init profile / meter damon threads when not active. by @ZEALi in #295
- Remove dead MIT gpg site and fix release command by @Superskyyy in #294
- [feat]Build multi-architecture Docker images for Python agent by @jiang1997 in #297
- Fix sw8 loss when use aiohttp. by @Forstwith in #299
- Fix high CPU usage by @FAWC438 in #300
- Adjust Bitnami Kafka image and use Kraft in E2E by @Superskyyy in #303
- Optimize loguru reporter plugin by @Jedore in #302
- Prepare for 1.0.1 release by @Superskyyy in #304
- Push Docker images on release by @kezhenxu94 in #305
New Contributors
- @Forstwith made their first contribution in #299
- @FAWC438 made their first contribution in #300
Full Changelog: v1.0.0...v1.0.1
1.0.0
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 inENTRYPOINT ["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
- @ZEALi made their first contribution in #242
- @westarest made their first contribution in #246
- @Jedore made their first contribution in #263
- @alidisi made their first contribution in #266
- @SheltonZSL made their first contribution in #275
- @XinweiLyu made their first contribution in #283
Full Changelog: v0.8.0...v1.0.0
0.8.0
What's Changed
- spans correctly reference finished parents by @tom-pytel in #161
- Refactor current Python agent docs to serve on SkyWalking official website by @Superskyyy in #162
- fix broken url by @JaredTan95 in #163
- Remove docs from main README.md - Add website doc links. by @Superskyyy in #164
- Refactor SkyWalking Python to use the CLI for CI instead of legacy setup by @Superskyyy in #165
- Remove places that mentions Python 3.5 support due to EOL by @Superskyyy in #166
- Cleanup and Python 3.10 support by @Superskyyy in #167
- filled out rest of psycopg 3 plugin by @tom-pytel in #168
- Move flake configs all together by @kezhenxu94 in #169
- Enable faster CI by categorical parallelism by @Superskyyy in #170
- Introduce better coding style by @Superskyyy in #171
- Minimize
exclude
in lint by @kezhenxu94 in #173 - Introduce another set of flake8 extensions by @Superskyyy in #174
- fix aiohttp outgoing request url by @tom-pytel in #175
- bugfix: flask + nginx got KeyError: 'REMOTE_PORT' in sw_flask.py plugin by @VxCoder in #176
- Add missing ending quote by @kezhenxu94 in #177
- updated deprecated configuration by @doddi in #179
- Add plugin for mysqlclient by @katelei6 in #178
- Fix sw-rabbitmq TypeError when there are no headers by @dcryans in #182
- Fix agent bootup traceback not shown in sw-python CLI by @Superskyyy in #183
- Add plugin for FastAPI by @katelei6 in #181
- Support CI container logs by @Superskyyy in #185
- Update mySQL plugin to support two different parameter keys. by @katelei6 in #186
- add the code > 400 is error by @katelei6 in #187
- Doc: add
how to use with uwsgi
by @arcosx in #188 - Fix: right doc link for How To Use With uWSGI by @arcosx in #189
- The local log stack depth is not truncated by @wzy960520 in #190
- Revert "The local log stack depth is not truncated (#190)" by @Superskyyy in #191
- Fix sw_formatter wrongly set cache that impacts user handlers by @Superskyyy in #192
- Fix typo that cause failure in loading user sitecustomize.py by @Superskyyy in #193
- Drop support for Flask 1.x due to EOL & Jinja2 issue by @Superskyyy in #195
- Update agent docs, changelogs and PR template. by @Superskyyy in #197
- Fix Python shown as UNKNOWN language in OAP by @Superskyyy in #194
- Fix logging level not properly set according to config by @Superskyyy in #196
- Fix the properties are not set correctly by @kezhenxu94 in #198
- Add E2E coverage for Trace and Logging by @Superskyyy in #199
- Support log reporter safe mode by @Superskyyy in #200
- Fix scheduled event fails changes CI by @Superskyyy in #201
- Fix deadlink and CI on schedule by @Superskyyy in #203
- Remove namespace to instance properties and add pid by @kezhenxu94 in #205
- Enhance Traceback depth default to 10 by @Superskyyy in #206
- Unify the tag name with other agents by @kezhenxu94 in #208
- Improved ignore path regex by @tom-pytel in #210
- Fix sw_psycopg2 register_type() by @tom-pytel in #211
- Fix psycopg2 register_type() second arg default by @tom-pytel in #212
- Add plugin doc check in CI by @JarvisG495 in #213
- Fix typo in docker/Makefile by @jiang1997 in #216
- Update UI repository link in PR template by @kezhenxu94 in #217
- Add plugin for bottle by @jiang1997 in #214
- Draft release 0.8.0 by @kezhenxu94 in #219
- Migrate license checker to license-eye and adjust the release script by @kezhenxu94 in #220
New Contributors
- @JaredTan95 made their first contribution in #163
- @VxCoder made their first contribution in #176
- @doddi made their first contribution in #179
- @katelei6 made their first contribution in #178
- @dcryans made their first contribution in #182
- @arcosx made their first contribution in #188
- @wzy960520 made their first contribution in #190
- @JarvisG495 made their first contribution in #213
- @jiang1997 made their first contribution in #216
Full Changelog: v0.7.0...v0.8.0
0.7.0
-
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:
-
Fixes:
-
Others:
0.6.0
0.5.0
-
New plugins
-
API and enhancements
@trace
decorator supportsasync
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
0.3.0
-
New plugins
-
API
-
Chores and tests
0.2.0
-
New plugins
-
API
-
Chores and tests