Skip to content

Commit d9caaed

Browse files
authored
Merge pull request #112 from maykinmedia/release/0.9.3
🔖 Release version 0.9.3
2 parents 9f7c161 + 974979f commit d9caaed

File tree

6 files changed

+46
-4
lines changed

6 files changed

+46
-4
lines changed

CHANGELOG.rst

+38
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,44 @@
11
Changelog
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+
442
0.9.2 (2025-01-02)
543
------------------
644

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Open 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

docs/changelog.rst

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.. _development_changelog:
2+
3+
.. include:: ../CHANGELOG.rst

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
author = "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 ---------------------------------------------------

docs/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Features
2424

2525
quickstart
2626
reference
27+
changelog
2728

2829

2930

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "open_api_framework"
7-
version = "0.9.2"
7+
version = "0.9.3"
88
description = "A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings"
99
authors = [
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"
112112
files = [
113113
{filename = "pyproject.toml"},
114114
{filename = "README.rst"},

0 commit comments

Comments
 (0)