This release introduces key improvements to application architecture, database operations, and validation logic, alongside critical bug fixes. Here are the highlights:
---
**New Features**
- **DBEngineMixin Enhancements**:
- Added support for **view operations** and **cascade table deletion**, expanding database management capabilities. (Thanks, Anton Kremenetsky)
---
**Bug Fixes**
- **FieldsPermissions Argument Order**:
- Fixed incorrect argument order in `is_readonly` and `is_hidden` methods, resolving issues with field permission checks. (Thanks, George Melikov)
- **UUID Validation**:
- Addressed case sensitivity in UUID regex patterns to ensure compatibility with uppercase UUIDs, aligning with RFC 4122 standards.
---
**Improvements**
- **RESTService Initialization Refactor**:
- Removed hardcoded defaults for `bind_host` and `bind_port`, replacing them with dynamic properties (`service_host` and `service_port`).
- Simplified server creation by directly passing `app_root` to the WSGI server.
- **WSGI Application Setup**:
- Centralized OpenAPI configuration and middleware logic into the new `build_wsgi_application` function, improving separation of concerns.
- **UUID Regex Formatting**:
- Updated regex syntax for clarity (e.g., `{8}` instead of `{8,8}`) while preserving UUID structure validation.
---
**Refactoring**
- **Entry Point and Test Updates**:
- Explicitly set `bind_host="0.0.0.0"` and `bind_port=8000` in the `main()` entry point.
- Adjusted test suites to utilize `build_wsgi_application` for consistency.
---
**Contributors**: Eugene Frolov, Anton Kremenetsky, George Melikov