v2 release: Improved NGINX configuration for performance and compatibility
- Enhanced proxy buffering to optimize request handling. - Improved gzip compression settings. - Fixed rewrite rules to properly handle static content. - Added resolver for better DNS resolution. - Ensured proper trailing slash redirections. - Updated proxy settings for better MinIO integration.
This commit is contained in:
parent
b3d904805c
commit
8075bab534
6 changed files with 88 additions and 13 deletions
35
scripts/get_release_notes.py
Executable file
35
scripts/get_release_notes.py
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
#!/usr/bin/env -S uv run --quiet --script
|
||||
# /// script
|
||||
# requires-python = ">=3.10"
|
||||
# ///
|
||||
|
||||
import sys
|
||||
|
||||
|
||||
def get_release_notes(version):
|
||||
with open("CHANGELOG.md", "r") as f:
|
||||
content = f.read()
|
||||
|
||||
sections = content.split("\n## ")
|
||||
# First section won't start with ## since it's split on that
|
||||
sections = ["## " + s if i > 0 else s for i, s in enumerate(sections)]
|
||||
|
||||
for section in sections:
|
||||
if section.startswith(f"## {version}"):
|
||||
return section.strip()
|
||||
|
||||
return None
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) != 2:
|
||||
print("Usage: get_release_notes.py VERSION", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
version = sys.argv[1]
|
||||
notes = get_release_notes(version)
|
||||
if notes:
|
||||
print(notes)
|
||||
else:
|
||||
print(f"Error: No release notes found for version {version}", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue