mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 16:24:31 -04:00
Bug/minor fixes (#762)
* Set web concurrency to 1 * bump versions * update release notes Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
32
dev/scripts/github_get_release_fixes.py
Normal file
32
dev/scripts/github_get_release_fixes.py
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
import json
|
||||||
|
|
||||||
|
import requests
|
||||||
|
from pydantic import BaseModel
|
||||||
|
|
||||||
|
|
||||||
|
class GithubIssue(BaseModel):
|
||||||
|
url: str
|
||||||
|
number: int
|
||||||
|
title: str
|
||||||
|
|
||||||
|
|
||||||
|
def get_issues_by_label(label="fixed-pending-release") -> list[GithubIssue]:
|
||||||
|
|
||||||
|
issues_url = f"https://api.github.com/repos/hay-kot/mealie/issues?labels={label}"
|
||||||
|
|
||||||
|
response = requests.get(issues_url)
|
||||||
|
issues = json.loads(response.text)
|
||||||
|
return [GithubIssue(**issue) for issue in issues]
|
||||||
|
|
||||||
|
|
||||||
|
def format_markdown_list(issues: list[GithubIssue]) -> str:
|
||||||
|
return "\n".join(f"- [{issue.number}]({issue.url}) - {issue.title}" for issue in issues)
|
||||||
|
|
||||||
|
|
||||||
|
def main() -> None:
|
||||||
|
issues = get_issues_by_label()
|
||||||
|
print(format_markdown_list(issues))
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
@@ -20,7 +20,7 @@ services:
|
|||||||
POSTGRES_DB: mealie
|
POSTGRES_DB: mealie
|
||||||
# WORKERS_PER_CORE: 0.5
|
# WORKERS_PER_CORE: 0.5
|
||||||
# MAX_WORKERS: 8
|
# MAX_WORKERS: 8
|
||||||
WEB_CONCURRENCY: 2
|
# WEB_CONCURRENCY: 2
|
||||||
postgres:
|
postgres:
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
image: postgres
|
image: postgres
|
||||||
|
|||||||
31
docs/docs/changelog/v0.5.3.md
Normal file
31
docs/docs/changelog/v0.5.3.md
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# v0.5.3 - Bug Fixes
|
||||||
|
|
||||||
|
**App Version: v0.5.3**
|
||||||
|
|
||||||
|
**Database Version: v0.5.0**
|
||||||
|
|
||||||
|
## Breaking Changes
|
||||||
|
|
||||||
|
!!! error "Breaking Changes"
|
||||||
|
#### None
|
||||||
|
|
||||||
|
|
||||||
|
## Bug Fixes
|
||||||
|
- [755](https://api.github.com/repos/hay-kot/mealie/issues/755) - Mealie Categories Not Displaying Until After Settings Opened
|
||||||
|
- [748](https://api.github.com/repos/hay-kot/mealie/issues/748) - categories - Internal Server Error
|
||||||
|
- [689](https://api.github.com/repos/hay-kot/mealie/issues/689) - Importing a recipe with time information
|
||||||
|
- [671](https://api.github.com/repos/hay-kot/mealie/issues/671) - Localization not loading on upgrade to v0.5.2
|
||||||
|
- [655](https://api.github.com/repos/hay-kot/mealie/issues/655) - Clicking on "tags" on a mobile phone doesn't work (Wrong link, "Internal server error")
|
||||||
|
- [654](https://api.github.com/repos/hay-kot/mealie/issues/654) - Ram Usage
|
||||||
|
- Fixed Missing minus in shopping list UI [688](https://github.com/hay-kot/mealie/pull/688)
|
||||||
|
|
||||||
|
## Features and Improvements
|
||||||
|
|
||||||
|
### General
|
||||||
|
- Recipe Images are no clickable [678](https://github.com/hay-kot/mealie/pull/678)
|
||||||
|
- Additional Translations
|
||||||
|
- Improved Recipe Parser thanks to [@cadamswaite](https://github.com/hay-kot/mealie/pulls?q=is%3Apr+author%3Acadamswaite)
|
||||||
|
- URL Scraper will now choose the best image from the list provided by the site
|
||||||
|
- Fixed the debugger to provide more meaningful data
|
||||||
|
- Fix issues parsing time formats
|
||||||
|
- Added support for parsing scraped nutrition details
|
||||||
@@ -54,7 +54,7 @@ services:
|
|||||||
RECIPE_DISABLE_AMOUNT: 'false'
|
RECIPE_DISABLE_AMOUNT: 'false'
|
||||||
|
|
||||||
# Gunicorn
|
# Gunicorn
|
||||||
WEB_CONCURRENCY: 2
|
# WEB_CONCURRENCY: 2
|
||||||
# WORKERS_PER_CORE: 0.5
|
# WORKERS_PER_CORE: 0.5
|
||||||
# MAX_WORKERS: 8
|
# MAX_WORKERS: 8
|
||||||
volumes:
|
volumes:
|
||||||
@@ -98,7 +98,7 @@ services:
|
|||||||
RECIPE_DISABLE_AMOUNT: 'false'
|
RECIPE_DISABLE_AMOUNT: 'false'
|
||||||
|
|
||||||
# Gunicorn
|
# Gunicorn
|
||||||
WEB_CONCURRENCY: 2
|
# WEB_CONCURRENCY: 2
|
||||||
# WORKERS_PER_CORE: 0.5
|
# WORKERS_PER_CORE: 0.5
|
||||||
# MAX_WORKERS: 8
|
# MAX_WORKERS: 8
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ nav:
|
|||||||
- Style Guide: "contributors/developers-guide/style-guide.md"
|
- Style Guide: "contributors/developers-guide/style-guide.md"
|
||||||
- Development Road Map: "roadmap.md"
|
- Development Road Map: "roadmap.md"
|
||||||
- Change Log:
|
- Change Log:
|
||||||
|
- v0.5.3 - Bug Fixes: "changelog/v0.5.3.md"
|
||||||
- v0.5.2 Misc Updates: "changelog/v0.5.2.md"
|
- v0.5.2 Misc Updates: "changelog/v0.5.2.md"
|
||||||
- v0.5.1 Bug Fixes: "changelog/v0.5.1.md"
|
- v0.5.1 Bug Fixes: "changelog/v0.5.1.md"
|
||||||
- v0.5.0 General Upgrades: "changelog/v0.5.0.md"
|
- v0.5.0 General Upgrades: "changelog/v0.5.0.md"
|
||||||
|
|||||||
18058
frontend/package-lock.json
generated
18058
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@
|
|||||||
<v-main>
|
<v-main>
|
||||||
<v-banner v-if="demo" sticky>
|
<v-banner v-if="demo" sticky>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<b> This is a Demo of the v0.5.0 (BETA) </b> | Username: changeme@email.com | Password: demo
|
<b> This is a Demo of the v0.5.4 (BETA) </b> | Username: changeme@email.com | Password: demo
|
||||||
</div>
|
</div>
|
||||||
</v-banner>
|
</v-banner>
|
||||||
<GlobalSnackbar />
|
<GlobalSnackbar />
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ class GunicornConfig:
|
|||||||
self.timeout = int(os.getenv("TIMEOUT", "120"))
|
self.timeout = int(os.getenv("TIMEOUT", "120"))
|
||||||
self.keepalive = int(os.getenv("KEEP_ALIVE", "5"))
|
self.keepalive = int(os.getenv("KEEP_ALIVE", "5"))
|
||||||
self.workers_per_core = float(os.getenv("WORKERS_PER_CORE", "1"))
|
self.workers_per_core = float(os.getenv("WORKERS_PER_CORE", "1"))
|
||||||
self.web_concurrency_str: str = os.getenv("WEB_CONCURRENCY", None)
|
self.web_concurrency_str: str = os.getenv("WEB_CONCURRENCY", "1")
|
||||||
self.max_workers_str: str = os.getenv("MAX_WORKERS", None)
|
self.max_workers_str: str = os.getenv("MAX_WORKERS", "1")
|
||||||
|
|
||||||
# Computed Variables
|
# Computed Variables
|
||||||
self.cores = multiprocessing.cpu_count()
|
self.cores = multiprocessing.cpu_count()
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from typing import Any, Optional, Union
|
|||||||
import dotenv
|
import dotenv
|
||||||
from pydantic import BaseSettings, Field, PostgresDsn, validator
|
from pydantic import BaseSettings, Field, PostgresDsn, validator
|
||||||
|
|
||||||
APP_VERSION = "v0.5.2"
|
APP_VERSION = "v0.5.3"
|
||||||
DB_VERSION = "v0.5.0"
|
DB_VERSION = "v0.5.0"
|
||||||
|
|
||||||
CWD = Path(__file__).parent
|
CWD = Path(__file__).parent
|
||||||
|
|||||||
Reference in New Issue
Block a user