Last week, the search eco-system has seen a new release of alpha versions. A new alpha was tagged for Search API, Search API Solr, Search API Page and others. Facets has also seen a new release, that supports Search API alpha-13.
We’ve seen a whole lot of extra code since the first alpha release; for bugfixes, new tests and additional functionality.
git checkout 8.x-1.0-alpha2; git diff --shortstat 8.x-1.0-alpha1 tells us that we changed 126 files, added 4541 lines and removed 1291.
One thing that I’m extra happy for is that we managed to double the amount of unit tests.
phpunit -c core modules/facets/ on alpha1 outputs:
OK (54 tests, 313 assertions), while that same command on alpha2 shows that we now have 124 tests:
OK (124 tests, 478 assertions).
We also tried to be strict in adhering to the drupal coding standards, with 9 commits dedicated to keeping the codebase in shape, resulting in no output from running
phpcs --standard=Drupal modules/facets.
Even more awesome is that there’s been a number of new people that contributed since alpha 1, by reporting and helping resolve issues.
A couple of highlights of issues that have been included in alpha-2 are:
- Initial support for a date query type - for core search;
- A new widget: select/dropdown;
- Facet block not immediately visible in ‘blocks’ after creation;
- Limiting to 1 active item;
- Nofollow on links for search engines.
What’s still to do before beta.
We still have some things to do before we can go into beta and eventually to a stable release for facets. There’s still a bunch of open issues we need to address. We’d also very much appreciate manual testing and good issue reports so we can make the next releases better.
If you want to talk to any of us about Facets or another part of the search ecosystem, you can find us on #drupal-search-api on Freenode.