Skip to content

Releases: B0rner/yii2-solr

v3.0.0

14 Oct 11:06
d9d8873

Choose a tag to compare

This major release introduces ActiveRecord support for Solr, transforming yii2-solr into a comprehensive ActiveRecord implementation following Yii2 conventions.

🚀 Major New Features

  • ActiveRecord Implementation: Basic CRUD operations using familiar Yii2 methods (find(), findOne(), save(), delete(), etc.)
  • ActiveDataProvider: Seamless integration with GridView, ListView, and other Yii2 widgets
  • ActiveFixture Support: Comprehensive testing capabilities using Yii2's testing framework
  • Extended Solr Parameters: Significantly expanded support for Solr query parameters (see Query.php)
  • Query Builder Enhancements: Improved query construction following Yii2 patterns

💡 Key Benefits

  • Work with Solr documents using the same patterns as database records
  • Reduced boilerplate code for basic CRUD operations
  • Built-in validation using Yii2's validation rules
  • Enhanced testability with ActiveFixture support
  • Better maintainability through standard Yii2 conventions

📦 Installation

composer require b0rner/yii2-solr:^3.0

text

📚 Documentation

Full documentation is available in the README.md

⚠️ Breaking Changes

This version introduces ActiveRecord functionality which may require code adjustments if upgrading from v1.x. Review the updated README for migration guidance.

🙏 Credits

Special thanks to @rmatulat (https://github.com/rmatulat) for contributing the majority of the ActiveRecord implementation.

📝 Full Changelog

View the complete list of changes in the commit history

Yii2 Solr extension ready to use with solarium 6.

16 Feb 13:55
fe4ac2f

Choose a tag to compare

A Yii2 Solr Extension built on top of Solarium 6 and works with PHP 8.
This extension is based of the yii2-solr from Sammaye (https://github.com/Sammaye/yii2-solr), but will work with solarium 6.

Yii2 Solr extension ready to use with solarium 6.

16 Feb 12:00
bde7bfa

Choose a tag to compare

A Yii2 Solr Extension built on top of Solarium 6 and works with PHP 8.
This extension is based of the yii2-solr from Sammaye (https://github.com/Sammaye/yii2-solr), but will work with solarium 6.