Harry Patcher
Harry Patcher
Fixes #282 ## Fix yaml.load deprecation warning Replaced deprecated `yaml.load()` calls with `yaml.safe_load()` to avoid deprecation warnings and potential security risks. The change maintains the same functionality while using the...
Fixes #297 ## Fix IndexError in CacheEtagMiddleware The `_is_early_cache()` function in FastAPI middleware would raise an `IndexError` when processing empty lists. This fix adds a length check (`len(data)`) before accessing...
Fixes #1347 ## Fix async/sync view handling for mixed HTTP methods Fixes a bug where routes with mixed async/sync operations were incorrectly treating all operations as async. The fix: -...
Fixes #300 ## Fix purely_emoji() for empty strings The `purely_emoji()` function incorrectly returned `True` for empty strings. This change makes it return `False` instead, which is more intuitive behavior. The...
Fixes #1088 ## Fix invalid escape sequence warnings Resolves Python 3.12 syntax warnings by making regex patterns raw strings. The warnings occurred for invalid escape sequences `\s` in regex patterns...
Fixes #2826 ## Prevent group self-deletion This commit prevents groups from deleting themselves (via `del group['']`) which could lead to inconsistent states. The change: - Adds a `ValueError` check in...