Skip to content

Commit 2feb44e

Browse files
chore(dep): bump flask from 3.0.1 to 3.1.0 and flask-compress to 1.17 (langgenius#11195)
1 parent cc0b92b commit 2feb44e

File tree

3 files changed

+25
-75
lines changed

3 files changed

+25
-75
lines changed

api/extensions/ext_compress.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,5 @@ def init_app(app: Flask):
77
if dify_config.API_COMPRESSION_ENABLED:
88
from flask_compress import Compress
99

10-
app.config["COMPRESS_MIMETYPES"] = [
11-
"application/json",
12-
"image/svg+xml",
13-
"text/html",
14-
]
15-
1610
compress = Compress()
1711
compress.init_app(app)

api/poetry.lock

Lines changed: 22 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ chardet = "~5.1.0"
124124
cohere = "~5.2.4"
125125
dashscope = { version = "~1.17.0", extras = ["tokenizer"] }
126126
fal-client = "0.5.6"
127-
flask = "~3.0.1"
128-
flask-compress = "~1.14"
127+
flask = "~3.1.0"
128+
flask-compress = "~1.17"
129129
flask-cors = "~4.0.0"
130130
flask-login = "~0.6.3"
131-
flask-migrate = "~4.0.5"
131+
flask-migrate = "~4.0.7"
132132
flask-restful = "~0.3.10"
133133
flask-sqlalchemy = "~3.1.1"
134134
gevent = "~24.11.1"
@@ -184,7 +184,6 @@ unstructured = { version = "~0.16.1", extras = ["docx", "epub", "md", "msg", "pp
184184
validators = "0.21.0"
185185
volcengine-python-sdk = {extras = ["ark"], version = "~1.0.98"}
186186
websocket-client = "~1.7.0"
187-
werkzeug = "~3.0.1"
188187
xinference-client = "0.15.2"
189188
yarl = "~1.9.4"
190189
youtube-transcript-api = "~0.6.2"

0 commit comments

Comments
 (0)