File tree Expand file tree Collapse file tree 6 files changed +46
-4
lines changed Expand file tree Collapse file tree 6 files changed +46
-4
lines changed Original file line number Diff line number Diff line change 11Changelog
22=========
33
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+
4420.9.2 (2025-01-02)
543------------------
644
Original file line number Diff line number Diff line change 11Open API Framework
22==================
33
4- :Version: 0.9.2
4+ :Version: 0.9.3
55:Source: https://github.com/maykinmedia/open-api-framework
66:Keywords: metapackage, dependencies
77
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 2626author = "Maykin Media"
2727
2828# The full version, including alpha/beta/rc tags
29- release = "0.9.2 "
29+ release = "0.9.3 "
3030
3131
3232# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ Features
2424
2525 quickstart
2626 reference
27+ changelog
2728
2829
2930
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " open_api_framework"
7- version = " 0.9.2 "
7+ version = " 0.9.3 "
88description = " A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings"
99authors = [
1010 {
name =
" Maykin Media" ,
email =
" [email protected] " }
@@ -108,7 +108,7 @@ env = [
108108]
109109
110110[tool .bumpversion ]
111- current_version = " 0.9.2 "
111+ current_version = " 0.9.3 "
112112files = [
113113 {filename = " pyproject.toml" },
114114 {filename = " README.rst" },
You can’t perform that action at this time.
0 commit comments