From 59e459154305a6e24837106af5f2f997fa6604db Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Thu, 10 Jul 2025 16:18:15 +0200 Subject: [PATCH] update CHANGELOG and bump version to 7.0.0 --- CHANGELOG.asciidoc | 34 ++++++++++++++++++++++++++ docs/release-notes/breaking-changes.md | 10 +++++++- docs/release-notes/index.md | 18 ++++++++++++++ elasticapm/version.py | 2 +- 4 files changed, 62 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 7550c42d6..3e4445efa 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -29,6 +29,40 @@ endif::[] //===== Bug fixes // +[[release-notes-7.x]] +=== Python Agent version 7.x + +[[release-notes-7.0.0]] +==== 7.0.0 - 2025-07-11 + +[float] +===== Features + +* Add support for recent sanic versions {pull}2190[#2190], {pull}2194[#2194] +* Make server certificate verification mandatory in fips mode {pull}2227[#2227] +* Add support Python 3.13 {pull}2216[#2216] +* Add support for azure-data-tables package for azure instrumentation {pull}2187[#2187] + +[float] +===== Bug fixes + +* Fix psycopg2 cursor execute and executemany signatures {pull}2331[#2331] +* Fix psycopg cursor execute and executemany signatures {pull}2332[#2332] +* Fix asgi middleware distributed tracing {pull}2334[#2334] +* Fix typing of start in Span / capture_span to float {pull}2335[#2335] +* Fix azure instrumentation client_class and metrics sets invocation {pull}2337[#2337] +* Fix mysql_connector instrumentation connection retrieval {pull}2334[#2334] +* Remove spurious Django QuerySet evaluation in case of database errors {pull}2158[#2158] + +===== Breaking changes + +* Drop support for Python 3.6 {pull}2338[#2338] +* Drop support for OpenTracing integration {pull}2342[#2342] +* Drop support for Python 3.7 {pull}2340[#2340] +* Remove deprecated Django LoggingHandler log shipping {pull}2345[#2345] +* Remove deprecated flask log shipping {pull}2346[#2346] +* Remove deprecated LoggingHandler for log shipping {pull}2348[#2348] + [[release-notes-6.x]] === Python Agent version 6.x diff --git a/docs/release-notes/breaking-changes.md b/docs/release-notes/breaking-changes.md index 0b7fa989a..664621515 100644 --- a/docs/release-notes/breaking-changes.md +++ b/docs/release-notes/breaking-changes.md @@ -17,6 +17,14 @@ Before you upgrade, carefully review the Elastic APM RPython Agent breaking chan % **Action**
Steps for mitigating deprecation impact. % :::: +## 7.0.0 [elastic-apm-python-agent-700-breaking-changes] +**Release date:** July 11, 2025 + +* Python 3.6 and 3.7 support has been removed. For more information, check [#2338](https://github.com/elastic/apm-agent-python/pull/2338) and [#2340](https://github.com/elastic/apm-agent-python/pull/2340). +* OpenTracing integration has been removed. For more information, check [#2342](https://github.com/elastic/apm-agent-python/pull/2342). +* Log shipping fron APM Python agent has been removed, included flask and Django integrations. For more information, check [#2348](https://github.com/elastic/apm-agent-python/pull/2348), [#2346](https://github.com/elastic/apm-agent-python/pull/2346) and [#2345](https://github.com/elastic/apm-agent-python/pull/2345). + + ## 6.0.0 [elastic-apm-python-agent-600-breaking-changes] **Release date:** February 1, 2021 @@ -25,4 +33,4 @@ Before you upgrade, carefully review the Elastic APM RPython Agent breaking chan * Align `sanitize_field_names` config with the [cross-agent spec](https://github.com/elastic/apm/blob/3fa78e2a1eeea81c73c2e16e96dbf6b2e79f3c64/specs/agents/sanitization.md). If you are using a non-default `sanitize_field_names`, surrounding each of your entries with stars (e.g. `*secret*`) will retain the old behavior. For more information, check [#982](https://github.com/elastic/apm-agent-python/pull/982). * Remove credit card sanitization for field values. This improves performance, and the security value of this check was dubious anyway. For more information, check [#982](https://github.com/elastic/apm-agent-python/pull/982). * Remove HTTP querystring sanitization. This improves performance, and is meant to standardize behavior across the agents, as defined in [#334](https://github.com/elastic/apm/pull/334). For more information, check [#982](https://github.com/elastic/apm-agent-python/pull/982). -* Remove `elasticapm.tag()` (deprecated since 5.0.0). For more information, check [#1034](https://github.com/elastic/apm-agent-python/pull/1034). \ No newline at end of file +* Remove `elasticapm.tag()` (deprecated since 5.0.0). For more information, check [#1034](https://github.com/elastic/apm-agent-python/pull/1034). diff --git a/docs/release-notes/index.md b/docs/release-notes/index.md index 1d40b1596..6bc67cfe9 100644 --- a/docs/release-notes/index.md +++ b/docs/release-notes/index.md @@ -20,6 +20,24 @@ To check for security updates, go to [Security announcements for the Elastic sta % ### Fixes [elastic-apm-python-agent-versionext-fixes] +## 7.0.0 [elastic-apm-python-agent-7000-release-notes] +**Release date:** July 11, 2025 + +### Features and enhancements [elastic-apm-python-agent-7000-features-enhancements] +* Add support for recent sanic versions [#2190](https://github.com/elastic/apm-agent-python/pull/2190), [#2194](https://github.com/elastic/apm-agent-python/pull/2194) +* Make server certificate verification mandatory in fips mode [#2227](https://github.com/elastic/apm-agent-python/pull/2227) +* Add support Python 3.13 [#2216](https://github.com/elastic/apm-agent-python/pull/2216) +* Add support for azure-data-tables package for azure instrumentation [#2187](https://github.com/elastic/apm-agent-python/pull/2187) + +### Fixes [elastic-apm-python-agent-7000-fixes] +* Fix psycopg2 cursor execute and executemany signatures [#2331](https://github.com/elastic/apm-agent-python/pull/2331) +* Fix psycopg cursor execute and executemany signatures [#2332](https://github.com/elastic/apm-agent-python/pull/2332) +* Fix asgi middleware distributed tracing [#2334](https://github.com/elastic/apm-agent-python/pull/2334) +* Fix typing of start in Span / capture_span to float [#2335](https://github.com/elastic/apm-agent-python/pull/2335) +* Fix azure instrumentation client_class and metrics sets invocation [#2337](https://github.com/elastic/apm-agent-python/pull/2337) +* Fix mysql_connector instrumentation connection retrieval [#2334](https://github.com/elastic/apm-agent-python/pull/2334) +* Remove spurious Django QuerySet evaluation in case of database errors [#2158](https://github.com/elastic/apm-agent-python/pull/2158) + ## 6.23.0 [elastic-apm-python-agent-6230-release-notes] **Release date:** July 30, 2024 diff --git a/elasticapm/version.py b/elasticapm/version.py index e9eff8543..f0fd54c58 100644 --- a/elasticapm/version.py +++ b/elasticapm/version.py @@ -28,5 +28,5 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -__version__ = (6, 23, 0) +__version__ = (7, 0, 0) VERSION = ".".join(map(str, __version__))