Skip to content

Latest commit

 

History

History
312 lines (298 loc) · 17.6 KB

CHANGELOG.md

File metadata and controls

312 lines (298 loc) · 17.6 KB

Changelog

1.0.2:

  • Set the composer patching utility in require instead of require-dev.

1.0.1: first Wizaplace changelog

  • Removed some libraries required in the dev environment, in order to make the library compatible, at least in surface, with Symfony 5 and PHP 8.1 (PHPSpec and rusty are not compatible with PHP 8.1, and the old version of PHPSpec requires a provider not compatible with Symfony 5. Fixing that would require a lot of work. The tests run by Behat still works though.
  • Set the minimum version of PHP to 7.4.
  • Set compatibility with Symfony 5 (see above).
  • Added a Circle CI job to run Behat.
  • Removed Travis CI configuration file.
  • Added some composer patches for the following dependencies otherwise Behat tests would fail in PHP 8.1:
    • Hoa\Protocol
    • Hoa\Stream
    • Hoa\Iterator
    • Hoa\Compiler

VERSION 0 FIXED ELASTICSEARCH-RELATED TARGETS

Version 0.21 - Make RulerZ PHP7-only 18/09/2018 17:15 0.21.1 Ensure that different executors are compiled for different Doctrine QB c38ce6a Merge pull request #109 from jdeniau/patch-1 ff32ec1 Merge pull request #108 from Inventis/jan/incomplete_rule_identifier 1de9114 Update doc due to return types changes in 0.21.0 43a5309 add spacing for readability e49cb65 add test to ensure different identifiers are generated for unrelated query builders 18662af ensure different executors are used for different query builders 17/09/2018 10:43 0.21.0 initial release c241a5c Merge pull request #104 from MySchoolManagement/incorrect-alias-reuse 18d2354 Merge branch 'master' into incorrect-alias-reuse 6db0236 Merge pull request #105 from MySchoolManagement/creates-duplicate-joins d5f4a20 Fix grammar to support negative integers and floats b9ddc00 DoctrineAutoJoin uses differing entities when restoring existing aliases and saving new ones d68e44c Resolves an issue where the auto joiner picks the wrong alias a0f9f62 Write fixtures as json 9b12f85 Merge pull request #103 from K-Phoen/php7 56a4652 Add missing hints 36e5a2c Fix checkstyles 5ced8e2 Stop referencing class names with strings in src/ be6533e Strict type everywhere in tests/ efcaa6a Strict type everywhere in src/ 3f6b73b Stop referencing class names with strings in tests d2ef50b Start adding typehints 3d27fa9 Drop symfony 2.x support and require PHP >= 7.1 ffd38a1 Merge pull request #102 from id2s/symfony4-compatibility 51d4c23 Updates symfony components versions requirements

Version 0.21 - Few fixes 30/12/2017 00:36 0.20.5 various fixes eecc76a Release of new version 0.21.0 dbbc591 Require RMT as dev dependency f970fd2 Merge pull request #100 from K-Phoen/file-evaluator-race-condition 6d21653 Merge pull request #101 from K-Phoen/analysis-zOm4oB 9ad4bc9 Apply fixes from StyleCI e0efd94 Checkstyle 028f449 Disable yoda fixer in styleci bffb2fa Fix race condition related issues in the FileEvaluator 83109a0 Merge pull request #93 from K-Phoen/improve-doc cdd6cff Only build PR and master on travis-ci 71f7f6f Merge pull request #94 from K-Phoen/analysis-8AB7pl da867c2 Apply fixes from StyleCI cfccdda Make it clearer that you can filter native collections (of arrays or objects) b536b14 Add missing iterator_to_array() calls in the documentation 12557da Merge pull request #86 from iainmckay/generalized-doctrine-autojoin 941f4f1 Fixes StyleCI complaints 168970b Generalizes DoctrineAutoJoin 9b0ace6 Merge pull request #84 from bobdercole/doctrine-alias-conflict e842b09 Also test against PHP 7.1 2f572dd Remove useless cache statements b507a3c Reorganize a bit travis config e77a0a7 Cache elasticsearch and solr packages 17de776 Fix solarium result retrieval 5dbd7d9 Use solr 5.3.1 in travis-ci tests 0f19964 Merge pull request #90 from K-Phoen/unwrap-arguments 9ffffb5 Merge pull request #91 from K-Phoen/fix-es-tests 85a0821 Force Elasticsearch 2.3 in tests 2eed7b0 Update specs 9533ccf Add a behat test case for object arguments in inline operators 43a9d95 Only try to unwrap target access for native code feeb85c Fix example script 4dab1b9 Update a few tests to show the desired behavior 5e42d4a Unwrap arguments before giving them to operators 55164b1 Merge pull request #87 from nclsHart/fix-doc-examples 98243aa fix doc examples with up to date namespaces cc46666 Fixes K-Phoen#79. This fix prevents alias conflicts for auto-joined associations that share the same dimension name. 30/12/2017 00:36 0.21.0 initial release dbbc591 Require RMT as dev dependency f970fd2 Merge pull request #100 from K-Phoen/file-evaluator-race-condition 6d21653 Merge pull request #101 from K-Phoen/analysis-zOm4oB 9ad4bc9 Apply fixes from StyleCI e0efd94 Checkstyle 028f449 Disable yoda fixer in styleci bffb2fa Fix race condition related issues in the FileEvaluator 83109a0 Merge pull request #93 from K-Phoen/improve-doc cdd6cff Only build PR and master on travis-ci 71f7f6f Merge pull request #94 from K-Phoen/analysis-8AB7pl da867c2 Apply fixes from StyleCI cfccdda Make it clearer that you can filter native collections (of arrays or objects) b536b14 Add missing iterator_to_array() calls in the documentation 12557da Merge pull request #86 from iainmckay/generalized-doctrine-autojoin 941f4f1 Fixes StyleCI complaints 168970b Generalizes DoctrineAutoJoin 9b0ace6 Merge pull request #84 from bobdercole/doctrine-alias-conflict e842b09 Also test against PHP 7.1 2f572dd Remove useless cache statements b507a3c Reorganize a bit travis config e77a0a7 Cache elasticsearch and solr packages 17de776 Fix solarium result retrieval 5dbd7d9 Use solr 5.3.1 in travis-ci tests 0f19964 Merge pull request #90 from K-Phoen/unwrap-arguments 9ffffb5 Merge pull request #91 from K-Phoen/fix-es-tests 85a0821 Force Elasticsearch 2.3 in tests 2eed7b0 Update specs 9533ccf Add a behat test case for object arguments in inline operators 43a9d95 Only try to unwrap target access for native code feeb85c Fix example script 4dab1b9 Update a few tests to show the desired behavior 5e42d4a Unwrap arguments before giving them to operators 55164b1 Merge pull request #87 from nclsHart/fix-doc-examples 98243aa fix doc examples with up to date namespaces cc46666 Fixes K-Phoen#79. This fix prevents alias conflicts for auto-joined associations that share the same dimension name.

Version 0.20 - Allow to unwrap decorated values and improve ES results fetching 07/05/2017 17:48 0.20.4 Fix possible collisions in Doctrine ORM rules identifiers 5277bdb Fix style violation 0129b8d Merge branch 'avoid-rules-identifier-collisons' f24be58 Avoid rules identifier collisons for Doctrine ORM-related rules 01/05/2017 11:40 0.20.3 Fix null handling in native rules compilation 28fa0e3 Merge pull request #78 from K-Phoen/analysis-qoMwO5 56b3e7d Apply fixes from StyleCI 3c0b408 Merge pull request #77 from pioneer32/fix-null-comparison febe5d0 Prevent ObjectContext from wrapping nulls. 27/04/2017 19:25 0.20.2 Fix compilation for multiline rules 8cc49cc Merge pull request #74 from jhuet/fix-multilines-rule 4e0e1b2 Fix compilation when multilines rule is provided 25/04/2017 11:49 0.20.1 Fix automatic join detections for Doctrine ORM 10af0a0 Merge pull request #73 from K-Phoen/doctrine-orm-duplicated-joins b0c0f75 Add a unit test 0441e29 Avoid creating duplicate joins in Doctrine ORM 04/04/2017 20:05 0.20.0 initial release a00a013 Merge pull request #70 from K-Phoen/fix-es-results-number cd4d8a6 Mention Symfony and Silex integrations 34514fd Configure rusty to not execute spec builders examples 7830c39 Add a cookbook entry to describe how to build rules without using the DSL 5421119 Update tests for the new fixtures 847aff0 Add more test fixtures 42198f5 Efficiently return more results from ES by using scroll queries e54d6e5 Merge pull request #67 from iainmckay/master d6efd03 Expose the object contained in ObjectContext c2ff3f8 Fix code samples in documentation 12f00a2 Describe how to create new compilation targets a679696 Fix a few typos in the doc 96caaad Add editorconfig

Version 0.19 - Add a way to retrieve the parameters used in a rule 25/01/2017 12:54 0.19.3 Minor fixes regarding Eloquent target 74d5ddb Fix Pomm example 8cf10d0 Merge branch 'styleci' 5152f35 Add missing space before anonymous function declaration b94cb5f Update styleci config c99c21b More style fixes 1a819fa Fix typo in variable name 6451812 Few style fixes b10b691 Disable some useless fixers 9205fc6 Start to configure StyleCI a991f4f Few style fixes 2a2416e Enable native target for doctrine-related examples 0c4fc7e Fix incorrect phpdoc return type 5bce417 Merge pull request #56 from BakoBako/allow-eloquent-builder-execution a24de7f Merge pull request #59 from oxman/feature/support-of-suffix-class-to-declare-executors-traits aa49dd4 getExecutorTraits now support class declared with ::class 7393187 Eloquent visitor to enable use of eloquent builder instead of only using query builder in laravel 18/03/2016 08:34 0.19.1 Compilation issue with DoctrineORM target 4dafc3d Reset the detected joins when visiting a new model d38046c Add a few test cases with UTF-8 operators 16/03/2016 14:14 0.19.0 initial release d8197d9 Add a way to retrieve the paramters from a rule model

Version 0.18 - Embeddable support for Doctrine ORM 19/02/2016 22:44 0.18.1 Make the DoctrineQueryBuilder target compatible with Doctrine <2.5 56b37f3 Make the DoctrineQueryBuilder target compatible with Doctrine <2.5 19/01/2016 23:13 0.18.0 initial release 2217380 Merge branch 'doctrine-embeddables' 6633130 Use short array syntax 2cdca1b Fix doctrine examples 7e2a071 Add a quick behat test for doctrine embeddables d1fdccc Merge pull request #28 from bobdercole/doctrine-embeddables 72ae6bd Modify Doctrine query builder visitor and auto join executor for PSR-1 and PSR-2 compliance. d43ee7c Modify auto join variable names from snake case to camel case. 6c254ad - Remove dependency on isOwningSide property when traversing Doctrine associations for embeddables. - Add specification test for joining association of association embeddable. 12f3050 Add exception to Doctrine auto join if an embeddable is not found. 4752041 Fix association of association join for embeddables. 9b24fc3 Rolled back auto join specification rename. f5dd40d Add specifications for Doctrine embeddable associations. 5757d52 Add auto join specification for root entity embeddable. d36a167 Fix existing auto join specification tests. a4a255b Remove unused code. 33ff1cd Move embeddable alias functionality out of getJoinAlias(). bf3ce3f Replace deprecated Doctrine method getRootAlias(). 7f2189a Add Doctrine embeddable support.

Version 0.17 - Use hoa/ruler ~2.0 13/01/2016 17:55 0.17.0 initial release 7a1884b Merge pull request #30 from Hywan/composer_hoa b73fc3f Use the latest hoa/ruler version.

Version 0.16 - Solr support 11/01/2016 13:41 0.16.3 Symfony ~3.0 compatibility 6026240 Merge pull request #29 from j0k3r/patch-1 ea13d83 Allow Symfony3 installation ee5c300 Merge pull request #27 from ikwattro/doc-typo 3de702c minor typo fix in docs 07/12/2015 23:24 0.16.2 Fixes rules composition 7674111 Make sure composite rules are correctly aggregated 445b373 Give the AbstractSpecification an empty getParameters() method 05/12/2015 19:18 0.16.1 Array parameters for Doctrine DBAL target bba0f92 Handle arrays as parameters in the DBAL executor 03/12/2015 18:31 0.16.0 initial release 3b42129 Merge pull request #23 from K-Phoen/solr c23ba0a Add a cookbook showing how to configure the Solarium target 7454890 Update SolariumFilterTrait d8bc505 Fix travis tests 842063c Clean a bit the solr schema.xml a45da3a Define solr core name for travis tests cf2b461 Commit the right things 41c5075 Install solr on travis-ci 50802e5 Add a test case for inline operators in solr 95d76f9 First working implementation of the solarium visitor 90a1c53 Start to really implement the solarium visitor ff421ee Create a Solarium behat context b291f83 Start to work on solr support through solarium 21023f9 Merge pull request #25 from yvoyer/fix/readme 9edf24c Fix variable typo in readme 3328bef Merge pull request #24 from mikaelrandy/patch-1 748ef30 Fix a little typo

Version 0.15 - Harmonized results handling 21/11/2015 14:47 0.15.0 initial release bc3a59b Merge pull request #21 from K-Phoen/harmonized-results 3c13b9e Add a few tests for the applyFilter methods 7a88ab4 Tests should pass on PHP 7 fd60f6d Use phpspec >=2.4@dev 263668b Add a quick documentation for the applyFilter method 48c4e02 Remove the FilterResult class ad06c17 Fix behat configuration e9ff715 Fix Pomm tests 8fc7fb2 Add missing constant 0c4c992 Add a way to apply a filter on a target without actually executing it cef3c8b Update phpspec tests d3fbe1b Update all the executors (except Pomm) to return a FilterResult a22762e Behat tests should also consider that the results are instances of FilterResult 54d5ee5 RulerZ now needs PHP >= 5.5 1d2a283 Make the Array executor return a FilterResult b5670b8 Update RulerZ\RulerZ::filter() and RulerZ\Executor::filter() signatures to show that they return a specific type of result c7fa5ca Introduce the FilterResult class to represent the results of any Executor

Version 0.14 - Add support for Doctrine DBAL 31/10/2015 21:54 0.14.0 initial release 2885707 Merge branch 'doctrine-dbal' 2c0bdff Add support for Doctrine DBAL 3c4fb92 Stuff 5f011b0 Start to work on integrating doctrine DBAL 0d2a2ea Clean some code de2df18 Remove in_enveloppe and match_all operators for elasticsearch d895640 Fix != operator for elasticsearch 2125b67 Update the contributing guide to mention elasticsearch 17c2d0e Moved the vagrant bootstrap script 5de354b Removed useless dependencies 22fc330 Added a few missing files in the .gitatributes c121452 First draft of the contributing guide

Version 0.13 - Fixed elasticsearch-related targets 31/10/2015 00:47 0.13.1 initial release 4472010 Add release config b5cc9e6 Fix Array IN operator b215ccc Dump the original rule in the compiled code comments c245573 Fix elasticsearch IN operator b1f1711 Force colors for phpspec and behat outputs 4132cae Merge branch 'behat' a396548 Remove useless phpunit config file 3c4a920 Moved all the tests-related files in a tests directory 57a9099 Add targets in the makefile to start/stop an elasticsearch container 2a53986 Add the Makefile in the gitattributes f604c5f Moved the bootstrap scripts in a separate directory 8dbf4b6 Moved doctrine sample entities in their own namespace 4042bc4 Add tests for Eloquent ORM 079ff28 Fix sqlite target in the makefile c81b30c Moved the elasticsearch fixtures loading script 76ae357 The tests should read the connection information in the environment 153a71a Add a few comments 2cac7bb Rename getTarget to getCompilationTarget 9612d47 Add an elastica context 403be43 Make elasticsearch tests green df98b8a Add Vagrantfile in the .gitattributes ec6cd13 Merge pull request #16 from wizacha/vagrant b005e67 Add Vagrant configuration be4a3c3 Consider that there is an elasticsearch instance on localhost for the tests 3711f70 Update elasticsearch tests 7b5c42f Add missing files f1f37f6 Add a few tests for elasticsearch ca46a15 Decompose the test target in two sub-targets 499ccb1 Write one insert statement per line in database.sql ad4d28e Make travis build the database b22ea61 Update the makefile to launch behat tests 294026f Add tests for doctrine ORM 3ea7446 Add behat tests to really test the array target f5f8607 Exclude coduo/phpspec-data-provider-extension 1.0.2 fa6681d Fix the Elasticsearch-related targets