diff --git a/sentry/README.rst b/sentry/README.rst index fc7c2a894ef..713a4de162e 100644 --- a/sentry/README.rst +++ b/sentry/README.rst @@ -106,7 +106,7 @@ configured by prepending the argument name with *sentry_* in your Odoo config file. Currently supported additional client arguments are: ``with_locals, max_breadcrumbs, release, environment, server_name, shutdown_timeout, in_app_include, in_app_exclude, default_integrations, dist, sample_rate, -send_default_pii, http_proxy, https_proxy, request_bodies, debug, +send_default_pii, http_proxy, https_proxy, max_request_body_size, debug, attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate, auto_enabling_integrations``. diff --git a/sentry/__manifest__.py b/sentry/__manifest__.py index 1d380228d9f..1574cea760c 100644 --- a/sentry/__manifest__.py +++ b/sentry/__manifest__.py @@ -17,7 +17,7 @@ "installable": True, "external_dependencies": { "python": [ - "sentry_sdk<=1.9.0", + "sentry_sdk", ] }, "depends": [ diff --git a/sentry/const.py b/sentry/const.py index 78b783bddf8..504b71e8d44 100644 --- a/sentry/const.py +++ b/sentry/const.py @@ -107,7 +107,9 @@ def get_sentry_options(): SentryOption("http_proxy", DEFAULT_OPTIONS["http_proxy"], None), SentryOption("https_proxy", DEFAULT_OPTIONS["https_proxy"], None), SentryOption("ignore_exceptions", DEFAULT_IGNORED_EXCEPTIONS, split_multiple), - SentryOption("request_bodies", DEFAULT_OPTIONS["request_bodies"], None), + SentryOption( + "max_request_body_size", DEFAULT_OPTIONS["max_request_body_size"], None + ), SentryOption("attach_stacktrace", DEFAULT_OPTIONS["attach_stacktrace"], None), SentryOption("ca_certs", DEFAULT_OPTIONS["ca_certs"], None), SentryOption("propagate_traces", DEFAULT_OPTIONS["propagate_traces"], None), diff --git a/sentry/readme/CONFIGURE.rst b/sentry/readme/CONFIGURE.rst index 25de942df51..10e6a1f71a0 100644 --- a/sentry/readme/CONFIGURE.rst +++ b/sentry/readme/CONFIGURE.rst @@ -51,7 +51,7 @@ configured by prepending the argument name with *sentry_* in your Odoo config file. Currently supported additional client arguments are: ``with_locals, max_breadcrumbs, release, environment, server_name, shutdown_timeout, in_app_include, in_app_exclude, default_integrations, dist, sample_rate, -send_default_pii, http_proxy, https_proxy, request_bodies, debug, +send_default_pii, http_proxy, https_proxy, max_request_body_size, debug, attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate, auto_enabling_integrations``. diff --git a/sentry/static/description/index.html b/sentry/static/description/index.html index 1d8f03a944b..f9afeae98bd 100644 --- a/sentry/static/description/index.html +++ b/sentry/static/description/index.html @@ -487,7 +487,7 @@

Configuration

file. Currently supported additional client arguments are: with_locals, max_breadcrumbs, release, environment, server_name, shutdown_timeout, in_app_include, in_app_exclude, default_integrations, dist, sample_rate, -send_default_pii, http_proxy, https_proxy, request_bodies, debug, +send_default_pii, http_proxy, https_proxy, max_request_body_size, debug, attach_stacktrace, ca_certs, propagate_traces, traces_sample_rate, auto_enabling_integrations.