File tree 6 files changed +46
-4
lines changed
6 files changed +46
-4
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ 0.9.3 (2025-02-24)
5
+ ------------------
6
+
7
+ **Bugfixes **
8
+
9
+ * [#88] Automatically initialize Sentry when importing base settings and expose ``SENTRY_CONFIG `` setting
10
+
11
+ .. warning ::
12
+
13
+ The ``init_sentry `` function was removed and now Sentry is initialized immediately in
14
+ ``open_api_framework/conf/base.py ``. If your project requires additional parameters
15
+ to be specified (e.g. a ``before_send `` hook), it is best to reinitialize Sentry manually in your project's base setting:
16
+
17
+ .. code-block :: python
18
+
19
+ from open_api_framework.conf.base import * # noqa
20
+ from open_api_framework.conf.utils import get_sentry_integrations
21
+
22
+ from your_project.utils import before_send_hook
23
+
24
+ # Reinitialize Sentry to add the before_send hook
25
+ SENTRY_CONFIG [" before_send" ] = before_send_hook
26
+ sentry_sdk.init(
27
+ ** SENTRY_CONFIG ,
28
+ integrations = get_sentry_integrations(),
29
+ send_default_pii = True ,
30
+ )
31
+
32
+
33
+ **Maintenance **
34
+
35
+ * [#90] bump commonground api version to 2.1.2
36
+
37
+ **Documentation **
38
+
39
+ * [#108] Mention in docs that importing anything from ``base.py `` causes all settings to be loaded
40
+
41
+
4
42
0.9.2 (2025-01-02)
5
43
------------------
6
44
Original file line number Diff line number Diff line change 1
1
Open API Framework
2
2
==================
3
3
4
- :Version: 0.9.2
4
+ :Version: 0.9.3
5
5
:Source: https://github.com/maykinmedia/open-api-framework
6
6
:Keywords: metapackage, dependencies
7
7
Original file line number Diff line number Diff line change
1
+ .. _development_changelog :
2
+
3
+ .. include :: ../CHANGELOG.rst
Original file line number Diff line number Diff line change 26
26
author = "Maykin Media"
27
27
28
28
# The full version, including alpha/beta/rc tags
29
- release = "0.9.2 "
29
+ release = "0.9.3 "
30
30
31
31
32
32
# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ Features
24
24
25
25
quickstart
26
26
reference
27
+ changelog
27
28
28
29
29
30
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " open_api_framework"
7
- version = " 0.9.2 "
7
+ version = " 0.9.3 "
8
8
description = " A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings"
9
9
authors = [
10
10
{
name =
" Maykin Media" ,
email =
" [email protected] " }
@@ -108,7 +108,7 @@ env = [
108
108
]
109
109
110
110
[tool .bumpversion ]
111
- current_version = " 0.9.2 "
111
+ current_version = " 0.9.3 "
112
112
files = [
113
113
{filename = " pyproject.toml" },
114
114
{filename = " README.rst" },
You can’t perform that action at this time.
0 commit comments