You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+3
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
### Changed
15
15
- JSON update requests give precedence to `Stringable` over `JsonSerializable` for object set as field value to keep behaviour consistent across request formats
16
16
17
+
### Removed
18
+
- Support for config objects, you have to convert them to an array before passing to a constructor or `setOptions()`
When upgrading from an earlier version, you should be aware of a number of pitfalls.
34
34
35
+
*[Pitfall when upgrading to 6.3.6](https://solarium.readthedocs.io/en/stable/getting-started/#pitfall-when-upgrading-to-636)
35
36
*[Pitfall when upgrading to 6.3.2](https://solarium.readthedocs.io/en/stable/getting-started/#pitfall-when-upgrading-to-632)
36
37
*[Pitfall when upgrading to 6.3](https://solarium.readthedocs.io/en/stable/getting-started/#pitfall-when-upgrading-to-63)
37
38
*[Pitfalls when upgrading from 3.x or 4.x or 5.x](https://solarium.readthedocs.io/en/stable/getting-started/#pitfalls-when-upgrading-from-3x-or-4x-or-5x)
Copy file name to clipboardexpand all lines: docs/solarium-concepts.md
+3-7
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ Solarium allows for three main modes of usage of the library: programmatically,
11
11
12
12
Currently only the programmatic and extending modes support all features, the configuration mode doesn't support some complex cases. This might be improved over time but there will always be limits to what is possible with configuration only, without creating very complex configurations.
13
13
14
-
The configuration mode supports an array as input or an object that implements the `toArray()` method (this is also compatible with the Zend Framework `Zend_Config` component).
14
+
The configuration mode supports an associative array as input.
15
15
16
-
The three modes apply to all Solarium classes that extend `Solarium\Core\Configurable`. This includes all Solarium classes that are intended for direct usage, e.g. the query classes, filterqueries, components etcetera. You can check to API for a class to see if it supports config mode.
16
+
The three modes apply to all Solarium classes that extend `Solarium\Core\Configurable`. This includes all Solarium classes that are intended for direct usage, e.g. the query classes, filterqueries, components etcetera. You can check the API for a class to see if it supports config mode.
17
17
18
18
As an example the three modes are demonstrated, all creating an identical Solr client instance:
19
19
@@ -80,10 +80,6 @@ htmlFooter();
80
80
require_once(__DIR__.'/init.php');
81
81
htmlHeader();
82
82
83
-
84
-
// In this case an array is used for configuration to keep the example simple.
85
-
// For an easier to use config file you are probably better of with another format, like Zend_Config_Ini
86
-
// See the documentation for more info about this.
87
83
$select = array(
88
84
'query' => '*:*',
89
85
'start' => 2,
@@ -150,7 +146,7 @@ use Solarium\QueryType\Select\Query\Query as Select;
150
146
htmlHeader();
151
147
152
148
// In most cases using the API or config is advisable, however in some cases it can make sense to extend classes.
153
-
// This makes it possible to create 'query inheritance' like in this example
149
+
// This makes it possible to create 'query inheritance' like in this example.
0 commit comments