Commit 39b99b39 authored by Markus Kalkbrenner's avatar Markus Kalkbrenner Committed by GitHub

prepare 4.0.0-alpha.1 (#566)

* changed CHANGLOG format
parent 0369a56e
# CHANGELOG # CHANGELOG
All notable changes to the solarium library will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [4.0.0-alpha.1]
### Added
- Terms component
- Spellcheck component
- Spellcheck query type
- Added missing parameters to the Spellcheck query type and the component (compared to the 3.x Suggester)
- Support for deep paging with a cursor
- Symfony 4 support
- Nightly builds / tests
- Basic Integration tests running real Solr queries against Solr's techproducts example
## Unreleased
### Changed ### Changed
- Renamed folder library to src - Renamed folder library to src
- Use PSR-4 class loading - Use PSR-4 class loading
- Updated PHPUnit to v6.5 - Updated PHPUnit to v6.5
- Updated required PHP version to >= v7.0 - Updated required PHP version to >= v7.0
- Isolated search components from the select query type and made them re-usable
- BC break: Suggester component is now compatible to Solr v6/7 (the existing one was renamed to Spellcheck)
- BC break: Suggester query type is now compatible to Solr v6/7 (the existing one was renamed to Spellcheck)
- Lots of source code re-structuring and clean-up
## 3.8.1 - 2017-02-02 ### Removed
- Phar support
- bugfix: restore PHP 5.3 compatibility (remove short array syntax) - Exclude test suite from distribution
- Dropped support for Solr versions before 6
## 3.8.0 - 2017-01-31
- bugfix: use GET request for extracting remote files ## [3.8.1]
- added: support for simple group format in response parser ### Fixed
- added: helper for fetching ValueGroup from a Grouped result - Restore PHP 5.3 compatibility (remove short array syntax)
- bugfix: prevent ParallelExecution Curl spinloop
- added: Guzzle 3 and Guzzle 6 client adapters
- improvement: various fixes in documentation ## [3.8.0]
### Added
## 3.7.0 - 2016-10-28 - Support for simple group format in response parser
- Helper for fetching ValueGroup from a Grouped result
- added: support for nested documents in update query - Guzzle 3 and Guzzle 6 client adapters
- added: spatial component for select query
- added: support for keys and excludes in interval facet ### Changed
- added: support for grouping using a function (group.func) - Various fixes in documentation
- bugfix: spellcheck collation parsing for Solr 5+
- improvement: lots of fixes in documentation markup ### Fixed
- added: included suggestion in composer file for a query builder library - Use GET request for extracting remote files
- Prevent ParallelExecution Curl spinloop
## 3.6.0 - 2016-05-03
- improvement: no longer allow failures for HHVM in continuous integration ## [3.7.0]
- improvement: added Symfony 3.x components to CI tests for PHP 5.5+ ### Added
- added: support for replicas in distributed search - Support for nested documents in update query
- added: support for multiple boost queries in dismax - Spatial component for select query
- added: support for additional stats values like percentiles - Support for keys and excludes in interval facet
- improvement: several typo / markup fixes in documentation - Support for grouping using a function (group.func)
- improvement: several docblock fixes - Included suggestion in composer file for a query builder library
- improvement: ClientInterface now also used for standard Client class
### Changed
## 3.5.1 - Lots of fixes in documentation markup
- fix backwards incompatible change in classnames ### Fixed
- Spellcheck collation parsing for Solr 5+
## 3.5.0 - 2015-12-09
- improvement: lots of code style fixes ## [3.6.0]
- improvement: refactored 'base' plugin class to AbstractPlugin ### Added
- improvement: removed old PHP environments for Travis, added PHP7 - Support for replicas in distributed search
- improvement: set license to a valid SPDX license identifier - Support for multiple boost queries in dismax
- bugfix: PHAR generator updated to support namespacing - Support for additional stats values like percentiles
- bugfix: Collations broken for Solr 5 data format - Added Symfony 3.x components to CI tests for PHP 5.5+
- added: Make it possible to bypass (system-wide) proxy setting in Curl adapter
- improvement: Added SensioLabs Insight (including lots of fixed in the code based on report) ### Changed
- added: ClientInterface - No longer allow failures for HHVM in continuous integration
- improvement: Set hard paths in .gitignore to prevent tree lookups - ClientInterface now also used for standard Client class
- added: Support for facet.contains settings
- improvement: updated Symfony event dispatcher dependency to a maintained version ### Fixed
- added: docs in repository (markdown format) - Several typo / markup fixes in documentation
- Several docblock fixes
## 3.4.0 - 2015-06-14
- bugfix: only check type for added documents to add query if provided as an array ## [3.5.1]
- improvement: added support for calling empty() and isset() on result document properties ### Fixed
- improvement: added composer test script - backwards incompatible change in classnames
- bugfix: curl file upload handling
- improvement: added 'contributing' file
- improvement: docblock fixes in grouping component facets ## [3.5.0]
- added: facet interval support ### Added
- added: ZF2 http adapter - Make it possible to bypass (system-wide) proxy setting in Curl adapter
- added: stats for pivot facet - ClientInterface
- bugfix: spellcheck 'collations' and 'correctlyspelled' updated to support Solr 5 format - Support for facet.contains settings
- bugfix: curl adapter now uses Solr 5 compatible headers for a GET request - Docs in repository (markdown format)
- improvement: lots of code style fixes, using the SF2 code style - SensioLabs Insight (including lots of fixed in the code based on report)
### Changed
## 3.3.0 - 2014-11-16 - Lots of code style fixes
- Refactored 'base' plugin class to AbstractPlugin
- improvement: fixes in build.xml (use phpunit in vendor directory) - Removed old PHP environments for Travis, added PHP7
- improvement: added support for nested debug-info in the debug query - Set license to a valid SPDX license identifier
- new feature: added support for data fixtures - Set hard paths in .gitignore to prevent tree lookups
- improvement: filter control characters in update documents by default - Updated Symfony event dispatcher dependency to a maintained version
- bugfix: pivot facet does not accept extra parameters
- improvement: Facet range now supports the mincount parameter ### Fixed
- improvement: Spellcheck response parser can now handle multiple suggestions - PHAR generator updated to support namespacing
- bugfix: Pivot facet uses the wrong key in result parsing - Collations broken for Solr 5 data format
- bugfix: Wrong handling of boolean values in update documents
- improvement: Removed constructor from interface Solarium/Core/ConfigurableInterface.php
- improvement: Prefetch iterator now resets if prefetch or query settings are changed ## [3.4.0]
- improvement: Added matchoffset setting to MLT querytype ### Added
- bugfix: Highlight query should only set hl.fl param if there are any fields set - Facet interval support
- bugfix: Curl crash when open_basedir is set - ZF2 http adapter
- improvement: PreFetchIterator plugin now supports setting an endpoint - Stats for pivot facet
- improvement: BufferedAdd plugin now supports an endpoint supplied as a config - Support for calling empty() and isset() on result document properties
- improvement: Updated curl adapter file handling to prevent warnings in php >=5.5.0 - Composer test script
- improvement: Added remote file streaming support to extract request handler - 'contributing' file
- improvement: Query result now also supports maxscore
- new feature: Added MinimumScoreFilter plugin, also for grouping ### Changed
- improvement: MoreLikeThis now allows for individual boosts on query fields - Lots of code style fixes, using the SF2 code style
- bugfix: Fix suggester parser with duplicates
- improvement: Select query component MoreLikeThis now supports boosting multiple fields ### Fixed
- improvement: added PHP 5.5, 5.6 and HHVM to Travis config - Docblock fixes in grouping component facets
- improvement: Solarium now uses Coveralls for test coverage reports - Only check type for added documents to add query if provided as an array
- improvement: if a config object does not supply a toArray method, the object is converted by Solarium - Curl file upload handling
- improvement: Highlighting now supports hl.preserveMulti param - Spellcheck 'collations' and 'correctlyspelled' updated to support Solr 5 format
- improvement: Stats component now supports exludes - Curl adapter now uses Solr 5 compatible headers for a GET request
- improvement: Range query helper now supports wildcards
- improvement: Support HTTPS scheme for endpoints
- improvement: CURL and PECL_HTTP adapters now set connection timeout and dns cache timeout ## [3.3.0]
- improvement: Extract query now supports ExtractOnly ### Added
- improvement: The event dispatcher can now be injected - Support for data fixtures
- improvement: PSR-0 and PSR-2 code fixes - MinimumScoreFilter plugin, also for grouping
- Support for nested debug-info in the debug query
### Changed
- Filter control characters in update documents by default
- Facet range now supports the mincount parameter
- Spellcheck response parser can now handle multiple suggestions
- Prefetch iterator now resets if prefetch or query settings are changed
- Added matchoffset setting to MLT querytype
- PreFetchIterator plugin now supports setting an endpoint
- BufferedAdd plugin now supports an endpoint supplied as a config
- Updated curl adapter file handling to prevent warnings in php >=5.5.0
- Added remote file streaming support to extract request handler
- Query result now also supports maxscore
- MoreLikeThis now allows for individual boosts on query fields
- Select query component MoreLikeThis now supports boosting multiple fields
- Added PHP 5.5, 5.6 and HHVM to Travis config
- Solarium now uses Coveralls for test coverage reports
- If a config object does not supply a toArray method, the object is converted by Solarium
- Highlighting now supports hl.preserveMulti param
- Stats component now supports exludes
- Range query helper now supports wildcards
- Support HTTPS scheme for endpoints
- CURL and PECL_HTTP adapters now set connection timeout and dns cache timeout
- Extract query now supports ExtractOnly
- The event dispatcher can now be injected
- PSR-0 and PSR-2 code fixes
### Fixed
- Fixes in build.xml (use phpunit in vendor directory)
- Pivot facet does not accept extra parameters
- Pivot facet uses the wrong key in result parsing
- Wrong handling of boolean values in update documents
- Highlight query should only set hl.fl param if there are any fields set
- Curl crash when open_basedir is set
- Fix suggester parser with duplicates
- Removed constructor from interface Solarium/Core/ConfigurableInterface.php
...@@ -21,4 +21,4 @@ If you are uncertain about any part or need help please feel free to ask for hel ...@@ -21,4 +21,4 @@ If you are uncertain about any part or need help please feel free to ask for hel
* A pull request should be mergeable (fast-forward) if not, you will be asked to update it. * A pull request should be mergeable (fast-forward) if not, you will be asked to update it.
* Ideally any change should include updated or new unittests to cover the changes. You can submit a PR without tests, but it will take longer to merge as someone else will need to fix the test coverage. * Ideally any change should include updated or new unittests to cover the changes. You can submit a PR without tests, but it will take longer to merge as someone else will need to fix the test coverage.
* Solarium follows the Symfony2 code standards: http://symfony.com/doc/current/contributing/code/standards.html * Solarium follows the Symfony2 code standards: http://symfony.com/doc/current/contributing/code/standards.html
* Each PR will be checked by the CI environment automatically. Ofcourse anything other than a 'green' status needs to be fixed before a PR can be merged. * Each PR will be checked by the CI environment automatically. Of course anything other than a 'green' status needs to be fixed before a PR can be merged.
...@@ -28,11 +28,6 @@ ...@@ -28,11 +28,6 @@
"config": { "config": {
"sort-packages": true "sort-packages": true
}, },
"extra": {
"branch-alias": {
"dev-develop": "4.0.x-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Solarium\\": "src/" "Solarium\\": "src/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment