Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
AI RAG Search 1.0.0-beta1 Release Notes
Summary
This beta focuses on stability and Drupal.org readiness, with a critical production fix for search request authorization.
Included since alpha3
1. Fixed production 403 errors on search POST requests by correcting CSRF token path generation to match Drupal route access validation.
2. Applied Drupal review standards updates (hook naming and code hygiene improvements).
3. Added Composer metadata for Drupal.org packaging support.
4. Reverted the temporary no-API distribution variant so API functionality remains available.
Key Fixes
1. CSRF validation fix for the search endpoint:
- Resolved token mismatch caused by path format differences.
- Prevents Access denied responses during AJAX search in production-like environments.
2. Standards and quality cleanup:
- Preprocess hook naming aligned with module conventions.
- Static logger usage cleaned up in settings handling.
- Debug logging removed from analytics frontend script.
- Route-level CSRF protection restored.
3. Packaging:
- Composer manifest included for Drupal ecosystem compatibility.
Upgrade Notes
1. Recommended update target for beta testing is tag 1.0.0-beta1.
2. Clear Drupal caches after updating to ensure routing and frontend assets are refreshed.
3. Re-test search form submission and analytics logging in the target environment.
Known Follow-ups
1. External CDN usage for Chart.js may still need to be addressed for strict Drupal.org review expectations.
2. Minor readability refactoring can still be done in some controller logic before stable release.