From fd70959ef8b4c4d51bbc17191dfa98d10456695b Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Thu, 4 Feb 2021 14:26:47 +0100 Subject: [PATCH 01/11] Changes for release 1.0.0 --- .craft.yml | 2 +- CHANGES.md => CHANGELOG.md | 40 ++++++++++++++++++++------------------ docs/conf.py | 2 +- sentry_sdk/consts.py | 2 +- setup.py | 2 +- 5 files changed, 25 insertions(+), 23 deletions(-) rename CHANGES.md => CHANGELOG.md (95%) diff --git a/.craft.yml b/.craft.yml index 5fc2b5f27c..d357d1a75c 100644 --- a/.craft.yml +++ b/.craft.yml @@ -13,7 +13,7 @@ targets: config: canonical: pypi:sentry-sdk -changelog: CHANGES.md +changelog: CHANGELOG.md changelogPolicy: simple statusProvider: diff --git a/CHANGES.md b/CHANGELOG.md similarity index 95% rename from CHANGES.md rename to CHANGELOG.md index ee2c487e7d..043f78841d 100644 --- a/CHANGES.md +++ b/CHANGELOG.md @@ -1,24 +1,26 @@ # Changelog and versioning -## Versioning Policy - -This project follows [semver](https://semver.org/), with three additions: - -- Semver says that major version `0` can include breaking changes at any time. Still, it is common practice to assume that only `0.x` releases (minor versions) can contain breaking changes while `0.x.y` releases (patch versions) are used for backwards-compatible changes (bugfixes and features). This project also follows that practice. - -- All undocumented APIs are considered internal. They are not part of this contract. - -- Certain features (e.g. integrations) may be explicitly called out as "experimental" or "unstable" in the documentation. They come with their own versioning policy described in the documentation. - -We recommend to pin your version requirements against `0.x.*` or `0.x.y`. -Either one of the following is fine: - -``` -sentry-sdk>=0.10.0,<0.11.0 -sentry-sdk==0.10.1 -``` - -A major release `N` implies the previous release `N-1` will no longer receive updates. We generally do not backport bugfixes to older versions unless they are security relevant. However, feel free to ask for backports of specific commits on the bugtracker. +## 1.0.0 + +- This product follows [semver](https://semver.org/) from now on +- No breaking changes, SDK is stable +- Added power support(ppc64le) with ci and testing to the project for architecture independent +- Fix for header extraction for AWS lambda/API extraction +- Fix that unpins pytest, stop testing eventlet #965 +- Remove Travis VI #962 +- Use full git sha as release name #960 +- Fix multiple **kwargs type hints +- Added feature Django rendering monkey patching #957 +- Fix that corrects hypothesis tests #978 +- Fix that corrects AWS lambda integration failure to detect the aws-lambda-ric 1.0 bootstrap #976 +- Fix unbound local crash on handling aws lambda exception - Timeout #977 +- Fix that removes release condition on default #980 +- Added Make pytest run instruction clear in contribution guide #981 +- Fix headers not parsed correctly in ASGI middleware, Decode headers before creating transaction #984 +- CI Fix `py3.5-celery` and `*-django-dev` +- Ref: Restore ability to have tracing disabled #991 +- Fix Django async views not behaving asyncronuously +- Feat: Supported pre-aggregated sessions ## 0.19.5 diff --git a/docs/conf.py b/docs/conf.py index ca873d28f8..5c15d80c4a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ copyright = u"2019, Sentry Team and Contributors" author = u"Sentry Team and Contributors" -release = "0.19.5" +release = "1.0.0" version = ".".join(release.split(".")[:2]) # The short X.Y version. diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py index f40d2c24a6..262a61dacd 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -99,7 +99,7 @@ def _get_default_options(): del _get_default_options -VERSION = "0.19.5" +VERSION = "1.0.0" SDK_INFO = { "name": "sentry.python", "version": VERSION, diff --git a/setup.py b/setup.py index 105a3c71c5..0479188ef9 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def get_file_text(file_name): setup( name="sentry-sdk", - version="0.19.5", + version="1.0.0", author="Sentry Team and Contributors", author_email="hello@sentry.io", url="https://github.com/getsentry/sentry-python", From 7a0d2a33d51b12c3f702148dac3b9446c632e081 Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Thu, 4 Feb 2021 15:24:34 +0100 Subject: [PATCH 02/11] Apply suggestions from code review Co-authored-by: Daniel Griesser --- CHANGELOG.md | 8 ++++---- docs/conf.py | 2 +- sentry_sdk/consts.py | 2 +- setup.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 043f78841d..e466e9d1bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ ## 1.0.0 -- This product follows [semver](https://semver.org/) from now on -- No breaking changes, SDK is stable -- Added power support(ppc64le) with ci and testing to the project for architecture independent +We decided to use [semver](https://semver.org/) versioning from now on for the SDK. The bump to 1.0 doesn't contain any breaking changes. + +- Added power support(ppc64le) with ci and testing to the project for architecture-independent - Fix for header extraction for AWS lambda/API extraction - Fix that unpins pytest, stop testing eventlet #965 - Remove Travis VI #962 @@ -19,7 +19,7 @@ - Fix headers not parsed correctly in ASGI middleware, Decode headers before creating transaction #984 - CI Fix `py3.5-celery` and `*-django-dev` - Ref: Restore ability to have tracing disabled #991 -- Fix Django async views not behaving asyncronuously +- Fix Django async views not behaving asynchronously - Feat: Supported pre-aggregated sessions ## 0.19.5 diff --git a/docs/conf.py b/docs/conf.py index 5c15d80c4a..ca873d28f8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ copyright = u"2019, Sentry Team and Contributors" author = u"Sentry Team and Contributors" -release = "1.0.0" +release = "0.19.5" version = ".".join(release.split(".")[:2]) # The short X.Y version. diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py index 262a61dacd..f40d2c24a6 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -99,7 +99,7 @@ def _get_default_options(): del _get_default_options -VERSION = "1.0.0" +VERSION = "0.19.5" SDK_INFO = { "name": "sentry.python", "version": VERSION, diff --git a/setup.py b/setup.py index 0479188ef9..105a3c71c5 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def get_file_text(file_name): setup( name="sentry-sdk", - version="1.0.0", + version="0.19.5", author="Sentry Team and Contributors", author_email="hello@sentry.io", url="https://github.com/getsentry/sentry-python", From ae3a7060ba28cb248b5c4b9ffa2e88bf610a4a4e Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Thu, 4 Feb 2021 15:24:47 +0100 Subject: [PATCH 03/11] Update CHANGELOG.md Co-authored-by: Rodolfo Carvalho --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e466e9d1bc..fd7a29f035 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ We decided to use [semver](https://semver.org/) versioning from now on for the S - Added power support(ppc64le) with ci and testing to the project for architecture-independent - Fix for header extraction for AWS lambda/API extraction - Fix that unpins pytest, stop testing eventlet #965 -- Remove Travis VI #962 +- Remove Travis CI #962 - Use full git sha as release name #960 - Fix multiple **kwargs type hints - Added feature Django rendering monkey patching #957 From 088df670600133f3afb118421b90c80da4415fac Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Thu, 4 Feb 2021 15:26:16 +0100 Subject: [PATCH 04/11] Added code review comment in regards to fix change --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd7a29f035..5a095d5969 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ We decided to use [semver](https://semver.org/) versioning from now on for the SDK. The bump to 1.0 doesn't contain any breaking changes. -- Added power support(ppc64le) with ci and testing to the project for architecture-independent +- Added power support(ppc64le) with ci and testing to the project for architecture independence - Fix for header extraction for AWS lambda/API extraction - Fix that unpins pytest, stop testing eventlet #965 - Remove Travis CI #962 From f9b8bcbe705c48e30db6043502affbcb8f5e2a98 Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Thu, 4 Feb 2021 19:09:29 +0100 Subject: [PATCH 05/11] Updated CHANGELOG.md --- CHANGELOG.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a095d5969..478632c77f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,26 +1,27 @@ # Changelog and versioning +## Versioning Policy +We decided to use [semver](https://semver.org/) versioning from now on for the SDK. with two additions: + +- All undocumented APIs are considered internal. They are not part of this contract. +- Certain features (e.g. integrations) may be explicitly called out as "experimental" or "unstable" in the documentation. They come with their own versioning policy described in the documentation. + + ## 1.0.0 -We decided to use [semver](https://semver.org/) versioning from now on for the SDK. The bump to 1.0 doesn't contain any breaking changes. +The bump to 1.0 contains a breaking change. -- Added power support(ppc64le) with ci and testing to the project for architecture independence -- Fix for header extraction for AWS lambda/API extraction -- Fix that unpins pytest, stop testing eventlet #965 -- Remove Travis CI #962 -- Use full git sha as release name #960 -- Fix multiple **kwargs type hints -- Added feature Django rendering monkey patching #957 -- Fix that corrects hypothesis tests #978 +- Fix for header extraction for AWS lambda/API extractio +- Fix multiple **kwargs type hints # 967 - Fix that corrects AWS lambda integration failure to detect the aws-lambda-ric 1.0 bootstrap #976 -- Fix unbound local crash on handling aws lambda exception - Timeout #977 -- Fix that removes release condition on default #980 -- Added Make pytest run instruction clear in contribution guide #981 +- Fix AWSLambda integration: variable "timeout_thread" referenced before assignment #977 +- Use full git sha as release name #960 +- the default environment is now production, not based on release **(breaking change)** +- Django integration now creates transaction spans for template rendering - Fix headers not parsed correctly in ASGI middleware, Decode headers before creating transaction #984 -- CI Fix `py3.5-celery` and `*-django-dev` -- Ref: Restore ability to have tracing disabled #991 +- Restored ability to have tracing disabled #991 - Fix Django async views not behaving asynchronously -- Feat: Supported pre-aggregated sessions +- Performance improvement: supported pre-aggregated sessions ## 0.19.5 From 9b9af22eef7c863aad71241bc466bfdcf6e0f5f8 Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Fri, 5 Feb 2021 10:11:39 +0100 Subject: [PATCH 06/11] Fixed typo and added prefix Breaking change --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 478632c77f..e330ffc396 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,12 +11,12 @@ We decided to use [semver](https://semver.org/) versioning from now on for the S The bump to 1.0 contains a breaking change. -- Fix for header extraction for AWS lambda/API extractio +- Fix for header extraction for AWS lambda/API extraction - Fix multiple **kwargs type hints # 967 - Fix that corrects AWS lambda integration failure to detect the aws-lambda-ric 1.0 bootstrap #976 - Fix AWSLambda integration: variable "timeout_thread" referenced before assignment #977 - Use full git sha as release name #960 -- the default environment is now production, not based on release **(breaking change)** +- **BREAKING CHANGE**: The default environment is now production, not based on release - Django integration now creates transaction spans for template rendering - Fix headers not parsed correctly in ASGI middleware, Decode headers before creating transaction #984 - Restored ability to have tracing disabled #991 From a0054a76e13960b8f7595082e43b3ff0294e5653 Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Fri, 5 Feb 2021 17:34:36 +0100 Subject: [PATCH 07/11] Updated Changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e330ffc396..84fee57e48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ We decided to use [semver](https://semver.org/) versioning from now on for the S - Certain features (e.g. integrations) may be explicitly called out as "experimental" or "unstable" in the documentation. They come with their own versioning policy described in the documentation. -## 1.0.0 +## 0.19.6 The bump to 1.0 contains a breaking change. @@ -22,6 +22,8 @@ The bump to 1.0 contains a breaking change. - Restored ability to have tracing disabled #991 - Fix Django async views not behaving asynchronously - Performance improvement: supported pre-aggregated sessions +- **BREAKING CHANGE**: Enabled auto_session_tracking by default +- **BREAKING CHANGE**: `auto_session_tracking` and `session_mode` are no longer experimental options ## 0.19.5 From 2639c06dc29fa643a31ad15790e8bf92f1e7fa53 Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Thu, 11 Feb 2021 08:29:41 +0100 Subject: [PATCH 08/11] Removed changes in regards to autosession tracking enabled by default --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84fee57e48..f1aa0ba412 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,8 +22,6 @@ The bump to 1.0 contains a breaking change. - Restored ability to have tracing disabled #991 - Fix Django async views not behaving asynchronously - Performance improvement: supported pre-aggregated sessions -- **BREAKING CHANGE**: Enabled auto_session_tracking by default -- **BREAKING CHANGE**: `auto_session_tracking` and `session_mode` are no longer experimental options ## 0.19.5 From 483ad41c5878a3f5c59da4d0f534b403a902956e Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Thu, 11 Feb 2021 11:47:41 +0100 Subject: [PATCH 09/11] Removed wrong description message --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1aa0ba412..e204b37344 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,6 @@ We decided to use [semver](https://semver.org/) versioning from now on for the S ## 0.19.6 -The bump to 1.0 contains a breaking change. - - Fix for header extraction for AWS lambda/API extraction - Fix multiple **kwargs type hints # 967 - Fix that corrects AWS lambda integration failure to detect the aws-lambda-ric 1.0 bootstrap #976 From 8007f0089a6c7f8de1aeec6b62f5529a5ea5e21a Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Thu, 11 Feb 2021 11:50:32 +0100 Subject: [PATCH 10/11] Reverted Versioning policy --- CHANGELOG.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e204b37344..5200054dcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,24 @@ # Changelog and versioning ## Versioning Policy -We decided to use [semver](https://semver.org/) versioning from now on for the SDK. with two additions: + +This project follows [semver](https://semver.org/), with three additions: + +- Semver says that major version `0` can include breaking changes at any time. Still, it is common practice to assume that only `0.x` releases (minor versions) can contain breaking changes while `0.x.y` releases (patch versions) are used for backwards-compatible changes (bugfixes and features). This project also follows that practice. - All undocumented APIs are considered internal. They are not part of this contract. + - Certain features (e.g. integrations) may be explicitly called out as "experimental" or "unstable" in the documentation. They come with their own versioning policy described in the documentation. +We recommend to pin your version requirements against `0.x.*` or `0.x.y`. +Either one of the following is fine: + +``` +sentry-sdk>=0.10.0,<0.11.0 +sentry-sdk==0.10.1 +``` + +A major release `N` implies the previous release `N-1` will no longer receive updates. We generally do not backport bugfixes to older versions unless they are security relevant. However, feel free to ask for backports of specific commits on the bugtracker. ## 0.19.6 From 4229e14231ae99fa0d87653aca16ce567129bfec Mon Sep 17 00:00:00 2001 From: Ahmed Etefy Date: Thu, 11 Feb 2021 12:09:13 +0100 Subject: [PATCH 11/11] Changed to version 0.20.0 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5200054dcd..e8c51dde71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,7 @@ sentry-sdk==0.10.1 A major release `N` implies the previous release `N-1` will no longer receive updates. We generally do not backport bugfixes to older versions unless they are security relevant. However, feel free to ask for backports of specific commits on the bugtracker. -## 0.19.6 +## 0.20.0 - Fix for header extraction for AWS lambda/API extraction - Fix multiple **kwargs type hints # 967