Skip to content

Commit c6636ff

Browse files
committed
Merge branch 'master' into pr-396
2 parents f9b3260 + dd99305 commit c6636ff

File tree

206 files changed

+7705
-1148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+7705
-1148
lines changed

.travis.yml

+23-27
Original file line numberDiff line numberDiff line change
@@ -7,52 +7,48 @@ language: php
77

88
matrix:
99
include:
10-
- php: 5.6
11-
env: SYMFONY_VERSION=2.8.* UNIT_TESTS=true
1210
- php: 7.1
13-
env: SYMFONY_VERSION=3.0.* PHPSTAN=true
11+
env: SYMFONY_VERSION=3.4.* PHPSTAN=true
1412
- php: 7.1
15-
env: SYMFONY_VERSION=3.0.* PHP_CS_FIXER=true
16-
- php: 7.0
17-
env: SYMFONY_VERSION=2.8.* UNIT_TESTS=true
18-
- php: 5.6
19-
env: SYMFONY_VERSION=3.0.* UNIT_TESTS=true
20-
- php: 7.0
21-
env: SYMFONY_VERSION=3.0.* UNIT_TESTS=true
22-
- php: 7.1
23-
env: SYMFONY_VERSION=4.0.* UNIT_TESTS=true
13+
env: SYMFONY_VERSION=3.4.* PHP_CS_FIXER=true
2414
- php: 7.1
2515
env: SYMFONY_VERSION=3.4.* UNIT_TESTS=true
26-
- php: 7.2
27-
services: docker
28-
env: SYMFONY_VERSION=2.8.* FUNCTIONAL_TESTS=true PREPARE_CONTAINER=true
2916
- php: 7.1
30-
services: docker
31-
env: SYMFONY_VERSION=3.0.* FUNCTIONAL_TESTS=true PREPARE_CONTAINER=true
32-
- php: 7.1
33-
services: docker
34-
env: SYMFONY_VERSION=3.2.* FUNCTIONAL_TESTS=true PREPARE_CONTAINER=true
17+
env: SYMFONY_VERSION=4.0.* UNIT_TESTS=true
18+
- php: 7.2
19+
env: SYMFONY_VERSION=4.0.* UNIT_TESTS=true
3520
- php: 7.1
3621
services: docker
37-
env: SYMFONY_VERSION=3.3.* FUNCTIONAL_TESTS=true PREPARE_CONTAINER=true
22+
env: SYMFONY_VERSION=3.4.* FUNCTIONAL_TESTS=true PREPARE_CONTAINER=true
3823
- php: 7.1
3924
services: docker
4025
env: SYMFONY_VERSION=4.0.* FUNCTIONAL_TESTS=true PREPARE_CONTAINER=true
4126
- php: 7.1
4227
services: docker
43-
env: SYMFONY_VERSION=3.3.* RDKAFKA_TESTS=true PREPARE_CONTAINER=true
28+
env: SYMFONY_VERSION=3.4.* RDKAFKA_TESTS=true PREPARE_CONTAINER=true
4429
allow_failures:
45-
- env: SYMFONY_VERSION=3.3.* RDKAFKA_TESTS=true PREPARE_CONTAINER=true
30+
- env: SYMFONY_VERSION=3.4.* RDKAFKA_TESTS=true PREPARE_CONTAINER=true
4631

4732
cache:
4833
directories:
4934
- $HOME/.composer/cache
35+
- $HOME/docker
36+
37+
38+
before_cache:
39+
- >
40+
mkdir -p $HOME/docker && docker images -a --filter='dangling=false' --format '{{.Repository}}:{{.Tag}} {{.ID}}'
41+
| xargs -n 2 -t sh -c 'test -e $HOME/docker/$1.tar.gz || docker save $0 | gzip -2 > $HOME/docker/$1.tar.gz'
42+
43+
before_install:
44+
- echo "extension = mongodb.so" >> $HOME/.phpenv/versions/$(phpenv version-name)/etc/php.ini
45+
- if [[ -d $HOME/docker ]]; then ls $HOME/docker/*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load"; fi
5046

5147
install:
5248
- rm $HOME/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini;
5349
- echo "memory_limit=2048M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
54-
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
55-
- composer install
50+
- sed -i '' "s/\"symfony\/\(.*\)\": \".*\"/\"symfony\/\1\": \"$SYMFONY_VERSION\"/g" composer.json && cat composer.json
51+
- composer dunglas/symfony-lock
5652
- if [ "$PREPARE_CONTAINER" = true ]; then docker --version; fi
5753
- if [ "$PREPARE_CONTAINER" = true ]; then docker-compose --version; fi
5854
- if [ "$PREPARE_CONTAINER" = true ]; then bin/dev -b; fi
@@ -62,8 +58,8 @@ script:
6258
- if [ "$PHP_CS_FIXER" = true ]; then IFS=$'\n'; COMMIT_SCA_FILES=($(git diff --name-only --diff-filter=ACMRTUXB "${TRAVIS_COMMIT_RANGE}")); unset IFS; fi
6359
- if [ "$PHP_CS_FIXER" = true ]; then ./bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run --stop-on-violation --using-cache=no --path-mode=intersection -- "${COMMIT_SCA_FILES[@]}"; fi
6460
- if [ "$UNIT_TESTS" = true ]; then bin/phpunit --exclude-group=functional; fi
65-
- if [ "$FUNCTIONAL_TESTS" = true ]; then bin/run-fun-test.sh --exclude-group=rdkafka; fi
66-
- if [ "RDKAFKA_TESTS" = true ]; then bin/run-fun-test.sh --group=rdkafka; fi
61+
- if [ "$FUNCTIONAL_TESTS" = true ]; then bin/test.sh --exclude-group=rdkafka; fi
62+
- if [ "RDKAFKA_TESTS" = true ]; then bin/test.sh --group=rdkafka; fi
6763

6864
notifications:
6965
webhooks:

CHANGELOG.md

+114
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,119 @@
11
# Change Log
22

3+
## [0.8.35](https://github.com/php-enqueue/enqueue-dev/tree/0.8.35) (2018-08-06)
4+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.34...0.8.35)
5+
6+
- Improve multi queue consumption. [\#488](https://github.com/php-enqueue/enqueue-dev/pull/488) ([makasim](https://github.com/makasim))
7+
8+
## [0.8.34](https://github.com/php-enqueue/enqueue-dev/tree/0.8.34) (2018-08-04)
9+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.33...0.8.34)
10+
11+
- \[sqs\] Messages should not allow empty bodies [\#435](https://github.com/php-enqueue/enqueue-dev/issues/435)
12+
- Use the auto-tagging feature for e.g. processors [\#405](https://github.com/php-enqueue/enqueue-dev/issues/405)
13+
14+
- \[simple-client\] `sqs:` DSN not working [\#483](https://github.com/php-enqueue/enqueue-dev/issues/483)
15+
16+
- Adding a signal handler to the consumer [\#485](https://github.com/php-enqueue/enqueue-dev/issues/485)
17+
- Problem with SQS DSN string with + in secret [\#481](https://github.com/php-enqueue/enqueue-dev/issues/481)
18+
- Monitoring interface [\#476](https://github.com/php-enqueue/enqueue-dev/issues/476)
19+
20+
- simple client dsn issue [\#486](https://github.com/php-enqueue/enqueue-dev/pull/486) ([makasim](https://github.com/makasim))
21+
- Update SQS DSN doc sample with mention urlencode [\#484](https://github.com/php-enqueue/enqueue-dev/pull/484) ([dgoujard](https://github.com/dgoujard))
22+
- Prevent SqsProducer from sending messages with empty bodies [\#478](https://github.com/php-enqueue/enqueue-dev/pull/478) ([elazar](https://github.com/elazar))
23+
24+
## [0.8.33](https://github.com/php-enqueue/enqueue-dev/tree/0.8.33) (2018-07-26)
25+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.32...0.8.33)
26+
27+
- \[consumption\] process niceness extension [\#449](https://github.com/php-enqueue/enqueue-dev/issues/449)
28+
- \[Symfony\] AsyncListener does not use TraceableProducer [\#392](https://github.com/php-enqueue/enqueue-dev/issues/392)
29+
30+
- Fix call debug method on null [\#480](https://github.com/php-enqueue/enqueue-dev/pull/480) ([makasim](https://github.com/makasim))
31+
32+
- Support MQTT [\#477](https://github.com/php-enqueue/enqueue-dev/issues/477)
33+
- Bugs in RabbitMqDelayPluginDelayStrategy [\#455](https://github.com/php-enqueue/enqueue-dev/issues/455)
34+
- \[sqs\] Support using a pre-configured SqsClient [\#443](https://github.com/php-enqueue/enqueue-dev/issues/443)
35+
- IronMQ \(iron.io\) provider ? [\#415](https://github.com/php-enqueue/enqueue-dev/issues/415)
36+
37+
- Fix AMQPContext::unsubscribe [\#479](https://github.com/php-enqueue/enqueue-dev/pull/479) ([adrienbrault](https://github.com/adrienbrault))
38+
- Add Localstack Docker container for SQS functional tests [\#473](https://github.com/php-enqueue/enqueue-dev/pull/473) ([elazar](https://github.com/elazar))
39+
- \[consumption\] add process niceness extension [\#467](https://github.com/php-enqueue/enqueue-dev/pull/467) ([ramunasd](https://github.com/ramunasd))
40+
41+
## [0.8.32](https://github.com/php-enqueue/enqueue-dev/tree/0.8.32) (2018-07-10)
42+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.31...0.8.32)
43+
44+
- \[Bundle\] auto-tag services [\#409](https://github.com/php-enqueue/enqueue-dev/issues/409)
45+
- Add autoconfigure for services extending PsrProcess interface [\#452](https://github.com/php-enqueue/enqueue-dev/pull/452) ([mnavarrocarter](https://github.com/mnavarrocarter))
46+
47+
- Add documentation the processor services need to be public [\#406](https://github.com/php-enqueue/enqueue-dev/issues/406)
48+
49+
- Is it possible to read messages in batch? [\#472](https://github.com/php-enqueue/enqueue-dev/issues/472)
50+
- Batch publishing [\#463](https://github.com/php-enqueue/enqueue-dev/issues/463)
51+
- populating, missing messages and supervisor [\#460](https://github.com/php-enqueue/enqueue-dev/issues/460)
52+
- Processor was not found. processorName: "enqueue.client.router\_processor" [\#451](https://github.com/php-enqueue/enqueue-dev/issues/451)
53+
- \[Bundle\] Enqueue\Symfony\Client\ContainerAwareProcessorRegistry expects processors to be public [\#410](https://github.com/php-enqueue/enqueue-dev/issues/410)
54+
55+
- Update of "back to index" link [\#468](https://github.com/php-enqueue/enqueue-dev/pull/468) ([N-M](https://github.com/N-M))
56+
- PHP\_URL\_SCHEME doesn't support underscores [\#453](https://github.com/php-enqueue/enqueue-dev/pull/453) ([coudenysj](https://github.com/coudenysj))
57+
- WIP: Add support for using a pre-configured client with the SQS driver [\#444](https://github.com/php-enqueue/enqueue-dev/pull/444) ([elazar](https://github.com/elazar))
58+
59+
## [0.8.31](https://github.com/php-enqueue/enqueue-dev/tree/0.8.31) (2018-05-24)
60+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.30...0.8.31)
61+
62+
- Improve exception messages for topic-subscribers [\#441](https://github.com/php-enqueue/enqueue-dev/pull/441) ([thePanz](https://github.com/thePanz))
63+
64+
- Gracefull shutdown? [\#440](https://github.com/php-enqueue/enqueue-dev/issues/440)
65+
66+
- Allow newer version of bunny [\#446](https://github.com/php-enqueue/enqueue-dev/pull/446) ([enumag](https://github.com/enumag))
67+
- Fix mistype at async\_events docs [\#445](https://github.com/php-enqueue/enqueue-dev/pull/445) ([diimpp](https://github.com/diimpp))
68+
69+
## [0.8.30](https://github.com/php-enqueue/enqueue-dev/tree/0.8.30) (2018-05-08)
70+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.29...0.8.30)
71+
72+
## [0.8.29](https://github.com/php-enqueue/enqueue-dev/tree/0.8.29) (2018-05-08)
73+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.28...0.8.29)
74+
75+
- \[mongodb\] Parse DSN if array [\#438](https://github.com/php-enqueue/enqueue-dev/pull/438) ([makasim](https://github.com/makasim))
76+
- \[gps\] Add support for google/cloud-pubsub ^1.0 [\#437](https://github.com/php-enqueue/enqueue-dev/pull/437) ([kfb-ts](https://github.com/kfb-ts))
77+
- fix typo in message\_producer.md [\#436](https://github.com/php-enqueue/enqueue-dev/pull/436) ([halidovz](https://github.com/halidovz))
78+
79+
## [0.8.28](https://github.com/php-enqueue/enqueue-dev/tree/0.8.28) (2018-05-03)
80+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.27...0.8.28)
81+
82+
- Mongodb transport [\#430](https://github.com/php-enqueue/enqueue-dev/pull/430) ([turboboy88](https://github.com/turboboy88))
83+
84+
- Should `enqueue/enqueue` also be added to "require" in composer.json for DBAL package? [\#433](https://github.com/php-enqueue/enqueue-dev/issues/433)
85+
86+
- RouterProcessor "acknowledges" commands and events without a registered processor [\#423](https://github.com/php-enqueue/enqueue-dev/issues/423)
87+
- \[Symfony\]\[Documentation\] Migrate from JMSJobQueueBundle [\#421](https://github.com/php-enqueue/enqueue-dev/issues/421)
88+
89+
- remove enqueue core dependency [\#434](https://github.com/php-enqueue/enqueue-dev/pull/434) ([ASKozienko](https://github.com/ASKozienko))
90+
91+
## [0.8.27](https://github.com/php-enqueue/enqueue-dev/tree/0.8.27) (2018-05-01)
92+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.26...0.8.27)
93+
94+
- Kafka symfony transport [\#432](https://github.com/php-enqueue/enqueue-dev/pull/432) ([dheineman](https://github.com/dheineman))
95+
- Drop PHP5 support, Drop Symfony 2.X support. [\#419](https://github.com/php-enqueue/enqueue-dev/pull/419) ([makasim](https://github.com/makasim))
96+
97+
- How can I use the Symfony Bundle with Kafka? [\#428](https://github.com/php-enqueue/enqueue-dev/issues/428)
98+
99+
## [0.8.26](https://github.com/php-enqueue/enqueue-dev/tree/0.8.26) (2018-04-19)
100+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.25...0.8.26)
101+
102+
- Allow to enable SSL in StompConnectionFactory [\#427](https://github.com/php-enqueue/enqueue-dev/pull/427) ([arjanvdbos](https://github.com/arjanvdbos))
103+
- Fix namespace in doc [\#426](https://github.com/php-enqueue/enqueue-dev/pull/426) ([Koc](https://github.com/Koc))
104+
105+
## [0.8.25](https://github.com/php-enqueue/enqueue-dev/tree/0.8.25) (2018-04-13)
106+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.24...0.8.25)
107+
108+
- gearmand queue library can't not use for php7 [\#270](https://github.com/php-enqueue/enqueue-dev/issues/270)
109+
- \[bundle\] Make TraceableProducer service public [\#422](https://github.com/php-enqueue/enqueue-dev/pull/422) ([sbacelic](https://github.com/sbacelic))
110+
111+
- Why no packagist support [\#424](https://github.com/php-enqueue/enqueue-dev/issues/424)
112+
- \[DbalDriver\] does not convert Message::$expire to DbalMessage::$timeToLive [\#391](https://github.com/php-enqueue/enqueue-dev/issues/391)
113+
114+
- \[skip ci\] Update doc block. return value should be "self" [\#425](https://github.com/php-enqueue/enqueue-dev/pull/425) ([makasim](https://github.com/makasim))
115+
- Fix a tiny little typo in documentation [\#416](https://github.com/php-enqueue/enqueue-dev/pull/416) ([bobey](https://github.com/bobey))
116+
3117
## [0.8.24](https://github.com/php-enqueue/enqueue-dev/tree/0.8.24) (2018-03-27)
4118
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.23...0.8.24)
5119

CONTRIBUTING.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Contributing
2+
------------
3+
4+
Enqueue is an open source, community-driven project.
5+
6+
If you'd like to contribute, please read the following documents:
7+
8+
* [Contribution](docs/contribution.md)

0 commit comments

Comments
 (0)