From 07adb479e9edd9071b87e75ccb28cdf9258537e7 Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Mon, 18 Dec 2017 18:09:55 +0100 Subject: [PATCH] 4.1 changelog does not belong in 4.0 file --- CHANGELOG-2.0.md | 25 ------------- CHANGELOG-2.1.md | 22 ------------ CHANGELOG-3.0.md | 94 ------------------------------------------------ CHANGELOG-3.1.md | 82 ------------------------------------------ CHANGELOG-3.2.md | 41 --------------------- CHANGELOG-4.0.md | 10 ------ CHANGELOG-4.1.md | 15 ++++++++ UPGRADE-3.0.md | 32 ----------------- 8 files changed, 15 insertions(+), 306 deletions(-) delete mode 100644 CHANGELOG-2.0.md delete mode 100644 CHANGELOG-2.1.md delete mode 100644 CHANGELOG-3.0.md delete mode 100644 CHANGELOG-3.1.md delete mode 100644 CHANGELOG-3.2.md create mode 100644 CHANGELOG-4.1.md delete mode 100644 UPGRADE-3.0.md diff --git a/CHANGELOG-2.0.md b/CHANGELOG-2.0.md deleted file mode 100644 index 26c779c48..000000000 --- a/CHANGELOG-2.0.md +++ /dev/null @@ -1,25 +0,0 @@ -CHANGELOG for 2.0.x -=================== - -This changelog references the relevant changes (bug and security fixes) done -in 2.0 minor versions. - -To get the diff for a specific change, go to -https://github.com/FriendsOfSymfony/FOSElasticaBundle/commit/XXX where XXX is -the commit hash. To get the diff between two versions, go to -https://github.com/FriendsOfSymfony/FOSElasticaBundle/compare/v2.0.0...v2.0.1 - -To generate a changelog summary since the last version, run -`git log --no-merges --oneline v2.0.0...2.0.x` - -* 2.0.2 (2013-06-06) - - * 00e9a49: Allow Symfony dependencies until 3.0 - * 4b4a56d: Check for "indexes" key in Configuration::getNestings() - * 8ffd1a7: Update install version and add links to compatibility info - * 58e983f: Document installation via composer in README (closes #271) - -* 2.0.1 (2013-04-04) - - * f0d3a4d: Ensure mongo extension is available in Travis CI - * 1f26318: Avoid using a feature not supported in PHP5.3 diff --git a/CHANGELOG-2.1.md b/CHANGELOG-2.1.md deleted file mode 100644 index 4069cdd59..000000000 --- a/CHANGELOG-2.1.md +++ /dev/null @@ -1,22 +0,0 @@ -CHANGELOG for 2.1.x -=================== - -This changelog references the relevant changes (bug and security fixes) done -in 2.1 minor versions. - -To get the diff for a specific change, go to -https://github.com/FriendsOfSymfony/FOSElasticaBundle/commit/XXX where XXX is -the commit hash. To get the diff between two versions, go to -https://github.com/FriendsOfSymfony/FOSElasticaBundle/compare/v2.1.0...v2.1.1 - -To generate a changelog summary since the last version, run -`git log --no-merges --oneline v2.1.0...2.1.x` - -* 2.1.2 (2013-06-06) - - * 00e9a49: Allow Symfony dependencies until 3.0 - -* 2.1.1 (2013-05-15) - - * c05e0ca: Added documentation for ignoring missing hits - * 00b67fd: Ignore missing index hits diff --git a/CHANGELOG-3.0.md b/CHANGELOG-3.0.md deleted file mode 100644 index 5793746cb..000000000 --- a/CHANGELOG-3.0.md +++ /dev/null @@ -1,94 +0,0 @@ -CHANGELOG for 3.0.x -=================== - -This changelog references the relevant changes (bug and security fixes) done -in 3.0 minor versions. - -To get the diff for a specific change, go to -https://github.com/FriendsOfSymfony/FOSElasticaBundle/commit/XXX where XXX is -the commit hash. To get the diff between two versions, go to -https://github.com/FriendsOfSymfony/FOSElasticaBundle/compare/v3.0.0...v3.0.1 - -To generate a changelog summary since the last version, run -`git log --no-merges --oneline v3.0.0...3.0.x` - -* 3.0.13 (2015-09-17) - - * Add PHP 7 compatibility - * Fix: Don't use parent identifier for objects/nested documents - -* 3.0.12 (2015-08-31) - - * Bump allowed Elastica version to 2.2 - -* 3.0.11 (2015-08-05) - - * Bump allowed Elastica version to 2.1 - * Fixed Symfony 2.7 deprecated messages - -* 3.0.10 (2015-05-28) - - * Bump allowed Elastica version to 2.0 - -* 3.0.9 (2015-03-12) - - * Fix a bug in the BC layer of the type configuration for empty configs - * Fix the service definition for the Doctrine listener when the logger is not enabled - -* 3.0.8 (2014-01-31) - - * Fixed handling of empty indexes #760 - * Added support for `connectionStrategy` Elastica configuration #732 - * Allow Elastica 1.4 - -* 3.0.7 (2015-01-21) - - * Fixed the indexing of parent/child relations, broken since 3.0 #774 - * Fixed multi_field properties not being normalised #769 - -* 3.0.6 (2015-01-04) - - * Removed unused public image asset for the web development toolbar #742 - * Fixed is_indexable_callback BC code to support array notation #761 - * Fixed debug_logger for type providers #724 - * Clean the OM if we filter away the entire batch #737 - -* 3.0.0-ALPHA6 - - * Moved `is_indexable_callback` from the listener properties to a type property called - `indexable_callback` which is run when both populating and listening for object - changes. - * AbstractProvider constructor change: Second argument is now an `IndexableInterface` - instance. - * Annotation @Search moved to FOS\ElasticaBundle\Annotation\Search with FOS\ElasticaBundle\Configuration\Search deprecated - * Deprecated FOS\ElasticaBundle\Client in favour of FOS\ElasticaBundle\Elastica\Client - * Deprecated FOS\ElasticaBundle\DynamicIndex in favour of FOS\ElasticaBundle\Elastica\Index - * Deprecated FOS\ElasticaBundle\IndexManager in favour of FOS\ElasticaBundle\Index\IndexManager - * Deprecated FOS\ElasticaBundle\Resetter in favour of FOS\ElasticaBundle\Index\Resetter - -* 3.0.0-ALPHA5 (2014-05-23) - - * Doctrine Provider speed up by disabling persistence logging while populating documents - -* 3.0.0-ALPHA4 (2014-04-10) - - * Indexes are now capable of logging errors with Elastica - * Fixed deferred indexing of deleted documents - * Resetting an index will now create it even if it doesn't exist - * Bulk upserting of documents is now supported when populating - -* 3.0.0-ALPHA3 (2014-04-01) - - * a9c4c93: Logger is now only enabled in debug mode by default - * #463: allowing hot swappable reindexing - * #415: BC BREAK: document indexing occurs in postFlush rather than the pre* events previously. - * 7d13823: Dropped (broken) support for Symfony <2.3 - * #496: Added support for HTTP headers - * #528: FOSElasticaBundle will disable Doctrine logging when populating for a large increase in speed - -* 3.0.0-ALPHA2 (2014-03-17) - - * 41bf07e: Renamed the `no-stop-on-error` option in PopulateCommand to `ignore-errors` - * 418b9d7: Fixed validation of url configuration - * 726892c: Ignore TypeMissingException when resetting a single type. This allows to create new types without having to recreate the whole index. - * 7f53bad Add support for include_in_{parent,root} for nested and objects diff --git a/CHANGELOG-3.1.md b/CHANGELOG-3.1.md deleted file mode 100644 index 31027c802..000000000 --- a/CHANGELOG-3.1.md +++ /dev/null @@ -1,82 +0,0 @@ -CHANGELOG for 3.1.x -=================== - -This changelog references the relevant changes (bug and security fixes) done -in 3.1 versions. - -To get the diff for a specific change, go to -https://github.com/FriendsOfSymfony/FOSElasticaBundle/commit/XXX where XXX is -the commit hash. To get the diff between two versions, go to -https://github.com/FriendsOfSymfony/FOSElasticaBundle/compare/v3.0.4...v3.1.0 - -* 3.1.8 (2016-01-07) - * Removes store:true from mappings unless specifically defined - -* 3.1.7 (2015-12-08) - * Allow Elastica 2.3 - -* 3.1.6 (2015-09-17) - - * Allow Elastica 2.2 - * Add PHP 7 compatibility - * Fix: Don't use parent identifier for objects/nested documents - -* 3.1.5 (2015-08-05) - - * Allow Elastica 2.1 - * Remove usage of deprecated APIs to avoid deprecation warnings in Symfony 2.7 - -* 3.1.4 (2015-05-28) - - * Bump Elastica constraint to 2.0 - -* 3.1.3 (2015-04-02) - - * Fix Symfony 2.3 compatibility - -* 3.1.2 (2015-03-27) - - * Fix the previous release - -* 3.1.1 (2015-03-27) - - * Fix PopulateCommand trying to set formats for ProgressBar in Symfony < 2.5 - * Fix Provider implementations that depend on a batch size from going into - infinite loops - -* 3.1.0 (2015-03-18) - - * BC BREAK: `Doctrine\Listener#scheduleForDeletion` access changed to private. - * BC BREAK: `ObjectPersisterInterface` gains the method `handlesObject` that - returns a boolean value if it will handle a given object or not. - * BC BREAK: Removed `Doctrine\Listener#getSubscribedEvents`. The container - configuration now configures tags with the methods to call to avoid loading - this class on every request where doctrine is active. #729 - * BC BREAK: Added methods for retrieving aggregations when paginating results. - The `PaginationAdapterInterface` has a new method, `getAggregations`. #726 - * Added ability to configure `date_detection`, `numeric_detection` and - `dynamic_date_formats` for types. #753 - * New event `POST_TRANSFORM` which allows developers to add custom properties to - Elastica Documents for indexing. - * When available, the `fos:elastica:populate` command will now use the - ProgressBar helper instead of outputting strings. You can use verbosity - controls on the command to output additional information like memory - usage, runtime and estimated time. - * Added new option `property_path` to a type property definition to allow - customisation of the property path used to retrieve data from objects. - Setting `property_path` to `false` will configure the Transformer to ignore - that property while transforming. Combined with the above POST_TRANSFORM event - developers can now create calculated dynamic properties on Elastica documents - for indexing. #794 - * Fixed a case where ProgressCommand would always ignore errors regardless of - --ignore-errors being passed or not. - * Added a `SliceFetcher` abstraction for Doctrine providers that get more - information about the previous slice allowing for optimising queries during - population. #725 - * New events `PRE_INDEX_POPULATE`, `POST_INDEX_POPULATE`, `PRE_TYPE_POPULATE` and - `POST_TYPE_POPULATE` allow for monitoring when an index is about to be or has - just been populated. #744 - * New events `PRE_INDEX_RESET`, `POST_INDEX_RESET`, `PRE_TYPE_RESET` and - `POST_TYPE_RESET` are run before and after operations that will reset an - index. #744 - * Added indexable callback support for the __invoke method of a service. #823 diff --git a/CHANGELOG-3.2.md b/CHANGELOG-3.2.md deleted file mode 100644 index 1c55d2445..000000000 --- a/CHANGELOG-3.2.md +++ /dev/null @@ -1,41 +0,0 @@ -CHANGELOG for 3.2.x -=================== - -This changelog references the relevant changes (bug and security fixes) done -in 3.2 versions. - -### 3.2.4 (2017-08-10) - -* Fixed Propel object sorting -* Fixed the profiler icon for IE - -### 3.2.3 (2017-03-30) - -* Fixed service priority when registering providers - -### 3.2.2 (2017-01-25) - -* Fixed `Resetter::resetIndexType` on Elasticsearch 1.x - -### 3.2.1 (2016-10-04) - -* Restored and deprecated `immediate` option - -### 3.2.0 (2016-08-04) - -* Allow driverless type definitions #953 -* Change Elastica constraints to allow ~2.1 as Elastica now follows semver -* Add support for the [dynamic](https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic.html) setting in mapping -* Fixed PropelCollection to array casting error #992 -* Allow set retryOnConflict per connection -* New event `PRE_TRANSFORM` which allows developers to modify objects before -transformation into documents for indexing -* Introduce `serialize_null` option for Serializer -* Ability to specify custom connection settings for functional tests -* Doctrine: possible to use hints when hydrating objects -* Resolved Propel configuration -* Add Elastica compression option -* Add support for `defaultSortFieldName` and `defaultSortDirection` pagination options -* Removed `immediate` option on type persistence configuration -* Enable pagination of hybrid results -* Add Symfony Serializer support diff --git a/CHANGELOG-4.0.md b/CHANGELOG-4.0.md index e3d8e404b..e5648afd0 100644 --- a/CHANGELOG-4.0.md +++ b/CHANGELOG-4.0.md @@ -4,16 +4,6 @@ CHANGELOG for 4.0.x This changelog references the relevant changes (bug and security fixes) done in 4.0 versions. -## 4.1.0 - -* Introduce a new provider's API. Deprecate legacy ones. -* Introduce a provider pager. -* Introduce InPlacePagerPersister. -* Add new options to populate command: --first-page, last-page, --max-per-page. They work only if you use v5 providers API. -* Deprecate some options of populate command: --batch-size and --offset. -* Deprecate Propel support -* Cast value objects used as identifier in Elasticsearch to string - ### 4.0.1 (2017-08-10) * Fixed Propel object sorting diff --git a/CHANGELOG-4.1.md b/CHANGELOG-4.1.md new file mode 100644 index 000000000..dbc2fb1e3 --- /dev/null +++ b/CHANGELOG-4.1.md @@ -0,0 +1,15 @@ +CHANGELOG for 4.1.x +=================== + +This changelog references the relevant changes (bug and security fixes) done +in 4.1 versions. + +## 4.1.0 (2017-12-18) + +* Introduce a new provider's API. Deprecate legacy ones. See #1240 +* Introduce a provider pager. +* Introduce InPlacePagerPersister. +* Add new options to populate command: --first-page, last-page, --max-per-page. They work only if you use v5 providers API. +* Deprecate some options of populate command: --batch-size and --offset. +* Deprecate Propel support +* Cast value objects used as identifier in Elasticsearch to string diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md deleted file mode 100644 index a9a99a470..000000000 --- a/UPGRADE-3.0.md +++ /dev/null @@ -1,32 +0,0 @@ -UPGRADE FROM 2.1 to 3.0 -======================= - -### Serialization - - * you can now define a Serializer service and callback for indexing. All providers and listeners will use it. - - ```yml - serializer: - callback_class: FOS\ElasticaBundle\Serializer\Callback - serializer: serializer - ``` - -### Mapping - - * you do not have to setup any mapping anymore if you use a Serializer, properties are no more indexed only if - they are mapped. So this kind of configuration became valid: - - ```yml - serializer: - callback_class: FOS\ElasticaBundle\Serializer\Callback - serializer: serializer - indexes: - acme: - client: default - types: - Article: - persistence: - driver: orm - model: Acme\Bundle\CoreBundle\Entity\Article - provider: ~ - ```