reflex/reflex
Masen Furer ea0f490030
[REF-2764] dep update 0.5.0 (#3245)
* upgrade to latest pip for in_docker_test_script.sh

* Bump gunicorn to 22.0.0 (security)

Changelog: https://docs.gunicorn.org/en/stable/news.html#id1

use utime to notify workers liveness
migrate setup to pyproject.toml
fix numerous security vulnerabilities in HTTP parser (closing some request smuggling vectors)
parsing additional requests is no longer attempted past unsupported request framing
on HTTP versions < 1.1 support for chunked transfer is refused (only used in exploits)
requests conflicting configured or passed SCRIPT_NAME now produce a verbose error
Trailer fields are no longer inspected for headers indicating secure scheme
support Python 3.12

** Breaking changes **
minimum version is Python 3.7
the limitations on valid characters in the HTTP method have been bounded to Internet Standards
requests specifying unsupported transfer coding (order) are refused by default (rare)
HTTP methods are no longer casefolded by default (IANA method registry contains none affected)
HTTP methods containing the number sign (#) are no longer accepted by default (rare)
HTTP versions < 1.0 or >= 2.0 are no longer accepted by default (rare, only HTTP/1.1 is supported)
HTTP versions consisting of multiple digits or containing a prefix/suffix are no longer accepted
HTTP header field names Gunicorn cannot safely map to variables are silently dropped, as in other software
HTTP headers with empty field name are refused by default (no legitimate use cases, used in exploits)
requests with both Transfer-Encoding and Content-Length are refused by default (such a message might indicate an attempt to perform request smuggling)
empty transfer codings are no longer permitted (reportedly seen with really old & broken proxies)

** SECURITY **
fix CVE-2024-1135

* Remove TYPE_CHECKING guard for pydantic v1 imports

Retain TYPE_CHECKING guard in v1 fallback to force pyright into pydantic.v1 namespace

* Run unit tests with pydantic v1 now that v2 is installed via poetry
2024-05-07 15:15:52 -07:00
..
.templates Implement throttle and debounce as event actions (#3091) 2024-04-26 17:28:51 -07:00
compiler [REF-2764] dep update 0.5.0 (#3245) 2024-05-07 15:15:52 -07:00
components Remove deprecations for 0.5.0 (#3222) 2024-05-07 08:55:42 -07:00
constants add_style api (#3202) 2024-05-06 16:59:11 -07:00
custom_components custom component install as editable mode (#3200) 2024-04-30 18:12:16 -07:00
experimental add_style api (#3202) 2024-05-06 16:59:11 -07:00
middleware feat: Synchronizing localStorage between tabs using browser events (#2533) 2024-02-20 15:14:55 -08:00
utils [REF-2764] dep update 0.5.0 (#3245) 2024-05-07 15:15:52 -07:00
__init__.py Remove deprecations for 0.5.0 (#3222) 2024-05-07 08:55:42 -07:00
__init__.pyi Remove deprecations for 0.5.0 (#3222) 2024-05-07 08:55:42 -07:00
__main__.py add __main__ entry point to allow python -m reflex (#1516) 2023-08-03 14:26:50 -07:00
admin.py Allow view overrides for registering models with admin (#1249) 2023-06-27 14:08:09 -07:00
app_module_for_backend.py Clean up config and app API (#3197) 2024-05-02 18:15:28 -07:00
app.py Remove deprecations for 0.5.0 (#3222) 2024-05-07 08:55:42 -07:00
base.py [REF-2764] dep update 0.5.0 (#3245) 2024-05-07 15:15:52 -07:00
config.py [REF-2764] dep update 0.5.0 (#3245) 2024-05-07 15:15:52 -07:00
config.pyi Lendemor/improve coverage (#2988) 2024-04-04 14:31:43 +02:00
event.py [REF-2273] Implement .setvar special EventHandler (#3163) 2024-05-01 17:13:55 -07:00
model.py [REF-2764] dep update 0.5.0 (#3245) 2024-05-07 15:15:52 -07:00
page.py separate DECORATED_PAGES per reflex app (#3102) 2024-04-22 11:32:31 -07:00
reflex.py Clean up config and app API (#3197) 2024-05-02 18:15:28 -07:00
route.py [REF-2643] Throw Errors for duplicate Routes (#3155) 2024-05-03 12:15:40 -07:00
state.py [REF-2764] dep update 0.5.0 (#3245) 2024-05-07 15:15:52 -07:00
style.py add_style api (#3202) 2024-05-06 16:59:11 -07:00
testing.py prevent issues with #3214 (#3237) 2024-05-06 18:34:16 -07:00
vars.py extend rx.input allowed types (#3149) 2024-04-24 16:04:56 -07:00
vars.pyi use dict instead of set to store hooks (#2995) 2024-04-03 17:13:42 -07:00